Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

PowerBuilder/EAServer exceptions and web services

4 views
Skip to first unread message

Matthew Wilson

unread,
Aug 19, 2003, 9:02:48 PM8/19/03
to
Hi,

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

0 new messages