public class SOIHelper
extends java.lang.Object
Constructor and Description |
---|
SOIHelper() |
SOIHelper(java.lang.String pathToWSDL) |
Modifier and Type | Method and Description |
---|---|
void |
addObjectToXMLSerializeData(java.lang.String name,
java.lang.Object value,
java.lang.String typeName,
IXMLSerializeData data)
Add parameter to IXMLSerializeData
|
static IMessage |
convertBinaryRequestToMessage(byte[] request)
Convert Binary input to Message object.
|
static byte[] |
convertMessageToBinaryRequest(IMessage iMessage)
Convert Message object back into a Binary request.
|
static java.lang.String |
convertMessageToStringRequest(IMessage iMessage)
Convert Message object back into a String request.
|
static IMessage |
convertStringRequestToMessage(java.lang.String request)
Convert String input to Message object.
|
IMessage |
createNewIMessage(IMessage originalIMessage)
Creates a new IMessage object from an existing one with the correct name space and name.
|
IRequestHandler2 |
findRequestHandler2Delegate(IServerObject so)
Utility functions that return the appropriate delegate interface based on input request.
|
IRequestHandler |
findRequestHandlerDelegate(IServerObject so)
Utility functions that return the appropriate delegate interface based on input request.
|
IRESTRequestHandler |
findRestRequestHandlerDelegate(IServerObject so)
Utility functions that return the appropriate delegate interface based on input request.
|
IWebRequestHandler |
findWebRequestHandlerDelegate(IServerObject so)
Utility functions that return the appropriate delegate interface based on input request.
|
java.lang.Object |
getObjectFromXMLSerializeData(int index,
java.lang.String typeNamespace,
java.lang.String typeName,
IXMLSerializeData data)
Get parameter from IXMLSerializeData
|
java.lang.String |
getSoapOperationParameterName(java.lang.String operationName,
int index)
For SOAP operation, get parameter name.
|
java.lang.String |
getSoapOperationParameterTypeName(java.lang.String operationName,
int index)
For SOAP operation, get parameter type.
|
IPropertySet |
queryConfigurationProperties(java.lang.String serviceName,
java.lang.String typeName)
Queries the server object configuration properties.
|
public SOIHelper(java.lang.String pathToWSDL)
public SOIHelper()
public java.lang.String getSoapOperationParameterName(java.lang.String operationName, int index)
operationName
- index
- public java.lang.String getSoapOperationParameterTypeName(java.lang.String operationName, int index)
operationName
- index
- public IRESTRequestHandler findRestRequestHandlerDelegate(IServerObject so)
public IRequestHandler findRequestHandlerDelegate(IServerObject so)
public IRequestHandler2 findRequestHandler2Delegate(IServerObject so)
public IWebRequestHandler findWebRequestHandlerDelegate(IServerObject so)
public java.lang.Object getObjectFromXMLSerializeData(int index, java.lang.String typeNamespace, java.lang.String typeName, IXMLSerializeData data) throws java.io.IOException, AutomationException
index
- typeNamespace
- typeName
- data
- java.io.IOException
AutomationException
public void addObjectToXMLSerializeData(java.lang.String name, java.lang.Object value, java.lang.String typeName, IXMLSerializeData data) throws java.io.IOException, AutomationException
name
- value
- typeName
- data
- java.io.IOException
AutomationException
public IMessage createNewIMessage(IMessage originalIMessage) throws AutomationException, java.io.IOException
originalIMessage
- AutomationException
java.io.IOException
public static IMessage convertBinaryRequestToMessage(byte[] request) throws java.net.UnknownHostException, java.io.IOException
request
- java.io.IOException
java.net.UnknownHostException
public static IMessage convertStringRequestToMessage(java.lang.String request) throws java.net.UnknownHostException, java.io.IOException
request
- java.net.UnknownHostException
java.io.IOException
public static java.lang.String convertMessageToStringRequest(IMessage iMessage) throws java.net.UnknownHostException, java.io.IOException
iMessage
- java.io.IOException
java.net.UnknownHostException
public static byte[] convertMessageToBinaryRequest(IMessage iMessage) throws AutomationException, java.io.IOException
iMessage
- java.io.IOException
AutomationException
java.lang.Exception
public IPropertySet queryConfigurationProperties(java.lang.String serviceName, java.lang.String typeName)
serviceName
- the name of the servicetypeName
- the type of the service