|
From: Yuri L. <y.l...@sa...> - 2004-08-04 16:02:57
|
Hello all, I am currently playing with the MapPoint web service, and I found out that NuSOAP 0.6.7 doesn't work with the current MapPoint service. Whatever it is that I run - the three MapPoint examples in samples/ directory, or my own scripts, the MapPoint server answers "HTTP Error: no data present after HTTP headers" Note that I also write similar examples in C# and have absolutely no problems with them. Here is the request that NuSOAP generates in samples/wsdlclient7.php for GetVersionInfo call: POST http://findv3.staging.mappoint.net/Find-30/Common.asmx HTTP/1.0 User-Agent: NuSOAP/0.6.7 (1.75) Host: findv3.staging.mappoint.net Content-Type: text/xml; charset=ISO-8859-1 SOAPAction: "http://s.mappoint.net/mappoint-30/GetVersionInfo" Proxy-Authorization: [CUT] Content-Length: 458 Authorization: [CUT] <?xml version="1.0" encoding="ISO-8859-1"?><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:si="http://soapinterop.org/xsd" xmlns:nu="http://testuri.org"><SOAP-ENV:Body><GetVersionInfo xmlns="http://s.mappoint.net/mappoint-30/"/></SOAP-ENV:Body></SOAP-ENV:Envelope> I am not attaching the code, for it's in the NuSOAP distribution. What is the problem? I used to find references on the Net that people used NuSOAP successfully to talk to MapPoint. -- Best regards, Yuri Leikind |