homepage Welcome to WebmasterWorld Guest from
register, free tools, login, search, subscribe, help, library, announcements, recent posts, open posts,
Subscribe and Support WebmasterWorld
Home / Forums Index / Code, Content, and Presentation / XML Development
Forum Library, Charter, Moderators: httpwebwitch

XML Development Forum

PHP / SOAP / XML Question
Great. Another language to learn

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

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?




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

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.


Global Options:
 top home search open messages active posts  

Home / Forums Index / Code, Content, and Presentation / XML Development
rss feed

All trademarks and copyrights held by respective owners. Member comments are owned by the poster.
Terms of Service ¦ Privacy Policy ¦ Report Problem ¦ About
© Webmaster World 1996-2014 all rights reserved