On Sat, April 15, 2006 2:48 pm, Alex Duggan wrote:
> I am trying to connect to a webservice with a wsdl. After creating a
> new SoapClient, I tried calling one of the methods. It returned this
> exception.
>
> Uncaught SoapFault exception: [SOAP-ENV:Server] SoapMapper:Converting
> data for SoapMapper failed inside the typemapper
> in /home/aldug/soap_test.php
>
> Other methods on this webservice work fine. How do I go about
> debugging
> this problem?
Some suggestions:
Set up the simplest shortest script you can to create something of the
type that causes the problem, and see if you can still break it.
Examine the WSDL *very* carefully, watching for indicators that you
were supposed to supply an array of Widget instead of a Widget and
that sort of thing.
Google for the website URL, vendor, error message, service name,
and/or data type in question.
[After the above]
Contact the vendor of that SOAP service -- they may have had another
PHP user with the same problem before, if it's something funky on
their end.
--
Like Music?
http://l-i-e.com/artists.htm
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php