Category Archives: WSDL

Sending Custom SOAP Headers in PHP Web Services

Few months ago, I blogged about How you represent custom headers in a WSDL. In there I mentioned, WSF/PHP is going to support sending and handling custom SOAP headers with the 2.0 release which was released early September. Today I … Continue reading

Posted in php, Tutorial/Guide, web services, WSDL, wsf/php, wso2, xml schema | Tagged , , , , , , , | 6 Comments

Sending And Handling Faults From PHP Web Service

Web Service can response with a Fault in 2 occasions. Fault send by the web service framework. (E.g. Invalid authentication, invalid signature found) Fault send by the user business logic. There is a slightly difference in the content of SOAP … Continue reading

Posted in Tutorial/Guide, web services, WSDL, wsf/php, wso2 | Tagged , , , , | 8 Comments

ScreenCast – How to Consume a Web Service Using WSF/PHP

You can watch a Screencast on How to Consume a Web Service Using WSF/PHP from WSO2 Oxygent Tank developer portal. There I have presented the steps you need to follow to consume a web service. I choose US National Digital … Continue reading

Posted in screencast, Tutorial/Guide, web services, WSDL, wsf/php, wso2 | Tagged , , , , | Leave a comment

WSF/PHP Services Performance test with WSDL Caching

WSDL Caching is first introduced with the WSF/PHP 2.0.0 release to optimize the response time of PHP web services. In WSDL Caching WSF/PHP keeps an intermediate XML model which is generated from the WSDL in memory. This intermediate model which … Continue reading

Posted in perfomance test, WSDL, wsf/php, wso2 | Tagged , , , , , , , | 8 Comments

WSF/PHP WSDL Mode – Handling XML Schema Arrays

In XML Schema we declare an array or a multiple occurrence of a schema element by setting its maxOccurs attribute to a value greater than 1 or to the value “unbounded” in a case of no maximum boundary. <xs:element maxOccurs=”unbounded” … Continue reading

Posted in Tutorial/Guide, WSDL, wsf/php, wso2, xml, xml schema | Tagged , , , , , , | Leave a comment

WSDL Generation From PHP – Using Different Names in WSDL and PHP Code

PHP2WSDL feature of the WSF/PHP allows you to generate the WSDL for your service when you access the URL formed by adding “?wsdl” to the service URL ( or you can use service URL + “?wsdl2” to access the wsdl … Continue reading

Posted in Tutorial/Guide, web services, WSDL, wsf/php, wso2, xml, xml schema | Tagged , , , , , , , , , | Leave a comment

Coding Schema Inheritance in PHP

If you are thinking of writing a web service or a client based on a WSDL, you can easily generate the code for PHP or any other language using tools likes wsdl2php or other wsdl2xxx category tools. Then you don’t … Continue reading

Posted in Tutorial/Guide, web services, WSDL, wsf/php, wso2, xml, xml schema | Tagged , , , , , , , , , , , | 2 Comments

Demo on Providing PHP Web Service with Username Token

WSF/PHP Demo Site contains number of applications that demonstrate the different features of WSO2 WSF/PHP in practice. Calendar Service is one of such application. It demonstrate the use of WSDL Mode for a service with different policies for different operations … Continue reading

Posted in security, web services, WSDL, wsf/php, wso2 | Tagged , , , , , | Leave a comment

WSClient WSDL Mode With Array Based API

In WSF/PHP WDL Mode we have two APIs, first one is the class based API which we give a class object as the input parameter for the operation and expect to retrieve a class object as the response as well. … Continue reading

Posted in Tutorial/Guide, web services, WSDL, wsf/php, wso2, xml schema | Tagged , , , , | Leave a comment

MSSQL(Microsoft SQL) Data Services In PHP

PHP in most percentage is used with MySQL Server in LAMP or WAMP stacks. But there may be situations where PHP uses MSSQL databases in back-end. And PHP scripts can be used to make Web services exposing MSSQL Databases. That … Continue reading

Posted in DataServices, REST, Tutorial/Guide, web services, WSDL, wsf/php | Tagged , , , , , | 4 Comments