Showing posts with label XML. Show all posts
Showing posts with label XML. Show all posts

Coding Schema Inheritance in PHP

Tuesday, October 21, 2008

This post "Coding Schema Inheritance in PHP" describes How inheritance is used in XML Schema and how it is mapped to PHP code from wsdl2php tool in WSF/PHP.

XPath in SimpleXML

Wednesday, October 1, 2008

This is a blog about XPath in SimpleXML which explain How you going to use XPath in the SimpleXML environment. This is not directly related to Web Services . But there is no doubt XML traversing is a big part in a web services code. So I hope PHP Web Services developers find this post really useful.

Send Binary in SOAP with WSF/PHP 1.3.2

Tuesday, August 19, 2008

There are different methods you can send binaries in a SOAP message. The blog "Send Binary in SOAP with WSF/PHP 1.3.2" describes these methods in general and how you can implement each of these approach in WSF/PHP 1.3.2

Payload Problems? WSF/PHP to the Rescue!

Thursday, January 31, 2008

I am seeing numerous users having payload problems with native SOAP extension and NuSOAP, specially when inter-operating with heterogeneous systems.

The best solution is to use WSF/PHP, the Web services framework with XML in-out model in the heart of its implementation, thanks to Apache Axis2/C.

As PHP users, we would be comfortable working with our own data types such as arrays and classes, and let the SOAP engine handle the serialization completely. WSF/PHP is gradually going there. However, in the mean time, if you run into XML request format problems with other implementations such as .NET, Java, etc. you can always use XML mode.

If you consider native PHP SOAP extension, there is no way to trap the XML payload and manipulate it, and some of the serialization behaviors could not be fine tuned at all. But with WSF/PHP, you can, and it is also written in C. So you have the speed that you want over NuSOAP. I have seen users asking on tweaking XML payload format with NuSOAP as well.