Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Migration of unmigrated content due to installation of a new plugin

...

Wiki Markup
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.

No Format

<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

...