Title: Nachricht
Hallo,
 
I have a declared a fault message type in the WSDD file as follows:
 

<operation name="create" returnQName="resultValue" returnType="ns:ServerLogEntry" ><parameter name="material" type="ns:Material"/>

<fault name="MyFault" qname="ns:MyFault" type="ns:MyFaultType" xmlns:ns="http://myws/services/CreateTCMatService" class="myws.commands.MyFault"/>

</operation>

with the beanmapping:

<beanMapping xmlns:ns="http://myws/services/CreateTCMatService"

qname="ns:MyFaultType"

type="java:myws.commands.MyFault"

encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"

/>

The class myFault extends java.rmi.RemoteException and implements java.io.Serializable

I took the example from samples\faults and changed it to my needs.

Now I am having the problem that MyFault is not being serialized in the generated WSDL. I only get <wsdl:message name="MyFault">

   </wsdl:message> without any part elements.

Can anyone tell me what I have done wrong?

Thanks!

Denis

Reply via email to