axis-c-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Samisa Abeysinghe <samisa_abeysin...@yahoo.com>
Subject RE: exception with simple client
Date Tue, 07 Dec 2004 01:16:02 GMT
Yeah... 100 Continue is not supported by Axis2Transport.

Will create a Jira on this. May be we can make it a TODO for 1.5 

Thanks,
Samisa...

--- "Day Reynolds, LennonX J" <lennonx.j.day.reynolds@intel.com> wrote:

> I've had this same problem when talking to .NET web services -- it seems
> that the problem is that IIS is returning an "HTTP 100 Continue" status
> code prior to the actual SOAP response, which Axis chokes on. The
> quick-and-dirty fix I found was to use the 'Axis2Transport' transport
> DLL, after patching the sources in the Axis2Transport constructor to use
> HTTP 1.0, instead of 1.1.
> 
> In 'src/transport/axis2/Axis2Transport.cpp', change the string
> "HTTP/1.1" in the m_strHTTPProtocol initializer to "HTTP/1.0", which
> will force the client transport to use HTTP 1.0 by default. There's a
> method in the transport class to set the protocol version, but it's not
> part of the standard public Transport class interface, and therefore not
> available to any code that's using the standard API calls.
> 
> I know that I really should have entered this as a bug in JIRA; I've
> just been too busy on other fronts to make a proper bug report.
> Hopefully, the longer-term solution will be to properly support the HTTP
> 100 response code, so that you don't have to give up the other benefits
> of HTTP 1.1 protocol support (like pipelining) just to retain
> compatibility with .NET servers.
> 
> --
> Lennon Day-Reynolds
> lennonx.j.day.reynolds@intel.com
> 
> -----Original Message-----
> From: Matt Garman [mailto:garman@raw-sewage.net] 
> Sent: Monday, December 06, 2004 7:27 AM
> To: axis-c-user@ws.apache.org
> Subject: exception with simple client
> 
> 
> Hello,
> 
> I created a couple very simple web services on my machine (Win 2k)
> using MS VS.NET 2003: "getTimeOfDay()" and "getHelloWorld()"
> services.
> 
> Now I am trying to create a C/C++ client to consume these services
> using Apache Axis C++.  However, when I try to call even the
> getHelloWorld() method, the following exception is thrown:
> 
>         AxisTransportException:HTTP transport error Continue
> 
> Any ideas on what could be causing this?  (Hopefully it's just me
> overlooking something obvious!)
> 
> Thanks,
> Matt
> 
> -- 
> Matt Garman
> email at: http://raw-sewage.net/index.php?file=email
> 



		
__________________________________ 
Do you Yahoo!? 
Yahoo! Mail - now with 250MB free storage. Learn more.
http://info.mail.yahoo.com/mail_250

Mime
View raw message