Hi,
I am trying to send request to SOAP event server like google event calendar via SOAP 1.2. The SOAP request 1.2 which i need to send to SOAP server is:

POST /api/Default.asmx HTTP/1.1
Host: beta.rminder.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>
<SendCustomSingleReminder xmlns="http://www.servername.com/api/">
<APIKey>string</APIKey>
<CustomReminderID>string</CustomReminderID>
<PhoneNumber>string</PhoneNumber>
<DateAndTime>string</DateAndTime>
</SendCustomSingleReminder>
</soap12:Body>
</soap12:Envelope>

*string = Custom values will be filled up on run time.

and the response will be like:

HTTP/1.1 200 OK
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>
<SendCustomSingleReminderResponse xmlns="http://www.servername.com/api/">
<SendCustomSingleReminderResult>string</SendCustomSingleReminderResult>
</SendCustomSingleReminderResponse>
</soap12:Body>
</soap12:Envelope>

But the the biggest problem is I never worked on the SOAP, but i tried to join some sample code but it didn't work and was not able to find where is the problem as i don't know about it.

If you can please give me the sample code to create the SOAP client and to send request & get response according to my request/response requirement that would be great.

My hosting server has SOAP installed and all the feature installed and it's having php5.0

Thanks in advance.
Paul

    Hi..
    Anybody can please help me.

    Thanks,
    Paul

      No.. I don't have 🙁

      Thanks
      Paul

        Write a Reply...