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 » HTTP Input nodes not getting the message from a client pgm

Post new topic  Reply to topic
 HTTP Input nodes not getting the message from a client pgm « View previous topic :: View next topic » 
Author Message
RB
PostPosted: Mon Aug 14, 2006 2:17 pm    Post subject: HTTP Input nodes not getting the message from a client pgm Reply with quote

Acolyte

Joined: 23 May 2006
Posts: 56

Hi All,

I am trying to send an XML message from a Stub (simple java program) to the HTTP input node on WMB v6 (6.0.0) stub is not able to make a connection to the service. (gets java.net.connectException). Please let me know if there is any specific configuration that needs to be done on the broker environment for receiving the http request from a java client program.

I tried wget to publish message to the same url. It was able to connect, but the message was empty. I did a trace on the flow, and the message received is as follows.

----------------------------

(
(0x01000000):Properties = (
(0x03000000):MessageSet = 'OrderFromWeb (NTKJGQC002001)'
(0x03000000):MessageType = 'OrderFromWebIn'
(0x03000000):MessageFormat = 'XML'
(0x03000000):Encoding = 546
(0x03000000):CodedCharSetId = 1208
(0x03000000):Transactional = FALSE
(0x03000000):Persistence = FALSE
(0x03000000):CreationTime = GMTTIMESTAMP '2006-08-14 22:44:20.587'
(0x03000000):ExpirationTime = -1
(0x03000000):Priority = 0
(0x03000000):ReplyIdentifier = X'000000000000000000000000000000000000000000000000'
(0x03000000):ReplyProtocol = 'SOAP-HTTP'
(0x03000000):Topic = NULL
(0x03000000):ContentType = ''
)
(0x01000000):HTTPInputHeader = (
(0x03000000):X-Original-HTTP-Command = 'GET http://localhost:7080/SamleWebService HTTP/1.0'
(0x03000000):User-Agent = 'Wget/1.10.2'
(0x03000000):Accept = '*/*'
(0x03000000):Host = 'localhost:7080'
(0x03000000):Connection = 'Keep-Alive'
)
)

-----------------------------

I would appreciate if anyone can help me in resolving this.

Thanks,
RB
Back to top
View user's profile Send private message
jefflowrey
PostPosted: Mon Aug 14, 2006 2:25 pm    Post subject: Reply with quote

Grand Poobah

Joined: 16 Oct 2002
Posts: 19981

You can't send any data with an HTTP GET, I think.

I think you need to post.
_________________
I am *not* the model of the modern major general.
Back to top
View user's profile Send private message
andypiper
PostPosted: Tue Aug 15, 2006 3:05 am    Post subject: Reply with quote

Acolyte

Joined: 29 Oct 2001
Posts: 59
Location: London

Correct, WMB doesn't provide GET on HTTPInput, only POST. In fact, i think if you point your browser at the broker flow's URL, you'll get a message back telling you that.
Back to top
View user's profile Send private message Visit poster's website
mgk
PostPosted: Tue Aug 15, 2006 4:58 am    Post subject: Reply with quote

Padawan

Joined: 31 Jul 2003
Posts: 1642

MB V6 does support HTTP GET. However the body of the message in this case comes from the "Query_String" fragment of the incoming URL (the bit after the '?').

If you are able to connect with wget then the flow is up and working correctly. It sounds like your other client is not configured / written correctly. Why don't you post your Java code here?

Regards,
_________________
MGK
The postings I make on this site are my own and don't necessarily represent IBM's positions, strategies or opinions.
Back to top
View user's profile Send private message
RB
PostPosted: Tue Aug 15, 2006 5:17 pm    Post subject: Reply with quote

Acolyte

Joined: 23 May 2006
Posts: 56

Thanks a lot for the reply..

It was a problem with the java code.. i was sending it to the wrong port number.
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » WebSphere Message Broker (ACE) Support » HTTP Input nodes not getting the message from a client pgm
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.