On 02.02.2004 16:30, Anna Afonchenko wrote:

Hi all.
I am trying to use the WebServiceProxyGenerator in order to process the result
of external form submit through my pipeline.
I've got one of the latest cocoon releases.
Here is what I write in the sitemap:

<map:generator name="wsproxy" logger="sitemap.generator.wsproxy" 
src="org.apache.cocoon.generation.WebServiceProxyGenerator"/>
<map:match pattern="testForm/**">

<map:generate type="wsproxy" src="{1}">
<map:parameter name="wsproxy-method" value="post"/>
</map:generate>
<map:serialize type="html"/>
</map:match>

When I try to run it, I get a "host is null" error.
I found few posts about this problem, but the patch suggested
there is from July, and my version of WebServiceProxyGenerator is from September, so I assume that this patch should be there?

Maybe you tell us which patch you refer to. See http://cvs.apache.org/viewcvs.cgi/cocoon-2.1/src/blocks/proxy/java/org/apache/cocoon/generation/WebServiceProxyGenerator.java for changes on the wsproxy generator.


So I don't know if my problem is because I don't have this patch, or because of
some other thing.

Attached is my version of WebServiceProxyGenerator.java

It's exactly version 1.4 of the java file in CVS, in the meantime we are at 1.6.


Joerg

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to