2008-12-09 75 views
0

我有一个web服务托管在http://recpushdata.cyndigo.com/jobs.asmx。我想用XMLHttpRequest和SOAP来调用这个webservice。为什么我想这样做的事情是,我主持这是完全访问Web服务客户端应用程序,但是当客户端试图访问同一Web服务的提供了一些错误,如: -使用XMLHttpRequest和SOAP访问ASP.Net WebService

<?xml version="1.0" encoding="utf-8" ?> 
- <soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema"> 
- <soap:Body> 
- <soap:Fault> 
    <faultcode>soap:Server</faultcode> 
    <faultstring>Server was unable to process request. ---> Object reference not set to an instance of an object.</faultstring> 
    <detail /> 
    </soap:Fault> 
    </soap:Body> 
    </soap:Envelope> 

不幸我无法弄清楚?

回答

0

检查here。但是XmlHttpRequest和SOAP是痛苦的,因为您已经手动构建了SOAP体。