Iphone 获取Web服务中的错误

Iphone 获取Web服务中的错误,iphone,Iphone,我在使用web服务时得到以下响应 <s:Envelope xmlns:s="http://schemas.xmlsoap.org/soap/envelope/"><s:Body><s:Fault><faultcode xmlns:a="http://schemas.microsoft.com/net/2005/12/windowscommunicationfoundation/dispatcher" >a:InternalServiceFaul

我在使用web服务时得到以下响应

 <s:Envelope xmlns:s="http://schemas.xmlsoap.org/soap/envelope/"><s:Body><s:Fault><faultcode 
xmlns:a="http://schemas.microsoft.com/net/2005/12/windowscommunicationfoundation/dispatcher"
>a:InternalServiceFault</faultcode><faultstring xml:lang="en-US">Object reference not set to 
an instance of an object.</faultstring><detail><ExceptionDetail 
xmlns="http://schemas.datacontract.org/2004/07/System.ServiceModel" 
xmlns:i="http://www.w3.org/2001/XMLSchema-instance"><HelpLink i:nil="true"/><InnerException 
i:nil="true"/><Message>Object reference not set to an instance of an object.</Message>
<StackTrace>   at BAL.getDUCID(String DUC, String Plateform) in 
f:\DotnetSite\Websites\APSWServices\App_Code\BAL.cs:line 28&#xD;
a:InternalServiceFaultObject引用未设置为
对象的实例。对象引用未设置为对象的实例。
在BAL.getDUCID(字符串DUC,字符串平台)处
f:\DotnetSite\Websites\APSWServices\App_Code\BAL.cs:第28行
;

IPhone.getHeaderAds(字符串Duc、字符串PId、字符串W、字符串H、字符串AdsId、字符串SessionId、字符串IMEI、字符串User\u Agent)

我认为这是一个web服务问题

首先,您可以通过传递静态值来检查web服务并检查其响应。如果工作正常,请检查您的代码


干杯。

abishek别担心,web服务结束时似乎出现了错误。几天前,我曾通过发送小文件或数据重新检查web服务,但遇到了同样的问题。

您确定此web服务正在按照要求工作吗?请先测试Web服务。如果webservice正在工作,请检查是否传递了正确的参数(如果需要)。