what does this mean?
| From: | Dave | Date: | Sun, 22 Feb 2004 02:33:18 +0000 |
| Subject: | what does this mean? | ||
| Groups: | php.soap | ||
| Request: | Send a blank email to php-soap+get-1377@lists.php.net to get a copy of this message | ||
i'm trying to write a soap server to communciate with an activex object that
sends a soap message - however all i have is the xml of the soap call to
work with and this is my first soap server. documentation on php soap sucks.
i wrote a script that, via curl, submits the exact soap message that the
activex app is and then passthru the results to the browser. i get xml back,
but it makes no sense. i'm getting soooo frustrated because there's hardly
any support on this and i don't have a clue what's happening. any help would
GREATLY appreciated - i'm going nuts here.
here's the request xml (below it is repsonse)....
<?xml version="1.0" encoding="ISO-8859-1"?>
<env:Envelope xmlns:env="http://schemas.xmlsoap.org/soap/envelope/">
<env:Body>
<r:replicate xmlns:r="http://xstandard.com/1999/replication">
<r:transaction-id>DDC50CFA-8579-4DA1-A718-60575DC23DDA</r:transaction-id>
<r:packet-number>1</r:packet-number><r:packet-count>1</r:packet-count>
<r:object-id>0202b2.jpg</r:object-id>
<r:time-zone>Eastern Standard Time</r:time-zone>
<r:payload-type>zip</r:payload-type>
<r:payload>UEsDBBQAAAAIADB/OiylnA2dRB8AAPMfAAAKAAAAMDIwMmIyLmpwZ52ZZ1QTbdfvQ
42gEOm9CYIS
qnQpuRFpQUBA6UWaEHqR3hQElBJ6b9KbIdJ7kV4M0kFAgdAJvYYWXryf97zny/lwztmz1syadV0z
6/rN3vu/98zczNwsAu5DlVSVAHh4eACV2w1wMwdQABAS3Br+3z0hISERMSkxMRER8b07JEBS8nsg
da0MPz+bLv2kfBJY80cWFrXOkx7V6k3+NDsvkptLO5i37cLkeF65/4VnVZJ5knmwbPkamcZAjRmT
CkRs4HADSH7fr9koNiLgqkhzhcpRHxLulnL+KXj9OPUdHXfU5aiiDz5tnWj+f5LsUV5r5oc52tsI
iMAx3Pz6L1BLAQIUABQAAAAIADB/OiylnA2dRB8AAPMfAAAKAAAAAAAAAAEAIAC2gQAAAAAwMjAy
YjIuanBnUEsFBgAAAAABAAEAOAAAAGwfAAAAAA==</r:payload>
</r:replicate>
</env:Body>
</env:Envelope>
...response...
<?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/"
SOAP-ENV:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/">
- <SOAP-ENV:Body>
- <SOAP-ENV:Fault>
<faultcode xsi:type="xsd:QName">SOAP-ENV:Server</faultcode>
<faultstring xsi:type="xsd:string">method '{}' not defined in
service</faultstring>
<faultactor xsi:type="xsd:anyURI" />
- <detail xsi:type="SOAP-ENC:Array" SOAP-ENC:arrayType="Struct[5]"
SOAP-ENC:offset="[0]">
- <item>
<file xsi:type="xsd:string">/usr/local/lib/php/SOAP/Fault.php</file>
<line xsi:type="xsd:int">49</line>
<function xsi:type="xsd:string">pear_error</function>
<class xsi:type="xsd:string">pear_error</class>
<type xsi:type="xsd:string">::</type>
- <args xsi:type="SOAP-ENC:Array" SOAP-ENC:arrayType="xsd:anyType[5]"
SOAP-ENC:offset="[0]">
<item xsi:type="xsd:string">method '{}' not defined in
service</item>
<item xsi:type="xsd:string">Server</item>
<item />
<item />
<item xsi:type="xsd:string" />
</args>
</item>
- <item>
<file xsi:type="xsd:string">/usr/local/lib/php/SOAP/Base.php</file>
<line xsi:type="xsd:int">199</line>
<function xsi:type="xsd:string">soap_fault</function>
<class xsi:type="xsd:string">soap_fault</class>
<type xsi:type="xsd:string">-></type>
- <args xsi:type="SOAP-ENC:Array" SOAP-ENC:arrayType="xsd:anyType[6]"
SOAP-ENC:offset="[0]">
<item xsi:type="xsd:string">method '{}' not defined in
service</item>
<item xsi:type="xsd:string">Server</item>
<item xsi:type="xsd:string" />
<item xsi:type="xsd:string" />
<item />
<item />
</args>
</item>
- <item>
<file xsi:type="xsd:string">/usr/local/lib/php/SOAP/Server.php</file>
<line xsi:type="xsd:int">377</line>
<function xsi:type="xsd:string">_raisesoapfault</function>
<class xsi:type="xsd:string">soap_server</class>
<type xsi:type="xsd:string">-></type>
- <args xsi:type="SOAP-ENC:Array" SOAP-ENC:arrayType="xsd:string[4]"
SOAP-ENC:offset="[0]">
<item xsi:type="xsd:string">method '{}' not defined in
service</item>
<item xsi:type="xsd:string" />
<item xsi:type="xsd:string" />
<item xsi:type="xsd:string">Server</item>
</args>
</item>
- <item>
<file xsi:type="xsd:string">/usr/local/lib/php/SOAP/Server.php</file>
<line xsi:type="xsd:int">168</line>
<function xsi:type="xsd:string">parserequest</function>
<class xsi:type="xsd:string">soap_server</class>
<type xsi:type="xsd:string">-></type>
- <args xsi:type="SOAP-ENC:Array" SOAP-ENC:arrayType="xsd:anyType[2]"
SOAP-ENC:offset="[0]">
<item xsi:type="xsd:string" />
<item xsi:type="SOAP-ENC:Array" SOAP-ENC:arrayType="xsd:anyType[0]" />
</args>
</item>
- <item>
<file
xsi:type="xsd:string">/home/shared/fasttrack-basic/webservices/replication.p
hp</file>
<line xsi:type="xsd:int">31</line>
<function xsi:type="xsd:string">service</function>
<class xsi:type="xsd:string">soap_server</class>
<type xsi:type="xsd:string">-></type>
- <args xsi:type="SOAP-ENC:Array" SOAP-ENC:arrayType="xsd:string[1]"
SOAP-ENC:offset="[0]">
<item xsi:type="xsd:string" />
</args>
</item>
</detail>
</SOAP-ENV:Fault>
</SOAP-ENV:Body>
</SOAP-ENV:Envelope>