axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Amila Suriarachchi" <>
Subject Re: Problem creating Java files from WSDL
Date Sat, 16 Dec 2006 06:12:33 GMT
this is an axis2 problem. please feel free to log a jira.

Here is the problem.
In your wsdl contains a fault element and its soap binding as follows.

<wsdl:fault name="SDD2ErrorFault" message="tns:SDD2Error" />

in binding
    <wsdl:fault name="SDD2Error">
        <soap:fault use="literal" name="SDD2ErrorFault" namespace="" />

according to the wsdl 1.1 specification and the ws-basic profile your wsdl
is correct.

i.e. we have to pick the wsdl:fault,  using the soap:fault element (using
the name attribute) in the soap binding. and this name is an manadatory
but in axis2 it picks the wsdl:fault, using the  wsdl:fault element (using
the name attribute).

therefore if you interchange the names as follows it will work.

     <wsdl:fault name="SDD2ErrorFault">
        <soap:fault use="literal" name="SDD2Error" namespace="" />


Amila Suriarachchi,
Software Engineer,
WSO2 Inc.

View raw message