I've also tried to integrate webservices into the
cocoon environment (version 2.1.5), but I failed. I
implemented webservices (in different projects) in two
ways:
- added the axis servlet, and jars to the web.xml;
webservice requests are handled by the axis servlet
and are seperated from Cocoon
- With a J2EE 1.4 complaint Application Server, it is
possible to expose Session EJB's as a webservice (I've
done this with JBoss 4.01,
http://www.jboss.org/wiki/Wiki.jsp?page=WSServerEJB).

Regards, Kees



--- Reinhard Poetz <[EMAIL PROTECTED]> wrote:
> Nima Jafari wrote:
> > Hi,
> > 
> > i would like to use Cocoon to consume a Web
> Service...
> > The Sample Hello World Web Service didn't give me
> any clues in how to 
> > solve my case which is the following:
> > 
> > The Web Service expects an String as parameter and
> Returns a 
> > corresponding Response...
> > 
> > now my question is: how can call the service with
> cocoon? i saw that XSP 
> > thing in the docu which uses basically java to
> handle the logic...i 
> > allready implemented a Web Service Client in
> JSP...can i use the same 
> > code for the XSP?
> > 
> > Anyone got a clue or maybe an example for calling
> a Web Service (maybe 
> > there is also something to work with the WSDL file
> of the Service...like 
> > there is the WSDL2Java in Apache Axis???)
> 
> I'd use Java code which was generated by Axis within
> the controller (Flowscript, 
> Javaflow, Apples or an action)
> 
> Putting a webservice call into the presentation
> layer violates the sepration of 
> model, view and controller.
> 
> -- 
> Reinhard P�tz           Independent Consultant,
> Trainer & (IT)-Coach 
> 
> {Software Engineering, Open Source, Web
> Applications, Apache Cocoon}
> 
>                                         web(log):
> http://www.poetz.cc
>
--------------------------------------------------------------------
> 
> 
>
---------------------------------------------------------------------
> To unsubscribe, e-mail:
> [EMAIL PROTECTED]
> For additional commands, e-mail:
> [EMAIL PROTECTED]
> 
> 

__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 

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

Reply via email to