cocoon-docs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Apache Wiki <wikidi...@apache.org>
Subject [Cocoon Wiki] Update of "WebServiceServer" by StefanPodkowinski
Date Mon, 04 Jul 2005 19:59:43 GMT
Dear Wiki user,

You have subscribed to a wiki page or wiki category on "Cocoon Wiki" for change notification.

The following page has been changed by StefanPodkowinski:
http://wiki.apache.org/cocoon/WebServiceServer

------------------------------------------------------------------------------
  
  [SebastienArbogast]
  
+ == Integrating external webservices into cocoon ==
+ 
+ An alternative way to integrate webservices into cocoon is to use the [WebServiceProxyGenerator]
as a generator for your pipeline. The idea is to accept incoming connections from webservice
consumers, pass them to the actual ws endpoint and make the result available within your pipeline.
+ 
+ {{{
+ <map:pipeline>
+     <map:match pattern="wsproxy/*">
+     <map:generate type="wsproxy" label="xml"
+         src="http://your.url/context/services/{1}">
+       <map:parameter name="wsproxy-method" value="post"/>
+     </map:generate>
+     <!-- do whatever you want here .. -->
+     <map:serialize type="xml"/>
+   </map:match>
+ </map:pipeline>
+ }}}
+ 
+ 
+ 
+ See also:
+  *[http://cocoon.apache.org/2.1/userdocs/generators/wsproxy-generator.html]
+  *[http://codefoo.blogspot.com/2005/07/serving-webservices-using-apache-axis.html]
+ 
+ [StefanPodkowinski]
+ 

Mime
View raw message