cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Vadim Gritsenko" <vadim.gritse...@verizon.net>
Subject RE: soap call problems
Date Mon, 01 Jul 2002 12:51:49 GMT
> 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>


Mime
View raw message