Re: soap fault and WSDL2Java question

2003-07-29 Thread Anne Thomas Manes
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

Re: soap fault and WSDL2Java question

2003-07-29 Thread Anne Thomas Manes
://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

Re: soap fault and WSDL2Java question

2003-07-29 Thread Shantanu Sen
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

Re: soap fault and WSDL2Java question

2003-07-29 Thread Shantanu Sen
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,

Re: soap fault and WSDL2Java question

2003-07-29 Thread Anne Thomas Manes
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