You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-user@axis.apache.org by "Kanwar, Gauri (GE Healthcare)" <Ga...@med.ge.com> on 2005/07/12 21:35:28 UTC

Compatibility problems

Hi All,

I am new to web services and Apache Axis and am having problems developing a simple web service with the following scenario:
- My server side code is in C++
- My Client side code is in Java
- I use the simple axis server to deploy my web service.

Here is what I am running into:
The java client sends the request and I can see (using tcpTrace) that the server sends the response. But for some reasom the client does not return from Call.invoke() function untill it finally throws a Timeout exception.

Any clues as to what is happening ?

PS it works fine when I use a c++ client.

Thanks,





RE: Compatibility problems

Posted by Luis Rivera <lu...@hotmail.com>.
This is not a compatibility problem, I have the same environment and had the 
same problem. You have to force your client to use http 1.1. I just added 
the commons-httpclients library and the following client-conf file:

<?xml version="1.0" encoding="UTF-8"?>
<deployment name="defaultClientConfig" 
xmlns="http://xml.apache.org/axis/wsdd/" 
xmlns:java="http://xml.apache.org/axis/wsdd/providers/java">
  <transport name="http" 
pivot="java:org.apache.axis.transport.http.CommonsHTTPSender" />
  <transport name="https" 
pivot="java:org.apache.axis.transport.http.CommonsHTTPSender"/>
  <transport name="local" 
pivot="java:org.apache.axis.transport.local.LocalSender"/>
</deployment>

... which solves the problem.

   --Luis R.


>From: "Kanwar, Gauri (GE Healthcare)" <Ga...@med.ge.com>
>Reply-To: axis-user@ws.apache.org
>To: <ax...@ws.apache.org>
>Subject: Compatibility problems
>Date: Tue, 12 Jul 2005 14:35:28 -0500
>
>Hi All,
>
>I am new to web services and Apache Axis and am having problems developing 
>a simple web service with the following scenario:
>- My server side code is in C++
>- My Client side code is in Java
>- I use the simple axis server to deploy my web service.
>
>Here is what I am running into:
>The java client sends the request and I can see (using tcpTrace) that the 
>server sends the response. But for some reasom the client does not return 
>from Call.invoke() function untill it finally throws a Timeout exception.
>
>Any clues as to what is happening ?
>
>PS it works fine when I use a c++ client.
>
>Thanks,
>
>
>
>

_________________________________________________________________
Express yourself instantly with MSN Messenger! Download today - it's FREE! 
http://messenger.msn.click-url.com/go/onm00200471ave/direct/01/