Hi, list!

I have a problem throwing Exceptions from service to client, using ADB.

I create a service with Exceptions in some methods, I compile this
class and I create WSDL with Java2WSDL tool. In this WSDL I change
these lines:

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

So I can send a message to client in the fault, also I change the
services.xml file adding Faults to the respective methods.

And now I compile service like I do before change WSDL and all is ok,
but when I try to compile client, the client hasn't got the file of
MyFault class, it has only MyFaultException class.

My doubt is, do I have to copy manually the Fault class files? The
WSDL2Java tool has an option to create Fault class files in client
side, like it does in service side?

Thanks a lot!

--
Saludos

Fran

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

Reply via email to