php and SOAP download operation

Discussion about Schedules Direct grabber code and data formats.

php and SOAP download operation

Postby kpridgeon » Wed Nov 05, 2008 9:45 pm

Can someone please tell me why the SOAP download operation returns an object and not xml?

I am trying to get the response into xml so I can use php's simplexml. I don't want to have to parse the object back to xml. The documentation shows that the downloadResponse should be an xml document.

Thanks for your help.
kpridgeon
 
Posts: 1
Joined: Wed Nov 05, 2008 8:44 pm

Re: php and SOAP download operation

Postby rmeden » Wed Nov 05, 2008 11:46 pm

It may have something to with the fact the SOAP stands for "Simple Object Access Protocol". :)

Instead of using the SOAP methods, you can generate the SOAP header by hand and send it via a HTTP PUT and parse the output yourself. This forum lists a sample SOAP request.

Robert
rmeden
SD Board Member
 
Posts: 1497
Joined: Tue Aug 14, 2007 2:31 pm
Location: Cedar Hill, TX


Return to Developers Corner

Who is online

Users browsing this forum: No registered users and 1 guest