Hi,

 We are using JiBX serialization mechanism (from 1.1.1-RC1) and decided
to add custom faults to the WSDL. For some reason the wsdl2java
compilation fails complaining that it does not find any corresponding
mapping for the fault type.

 Any ideas?

Thanks in advance,
Alex


Here is the WSDL fragment:
--------------------------

<wsdl:message name="PPMFaultMessage">
        <wsdl:part name="fault" element="common:PPMFault"/>
</wsdl:message>
...
<wsdl:operation name="fetchRequests">
        <wsdl:input message="axis2:fetchRequestsMessage"/>
        <wsdl:output message="axis2:fetchRequestsResponseMessage"/>
                <wsdl:fault name="PPMFaultException"
message="axis2:PPMFaultMessage"/>
</wsdl:operation>


The xsd fragment:
-----------------

<complexType name="PPMFault">
        <sequence>
                <element name="message" type="xs:string"/>
        </sequence>
</complexType>


The mapping fragment:
---------------------

<binding xmlns:common="http://mercury.com/ppm/common/1.0";>

        <namespace uri="http://mercury.com/ppm/common/1.0";
prefix="common"  />

<mapping abstract="true" class="com.mercury.PPMFault" type-name="common:
PPMFault" ordered="false" >
        <value name="message" field="message" usage="optional"/>
</mapping>



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to