Re: Message transformation

2006-07-06 Thread Paul Fremantle

Hi

Apache Synapse helps you do this
(http://incubator.apache.org/synapse). The latest builds have a model
called "proxy services" which allow you to define a new service that
proxies an existing service. In addition you can specify WSDL files
for these services which will be exposed via ?wsdl.

You can use XSLT, Javascript or Java to transform the requests and responses.

Paul



On 7/6/06, Bengali Bengali <[EMAIL PROTECTED]> wrote:


Hi,
 I have multiple business services interfaces that I would like to expose
with Xfire as
web services. The problem is that I need to transform the input and output
parameters
of the interface to/from some "external" formats (I have the respective XML
schemas
for the external formats)
I would like Axis2 to use the external XML schemas in the types section of
the generated WSDL.

Can Axis2 handle such requirements ? How would you perform such scenario ?

Actually one solution that I thought would be to write a web service that
accepts a xsd:string
and returns a xsd:string and then add a router + transformer that would
transform the message
from the external format to an internal object and invoke the correct
business services using
the XML namespace of the incoming message. The main problem with this
solution is
that my web service is not self descriptive anymore and the WSDL does not
give any information
on the service.

Thanks in advance,
Luc



--
Paul Fremantle
VP/Technology, WSO2 and OASIS WS-RX TC Co-chair

http://bloglines.com/blog/paulfremantle
[EMAIL PROTECTED]

"Oxygenating the Web Service Platform", www.wso2.com

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Message transformation

2006-07-06 Thread Bengali Bengali
Hi, I have multiple business services 
interfaces that I would like to expose with Xfire as 
web services. The problem is that I need to 
transform the input and output parameters
of the interface to/from some "external" formats (I 
have the respective XML schemas
for the external formats)
I would like Axis2 to use the external XML schemas 
in the types section of the generated WSDL.
 
Can Axis2 handle such requirements ? How would you 
perform such scenario ?
 
Actually one solution that I thought would be to 
write a web service that accepts a xsd:string
and returns a xsd:string and then add a router + 
transformer that would transform the message
from the external format to an internal object and 
invoke the correct business services using
the XML namespace of the incoming message. The main 
problem with this solution is
that my web service is not self descriptive 
anymore and the WSDL does not give any informationon the service.
 
Thanks in advance,
Luc