Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsWhite Papers
Discussion GroupsFirst AidDatabasesJavaBeansGUIJava 3DVirtual MachineCORBASecurityToolsGeneral
Java DirectoryOpen Source ProjectsSample Book ChaptersUser GroupsWeb Resources
Related Topics
Databases.NETMore Topics ...

Java Forum / General / April 2007

Tip: Looking for answers? Try searching our database.

Axis web service client hanging on calls

Thread view: 
kelly - 04 Apr 2007 06:18 GMT
Hello,

I'm writing an WS client using Axis, and having a problem with the
calls hanging until they time out. I have a VB app here (written by
someone else) which uses the MSSOAP.SOAPClient30 object to connect to
the web service, make a call, and get some results. It works fine. I
generated Java client-side code from the WSDL of the same web service
and I'm trying to make the same calls as the VB app, but my client
code is hanging until it gets a "read timeout" error.

I put a trace utility on the server, and noticed that when my java
client calls it, the web service is still returning the expected
results. I just never see them on the client side. I also notice that
in calls made by the VB app, the "connection" header is set to
"close", while the one from my java client is set to "keep-alive".
Other than that, they're pretty much the same.

Can anyone suggest what I might be doing wrong?

Thanks
Arne Vajhøj - 05 Apr 2007 01:38 GMT
> I'm writing an WS client using Axis, and having a problem with the
> calls hanging until they time out. I have a VB app here (written by
[quoted text clipped - 12 lines]
>
> Can anyone suggest what I might be doing wrong?

Some Googling indicates that this is a very old problem.

What version of Axis are you using ?

If not latest Axis then try an upgrade to 1.4 !

Arne


Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.