djbuddhi Posted June 4, 2010 Share Posted June 4, 2010 i just want to know how to access external web services from in php ?is there is any tutorials let me know Quote Link to comment https://forums.phpfreaks.com/topic/203839-how-to-access-external-web-services-from-in-php/ Share on other sites More sharing options...
phpchamps Posted June 4, 2010 Share Posted June 4, 2010 handle it through SOAP http://php.net/manual/en/book.soap.php try XMLRPC also Quote Link to comment https://forums.phpfreaks.com/topic/203839-how-to-access-external-web-services-from-in-php/#findComment-1067577 Share on other sites More sharing options...
ignace Posted June 4, 2010 Share Posted June 4, 2010 In what format does the external web service come? Quote Link to comment https://forums.phpfreaks.com/topic/203839-how-to-access-external-web-services-from-in-php/#findComment-1067584 Share on other sites More sharing options...
djbuddhi Posted June 4, 2010 Author Share Posted June 4, 2010 its a java web service application Quote Link to comment https://forums.phpfreaks.com/topic/203839-how-to-access-external-web-services-from-in-php/#findComment-1067612 Share on other sites More sharing options...
ignace Posted June 4, 2010 Share Posted June 4, 2010 What is the format they use for communication? XML, JSON, .. or a standard like SOAP? Quote Link to comment https://forums.phpfreaks.com/topic/203839-how-to-access-external-web-services-from-in-php/#findComment-1067619 Share on other sites More sharing options...
djbuddhi Posted June 4, 2010 Author Share Posted June 4, 2010 XML Quote Link to comment https://forums.phpfreaks.com/topic/203839-how-to-access-external-web-services-from-in-php/#findComment-1067629 Share on other sites More sharing options...
ignace Posted June 4, 2010 Share Posted June 4, 2010 libxml_use_internal_errors(true); $dom = new DomDocument(); if ($dom->load('http://domain/path')) { //.. } Quote Link to comment https://forums.phpfreaks.com/topic/203839-how-to-access-external-web-services-from-in-php/#findComment-1067633 Share on other sites More sharing options...
djbuddhi Posted June 4, 2010 Author Share Posted June 4, 2010 how to get the variables Quote Link to comment https://forums.phpfreaks.com/topic/203839-how-to-access-external-web-services-from-in-php/#findComment-1067637 Share on other sites More sharing options...
ignace Posted June 4, 2010 Share Posted June 4, 2010 Post an example XML file and what you want to get from it. Quote Link to comment https://forums.phpfreaks.com/topic/203839-how-to-access-external-web-services-from-in-php/#findComment-1067639 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.