Author |
Message
|
akidase |
Posted: Tue Nov 18, 2014 2:06 am Post subject: How to capture incoming soap request? |
|
|
Centurion
Joined: 10 Jan 2011 Posts: 124
|
Require some guidance as to how to capture incoming soap requests.
MQSI_SOAP_DEBUG seems to capture the soap messages flowing within broker.
Please help. |
|
Back to top |
|
 |
MB Developer |
Posted: Tue Nov 18, 2014 2:15 am Post subject: |
|
|
 Disciple
Joined: 03 Feb 2014 Posts: 179
|
Hi,
Create a library and refer that lib to your message flow project then create flow and drag the WSDL file then SOAPInput node and required subflow will come ....
Other wise
Create Library refer that lib to messageflow project
create flow take SOAPInput node and set two properties
1. Browse WSDL file
2. give path _________________ Thanks.... |
|
Back to top |
|
 |
akidase |
Posted: Tue Nov 18, 2014 2:30 am Post subject: |
|
|
Centurion
Joined: 10 Jan 2011 Posts: 124
|
I am trying to use nc command in unix.. to capture messages.
nc -l 7800 > filename.out. This works well for me.
Any issues/concerns with that?
btw, mb_developer.. I didn't get what you are saying. |
|
Back to top |
|
 |
shashivarungupta |
Posted: Tue Nov 18, 2014 12:13 pm Post subject: |
|
|
 Grand Master
Joined: 24 Feb 2009 Posts: 1343 Location: Floating in space on a round rock.
|
akidase wrote: |
I am trying to use nc command in unix.. to capture messages.
nc -l 7800 > filename.out. This works well for me.
Any issues/concerns with that?
btw, mb_developer.. I didn't get what you are saying. |
First of all, you need to be clear while asking the question and the objective of that question.. so that it will help while answering back.. rather making guess over actual question.
in the "WebSphere Message Broker Support" forum, the questions will be mostly and closely related to WMB/IIB , rather Socket Details at Network Level.
(by the way your 'nc' command looks okey and you might google it for cross check)
By the way.. what are you trying to achieve here and why ?
mb_developer was telling you to how to get the wsdl imported into the soapinput node !!
 _________________ *Life will beat you down, you need to decide to fight back or leave it. |
|
Back to top |
|
 |
akidase |
Posted: Tue Nov 18, 2014 10:28 pm Post subject: |
|
|
Centurion
Joined: 10 Jan 2011 Posts: 124
|
I wish to capture incoming soap messages sent to broker. Hope the question is now clear. This is for debugging purposes.
Broker doesn't seem to provide any such utility. .. ot I am not aware.
Nc comand is alternative to achieving my task and I placed so anyone searching like me..woukd 've benefitted. |
|
Back to top |
|
 |
fjb_saper |
Posted: Tue Nov 18, 2014 11:06 pm Post subject: |
|
|
 Grand High Poobah
Joined: 18 Nov 2003 Posts: 20756 Location: LI,NY
|
akidase wrote: |
I wish to capture incoming soap messages sent to broker. Hope the question is now clear. This is for debugging purposes.
Broker doesn't seem to provide any such utility. .. ot I am not aware.
Nc comand is alternative to achieving my task and I placed so anyone searching like me..woukd 've benefitted. |
You would either look at the message on the input queue or funnel through a different endpoint with an interceptor and forwarder.
Have fun  _________________ MQ & Broker admin |
|
Back to top |
|
 |
kimbert |
Posted: Wed Nov 19, 2014 4:19 am Post subject: |
|
|
 Jedi Council
Joined: 29 Jul 2003 Posts: 5542 Location: Southampton
|
Why not use the message flow debugger? Or take a user trace, if you need more detail.
If you want auditing of messages in production, then you should use monitoring events or record/replay. _________________ Before you criticize someone, walk a mile in their shoes. That way you're a mile away, and you have their shoes too. |
|
Back to top |
|
 |
ruimadaleno |
Posted: Wed Nov 19, 2014 8:00 am Post subject: |
|
|
Master
Joined: 08 May 2014 Posts: 274
|
we are using record and replay to capture these kind of information in all environments , including production.
So far, peformance is not an issue, we have record and reply "capturing" events in production environment with minimal impact in performance.
In DEV environment, beside record and replay, you should consider the usage of trace nodes (debug in toolkit is another option but sometimes we found it to be "tricky")
have a look at documentation (knowledge center) covering "record and replay"
http://www-01.ibm.com/support/knowledgecenter/SSKM8N_8.0.0/com.ibm.etools.mft.doc/bj23550_.htm?lang=en
and a presentation from impact 2012:
IBM WebSphere Message Broker
Message Monitoring, Auditing, Record and Replay
Andrew Coleman,
WebSphere Message Broker Development
IBM Hursley Park, UK
Session 1494 _________________ Best regards
Rui Madaleno |
|
Back to top |
|
 |
shashivarungupta |
Posted: Wed Nov 19, 2014 2:02 pm Post subject: |
|
|
 Grand Master
Joined: 24 Feb 2009 Posts: 1343 Location: Floating in space on a round rock.
|
fjb_saper wrote: |
akidase wrote: |
I wish to capture incoming soap messages sent to broker. Hope the question is now clear. This is for debugging purposes.
Broker doesn't seem to provide any such utility. .. ot I am not aware.
Nc comand is alternative to achieving my task and I placed so anyone searching like me..woukd 've benefitted. |
You would either look at the message on the input queue or funnel through a different endpoint with an interceptor and forwarder.
|
 _________________ *Life will beat you down, you need to decide to fight back or leave it. |
|
Back to top |
|
 |
|