• 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 Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Tim Cooke
  • paul wheaton
  • Jeanne Boyarsky
  • Ron McLeod
Sheriffs:
  • Paul Clapham
  • Liutauras Vilda
  • Devaka Cooray
Saloon Keepers:
  • Tim Holloway
  • Roland Mueller
Bartenders:

Sub flows

 
Ranch Hand
Posts: 96
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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

Signed
Desperate MB developer
Jack
 
Greenhorn
Posts: 7
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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,
 
Replace the word "snake" with "danger noodle" in all tiny ads.
Smokeless wood heat with a rocket mass heater
https://woodheat.net
reply
    Bookmark Topic Watch Topic
  • New Topic