2 Replies Latest reply on Aug 8, 2014 6:07 AM by smork777

    SOAP-API is not talking to me




      I'm trying to implement billsafe, a payment service provider into my shop-system..

      I tried nearly everything since almost two days but I cant get it working that the billsafe-SOAP-API responds correctly to my requests. Whatever I do, I always get back (as the result/response) the complete xml-File of the API. (The same as if I call the URL in a browser)


      What I do is I post a cfhttp-request to the API, including the soap-content. But whatever I post, I get back the content of the API.. (See http://vr-wohnideen.de/test.cfm)


      This is the API-URL: https://sandbox-soap.billsafe.de/wsdl/V211


      This is the way I try to connect to the URL:

      <cfhttp method="post" url="https://sandbox-soap.billsafe.de/wsdl/V211" result="httpResponse">

          <cfhttpparam type="header" name="content-type" value="text/xml" />

          <cfhttpparam type="header" name="charset" value="utf-8" />

          <cfhttpparam type="header" name="SOAPAction" value="prepareOrderRequest" />

          <cfhttpparam type="xml" name="message" value="#trim(soapBody)#" />



      I want to execute the function prepareOrder/prepareOrderRequest, but whatever my soap-file contains, I get not a correct response, so I think the problem is inside my cfhttp-call.

      I tried several different arguments, I modified SOAPAction and tried different combinations for the soapBody (type=body|name=filecontent...................) but its always the same result.


      Any ideas?



      Here is my soapbody:


      <cfsavecontent variable="soapbody">

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

      <SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" xmlns:ns1="urn:BillSAFE">




















































      Thanks in advance!!