PHP and web services (SOAP, WSDL)
SoapUI-3.5 can help

I've worked with a number of different web services, some define their own XML through DTDs or schema's, some use SOAP, WSDL (Web Services Description Language), or a combination of both. In all cases I prefer working with the XML directly, and if you're working with WSDL, you have to figure out the XML structure for requests/responses. I recently starting using SoapUI-3.5 to help me with this.
What I usually do for web services is build the XML request and get the response, then use php's SimpleXMLElement to work with the response. SimpleXMLElement makes it incredibly easy to work with XML. With WSDL, you might have to some time figuring out the request/response XML. Fortunately, my team member, Tri, directed me to SoapUI-3.5. All you need to do is enter the URL for the web service and it generates the XML structures for all the requests/responses. This has turned into a great time saver.
What I usually do for web services is build the XML request and get the response, then use php's SimpleXMLElement to work with the response. SimpleXMLElement makes it incredibly easy to work with XML. With WSDL, you might have to some time figuring out the request/response XML. Fortunately, my team member, Tri, directed me to SoapUI-3.5. All you need to do is enter the URL for the web service and it generates the XML structures for all the requests/responses. This has turned into a great time saver.
If you also work with XML directly, please give it a try.



Add your comment below
Leave a Comment