AnsweredAssumed Answered

curl Header and options

Question asked by MAKALENG on Dec 5, 2017
Latest reply on Dec 6, 2017 by MAKALENG

i tested this using Ready API and is responding fine, but somehow i am failing to replicate that same response in filemaker, the error from server is content is not allowed in prolog...

 

"POST https://wsgateway.mediswitch.co.za/qa/wsgateway/MediswitchGatewayV2 HTTP/1.1

Accept-Encoding: gzip,deflate

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

SOAPAction: ""

Content-Length: 246

Host: wsgateway.mediswitch.co.za

Connection: Keep-Alive

User-Agent: Apache-HttpClient/4.5.2 (Java/1.8.0_144)

 

<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:v2="http://gateway.switchonline.co.za/MediswitchGateway/v2">

   <soapenv:Header/>

   <soapenv:Body>

      <v2:echoOperation/>

   </soapenv:Body>

</soapenv:Envelope>"

Outcomes