Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

PB 11.5.1 Custom Exception Mapping to SOAP Fault

Status
Not open for further replies.

mjanda

Programmer
Apr 28, 2011
1
US
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


 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top