| java.lang.Object customfactory.client.CustomServiceImpl
CustomServiceImpl | public class CustomServiceImpl implements WSIFService(Code) | | An entry point to dynamic WSDL invocations.
author: Alekander Slominski author: Sanjiva Weerawarana author: Owen Burroughs author: Ant Elder author: Jeremy Hughes author: Mark Whitlock |
Constructor Summary | |
| CustomServiceImpl(String wsdlLoc, String serviceNS, String serviceName, String portTypeNS, String portTypeName) Create a WSIF service instance from WSDL document URL. | | CustomServiceImpl(String wsdlLoc, ClassLoader cl, String serviceNS, String serviceName, String portTypeNS, String portTypeName) Create a WSIF service instance from WSDL document URL
using a ClassLoader to find local resources. | | CustomServiceImpl(Definition def) Create a WSIF service instance
NOTE:
The equivalent
org.apache.wsif.WSIFServiceFactory .getService method
should be used to create a WSIFService. | | CustomServiceImpl(Definition def, Service service) Create a WSIF service instance
NOTE:
The equivalent
org.apache.wsif.WSIFServiceFactory .getService method
should be used to create a WSIFService. | | CustomServiceImpl(Definition def, Service service, PortType portType) Create a WSIF service instance
NOTE:
The equivalent
org.apache.wsif.WSIFServiceFactory .getService method
should be used to create a WSIFService. | | CustomServiceImpl(Definition def, String serviceNS, String serviceName) Create a WSIF service instance
NOTE:
The equivalent
org.apache.wsif.WSIFServiceFactory .getService method
should be used to create a WSIFService. | | CustomServiceImpl(Definition def, String serviceNS, String serviceName, String portTypeNS, String portTypeName) Create a WSIF service instance
NOTE:
The equivalent
org.apache.wsif.WSIFServiceFactory .getService method
should be used to create a WSIFService. | | CustomServiceImpl(CustomServiceImpl wsi) Create a WSIF service instance from another instance. |
CustomServiceImpl | CustomServiceImpl(String wsdlLoc, String serviceNS, String serviceName, String portTypeNS, String portTypeName) throws WSIFException(Code) | | Create a WSIF service instance from WSDL document URL.
If serviceName or serviceNS is null,
then WSDL document must have exactly one service in it.
If portTypeName or portTypeNS is null,
then WSDL document must have exactly one portType in it
and all ports of the selected service must
implement the same portType.
NOTE:
The equivalent
org.apache.wsif.WSIFServiceFactory .getService method
should be used to create a WSIFService.
|
CustomServiceImpl | CustomServiceImpl(String wsdlLoc, ClassLoader cl, String serviceNS, String serviceName, String portTypeNS, String portTypeName) throws WSIFException(Code) | | Create a WSIF service instance from WSDL document URL
using a ClassLoader to find local resources.
If serviceName or serviceNS is null,
then WSDL document must have exactly one service in it.
If portTypeName or portTypeNS is null,
then WSDL document must have exactly one portType in it
and all ports of the selected service must
implement the same portType.
NOTE:
The equivalent
org.apache.wsif.WSIFServiceFactory .getService method
should be used to create a WSIFService.
|
addExtensionRegistry | public static void addExtensionRegistry(ExtensionRegistry reg)(Code) | | Add new WSDL model extension registry that is shared by all
dynamic WSIF providers.
|
getAvailablePortNames | public Iterator getAvailablePortNames() throws WSIFException(Code) | | Get the names of the available ports
Iterator for list of available port names. |
getCompositeExtensionRegistry | public static ExtensionRegistry getCompositeExtensionRegistry()(Code) | | Return extension registry that contains ALL declared extensions.
This is special registry that does not allow to register serializers
but only to add new extension registreis through
addExtensionRegistry method.
See Also: CustomServiceImpl.addExtensionRegistry |
getDefinition | public Definition getDefinition()(Code) | | Get the Definition object representing the wsdl document
The Definition object |
mapPackage | public void mapPackage(String namespace, String packageName) throws WSIFException(Code) | | Add an association between a namespace URI and and a Java package.
Parameters: namespace - The namespace URI Parameters: packageName - The full package name |
mapType | public void mapType(QName xmlType, Class javaType) throws WSIFException(Code) | | Add association between XML and Java type.
Parameters: xmlType - The qualified xml name Parameters: javaType - The Java class |
setAutoLoadProviders | public static void setAutoLoadProviders(boolean b)(Code) | | |
setContext | public void setContext(WSIFMessage context)(Code) | | Sets the context information for this WSIFService.
Parameters: WSIFMessage - the new context information |
setDynamicWSIFProvider | public static void setDynamicWSIFProvider(String providerNamespaceURI, WSIFProvider provider)(Code) | | |
setPreferredPort | public void setPreferredPort(String portName) throws WSIFException(Code) | | Set the preferred port
Parameters: portName - The name of the port to use |
|
|