Axis supports SOAP 1.2, but perhaps the version of wsdl4j that you're using doesn't.

FYI: Just found this new specification from IBM, Microsoft, Oracle, and SAP: a formal definition of a SOAP 1.2 binding for WSDL 1.1 :

http://www.oracle.com/technology/tech/webservices/pdf/WSDL11SOAP12.pdf

And also, a SOAP 1.1 binding for MTOM:

http://download.boulder.ibm.com/ibmdl/pub/software/dw/specs/ws-soapbinding/ws-soap11.pdf

Anne


On 3/24/06, Andreas Bobek < [EMAIL PROTECTED]> wrote:
Hi,

I have a WSDL file with a binding to SOAP 1.2 only, e.g. I use

xmlns:soap12="http://schemas.xmlsoap.org/wsdl/soap12/" instead of
xmlns:soap11=" http://schemas.xmlsoap.org/wsdl/soap/"

Code generation works well.
Deploying with bindings to SOAP 1.1 works well, too.

But when bind to SOAP 1.2 I get follow exception:

org.apache.wsdl.impl.WSDLProcessingException : no port with soap binding
found
        at
org.apache.axis2.deployment.AxisServiceBuilder.getAxisService(AxisServiceBui
lder.java:219)
        at
org.apache.axis2.deployment.AxisServiceBuilder.getAxisService (AxisServiceBui
lder.java:127)
        at
org.apache.axis2.deployment.repository.util.ArchiveReader.processWSDLFile(Ar
chiveReader.java:267)
        at
org.apache.axis2.deployment.repository.util.ArchiveReader.processWSDLs (Archi
veReader.java:333)
        at
org.apache.axis2.deployment.DeploymentEngine.doDeploy(DeploymentEngine.java:
383)
..

which I think means WSDL-SOAP 1.2 is not known.

Debugging inside AxisServiceBuilder:
javax.wsdl.extensions.UnknownExtensibilityElement
UnknownExtensibilityElement
({http://schemas.xmlsoap.org/wsdl/soap12/}binding)

Is this a limitation in Axis up to now?

Thank you, Andreas Bobek.


Reply via email to