cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Robby Pelssers <>
Subject RE: [C2.2] Provide or consume Webservices with Cocoon 2.2
Date Tue, 22 Jan 2013 10:41:52 GMT
So our setup is like this:

We have a separate project which represents the webservice client…

So basically we only needed to declare a maven dependency on this project.  So far easy to
understand I hope.

So in the spring application context of our Cocoon [2.2] app  we configured the client like

  <!-- jobmonitorClient -->
  <oxm:jaxb2-marshaller id="jaxb2marshaller" contextPath="com.nxp.spider2.jobmonitorClient.webservice.domain"/>

  <bean id="webServiceTemplate" class="">
    <property name="marshaller" ref="jaxb2marshaller"/>
    <property name="unmarshaller" ref="jaxb2marshaller"/>
    <property name="defaultUri" value="${logmonitor.EPR}"/>

  <bean id="jobMonitorClient" class="com.nxp.spider2.webservice.client.JobMonitorClientImpl">
    <property name="webServiceTemplate" ref="webServiceTemplate"/>

Now it becomes interesting ;-)   But I’m just going to redirect again to my blog.  We consumed
the webservice from transforming custom tags which were transformed using XSLT extensions
… Just read this page and it will become clear…

Let me know if it’s too vague… willing to answer questions.


From: Matthias Müller []
Sent: Tuesday, January 22, 2013 11:32 AM
Subject: Re: [C2.2] Provide or consume Webservices with Cocoon 2.2

Thanks for the provided link, Robby. Now it would be interesting to see how you consume your
movie webservice within a cocoon 2.2 pipeline. Do you call the webservice within a sitemap
using a custom generator? Or via flow script?


Von: Robby Pelssers <<>>
An: "<>" <<>>
Gesendet: 20:40 Montag, 21.Januar 2013
Betreff: RE: [C2.2] Provide or consume Webservices with Cocoon 2.2

Not sure if that was addressed to me.  I did blog about how to use Spring-ws in the past.
 It’s not really cocoon related but you might as well consume or provide a webservice with
Cocoon. It might be a bit outdated already but I guess it won’t hurt you to go over it quickly:

From: gelo1234 []
Sent: Monday, January 21, 2013 2:14 PM
Subject: Re: [C2.2] Provide or consume Webservices with Cocoon 2.2

Can you provide some examples of such configuration and Web Services logic here ? Spring Web
Services + cocoon 3.0 ?

View raw message