|
Alignment API and Server 4.2.${version.update} | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectfr.inrialpes.exmo.align.service.WSAServProfile
public class WSAServProfile
WSAServProfile: a SOAP and REST over HTTP provile for the Alignment server It uses the HTTP server of HTTPAServProfile Improvements to come: - provide WSDL from that channel as well - implement request_id management (fully missing here) - use XML/Xpath parsers [Make it namespace aware please] - clean up
Field Summary | |
---|---|
private static DocumentBuilder |
BUILDER
|
private int |
debug
|
private int |
localId
|
private AServProtocolManager |
manager
|
private String |
myId
|
private String |
serverURL
|
private String |
tcpHost
|
private int |
tcpPort
|
private static String |
wsdlSpec
|
Constructor Summary | |
---|---|
WSAServProfile()
|
Method Summary | |
---|---|
private String |
buildAnswer(String tag,
Message answer,
Properties param)
|
void |
close()
Shutdown the Service and undeclare it from any registery |
private String |
getClasses(String tag,
String ns,
Set<String> classlist,
Properties param)
|
private Properties |
getParameters(Document doc)
Extract parameters from a DOM document resulting from parsing a SOAP messgae |
void |
init(Properties params,
AServProtocolManager manager)
Creates the Service object and declares it after any required registery |
private int |
newId()
|
String |
protocolAnswer(String uri,
String perf,
Properties header,
Properties param)
HTTP protocol implementation each call of the protocol is a direct URL and the answer is through the resulting page (RDF? SOAP? HTTP?) Not implemented yet but reserved if appears useful |
static String |
wsdlAnswer(boolean embedded)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
private int tcpPort
private String tcpHost
private int debug
private AServProtocolManager manager
private static String wsdlSpec
private String myId
private String serverURL
private int localId
private static DocumentBuilder BUILDER
Constructor Detail |
---|
public WSAServProfile()
Method Detail |
---|
public void init(Properties params, AServProtocolManager manager) throws AServException
AlignmentServiceProfile
init
in interface AlignmentServiceProfile
AServException
public void close()
AlignmentServiceProfile
close
in interface AlignmentServiceProfile
public String protocolAnswer(String uri, String perf, Properties header, Properties param)
public static String wsdlAnswer(boolean embedded)
private Properties getParameters(Document doc)
private int newId()
private String buildAnswer(String tag, Message answer, Properties param)
private String getClasses(String tag, String ns, Set<String> classlist, Properties param)
|
Alignment API and Server 4.2.${version.update} | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |