Web Services in C, REST, SOAP and WS-*
Wednesday, July 30, 2008
Tuesday, July 22, 2008
Axis2/C 1.5 Released.
You can download it from here
New Features.
- Support for one-way messaging (In-Only) and request response messaging (In-Out)
- Client APIs: Easy to use service client API and more advanced operation client API
- Transports supported: HTTP
- Inbuilt HTTP server called simple axis server
- Apache2 httpd module called mod_axis2 for server side
- IIS module for server side. Supports IIS 5.1, 6 and 7
- Client transport with ability to enable SSL support
- Basic HTTP Authentication
- AMQP Transport based on Apache Qpid (Experimental)
-
- libcurl based client transport
- Module architecture, mechanism to extend the SOAP processing model
- WS-Addressing support, both the submission (2004/08) and final (2005/08) versions, implemented as a module
- MTOM/XOP support
- AXIOM, an XML object model optimized for SOAP 1.1/1.2 messages; This has complete XML infoset support
- XML parser abstraction
- Libxml2 wrapper
- Guththila pull parser support
- Both directory based and archive based deployment models for deploying services and modules
- Description hierarchy providing access to static data of Axis2/C runtime (configuration, service groups, services, operations and messages)
- Context hierarchy providing access to dynamic Axis2/C runtime information(corresponding contexts to map to each level of description hierarchy)
- Message receiver abstraction
- Inbuilt raw XML message receiver
- Code generation tool for stub and skeleton generation for a given WSDL (based on Java tool)
- Axis Data Binding (ADB) support
- Transport proxy support
- REST support (more POX like) using both HTTP POST and GET
- Comprehensive documentation
- Axis2/C Manual
- WS-Policy implementation called Neethi/C, with WS-SecurityPolicy extension
- TCP Transport, for both client and server side
Changes since last release.
- AMQP Transport support with Apache Qpid. (At an experimental stage and not working under Windows)
- Modifications to IIS Module to support IIS 6 & 7.
- Added a JScript file to automate IIS module registry configuration
- Specifying the MEP in the services.xml for non in-out messages made mandatory
- Improved the in-only message handling
- Improvements to Guthtila for better performance
- Improvements to TCPMon tool
- Memory leak fixes
- Many bug fixes
Saturday, July 12, 2008
Benchmark testing tools for Web Services
Thursday, May 22, 2008
WSO2 Web Services Framework for PHP 1.3.0 Released
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 --
Friday, May 9, 2008
Saturday, May 3, 2008
C Web Services Demo Site
Thursday, April 17, 2008
Monday, April 14, 2008
Tuesday, April 8, 2008
WSO2 WSF/C with Apache HTTP server
Monday, April 7, 2008
Axis2/C web services links
Introducing Apache Axis2/C
Apache Axis2/C - Web Services Engine
Memory Management with Apache Axis2/C
Overcoming Memory Related Issues in Axis2/C
Calling Web Services from the Shell
Introduction to Axis2/C Service Client API
Web Services Endpoints with Apache Axis2/C
WS-Addressing in Action
Signing SOAP Messages with Apache Rampart/C
The insider's Guide to Apache Rampart/C and OMXMLSecurity
Implementing libcurl based HTTP Transport in Apache Axis2/C
Flows, Phases, Handlers, and Modules
Encrypt with Apache Rampart/C
Enabling Web Services by Embedding Axis2/C
Introducing Rampart/C
Web Services Eventing with Apache Savan/C - Part 1
Logging with Apache Axis2/C
A Quick Reference Guide for Rampart/C Configurations
How to Use WSO2 WSF/C, XMPP Transport
OpenSSL Tutorial for Apache Rampart/C
Amazon ECommerce Client
There are more articles written for Axis2/Java but could be useful regarding Axis2/C and understanding web services in general. I'll add this list later.
Thursday, March 20, 2008
Apache Axis2/C 1.3.0 Released
Introduction to Axis2/C service client API
Monday, March 3, 2008
Developer Guide needed about Axis2/C internals
Reliable Messaging with Sandesha2/C
Currently Sandesha2/C is integrated into the WSF/PHP stack of WSO2.
These days I am writing some articles for WSO2 Oxygen tank about Sandesha2/C and WSF/PHP Sandesha2 integration work.
Monday, February 25, 2008
Amazon web services client using wsclient
http://damithakumarage.wordpress.com/2008/02/22/amazon-web-services-client-using-wsclient/
Now the work on linux platform is almost finished except the --help option which is going to be quite exhastive. I will upload this work by the end of this week. After that, plan port this to Windows platform.
Tuesday, February 12, 2008
Soap Action and Addressing Action
For a good understanding of how Axis2/C addressing work read
WS-Addressing in Action
Friday, January 18, 2008
CURL with SOAP
curl -d @echo.xml -H "Content-Type: application/soap+xml;charset=UTF-8 "
http://localhost:9090/axis2/services/echo
curl -d @echo.xml -H "Content-Type: application/soap+xml;charset=UTF-8" -H "User-Agent:Apache Axis2/C"
http://localhost:9090/axis2/services/echo
and will be able to do modifications to SOAP payload quite easily. (Need to edit echo.xml file only :) )Axis2/C, custom errors
Thursday, January 17, 2008
Security What You're Looking for??
Confidentiality and integrity of massages are very important when you do serious business on line. WS-Security comes for your help at this point. The WS_Security specification describes enhancements to SOAP messaging to provide quality of protection through message integrity, message confidentiality, and single message authentication.
How do you use these security mechanisms in your WSF/C web service/client?? Using Rampart/C is your answer.
Rampart/C is the security module of the Apache Axis2/C engine, which uses OMXMLSecurity as the XML-Security library. This comes as the integrated security module for WSO2 WSF/C. You can simply enable security in your web service with WSO2 Web Services Framework for C( WSF/C).
Here, you can find nice articles on Rampart/C.
Wednesday, January 9, 2008
WSF/C developer and user resources
Monday, January 7, 2008
WSF/C Interoperability - CHECKED
Sunday, January 6, 2008
Embedding WSF/C
WSO2 Web services framework for C has been integrated to three software systems as of now.
First the PHP extension, with WSO2 WSF/PHP.
Then with WSO2 WSF/Perl, the Perl Web services extension.
And the latest is WSO2 WSF/Ruby, the Ruby Web services extension that also works with Rails framework.
This means that WSO2 WSF/C has been integrated and embedded enough times to prove that it is portable and can be plugged in.
Anyone who uses any of the above frameworks happen to use WSF/C and in turn Apache Axis2/C, the open source Web services engine. It must be also mentioned that WSO2 WSF/C as well as all the other scripting frameworks built on that are also open source with the Apache 2.0 license.
Friday, January 4, 2008
Lazy to ask question on mailing list ??
WSF/C and WSDL
<parameter name="wsdl_path" locked="xsd:false">/home/dinesh/echo.wsdl
< /parameter>
Then start the server and request WSDL file as follows.
http://localhost:9090/axis2/services/echo?wsdl
Mother of all Web Services Frameworks
WSO2 WSF/C in turn is based on Apache Axis2/C and the related family of projects.
So the power of the Apache open source model is driving them all. Thanks to all those developers who contributed code and fixes and those users who tested and reported bugs, we have a very strong Web services stack. Not only the C language but also many scripting languages has been made SOA ready, thanks to these valuable contributions.
Check out the Latest!
As always, many bugs have been fixed, thanks to the base project Apache Axis2/C