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]
+ 

Reply via email to