Thanks Vadim, that was a bit obvious wasn't it :)
It trys to talk to the service now but I get an error. I could only find it
by doing a net trace ie. cocoon didn't pick it up?
'Server did not recognise the value of HTTP Header SOAPAction'
Chris.
-----Original Message-----
From: Vadim Gritsenko [mailto:vadim.gritsenko@verizon.net]
Sent: Monday, 1 July 2002 22:52
To: cocoon-users@xml.apache.org
Subject: RE: soap call problems
> From: Chris Warr [mailto:ChrisW@esd.nec.com.au]
>
> Hi, I'm running cocoon 2.0.2 under tomcat 4.0.4b2. I've created the
example
> web service under .NET, TempConvert1. I can call this with no
problems from
> VB using the MSSOAP object. I'm trying to call it using the xsp soap
taglib
> and I get the following error:
>
> org.apache.cocoon.ProcessingException: Error invoking remote service:
> java.lang.IllegalArgumentException: port out range:-1:
> java.lang.IllegalArgumentException: port out range:-1
Looks like '-1' is the default port number. Try specifying port number:
<soap:call url="http://147.76.204.58:80/TempConvert1/Service1.asmx"
Vadim
> I can call other web services from cocoon with no dramas. My soap
call
> looks like this:
>
> <search-results>
> <soap:call url="http://147.76.204.58/TempConvert1/Service1.asmx"
> xmlns:xsi="http://www.w3.org/1999/XMLSchema-instance"
> xmlns:xsd="http://www.w3.org/1999/XMLSchema">
> <ns1:ConvertTemperature xmlns:ns1="urn:Service1">
> <dFahrenheit xsi:type="xsd:string">100</dFahrenheit>
> </ns1:ConvertTemperature>
> </soap:call>
> </search-results>
>
>
> NB. To those familiar with TempConvert1, I've changed the type of
dFarenheit
> from double to string.
>
> Anybody got any ideas?
>
> Chris.
>
---------------------------------------------------------------------
Please check that your question has not already been answered in the
FAQ before posting. <http://xml.apache.org/cocoon/faq/index.html>
To unsubscribe, e-mail: <cocoon-users-unsubscribe@xml.apache.org>
For additional commands, e-mail: <cocoon-users-help@xml.apache.org>
---------------------------------------------------------------------
Please check that your question has not already been answered in the
FAQ before posting. <http://xml.apache.org/cocoon/faq/index.html>
To unsubscribe, e-mail: <cocoon-users-unsubscribe@xml.apache.org>
For additional commands, e-mail: <cocoon-users-help@xml.apache.org>
|