Link to home
Start Free TrialLog in
Avatar of GhostWerx
GhostWerxFlag for Australia

asked on

Sending an XML request using PHP and SOAP 1.2

Hi all,

I have a website on a Business Catalyst server and I would like to use their API.

https://help.worldsecuresystems.com/catalystwebservice/catalystcrmwebservice.asmx
https://help.worldsecuresystems.com/catalystwebservice/catalystcrmwebservice.asmx?op=Case_Retrieve

They have instructed me that I need to send the following XML request (please see attached code) to their servers in order to retrieve the information I want.

How do I go about doing this with PHP?? Can someone point me in the right direction to some tutorials/guides/examples.

Thanks,

GW.
POST /catalystwebservice/catalystcrmwebservice.asmx HTTP/1.1
Host: help.worldsecuresystems.com
Content-Type: application/soap+xml; charset=utf-8
Content-Length: length 
<?xml version="1.0" encoding="utf-8"?>
<soap12:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap12="http://www.w3.org/2003/05/soap-envelope">
  <soap12:Body>
    <Case_Retrieve xmlns="http://tempuri.org/CatalystDeveloperService/CatalystCRMWebservice">
      <username>Username</username>
      <password>Password</password>
      <siteId>12345</siteId>
      <caseId>67890</caseId>
    </Case_Retrieve>
  </soap12:Body>
</soap12:Envelope>

Open in new window

ASKER CERTIFIED SOLUTION
Avatar of Aaron Jabamani
Aaron Jabamani
Flag of United Kingdom of Great Britain and Northern Ireland image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of GhostWerx

ASKER

Thanks.