Category Archives: xml schema

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

Send Binary With Web Services in PHP – 2 Minutes Introduction

In PHP you have several ways of sending binary data. It can be primarily categorized in to non-optimized method (send as base64 binary) and optimized method (send as MTOM or SWA). Here I m talking about how to send binaries … Continue reading

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

WSDL2PHP 2 Minutes Introduction

WSDL2PHP makes the development of web service providers and consumers quick and easy. I wrote a 2 minutes guide on developing web services providers sometimes ago. So lets concentrate on developing web service consumers here. Where is WSDL2PHP? WSDL2PHP script … Continue reading

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

Code First Approach of Developing Services with WSF/PHP 2.0

In the code first approach, WSF/PHP will generate you the WSDL from your annotated PHP code. If you are familiar with older versions of WSF/PHP you should be already familiar with the syntax used in the annotations which are more … Continue reading

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

Use Axis2/C WSDL2C With Unwrapped Mode for Simpler Code

WSDL2Java and WSDL2C tools shipped with the Axis2/Java project are used to generate Stubs(client side) and Skeletons(Server Side) respectively for Axis2/Java and Axis2/C codes. This make the development of web services and consumers more quicker and easier. The tools come … Continue reading

Posted in adb, axis2/c, codegen, tool, Tutorial/Guide, web services, WSDL, wsdl2c, xml schema | Tagged , , , , , , | 2 Comments

How to Hack Axis2 Codegen templates from an Axis2 Binary

I have been working for Axis2/C codegen tool for sometime now and I found lot of users who want to edit the codegen templates for a more optimized code specific to their use cases. This is mainly because codegen tool … Continue reading

Posted in adb, axis2/c, codegen, tool, Tutorial/Guide, web services, WSDL, wsdl2c, xml schema | Tagged , , , , , , , , , , | Leave a comment

Developing WSF/PHP Webservices With Contract First Approach – 2 Minutes Introduction

WSF/PHP allows you to develop web services with both Contract First (Starting from WSDL) and Code First Approaches. From these two, Contract First approach is the most famous and most recomended way of developing a Webservice. There you need to … Continue reading

Posted in 2 minutes guide, Tutorial/Guide, web services, WSDL, wsf/php, wso2, xml schema | Tagged , , , , , | 1 Comment

WSF/PHP WSDL Generation 2 Minutes Introduction

Whenever you deploy a service script in WSF/PHP you can access its WSDL by adding “?wsdl” or “?wsdl2” (for WSDL version 2.0) to the service endpoint. Anyway you may have noticed that for some services it will just list the … Continue reading

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

Axis2/C ADB 2 Minutes Introduction

Building and Traversing XML are regular tasks for any Web Service developer. We may use DOM, AXIOM or even simple String manipulation functions to do that. Normally this takes a lot of time and effort. And if we are coding … Continue reading

Posted in 2 minutes guide, adb, axis2/c, codegen, tool, Tutorial/Guide, WSDL, wsdl2c, xml, xml schema | Tagged , , , , , | Leave a comment

XML Schema nillable=”true” vs minOccurs=”0″

In a WSDL, XML Schema is the section where it define the message format for each operations, which eventually become the real API that users are interested. And it is the most tricky part of the WSDL. Nowadays there are … Continue reading

Posted in web services, WSDL, xml, xml schema | Tagged , , , , | 21 Comments