Consuming Global Transaction ID in flow service

hi ,

we have a requirement where we are exposing our flow service as wsdl to the thrid party system called as TP .
TP is generating the transaction ID which needs to be consumed in webMethods and they are pasing it in global header .

How can we fetch the transaction id in webMethods as we are the provider .
I am able to find this transction ID in integration server when i increase the logging level to Debug. We need to get this transction id in the flow service .
How can this be achieved in webMethods .

We have a catch here : we cannot expose extra field in the input so that transaction id can directly be passed by TP system to webMethods.


What’s the business use-case, why you should not use extra field to store TID which is sent by TP system ? It’s better to have a new field as part of good design.


Actaully transactionId is being generated by TP system and the Message which they are passing to the wsdl are being fetched by TP from other systems and if i expose a new field in input they need to change the message at intermediate level to map TransactionID . TP systems dont want to touch the message as they are just the message router.

When you say transactionID is visible in the debug log mode and do you where it’s being populated from or by webMethods internally (as a provider) or TP system sends it?


if the TID is in the http request header, try to use:
you should see it and capture it.

1 Like


Can you put the section of the logs that you were able to see?


(IS.SERVER) [ISC.0038.2] 2016-04-05 22:47:39 PDT DEBUG: ← X-Backside-Transport: OK OK
(IS.SERVER) [ISC.0038.2] 2016-04-05 22:47:39 PDT DEBUG: ← Connection: Keep-Alive
(IS.SERVER) [ISC.0038.2] 2016-04-05 22:47:39 PDT DEBUG: ← Transfer-Encoding: chunked
(IS.SERVER) [ISC.0038.2] 2016-04-05 22:47:39 PDT DEBUG: ← Cache-Control: private, max-age=0
(IS.SERVER) [ISC.0038.2] 2016-04-05 22:47:39 PDT DEBUG: ← Content-Type: text/xml
(IS.SERVER) [ISC.0038.2] 2016-04-05 22:47:39 PDT DEBUG: ← Server: Microsoft-IIS/8.0
(IS.SERVER) [ISC.0038.2] 2016-04-05 22:47:39 PDT DEBUG: ← X-AspNet-Version: 4.0.30319
(IS.SERVER) [ISC.0038.2] 2016-04-05 22:47:39 PDT DEBUG: ← X-Powered-By: ASP.NET
(IS.SERVER) [ISC.0038.2] 2016-04-05 22:47:39 PDT DEBUG: ← Date: Wed, 06 Apr 2016 05:47:37 GMT
(IS.SERVER) [ISC.0038.2] 2016-04-05 22:47:39 PDT DEBUG: ← X-Client-IP: XXXXXXXXXXXXXXXXXXXXX
(IS.SERVER) [ISC.0038.2] 2016-04-05 22:47:39 PDT DEBUG: ← X-Global-Transaction-ID: 400420833
(IS.SERVER) [ISS.0142.2] 2016-04-05 22:47:39 PDT DEBUG: Unregistered Lifecycle Listener Socket

I think, by looking at the logs, the clients are performing a http invoke, rather than SOAP WS. :?:

I performed a simple POC, where using a rest call, am able to get the http header information, where as with SOAP client cannot pass this header info.

package: ZZMallik
Soap UI projects:

Have a look at this and let me know
TestWS-soapui-project.xml (4.98 KB)
REST-Project-1-soapui-project.xml (2.44 KB) (7.08 KB)

hi Mallik ,

which version of wM you have developed the code , when i tried importing the package in 9.6 version , packages is being deployed and activated successfully , but im not able to find any flow service , adapters in designer .