cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Peter Ross <>
Subject webservice proxy question
Date Wed, 02 Jul 2003 16:05:22 GMT
I am trying to use the webservice proxy to access a webservice that I
have made available using Apache Axis.

Here is the section of the sitemap that I have defined, does this look
correct to everyone?

  <map:match pattern="forms.html">
    <map:generate type="proxy"
    <map:transform src="transforms/forms.xslt"/>
    <map:serialize type="html"/>

However I get the following error when attempting to run it:
Original Exception: java.lang.IllegalArgumentException: host parameter is null
    at org.apache.commons.httpclient.HttpConnection.<init>(
    at org.apache.commons.httpclient.SimpleHttpConnectionManager.getConnection(
    at org.apache.commons.httpclient.HttpClient.executeMethod(
    at org.apache.commons.httpclient.HttpClient.executeMethod(

When I access the webservice through a web-browser I get

<getFormsResponse soapenv:encodingStyle="">
<GetFormsReturn xsi:type="xsd:string"><Forms><Form>FormA</Form><Form></GetFormsReturn>

I access through a proxy server, but I have set JAVA_OPTS to be
-Dhttp.proxyHost=hellman -Dhttp.proxyPort=8080 -Dhttp.nonProxyHosts=localhost
before starting up Tomcat.

Can anyone thing of what the problem may be?

Thanks in advance,

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message