Wired WSDL Error

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi All

I'm currently developing a SOAP server/client using NuSOAP. I have rigged my apache so that i can work on multiple applications at the same time.

So, as all my apps are in virtual hosts, i'm getting 404 error while parsing the WSDL file. The wired thing is, the parsing breaks somewhere in the middle rather than at the beginning.

it looks like the client is sending the relative address of the WSDL than the absolute address. is there a way with which i can force the client to send the absolute address?

Any help will be appriciated.

Thanks
/V

WSDL at http://pastebin.com/643480
Here is the request/response just after it breaks:


Request:
POST /SOAP/ppservice.php?wsdl HTTP/1.0
Host: postpaid.freya
User-Agent: NuSOAP/0.7.2 (1.94)
Content-Type: text/xml; charset=ISO-8859-1
SOAPAction: ""
Content-Length: 482

<?xml version="1.0" encoding="ISO-8859-1"?>
<SOAP-ENV:Envelope SOAP-ENV:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"; 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:Body>
		<ns4834:getAuthChallenge xmlns:ns4834="http://tempuri.org";>
		</ns4834:getAuthChallenge>
	</SOAP-ENV:Body>
</SOAP-ENV:Envelope>

Response:
HTTP/1.1 404 Not Found
Date: Thu, 06 Apr 2006 03:28:59 GMT
Server: Apache/2.2.0 (Unix) mod_ssl/2.2.0 OpenSSL/0.9.8a DAV/2 PHP/5.1.2
Content-Length: 216
Connection: close
Content-Type: text/html; charset=iso-8859-1

<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">
<html><head>
<title>404 Not Found</title>
</head><body>
<h1>Not Found</h1>
<p>The requested URL /SOAP/ppservice.php was not found on this server.</p>
</body></html>

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux