>>
Posted this to axis-user but as yet have had no response. So any tips from
the dev side?
>>


Hi,

I am currently looking into a way of integrating Axis into a Cocoon based
scenario. Basically this is what I want to do:

Deploy a Java class into Axis that represents the functionality provided by
Cocoon pipelines. If you are not familiar with Cocoon - just think: HTTP XML
endpoints.

When a SOAP request hits the Axis servlet this should be forwarded to the
deployed Java class (no problem there). The Java class will then basically
take the parameters from the function - serialize them into some XML format
and send that out over HTTP to the Cocoon server. The returned data from the
Cocoon pipeline (also XML) must then be returned to Axis for transfering as
a SOAP message. So the deployed class would need to generate the return
parameter from the XML it receives from Cocoon.

Is this the easiest way of getting this to work? The overhead seems to be in
serializing between the Java classes and the XML that Cocoon needs - when
the SOAP messages already contain XML - although perhaps not in a way that's
suited for further processing by Cocoon.

The advantage to this method would be that the Cocoon functionality is
represented by a Java class and we can generate WSDL etc. from that
(something we could not do directly from the pipelines).

Any suggestions welcome.

Matthew


--
Open Source Group               sunShine - Lighting up e:Business
=================================================================
Matthew Langham, S&N AG, Klingenderstrasse 5, D-33100 Paderborn
Tel:+49-5251-1581-30  [EMAIL PROTECTED] - http://www.s-und-n.de
           Weblogging at: http://www.need-a-cake.com
=================================================================

Reply via email to