Stu’s WebServices

I’ve written a bunch of WebServices to help my understanding of SOAP, WSDL and the world of different encoding types. All the services are written in PHP and use the NuSOAP library from sourceforge which is pretty easy to get to grips with.

Echo Service (RPC Encoded): simply echo’s the input value back as a SOAP response
Input form: wsform.php
WSDL location (may need to view page source): hello.php?wsdl

Addition Service (RPC Encoded): expects two input xsd:int values and returns their sum
Input form: calculateform.php
WSDL location (may need to view page source): calculate.php?wsdl

Addition Service (RPC Literal): expects two input xsd:int values and returns their sum
Input form: calculateform.php
WSDL location (may need to view page source): calculate.php?wsdl

Addition Service (Document Literal): expects two input xsd:int values and returns their sum
Input form: calculateform.php
WSDL location (may need to view page source): calculate.php?wsdl

Addition Service (Document Encoded): expects two input xsd:int values and returns their sum
Input form: calculateform.php
WSDL location (may need to view page source): calculate.php?wsdl