Android Ksoap invalid Message body

82 Views Asked by At

I have an android application , I'm trying to call .net web services using ksoap library , but i have a problem , when I run my project I get error like this :

SoapFault - faultcode: 'a:InternalServiceFault' faultstring: 'Error in deserializing body of request message for operation 'yemeksorgusu'. OperationFormatter encountered an invalid Message body. Expected to find node type 'Element' with name 'yemeksorgusu' and namespace 'mozaikkebap.com.tr'. Found node type 'Element' with name 'anyType' and namespace 'http://www.w3.org/2001/XMLSchema'' faultactor: 'null' detail: org.kxml2.kdom.Node@263fd05

1

There are 1 best solutions below

4
Dipesh On

I think you're soap response is in this format Soap Service Response I your using soap services in your android application than you should go through this tutorial This is for sample code