AW: [SOAP] PEAR / Soap Problem
| From: | Bruns Jan | Date: | Thu, 13 Feb 2003 14:14:42 +0000 |
| Subject: | AW: [SOAP] PEAR / Soap Problem | ||
| Groups: | php.soap | ||
| Request: | Send a blank email to php-soap+get-422@lists.php.net to get a copy of this message | ||
Hi all,
thank you for your replies!
I have yet another problem.
When I call a .NET Webservice I get the error message 'Server did not
recognize the value of HTTP Header SOAPAction'.
I sniffed the TCP Stream and recognized that the SOAPAction is empty. Could
that be the reason? The SOAPAction is set to http://tempuri.org/f2 by the
web service (problem?).
See sniff extract below.
Help will be appreciated!
Jan Bruns
<sniff>
POST /wstest/Service1.asmx HTTP/1.0
User-Agent: PEAR-SOAP 0.7.1
Host: x.x.x.x
Content-Type: text/xml; charset=UTF-8
Content-Length: 422
SOAPAction: ""
<?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>
<f1/>
</SOAP-ENV:Body>
</SOAP-ENV:Envelope>
HTTP/1.1 500 Internal Server Error.
Server: Microsoft-IIS/5.0
Date: Thu, 13 Feb 2003 14:16:41 GMT
Cache-Control: private
Content-Type: text/xml; charset=utf-8
Content-Length: 354
<?xml version="1.0" encoding="utf-8"?>
<soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
<soap:Body>
<soap:Fault>
<faultcode>soap:Client</faultcode>
<faultstring>Server did not recognize the value of HTTP Header
SOAPAction: .</faultstring>
<detail />
</soap:Fault>
</soap:Body>
</soap:Envelope>
</sniff>
-----Ursprüngliche Nachricht-----
Von: Brad LaFountain [mailto:rodif_bl@yahoo.com]
Gesendet: Mittwoch, 12. Februar 2003 15:22
An: Bruns Jan
Betreff: Re: [SOAP] PEAR / Soap Problem
Well you would need to build the soap.so.
I don't use it as a shared object. I normally compile everythign statically.
I
do know of some people that use it as a .so. If anyone can help him out...
- Brad
--- Bruns Jan <jan.bruns@siemens.com> wrote:
> Hi all,
>
> I have got a question regarding your Pear / SOAP Package. After installing
> Pear and the Soap package I am not able to execute the following PHP
script:
>
> //simple example to check soap extension client is working..
> dl('soap.so');
> echo "create client\n";
> $soapclient = new
>
SoapObject("http://services.xmethods.net/soap/urn:xmethods-delayed-quotes.ws
> dl");
> echo "sending getquote\n";
> $ret = $soapclient->getQuote("ibm");
> print_r($ret);
> echo "done";
>
>
> The problem is that 'soap.so' is not found at all on the system. The
> following message comes up:
> Warning: Unable to load dynamic library '/usr/lib/php4/soap.so' -
> /usr/lib/php4/soap.so: cannot open shared object file: No such file or
> directory in /var/www/html/test.php on line 11
>
> Where is soap.so distributed?
> Have you got any suggestions? I am using Rad Hat 7.3, and the Soap 0.7.1
> package.
>
> Any Help Would be appreciated!
>
> Thanks,
> Jan Bruns
>
> --
> PHP Soap Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
__________________________________________________
Do you Yahoo!?
Yahoo! Shopping - Send Flowers for Valentine's Day
http://shopping.yahoo.com