0
나는 오류 메시지를 수신하고 내 application.In에서 SOAP 서비스를 사용하고
SoapFault - faultcode: 'soap:Client' faultstring: 'System.Web.Services.Protocols.SoapException: Server was unable to read request. ---> System.InvalidOperationException: There is an error in XML document (1, 301). ---> System.InvalidOperationException: The specified type was not recognized: name='authentication',
내 SOAP 요청의 구조는 다음과 같습니다
<authentication>
<LoginID>string</LoginID>
<Password>string</Password>
</authentication>
<Id>int</Id>
<Str>string</Str>
내 코드는 다음과 같습니다
SoapObject request = new SoapObject(NAMESPACE, METHOD_NAME);
PropertyInfo usrid =new PropertyInfo();
usrid.setName("LoginID");
usrid.setValue(userid);
usrid.setType(String.class);
request.addProperty(usrid);
//
PropertyInfo pass =new PropertyInfo();
pass.setName("Password");
pass.setValue(password);
pass.setType(String.class);
request.addProperty(pass);
PropertyInfo rote =new PropertyInfo();
rote.setName("Id");
rote.setValue(4114616);
rote.setType(int.class);
request.addProperty(rote);
//
PropertyInfo dte =new PropertyInfo();
dte.setName("Str");
dte.setValue(date);
dte.setType(String.class);
request.addProperty(dte);
androidHttpTransport.call(SOAP_ACTION,envelope);
// SoapPrimitive response = (SoapPrimitive)envelope.getResponse();
System.out.println("subbu");
Object response=(Object)envelope.getResponse();---->I think i am getting error here.
누구든지 내가 뭘 잘못했는지 도와 주실 수 있습니까? 다음 링크 밖으로
안녕은 "_what 당신이 wrong_했던 한 말을하기 어렵다 그래서 .. 모든 – subburaj
첫째로, 당신은 당신의 코드를 게시하지 않은 답변을 얻을 질수 통해 UR reply..but 주셔서 감사합니다 ". – StenaviN
안녕하세요 StenaviN.I 내 코드를 게시했습니다. – subburaj