1

I have a web service link to fetch some data from a site.the return data is in XML format. have can i use this URL with PHP ? should i use cURL ?

2
  • 2
    possible duplicate of Calling a Web Service from PHP Commented Nov 8, 2010 at 9:53
  • How do you mean? you get XML from a webservice and you want to parse this xml to data? or do you want to know how to implements webservices in php? Commented Nov 8, 2010 at 9:55

2 Answers 2

1

Simpliest way is use cUrl for fetching data from webservice and parsing response XML with SimpleXML or SAX parser

Sign up to request clarification or add additional context in comments.

Comments

1

Use can use either SOAP or REST architecture for consuming web services in PHP.

Comments

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.