Hello.
I've written a webservice call that is catching a soapexception, but it doesn't contain all the detail I need. The xml response does contain all the fault detail I want, I just can't figure out how to access it.
The wsdl defines a fault, but PowerBuilder does not generate a proxy for it. I tried creating a custom exception object by inheriting from soapexception and adding the elements defined in the fault as instance variables. Then I changed my code to catch that exception, but it bypasses it in favor of the original soapexception. I don't know why it doesn't recognize my object as a soapexception.
If anyone has successfully created and mapped a custom exception to a SOAP fault, I would love to hear from you.
Thanks,
Mary
I've written a webservice call that is catching a soapexception, but it doesn't contain all the detail I need. The xml response does contain all the fault detail I want, I just can't figure out how to access it.
The wsdl defines a fault, but PowerBuilder does not generate a proxy for it. I tried creating a custom exception object by inheriting from soapexception and adding the elements defined in the fault as instance variables. Then I changed my code to catch that exception, but it bypasses it in favor of the original soapexception. I don't know why it doesn't recognize my object as a soapexception.
If anyone has successfully created and mapped a custom exception to a SOAP fault, I would love to hear from you.
Thanks,
Mary