Showing posts with label Features. Show all posts
Showing posts with label Features. Show all posts

Code First Approach of Developing Services with WSF/PHP 2.0

Monday, September 15, 2008

WSF/PHP comes with many new features + feature enhancements including improvments for WSDL Generation. WSDL Generation is a core module of the WSF/PHP which allows developers to use 'Code First Approach' to develop web services.

I have blogged about existing features + new features avaialble in the WSF/PHP supporting the code first approach of developing services. If you prefer this approach you will find this post really helpful.

WSDL Mode Improvement for the next release

Thursday, July 31, 2008

Nandika has recently blog about the latest major features in the next WSF/PHP release. In addition to that it has some minor features as well. One of that big minor feature is it is bundled with the complete support for the WSDL mode.

In the last release we have done lot of improvements to the wsdl mode so it was able to handle most of the common wsdls you can find in public and enterprise. And from this release,
  • You can send and recieve MTOM, SWA attachements in WSDL mode, Whenever you found base64Binary in wsdl you can specify send this type as MTOM or SWA attachment using the useMTOM option.
  • You can send and recieve SOAP headers using WSDL mode.
  • The xsi:type based serialization and deserialization. This allows you to send and recieve Child type in place of parent schema types. In other terms you can work with the true polymorphism in your xml messages.
Please look at the latest test cases for the wsdl mode in svn.

WSO2 Web Services Framework for PHP v1.3.0 Released

Thursday, May 22, 2008

Finally we have 1.3.0 Released. It took a little time (around 1 month preparation), but it is well tested and richer feature wise. For more information, just have a look at the release note,

WSO2 Web Services Framework for PHP v1.3.0 Released
=====================================================

We are pleased to announce the release of WSO2 WSF/PHP 1.3.0.

WSO2 Web Services Framework for PHP (WSO2 WSF/PHP), is an open source,
enterprise grade, PHP extension for providing and consuming Web Services
in PHP. WSO2 WSF/PHP is a complete solution for building and deploying
Web services and is the only PHP extension with the widest range of
WS-* specification implementations.

It's Key features include, secure services and clients with WS-Security
support, binary attachments with MTOM, automatic WSDL generation (code
first model), WSDL mode for both services and clients (contract first
model) and interoperability with .NET and J2EE.

You can download the release from:
http://wso2.org/downloads/wsf/php

Project home page:
http://wso2.org/projects/wsf/php

------------
Key Features
============

1. Client API to consume Web services
* WSMessage class to handle message level options
* WSClient class with both one way and two way service invocation
support
* Option of using functions in place of object oriented API with
ws_request

2. Service API to provide Web services
* WSMessage class to handle message level options
* WSService class with support for both one way and two way
operations
* Option of using functions in place of object oriented API with
ws_reply

3. Attachments with MTOM
* Binary optimized
* Non-optimized (Base64 binary)

4. WS-Addressing
* Version 1.0
* Submission

5. WS-Security
* UsernameToken and Timestamp
* Encryption
* Signing
* WS-SecurityPolicy based configuration

6. WS-Reliable Messaging
* Single channel two way reliable messaging

7. WSDL Generation for Server Side
* WSDL generation based on annotations and function signatures,
and serving on ?wsdl or ?wsdl2 requests

8. WSDL mode support for both client and server side
* Write services and client based on a given WSDL
* WS-Addressing and WS-SecurityPolicy is supported in WSDL mode

9. REST Support
* Expose a single service script both as SOAP and REST service

10. Provide easy to use classes for common services
* Consume some well known services such as Yahoo search and Flickr
and Amazon services using predefined classes

11. wsdl2php.php script. This script can generate PHP classes for
services and clients for a given WSDL to be used with WSDL Mode .

--------------------------------
Major Changes Since Last Release
================================
1. Schema constructs support improvements for WSDL mode including
SimpleType restricitons, ComplexType restrictions/extensions and
attributes.
2. WSDL Import support.
3. Support for WSDLs with multiple bindings, API is provided to pick
the preferred bindings.
4. wsdl2php code generation improvements to support the improvements
done in WSDL mode.
5. HTTP Basic Authentication Support added.
6. SOAP Messages with Attachments support (SWA) added.
7. Custom Security token support added.

-------------------
Reporting Problems
===================
Issues can be reported using the public JIRA available at:
https://wso2.org/jira/browse/WSFPHP

------------
Contact Us
============

Please subscribe to our user or developer mailing lists. For details on
how to subscribe please visit: http://wso2.org/mail#wsfphp

We welcome your early feedback on this implementation.
Thank you for your interest in WSO2 WSF/PHP.

-- WSO2 WSF/PHP Team --

Next WSF/PHP 1.3.0

Tuesday, May 6, 2008

In last blog I kept you waiting for the WSF/PHP 1.2.2. release. But looks like we have done lot of feature addition than just bug fixes. So it is time to go for 1.3.0

Here are the list of features introduced in this release.

1. Schema constructs support improvements for WSDL mode including
SimpleType restricitons, ComplexType restrictions/extensions and attributes.
2. WSDL Import support.
3. Support for WSDLs with multiple bindings, API is provided to pick
the preferred bindings.
4. wsdl2php code generation improvements to support the improvements done in
WSDL mode.
5. HTTP Basic Authentication Support added.
6. SOAP Messages with Attachments support (SWA) added.
7. Custom Security token support added.

The release packs are almost done, and will be ready to ship on next Monday after doing all the testings.

WSF/PHP 1.2.2 is ready to ship

Monday, April 21, 2008

If you were looking forward to use WSDL mode with PHP here is a good NEWS for you. WSF/PHP 1.2.2 is coming up with the support of many WSDL and XML Schema constructs.
Here is a list of WSDL and Schema Constructs it is going to support,
  • Elements with simpleType
  • simpleType restriction
  • simpleType list
  • complexType sequence
  • complexType all/choice
  • inner content models
  • complexContent extension (non xsi:type based serializing, parsing)
  • complexContent restriction
  • attribute
  • simpleContent extension
  • attributeGroup
  • WSDL import
In addition to the above we still have the following features to implement, and these are planned to implement in the next major release 1.3.0
  • anyAttribute
  • custom headers
  • xsi:type" based serialization and parsing
  • Mtom support with WSDL mode

We would be able to do the release early next week. Hope you will enjoy the new feature set.