4 Replies Latest reply on Aug 14, 2014 9:36 AM by BillMiller

    FM11 and HTTP Post


      Hi All,


      I'm working for a client using FM11 and they want to interact with a web service using SOAP requests.

      I am new to SOAP, so I was looking for a little guidance.

      I downloaded the fmNexus plugin to use for this.

      Here is the request I submitted using the FMNexus HTTP POST command



      POST /WebServices/PK_Service/PK_Service.asmx HTTP/1.1

      Host: auracloud.net

      Content-Type: text/xml; charset=utf-8

      Content-Length: length

      SOAPAction: "http://tempuri.org/getPK"



      <?xml version="1.0" encoding="utf-8"?>

      <soap:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">


      <getPK xmlns="http://tempuri.org/">

      <upas>" & $pw & "</upas>

      <sn>" & $sn & "</sn>

      <license>" & $licenseType & "</license>


      <string>" & $appList & "</string>







      I receiv an error message; here is the heart of it:


      "Server was unable to process request. ---&gt; Data at the root level is invalid. Line 1, position 2."


      As you can see, I am submitting four variables with this request: $pw, $sn, $licenseType, $appList.


      Would you have any clues to point in the right direction?

      Thanks for any help you can provide.