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]



Reply via email to