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 » How to access a URL declared in the UDP through ESQL

Post new topic  Reply to topic
 How to access a URL declared in the UDP through ESQL « View previous topic :: View next topic » 
Author Message
bhavyabhandari
PostPosted: Tue May 22, 2007 5:07 am    Post subject: How to access a URL declared in the UDP through ESQL Reply with quote

Apprentice

Joined: 09 Nov 2006
Posts: 33

Hi
can u please help...
How can i access a URL declared in the UDP through ESQL

i am using the following statements:

DECLARE URL NAMESPACE 'http://www.example.com/PO1';

CREATE COMPUTE MODULE TestHTTP_Compute
CREATE FUNCTION Main() RETURNS BOOLEAN
BEGIN
SET OutputLocalEnvironment.Destination.HTTP.RequestURL = URL;
CALL CopyEntireMessage();
RETURN TRUE;


Thanks in advance..
Back to top
View user's profile Send private message Yahoo Messenger
jefflowrey
PostPosted: Tue May 22, 2007 5:09 am    Post subject: Reply with quote

Grand Poobah

Joined: 16 Oct 2002
Posts: 19981

Don't make that a namespace, it's a CHARACTER value, so it should be a CHARACTER variable.

Otherwise, you get at it the same way you get at any other UDP, by declaring an EXTERNAL variable.
_________________
I am *not* the model of the modern major general.
Back to top
View user's profile Send private message
bhavyabhandari
PostPosted: Tue May 22, 2007 9:21 am    Post subject: thnx alot Reply with quote

Apprentice

Joined: 09 Nov 2006
Posts: 33

thnx alot for the help;.
the query has been resolved now..
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 » How to access a URL declared in the UDP through ESQL
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.