Error consuming WSDL - Error in deserializing body of request message for operation

JassimRahmaJassimRahma USMember ✭✭✭✭

Hi,

I am trying to consume WSDL service

I have added Connected Service to my solution using Right Click->Add->Connected Service but when I run it I get this error:

System.ServiceModel.FaultException`1[[System.ServiceModel.ExceptionDetail, System.ServiceModel, Version=2.0.5.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35]]: 'Error in deserializing body of request message for operation 'GetMakaniDetails'. OperationFormatter encountered an invalid Message body. Expected to find node type 'Element' with name 'GetMakaniDetails' and namespace 'http://tempuri.org/'. Found node type 'Element' with name 'GetMakaniDetailsAsync' and namespace 'http://tempuri.org/''

**This is the service URL:
**

http://www.makani.ae/MakaniPublicDataService/MakaniPublic.svc?singleWsdl

Kindly help..

Thanks,
Jassim

Answers

  • AlessandroCaliaroAlessandroCaliaro ITMember ✭✭✭✭✭
    In XF project or android project?
  • JassimRahmaJassimRahma USMember ✭✭✭✭

    I added the Connected Service to XF and I am trying to run the Android

  • JassimRahmaJassimRahma USMember ✭✭✭✭

    Do I need to add the Connected Service to every project (iOS, Android and UWP) as well?

  • AlessandroCaliaroAlessandroCaliaro ITMember ✭✭✭✭✭
    I have never been able to work with connected service in XF. I use it in Android then you can calll in XF using dependencyservice
Sign In or Register to comment.