org.apache.wsif.providers.soap.soaprmi
Class WSIFDynamicProvider_SoapRMI
java.lang.Object
|
+--org.apache.wsif.providers.soap.soaprmi.WSIFDynamicProvider_SoapRMI
- All Implemented Interfaces:
- WSIFProvider
- public class WSIFDynamicProvider_SoapRMI
- extends java.lang.Object
- implements WSIFProvider
SoapRMI provider of dynamic WSDL invocations.
Limitations of this SoapRMI dynamic port provider
(relative to WSDL 1.1 SOAP binding):
- only rpc style is supported (not document)
- only HTTP transport is supported
- only soap:body use 'encoded' is supported (not literal)
- soap:header is not allowed
- soap:fault is ignored
- only first encodingStyle is used from input soap:body
(when the space separated list of encoding styles is provided)
- output soap:body namespaceURI and encodingStyles are ignored
- first part from output soap:body is used as return value
- fault processing is not yet implemented - SOAP faults
as provided by Apache SOAP exceptions are always wrapped into
WSIFException.
- Author:
- Aleksander Slominski
Method Summary |
WSIFPort |
createDynamicWSIFPort(javax.wsdl.Definition def,
javax.wsdl.Service service,
javax.wsdl.Port port,
WSIFDynamicTypeMap typeMap)
Check if WSDL port has SOAP binding and if successful try
to create SOAP port instance. |
java.lang.String[] |
getAddressNamespaceURIs()
Returns the WSDL namespace URIs of any port addresses this provider supports. |
java.lang.String[] |
getBindingNamespaceURIs()
Returns the WSDL namespace URIs of any bindings this provider supports. |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
WSIFDynamicProvider_SoapRMI
public WSIFDynamicProvider_SoapRMI()
createDynamicWSIFPort
public WSIFPort createDynamicWSIFPort(javax.wsdl.Definition def,
javax.wsdl.Service service,
javax.wsdl.Port port,
WSIFDynamicTypeMap typeMap)
throws WSIFException
- Check if WSDL port has SOAP binding and if successful try
to create SOAP port instance.
- Specified by:
createDynamicWSIFPort
in interface WSIFProvider
getBindingNamespaceURIs
public java.lang.String[] getBindingNamespaceURIs()
- Returns the WSDL namespace URIs of any bindings this provider supports.
- Specified by:
getBindingNamespaceURIs
in interface WSIFProvider
- Returns:
- an array of all binding namespaces supported by this provider
getAddressNamespaceURIs
public java.lang.String[] getAddressNamespaceURIs()
- Returns the WSDL namespace URIs of any port addresses this provider supports.
- Specified by:
getAddressNamespaceURIs
in interface WSIFProvider
- Returns:
- an array of all address namespaces supported by this provider
Copyright © 2002, 2002 Apache XML Project. All Rights Reserved.