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

PHP5 SOAP Client + Delphi service & Exceptions?

5 views
Skip to first unread message

Mark van S

unread,
Jun 23, 2006, 7:38:52 AM6/23/06
to
I am currently investigating the options with PHP5 to catch exceptions.
In the documents on php.net it is described that there is a general
SoapFault object which will be thrown every time a soapcall produces an
exception - any exception. Only problem is, it gives me no information
what so ever about the exception i raised on the service.

In my service build with Delphi 2005 + REMObjects SDK (3.0) i can throw
different types of exceptions but whatever information i put in the
exception is not found in the soapfault at the PHP5 client side.

Only information i get is a trace of my call on the PHP side, an
'Internal Server Error' as SoapFault->faulstring.

When I try to print_r the SoapFault object there is absolutely no
information that relates to the exception i raised. trying to print the
last response (soapClient->__getLastResponse()) gives also nothing.
This is strange because there should be a response (tried it with a
Delphi soapclient) which contains the exception with information.
(instead of the 'expected' response to the soapcall beeing issued)

My soapclient is initiated with the following options:
* trace => 1
* exceptions => true

I tried google, but this time it ain't my friend.
I tried different types of Exceptions (REMObjects SDK gives you also
the option to build 'soap exceptions' but they don't make a difference
against a normal Exception/EDivByZero etc.)
I searched the groups, tried my collegeus -> no clue's

Riki Wiki

unread,
Aug 20, 2006, 8:38:00 AM8/20/06
to
Hoi Mark

You need to repost your question on the Borland news server to make
everybody see it and possibly answer your question. Further, this news
group do not officially exist, the group to use is
borland.public.delphi.webservices.wsdl.

How to post to Delphi newsgroups:
<http://delphi.wikia.com/wiki/Delphi_Newsgroups>

0 new messages