I've narrowed it down to the following line in SOAPHelper.java method.execute(new HttpState(), conn);
This call doesn't come back. Chris. -----Original Message----- From: Chris Warr [mailto:[EMAIL PROTECTED]] Sent: Tuesday, 2 July 2002 15:21 To: [EMAIL PROTECTED] Subject: RE: soap call problems I've done further experimenting and worked out I need to pass the method in ie. <soap:call url="http://147.76.204.58:80/TempConvert1/Service1.asmx" >>> method="http://Walkthrough/XmlWebServices/ConvertTemperature" xmlns:xsi="http://www.w3.org/1999/XMLSchema-instance" xmlns:xsd="http://www.w3.org/1999/XMLSchema"> So I can get my cocoon client to talk to the service. However there are two problems. 1) The value I pass in does not appear in the service method 2) A SOAP packet comes back from the service with a 200 OK, and it looks okay (except the calculation is incorrect due to 1) , but still cocoon hangs, as if it is still waiting for a response. Chris. -----Original Message----- From: Chris Warr [mailto:[EMAIL PROTECTED]] Sent: Tuesday, 2 July 2002 9:55 To: [EMAIL PROTECTED] Subject: RE: soap call problems 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:[EMAIL PROTECTED]] Sent: Monday, 1 July 2002 22:52 To: [EMAIL PROTECTED] Subject: RE: soap call problems > From: Chris Warr [mailto:[EMAIL PROTECTED]] > > 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: <[EMAIL PROTECTED]> For additional commands, e-mail: <[EMAIL PROTECTED]> --------------------------------------------------------------------- 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: <[EMAIL PROTECTED]> For additional commands, e-mail: <[EMAIL PROTECTED]> --------------------------------------------------------------------- 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: <[EMAIL PROTECTED]> For additional commands, e-mail: <[EMAIL PROTECTED]> --------------------------------------------------------------------- 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: <[EMAIL PROTECTED]> For additional commands, e-mail: <[EMAIL PROTECTED]>