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 » WebServiceRegistryAddress

Post new topic  Reply to topic
 WebServiceRegistryAddress « View previous topic :: View next topic » 
Author Message
Jhap
PostPosted: Mon Aug 31, 2015 4:39 am    Post subject: WebServiceRegistryAddress Reply with quote

Novice

Joined: 18 Feb 2010
Posts: 18

Hi !

How to set WebServiceRegistryAddress ?

Below gives Incorrect funtion or procedure name 'WebServiceRegistryAddress' or argument count.



SET InputLocalEnvironment.common.webserviceLocation.registryAddress = common.GetApplicationProperty('WebServiceRegistryAddress');

SET OutputLocalEnvironment.Destination.HTTP.RequestURL = InputLocalEnvironment.common.webserviceLocation.registryAddress;
Back to top
View user's profile Send private message
smdavies99
PostPosted: Mon Aug 31, 2015 5:05 am    Post subject: Reply with quote

Jedi Council

Joined: 10 Feb 2003
Posts: 6076
Location: Somewhere over the Rainbow this side of Never-never land.

Have you read this?
http://www.ibm.com/developerworks/websphere/library/techarticles/1404_smithson1/1404_smithson1.html

There is a lot of useful information about how to define a connection to a WSRR system if that is the webservice repository you are trying to use.
_________________
WMQ User since 1999
MQSI/WBI/WMB/'Thingy' User since 2002
Linux user since 1995

Every time you reinvent the wheel the more square it gets (anon). If in doubt think and investigate before you ask silly questions.
Back to top
View user's profile Send private message
Jhap
PostPosted: Mon Aug 31, 2015 5:21 am    Post subject: Reply with quote

Novice

Joined: 18 Feb 2010
Posts: 18

Thanks

How about to use configurable service ?
Back to top
View user's profile Send private message
smdavies99
PostPosted: Mon Aug 31, 2015 5:26 am    Post subject: Reply with quote

Jedi Council

Joined: 10 Feb 2003
Posts: 6076
Location: Somewhere over the Rainbow this side of Never-never land.

Jhap wrote:
Thanks

How about to use configurable service ?


use the

mqsicreateconfigurableservice

command?

http://www-01.ibm.com/support/knowledgecenter/SSMKHH_9.0.0/com.ibm.etools.mft.doc/an37200_.htm
_________________
WMQ User since 1999
MQSI/WBI/WMB/'Thingy' User since 2002
Linux user since 1995

Every time you reinvent the wheel the more square it gets (anon). If in doubt think and investigate before you ask silly questions.
Back to top
View user's profile Send private message
Jhap
PostPosted: Mon Aug 31, 2015 6:49 am    Post subject: Reply with quote

Novice

Joined: 18 Feb 2010
Posts: 18

Hi !

Configurableservice is ready, but what is wrong with esql clauses because I get error in broker develompent view "Incorrect funtion or procedure name 'WebServiceRegistryAddress' or argument count". right when write...


SET InputLocalEnvironment.common.webserviceLocation.registryAddress = common.GetApplicationProperty('WebServiceRegistryAddress');

SET OutputLocalEnvironment.Destination.HTTP.RequestURL = InputLocalEnvironment.common.webserviceLocation.registryAddress;
Back to top
View user's profile Send private message
Vitor
PostPosted: Mon Aug 31, 2015 6:57 am    Post subject: Reply with quote

Grand High Poobah

Joined: 11 Nov 2005
Posts: 26093
Location: Texas, USA

Call me crazy but where do you get this from:

Jhap wrote:

Code:
SET InputLocalEnvironment.common.webserviceLocation.registryAddress = common.GetApplicationProperty('WebServiceRegistryAddress');


I'm not familiar with that as an IIB function. Got a link?
_________________
Honesty is the best policy.
Insanity is the best defence.
Back to top
View user's profile Send private message
Jhap
PostPosted: Mon Aug 31, 2015 7:46 am    Post subject: Reply with quote

Novice

Joined: 18 Feb 2010
Posts: 18

Maybe I found answer....

"The UserDefined configurable service is only accessible via a Java compute node. It cannot be accessed directly in ESQL. If you want to use ESQL, you need to create the code in Java and then use a function call to the Java code."
Back to top
View user's profile Send private message
Vitor
PostPosted: Mon Aug 31, 2015 8:27 am    Post subject: Reply with quote

Grand High Poobah

Joined: 11 Nov 2005
Posts: 26093
Location: Texas, USA

If the property you're trying to obtain is indeed in a user defined configurable service, then yes you do need to write a function called "GetApplicationProperty" and not just imagine a function called "GetApplicationProperty" exists without anyone writing it.

If you're actually trying to obtain an endpoint from WSRR (as you implied) and use it in the ESQL, you need to use the inbuilt nodes to access WSRR and then use the returned values in your ESQL.
_________________
Honesty is the best policy.
Insanity is the best defence.
Back to top
View user's profile Send private message
smdavies99
PostPosted: Mon Aug 31, 2015 9:18 am    Post subject: Reply with quote

Jedi Council

Joined: 10 Feb 2003
Posts: 6076
Location: Somewhere over the Rainbow this side of Never-never land.

Vitor wrote:
If the property you're trying to obtain is indeed in a user defined configurable service, then yes you do need to write a function called "GetApplicationProperty" and not just imagine a function called "GetApplicationProperty" exists without anyone writing it.

If you're actually trying to obtain an endpoint from WSRR (as you implied) and use it in the ESQL, you need to use the inbuilt nodes to access WSRR and then use the returned values in your ESQL.




Which was why I pointed the OP at the developerworks article.
_________________
WMQ User since 1999
MQSI/WBI/WMB/'Thingy' User since 2002
Linux user since 1995

Every time you reinvent the wheel the more square it gets (anon). If in doubt think and investigate before you ask silly questions.
Back to top
View user's profile Send private message
Jhap
PostPosted: Mon Aug 31, 2015 9:24 am    Post subject: Reply with quote

Novice

Joined: 18 Feb 2010
Posts: 18

Thanks for clarifying !
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 » WebServiceRegistryAddress
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.