Welcome to WebmasterWorld Guest from 54.234.153.186

Forum Moderators: httpwebwitch

Message Too Old, No Replies

PHP / SOAP / XML Question

Great. Another language to learn

     

Murdoch

8:41 pm on Apr 7, 2009 (gmt 0)

10+ Year Member



Not that I'm complaining, but there's so much about XML (or more specifically, what I need to do with it) that I can't seem to grasp.

I'm working on a project for my job that involves XML requests into a third party server that delivers data back to me in a response, and I'm using PHP and a SOAP request. The problem is: I don't get how to send it.

I've done a lot of reading on PHP and SOAP, and I know how to create a SOAP request, but how do I send it? Can I just save the whole thing as a PHP variable and send that? Or do I need to break it out as an array (which seems to me to be quite tedious since it would have 18 descriptors) or what? And bringing WSDL into it just seems more confusing (seeing as the request has a lot of complex types) so I'm trying to walk before I run here.

There seems to be a lot of info on creating and dissecting requests and responses but nothing on sending them in the first place. Help please?

Thanks

daveVk

12:16 am on Apr 8, 2009 (gmt 0)

WebmasterWorld Senior Member 5+ Year Member



If you are using the PHP Soap library and the server supports WSDL, you do not need to create the full SOAP request. The send occurs by making a method call (named as per message) that also builds soap request.

[au2.php.net...]

 

Featured Threads

Hot Threads This Week

Hot Threads This Month