| Thomas -lists 2005-06-05, 8:56 pm |
| Hi there,
sorry those are my first steps with pear-soap but it seems like some
very nice stuff to work with :).
I'm trying to implement a soap-server to get remote-access to some
php-library used here.
I do the testing with a simple soap-client using pear-soap too.
I've successfully gotten the soap-server to return some data as a struct.
Now I'm trying to send some data as a struct and getting an id (for the
database-result) back.
The action completes successfully but I get a soap_fault object back,
whose content I can't seem to understand :(.
I would appreciate if anyone could shed any light on it.
The soap_fault object looks like that:
---
soap_fault Object
(
[error_message_prefix] =>
[mode] => 1
[level] => 1024
[code] => HTTP
[message] => stdClass Object
(
[firma] => Max Mustermann
[name] => Max
[ort] => Musterstadt
)
<?xml version="1.0" encoding="UTF-8"?>
<SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:xsd="http://www.w3.org/2001/XMLSchema"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:SOAP-ENC="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:ns4="urn:gSalesServer"
SOAP-ENV:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/">
<SOAP-ENV:Body>
<ns4:gSales_neuerKundeResponse>
<knr xsi:type="xsd:int">11146</knr></ns4:gSales_neuerKundeResponse>
</SOAP-ENV:Body>
</SOAP-ENV:Envelope>
[userinfo] =>
[backtrace] => Array
(....
---
I can show code on request as well.
Thanks in advance,
Thomas
|