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 » list all service operations (interfaces) available in broker

Post new topic  Reply to topic
 list all service operations (interfaces) available in broker « View previous topic :: View next topic » 
Author Message
ruimadaleno
PostPosted: Mon Jul 04, 2016 12:26 am    Post subject: list all service operations (interfaces) available in broker Reply with quote

Master

Joined: 08 May 2014
Posts: 274

Hi all,

we have deployed several message flows, mainly web services. I need to list all available operations from all web services deployed in broker.

I can quickly gather a list of web services using the mqsilist command but how can i get the list of operations that each service delivers ?

Environment: broker 8.0.0.6 running on windows server 2008R2 enterprise

Best regards

Rui Madaleno
_________________
Best regards

Rui Madaleno
Back to top
View user's profile Send private message
smdavies99
PostPosted: Mon Jul 04, 2016 1:39 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.

From the definitions that are in the WSDL perhaps?
All the operations are defined in that (or should be)

The WSDL is the definition of the contract between the service and the apps using the service.

If the Flow has been setup to allow it using the "?" at the end of the service def will get lots of useful stuff for you.
_________________
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
ruimadaleno
PostPosted: Mon Jul 04, 2016 2:21 am    Post subject: Reply with quote

Master

Joined: 08 May 2014
Posts: 274

smdavies99 wrote:
From the definitions that are in the WSDL perhaps?
All the operations are defined in that (or should be)

The WSDL is the definition of the contract between the service and the apps using the service.

If the Flow has been setup to allow it using the "?" at the end of the service def will get lots of useful stuff for you.



Hi SmDavies99

thank you for your response. I understand i can get the info about operations provided by a service in the WSDL.
The requirement here is a little "wider" , i need to get a list (text, excel, etc) that lists all services deployed in a broker detailing all operations provided by each service.

best regards

Rui Madaleno
_________________
Best regards

Rui Madaleno
Back to top
View user's profile Send private message
maurito
PostPosted: Mon Jul 04, 2016 2:31 am    Post subject: Reply with quote

Partisan

Joined: 17 Apr 2014
Posts: 358

ruimadaleno wrote:
smdavies99 wrote:
From the definitions that are in the WSDL perhaps?
All the operations are defined in that (or should be)

The WSDL is the definition of the contract between the service and the apps using the service.

If the Flow has been setup to allow it using the "?" at the end of the service def will get lots of useful stuff for you.



Hi SmDavies99

thank you for your response. I understand i can get the info about operations provided by a service in the WSDL.
The requirement here is a little "wider" , i need to get a list (text, excel, etc) that lists all services deployed in a broker detailing all operations provided by each service.

best regards

Rui Madaleno

You can try
Code:

mqsireportproperties brokername -o HTTPConnector -r -e EGname

for each execution group in the broker.
That will give you something like:

Code:

  Connector
    port='8080'
    type='Embedded'
    URLRegistration
      url='/fred/findSlots'
      outstandingRequests='0'
      UsedBySOAPNNodes='TRUE'
      UsedByHTTPNNodes='FALSE'
      nodeLabel='SOAP Input: findSlots'
    URLRegistration
      url='/fred/cancelSlot'
      outstandingRequests='0'
      UsedBySOAPNNodes='TRUE'
      UsedByHTTPNNodes='FALSE'
      nodeLabel='SOAP Input: cancelSlot'
Back to top
View user's profile Send private message
ruimadaleno
PostPosted: Mon Jul 04, 2016 3:30 am    Post subject: Reply with quote

Master

Joined: 08 May 2014
Posts: 274

maurito wrote:

You can try
Code:

mqsireportproperties brokername -o HTTPConnector -r -e EGname

for each execution group in the broker.
That will give you something like:

Code:

  Connector
    port='8080'
    type='Embedded'
    URLRegistration
      url='/fred/findSlots'
      outstandingRequests='0'
      UsedBySOAPNNodes='TRUE'
      UsedByHTTPNNodes='FALSE'
      nodeLabel='SOAP Input: findSlots'
    URLRegistration
      url='/fred/cancelSlot'
      outstandingRequests='0'
      UsedBySOAPNNodes='TRUE'
      UsedByHTTPNNodes='FALSE'
      nodeLabel='SOAP Input: cancelSlot'



Hi maurito, thank you for your response.

in fact we can use mqsireportproperties to gather a list of web services URL but there is no option to show the operations of each service

best regards

Rui Madaleno
_________________
Best regards

Rui Madaleno
Back to top
View user's profile Send private message
smdavies99
PostPosted: Mon Jul 04, 2016 10:22 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.

ruimadaleno wrote:


in fact we can use mqsireportproperties to gather a list of web services URL but there is no option to show the operations of each service


It looks like there is no way to easily satisfy your requirement.

Perhaps you might like to raise an RFE?

To be honest, I don't think it has much chance of being accepted.
You could write some shell script/application to get the data you need from the WSDL which you could get from the webservice by using the ? option.
_________________
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
ruimadaleno
PostPosted: Tue Jul 05, 2016 3:40 am    Post subject: Reply with quote

Master

Joined: 08 May 2014
Posts: 274

in the end i gathered info for the operations available by hand

I agree this is a very specific requeriment and is highly probable that an RFE end up with only one vote (mine

thanks you all for you help

best regards

Rui Madaleno
_________________
Best regards

Rui Madaleno
Back to top
View user's profile Send private message
mqjeff
PostPosted: Tue Jul 05, 2016 4:08 am    Post subject: Reply with quote

Grand Master

Joined: 25 Jun 2008
Posts: 17447

mqsireportproperties will supply all of the paths that are being listened on.

Like "/fred/report/".

? will provide the WSDL being used at a given endpoint - like "/fred/report?"

The combination of the two will give you what you need.
_________________
chmod -R ugo-wx /
Back to top
View user's profile Send private message
smdavies99
PostPosted: Tue Jul 05, 2016 7:36 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.

mqjeff wrote:
mqsireportproperties will supply all of the paths that are being listened on.

Like "/fred/report/".

? will provide the WSDL being used at a given endpoint - like "/fred/report?"

The combination of the two will give you what you need.


How is that different from what I posted?
There will still need to be some parsing of the WSDL in order to get the services supported by the WSDL
_________________
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
mqjeff
PostPosted: Tue Jul 05, 2016 7:52 am    Post subject: Reply with quote

Grand Master

Joined: 25 Jun 2008
Posts: 17447

smdavies99 wrote:
mqjeff wrote:
mqsireportproperties will supply all of the paths that are being listened on.

Like "/fred/report/".

? will provide the WSDL being used at a given endpoint - like "/fred/report?"

The combination of the two will give you what you need.


How is that different from what I posted?
There will still need to be some parsing of the WSDL in order to get the services supported by the WSDL


Mine is slightly more explicit about steps to take? Get the endpoints, and then get the WSDLs...

And then, as you say, parse the wsdls to extract the operations.
_________________
chmod -R ugo-wx /
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 » list all service operations (interfaces) available in broker
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.