org.inb.biomoby.client
Class MobyDispatch
java.lang.Object
org.inb.biomoby.client.MobyDispatch
public class MobyDispatch
- extends Object
- Author:
- Dmitry Repchevsky
NAMESPACE
public static final String NAMESPACE
- See Also:
- Constant Field Values
MobyDispatch
public MobyDispatch(Service mobyService)
MobyDispatch
public MobyDispatch(Service mobyService,
String user,
String password)
invoke
public MobyMessage invoke(MobyMessage message)
throws Exception
- Method to synchronously invoke BioMoby service (provided in constructor)
- Parameters:
message
- - message to be sent.
- Returns:
- message sent by the service.
- Throws:
Exception
invokeAsync
public MobyDispatch.MobyWSRFResource invokeAsync(MobyMessage message)
throws Exception
- Throws:
Exception
marshal
public static SOAPMessage marshal(String serviceName,
Object object)
throws SOAPException,
IOException,
JAXBException,
XMLStreamException
- Throws:
SOAPException
IOException
JAXBException
XMLStreamException
marshal
public static SOAPMessage marshal(String serviceName,
Object object,
boolean isAsync)
throws SOAPException,
IOException,
JAXBException,
XMLStreamException
- Throws:
SOAPException
IOException
JAXBException
XMLStreamException
unmarshal
public static MobyMessage unmarshal(SOAPMessage message)
throws JAXBException,
IOException,
XMLStreamException,
SOAPException
- Throws:
JAXBException
IOException
XMLStreamException
SOAPException
Submit a bug or feature
Generated: Sat May 29 04:26:35 EDT 2010