Options

Xamarin PCL Web Service Connection

Hi,
I hope I can find someone who already tried to connect to NAV Web Service from am Xamarin.Forms Project inside the PCL and is willing to share his knowledge.

I have trouble to connect to a simple Codeunit which has only one function with two parameters.

I need to get the _Out Parameter back in a synchronous call. There is a way to add a Service Reference if you don't develop for Windows Phone 8. But even then I can't call my web service.
<?xml version="1.0" encoding="utf-16"?>
<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>
    <ProcessRequest xmlns="urn:microsoft-dynamics-schemas/codeunit/WSInterface">
      <_In>1234</_In>
      <_Out />
    </ProcessRequest>
  </soap:Body>
</soap:Envelope>

Sign In or Register to comment.