chuy08 Posted August 14, 2006 Share Posted August 14, 2006 I am new to webservices and am at a loss with this one. I have bought several books to try and help as well as countless Google searches to try and solve me problem to no avail. Maybe I am over complicating the situation based on all the different things I have attempted to read over the last couple of days. The situation is pretty simple. Given an XML file like so:<Borrower> <FirstName>Bob</FirstName> <LastName>Smith</LastName> <Address>1234 White lane</Address></Borrower>How can I post this to a given URL:http://consumer.example.com/xmlparse.aspxI have read many things on DOM or SAX for parsing of XML documents and many things regarding REST, XML-RPC, or SOAP but I just can't get any easy to follow examples that fit my needs. Any help greatly appreciated.-chuy Link to comment https://forums.phpfreaks.com/topic/17559-xml-post-to-given-url/ Share on other sites More sharing options...
hitman6003 Posted August 15, 2006 Share Posted August 15, 2006 You can use cURL or sockets to post information to a url from inside of a php script.http://www.php.net/curlhttp://www.php.net/sockets Link to comment https://forums.phpfreaks.com/topic/17559-xml-post-to-given-url/#findComment-74837 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.