ASG
IBM
Zystems
Cressida
Icon
Netflexity
 
  MQSeries.net
Search  Search       Tech Exchange      Education      Certifications      Library      Info Center      SupportPacs      LinkedIn  Search  Search                                                                   FAQ  FAQ   Usergroups  Usergroups
 
Register  ::  Log in Log in to check your private messages
 
RSS Feed - WebSphere MQ Support RSS Feed - Message Broker Support

MQSeries.net Forum Index » WebSphere Message Broker (ACE) Support » SOAP Client - HttpURLConnection versus socket

Post new topic  Reply to topic
 SOAP Client - HttpURLConnection versus socket « View previous topic :: View next topic » 
Author Message
JoseR
PostPosted: Thu Apr 27, 2006 1:43 pm    Post subject: SOAP Client - HttpURLConnection versus socket Reply with quote

Novice

Joined: 23 Feb 2006
Posts: 24

Hello There,

Has anyone run into the follwoing scenario:

After developing a web service on WMB v6.0 listening on port 7080.
HTTPinput node -> Filter node -> HTTP request node (to WebSphere web service) -> HTTP Reply node

I started developing a simple web service client in java.
If I run the client and the broker on my local machine (Windows), everything works beautifully. However If a push the web service to my development box (AIX server) my client fails with a Error 500: Server returned HTTP response code: 500 for URL:...
Someone once told me that I could use sockets instead for my currently HttpURLConnection call.

Enabling the debugger, this is what I found:
On the local web service, the HTTP Request Node returns a meesage and the flow request completes just fine.
On the remote (AIX) web service, the HTTP Request Node fails to return a message and soon the message flow gives up returning a 500 error message from the server.

Any ideas as to what might have gone wrong here.[/img]
_________________
Jose R
WWJD
<))><<
Back to top
View user's profile Send private message Yahoo Messenger MSN Messenger
fjb_saper
PostPosted: Thu Apr 27, 2006 8:25 pm    Post subject: Reply with quote

Grand High Poobah

Joined: 18 Nov 2003
Posts: 20756
Location: LI,NY

How about the deploy of the webservice to the AIX box.
Could you ever get the service to work on this box independantly from the broker?

Enjoy
_________________
MQ & Broker admin
Back to top
View user's profile Send private message Send e-mail
vennela
PostPosted: Fri Apr 28, 2006 6:34 am    Post subject: Reply with quote

Jedi Knight

Joined: 11 Aug 2002
Posts: 4055
Location: Hyderabad, India

I had this problem when I developed the web service using WSADIE. For some reason, WSADIE wasn't returning. I didn't have the problem with WID though.
Back to top
View user's profile Send private message Send e-mail Visit poster's website
JoseR
PostPosted: Mon May 01, 2006 6:52 am    Post subject: Reply with quote

Novice

Joined: 23 Feb 2006
Posts: 24

Thanks for the Follow up everyone.

To answer yoru question:
The web service works just fine when I call it independently from the broker. The web service also works when I make a call through the broker on my local system (Windows XP). The web service fails however when I make a call from the broker on my AIX server (from my client on my windows system).

I am using RAD to develop and test the client call and have also configure the WMB Toolkit with RAD to have a single workbench.
_________________
Jose R
WWJD
<))><<
Back to top
View user's profile Send private message Yahoo Messenger MSN Messenger
jefflowrey
PostPosted: Mon May 01, 2006 2:46 pm    Post subject: Reply with quote

Grand Poobah

Joined: 16 Oct 2002
Posts: 19981

Is there a network connectivity problem between your windows machine and the AIX machine?
_________________
I am *not* the model of the modern major general.
Back to top
View user's profile Send private message
JoseR
PostPosted: Tue May 02, 2006 8:18 am    Post subject: Reply with quote

Novice

Joined: 23 Feb 2006
Posts: 24

I do not believe there are connectivity issues between AIX and Windows server but I will check again to validate this point.

I had extended the request time out for my HTTP Request node from 120 secs to 400 sec and enalbed the Debbuger.

Here there are some context from the SockeException for last 2 exceptions on the Exception tree of the RecoverableException

Text = A Web Service request has detected a SOCKET error whilst invoking a web service located at host &1, on port &2, on path &3.

Text = A connection with a remote socket was reset by that socket.

Obviously, the request gets propagated from AIX broker to the Web Service Server on Windows.. but This Windows server however does not return a reply because of the socket reset (I believe).

Note: - The windows broker does not present this issues and so the WebService Server on Windows can pass the request to the WIN broker without any problem.
_________________
Jose R
WWJD
<))><<
Back to top
View user's profile Send private message Yahoo Messenger MSN Messenger
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » WebSphere Message Broker (ACE) Support » SOAP Client - HttpURLConnection versus socket
Jump to:  



You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
Protected by Anti-Spam ACP
 
 


Theme by Dustin Baccetti
Powered by phpBB © 2001, 2002 phpBB Group

Copyright © MQSeries.net. All rights reserved.