fr.inrialpes.exmo.align.service
Class WSAServProfile
java.lang.Object
fr.inrialpes.exmo.align.service.WSAServProfile
- All Implemented Interfaces:
- AlignmentServiceProfile
public class WSAServProfile
- extends Object
- implements AlignmentServiceProfile
WSAServProfile: a SOAP 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
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
tcpPort
private int tcpPort
tcpHost
private String tcpHost
debug
private int debug
manager
private AServProtocolManager manager
wsdlSpec
private static String wsdlSpec
myId
private String myId
serverURL
private String serverURL
localId
private int localId
BUILDER
private static DocumentBuilder BUILDER
WSAServProfile
public WSAServProfile()
init
public void init(Parameters params,
AServProtocolManager manager)
throws AServException
- Description copied from interface:
AlignmentServiceProfile
- Creates the Service object and declares it after any
required registery
- Specified by:
init
in interface AlignmentServiceProfile
- Throws:
AServException
close
public void close()
- Description copied from interface:
AlignmentServiceProfile
- Shutdown the Service and undeclare it from any registery
- Specified by:
close
in interface AlignmentServiceProfile
protocolAnswer
public String protocolAnswer(String uri,
String perf,
Properties header,
Parameters 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
wsdlAnswer
public static String wsdlAnswer()
getParameter
private void getParameter(Document dom,
String message,
Parameters p,
String tag,
String key)
displayAnswer
private String displayAnswer(Message answer)
displayError
private String displayError(Message answer)
newId
private int newId()
(C) INRIA & friends, 2003-2008