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 » Reading client IP in Message Flow.

Post new topic  Reply to topic
 Reading client IP in Message Flow. « View previous topic :: View next topic » 
Author Message
pathipati
PostPosted: Mon Oct 01, 2007 2:42 pm    Post subject: Reading client IP in Message Flow. Reply with quote

Master

Joined: 03 Mar 2006
Posts: 296

Is there a way to read client IP in a message flow? I am seeing some text like
Quote:
AMQ BRKRQM 8é·F ▓
Back to top
View user's profile Send private message Yahoo Messenger
jefflowrey
PostPosted: Mon Oct 01, 2007 2:44 pm    Post subject: Reply with quote

Grand Poobah

Joined: 16 Oct 2002
Posts: 19981

That's not a client IP address.

What field contains that data?

What transport is that data arriving on?
_________________
I am *not* the model of the modern major general.
Back to top
View user's profile Send private message
pathipati
PostPosted: Mon Oct 01, 2007 3:51 pm    Post subject: Reply with quote

Master

Joined: 03 Mar 2006
Posts: 296

Transport is XML/HTTP.
Back to top
View user's profile Send private message Yahoo Messenger
jefflowrey
PostPosted: Mon Oct 01, 2007 4:11 pm    Post subject: Reply with quote

Grand Poobah

Joined: 16 Oct 2002
Posts: 19981

jefflowrey wrote:
What field contains that data?

_________________
I am *not* the model of the modern major general.
Back to top
View user's profile Send private message
pathipati
PostPosted: Mon Oct 01, 2007 4:13 pm    Post subject: Reply with quote

Master

Joined: 03 Mar 2006
Posts: 296

InputLocalEnvironment.Destination.HTTP.RequestIdentifier returned me this.
Back to top
View user's profile Send private message Yahoo Messenger
jefflowrey
PostPosted: Mon Oct 01, 2007 6:18 pm    Post subject: Reply with quote

Grand Poobah

Joined: 16 Oct 2002
Posts: 19981

So, I'd say someone put the MsgId into the requestId and sent it to you, so that when you gave them back a reply, then they could put it into the correlId of the response message they were sending back to the MQ requestor that started their process.

I believe there's been some work done in some FPs of v6 to put the client ip address into a field in the HTTP Header... I think it's an X-Header (X-HTTP-Client-Address or some such).

If you search for posts from mgk you may find something useful in these regards... I'm fuzzy on the details.
_________________
I am *not* the model of the modern major general.
Back to top
View user's profile Send private message
pathipati
PostPosted: Mon Oct 01, 2007 7:31 pm    Post subject: Reply with quote

Master

Joined: 03 Mar 2006
Posts: 296

I tried below, with no luck...

Quote:
InputRoot.HTTPInputHeader."X-HTTP-Users-Address"

InputRoot.HTTPInputHeader."X-HTTP-Client-Address"

InputRoot.HTTPInputHeader."X-Header"."X-HTTP-Client-Address"

InputRoot.HTTPInputHeader."X-Original-HTTP-URL";
Back to top
View user's profile Send private message Yahoo Messenger
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » WebSphere Message Broker (ACE) Support » Reading client IP in Message Flow.
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.