Win a copy of Svelte and Sapper in Action this week in the JavaScript forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
  • Campbell Ritchie
  • Ron McLeod
  • Paul Clapham
  • Bear Bibeault
  • Junilu Lacar
  • Jeanne Boyarsky
  • Tim Cooke
  • Henry Wong
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Tim Holloway
  • salvin francis
  • Frits Walraven
  • Scott Selikoff
  • Piet Souris
  • Carey Brown

Sub flows

Ranch Hand
Posts: 96
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello there,

Any experience with message broker floating around. I need to have an XML file appended to data which needs to be got from a web service. Any idea on how to achieve this.

MQInput Node - > HTTP Request - > MQOutput node

The input node will have the XML to be transformed in the configured inqueue. The HTTP Request calls the web service sending an XML file which needs to be generated based on the type of XML coming in the inqueue
Perhaps after this there is a Java compute node to take in the response from the HTTP Request and map it to the original XML file

My problem is how to generated the XML to be send with the http Request node as a message

Can anybody help??? Please

Desperate MB developer
Posts: 7
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Jack,

I understand your issue, but I am not sure I can give you a quick answer here based on my limited experience.

Your MB flow is something like the following:

MQInput Node --- > HTTP Request --- > MQOutput node

To solve your problem, I suggest you first build the following flow

HTTPInput Node -X- > HTTP Request --- > HTTPReply node

This flow basically add MB between your SOAP client and Web Service. You can use your SOAP client to connect to this flow. After this flow is completed, set a break point in the "X" location and take a look at the message using debugger in WMB toolkit. Then you can see what headers are required to feed in the HTTP request node.

After that, you may need to have a JavaCompute node or ESQL node to create the necessary message that feed the HTTP request node.

Good luck,
Thread Boost feature
    Bookmark Topic Watch Topic
  • New Topic