0

我有一个托管在http://recpushdata.cyndigo.com/jobs.asmx的 webService 。我想使用 XMLHttpRequest 和 SOAP 来调用这个网络服务。我想这样做的原因是我已经托管了一个客户端应用程序,它可以完美地访问 Web 服务,但是当客户端尝试访问同一个 Web 服务时,它会给出一些错误,例如:-

 <?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>

不幸的是,我无法弄清楚?

4

1 回答 1

0

在这里检查。但是 XmlHttpRequest 和 SOAP 很痛苦,因为您必须手动构建 SOAP 主体。

于 2008-12-09T05:54:38.070 回答