namespace attributes from the soap:fault definition.
Anne
- Original Message -
From:
Shantanu Sen
To: [EMAIL PROTECTED]
Sent: Tuesday, July 29, 2003 9:54
PM
Subject: Re: soap fault and WSDL2Java
question
I found the error. I did not have the name attribute of wsdl:fa
://schemas.xmlsoap.org/wsdl/soap/
[2] http://schemas.xmlsoap.org/wsdl/
Regards,
Anne
- Original Message -
From: Shantanu Sen
To: [EMAIL PROTECTED]
Sent: Tuesday, July 29, 2003 9:54 PM
Subject: Re: soap fault and WSDL2Java question
I found the error. I did not have the name attribute of wsdl:fault
I found the error. I did not have the name attribute of wsdl:fault. I was focusing on the name attribute of the soap:fault, which is not really required: namespace="http://MyService/binding" use="literal"/> I can run WSDL2Java with the above change without any problem. But CapeClear does not vali
Anne,
Thanks. But even with that change I get the same
error. It seems that javax.xml.BindingFault.getName()
returns null. I am not sure why it is not picking up
the name attribute. I could not step into that part of
the code which is creating the BindingFault, which is
in the wsdl4j.jar
Thanks,
Shantanu,
The name= attribute should specify a nmtoken, not a QName.
Therefore your WSDL definition should read:
http://MyService";
encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"; />
Regards,
Anne
- Original Message -
From: "Shantanu Sen" <[EMAIL PROTECTED]>
To: <[EMAIL PROTE