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 » URGENT :setting URL in a msgflow when calling a webservice

Post new topic  Reply to topic
 URGENT :setting URL in a msgflow when calling a webservice « View previous topic :: View next topic » 
Author Message
ydsk
PostPosted: Tue Aug 22, 2006 11:53 am    Post subject: URGENT :setting URL in a msgflow when calling a webservice Reply with quote

Chevalier

Joined: 23 May 2005
Posts: 410

I am facing a problem related to setting URL in my msgflow that uses HTTPRequest node to call a webservice.

The documentation says that if we set the URL via LocalEnvironment.Destination.HTTP.RequestURL in a Compute node before the HTTPRequest node, it will over-ride the URL setting on the HTTPRequest node.

But it's NOT working that way for me. No matter what I do It's always taking the URL on the HTTPRequest node.

Can someone pls help me.

I made sure that the Compute Mode property is set to 'All' on the compute node before the HTTPRequest node.


Thanks.
ydsk.
Back to top
View user's profile Send private message
jefflowrey
PostPosted: Tue Aug 22, 2006 12:02 pm    Post subject: Reply with quote

Grand Poobah

Joined: 16 Oct 2002
Posts: 19981

Put a trace node between the compute node and the HTTPRequest.

Verify that the LocalEnvironment tree matches the path specified exactly.

And then verify that the contents are correct.
_________________
I am *not* the model of the modern major general.
Back to top
View user's profile Send private message
ydsk
PostPosted: Wed Aug 23, 2006 8:35 pm    Post subject: Reply with quote

Chevalier

Joined: 23 May 2005
Posts: 410

Yes, I verified the URL is correct using a trace node as suggested.

But somehow I still have the problem.

Pls help.

Thanks.
Back to top
View user's profile Send private message
elvis_gn
PostPosted: Wed Aug 23, 2006 8:57 pm    Post subject: Re: URGENT :setting URL in a msgflow when calling a webservi Reply with quote

Padawan

Joined: 08 Oct 2004
Posts: 1905
Location: Dubai

Hi ydsk,
ydsk wrote:
The documentation says that if we set the URL via LocalEnvironment.Destination.HTTP.RequestURL in a Compute node before the HTTPRequest node, it will over-ride the URL setting on the HTTPRequest node.
Can we see the snippet of code please.

And also the settings in the compute node which is populating this URL in the evironment.

Regards.
Back to top
View user's profile Send private message Send e-mail
jefflowrey
PostPosted: Thu Aug 24, 2006 2:56 am    Post subject: Reply with quote

Grand Poobah

Joined: 16 Oct 2002
Posts: 19981

I didn't say anything about whether the URL was correct or not.
_________________
I am *not* the model of the modern major general.
Back to top
View user's profile Send private message
dilse
PostPosted: Thu Aug 24, 2006 10:05 am    Post subject: Reply with quote

Master

Joined: 24 Jun 2004
Posts: 270

ydsk,
Can you try making compute node properties to set the Compute mode as 'LocalEnvironment and Message' instead of 'All'? and also make sure the URL that you put it in LocalEnvironment is reachable.
_________________
DilSe..

Take life as it comes..
Back to top
View user's profile Send private message
ydsk
PostPosted: Thu Aug 24, 2006 11:01 am    Post subject: Reply with quote

Chevalier

Joined: 23 May 2005
Posts: 410

Thank you all.
The issue got resolved.

The problem was with a setting on HTTPRequest node. I gave the location as InputRoot.XMLNS ( it should have worked because soap Envelope is the only child of InputRoot.XMLNS but don't know why it didn't ) and it was causing problems, and due to that the LocalEnvironment settings were ignored...not sure why.

I changed it to "Use whole input msg as request" on the HTTPRequest node, and the Compute MODE setting on Compute node is still 'All'.

Giving the URL in LocalEnvironment worked ( I gave a dummy URL on the HTTPRequest node of course).

Thanks.
ydsk.
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 » URGENT :setting URL in a msgflow when calling a webservice
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.