Need help to send XML to WebService
Posted: Fri Jun 19, 2009 11:31 am
Hello,
I am VERY new to PHP (just started learning) and I need help.
I have a project that needs to send XML to an existing webservice.
The XML template is as follows:
The owner of the webservice gave me the authentication request in ASP.NET, but I am needing to run this in PHP. I will have variables for the XML to change the values in the <IN_?> fields.
The webservice is expecting a security token.
What would you suggest in accomplishing this?
Thanks for your help in advance!!
Eddi Rae
I am VERY new to PHP (just started learning) and I need help.
I have a project that needs to send XML to an existing webservice.
The XML template is as follows:
Code: Select all
<?xml version="1.0" encoding="UTF-8" ?>
<Transmission>
<EdProviderData>
<DetailData>
<Detail>
<IN_PROV>1234</IN_PROV>
<IN_CRSE>2345</IN_CRSE>
<IN_CDATE>03242009</IN_CDATE>
<IN_ZIP>12345</IN_ZIP>
<IN_LICENSE>1234567</IN_LICENSE>
<IN_NAME>John Doe (test only)</IN_NAME>
</Detail>
</DetailData>
</EdProviderData>
</Transmission>
The webservice is expecting a security token.
What would you suggest in accomplishing this?
Thanks for your help in advance!!
Eddi Rae