I am trying to throw a user exception, ie it inherits from Exception,
from my PowerBuilder 8.03 component hosted in EAServer 4.2 Developer.
If I generate a TLB and then access it from a Visual Basic 6
application I get an error raised and I can get access to all the
exception information.
However if I use the Web Services Toolkit to expose the component as a
Web Service I get the following error:
<SOAP-ENV:Body>
<SOAP-ENV:Fault>
<faultcode>SOAP-ENV:Server</faultcode>
<faultstring>SOAP Server Error</faultstring>
<detail>
<fd:faultdetail xmlns:fd="TestEAExceptionPackage/TestEAExceptionObject.doit"
>
<message>
Invocation Target Error:
"null"
</message>
</fd:faultdetail>
</detail>
</SOAP-ENV:Fault>
</SOAP-ENV:Body>
If I don't throw an exception it all works fine.
Are user exceptions supported in this way/product?
Thanks