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 » Soap response to cobol copybook format .

Post new topic  Reply to topic
 Soap response to cobol copybook format . « View previous topic :: View next topic » 
Author Message
selvaetkt
PostPosted: Tue Oct 08, 2013 8:59 pm    Post subject: Soap response to cobol copybook format . Reply with quote

Novice

Joined: 25 Jun 2013
Posts: 16
Location: chennai

Hi ,

I am making a web service call using soap request node . once i get the response , i need to convert it to cobol copy book format and write in a queue. I tried to achieve using rcd node . but it uses soap name space .when i try to write in mqoutput it is throwing error . Can anyone help me how to achieve soap response to binary1 format conversion .
Back to top
View user's profile Send private message Send e-mail
dogorsy
PostPosted: Tue Oct 08, 2013 11:01 pm    Post subject: Re: Soap response to cobol copybook format . Reply with quote

Knight

Joined: 13 Mar 2013
Posts: 553
Location: Home Office

selvaetkt wrote:
Hi ,

I am making a web service call using soap request node . once i get the response , i need to convert it to cobol copy book format and write in a queue. I tried to achieve using rcd node . but it uses soap name space .when i try to write in mqoutput it is throwing error . Can anyone help me how to achieve soap response to binary1 format conversion .


Have you heard of Compute node and ESQL ? There is nothing difficult in what you are describing, unless you consider reading the documentation to be difficult.
Back to top
View user's profile Send private message
fjb_saper
PostPosted: Wed Oct 09, 2013 1:03 am    Post subject: Reply with quote

Grand High Poobah

Joined: 18 Nov 2003
Posts: 20756
Location: LI,NY

You might also consider the use of a mapping node...
_________________
MQ & Broker admin
Back to top
View user's profile Send private message Send e-mail
dogorsy
PostPosted: Wed Oct 09, 2013 1:18 am    Post subject: Reply with quote

Knight

Joined: 13 Mar 2013
Posts: 553
Location: Home Office

Or Java Compute Node. Certainly not an RCD.
Back to top
View user's profile Send private message
kimbert
PostPosted: Wed Oct 09, 2013 8:13 am    Post subject: Reply with quote

Jedi Council

Joined: 29 Jul 2003
Posts: 5542
Location: Southampton

This will not work. But something like this will work:
Code:
DECLARE bodyElement REFERENCE To InputRoot.SOAP.soapns:Body.(XMLNSC.Element)*[1];
SET OutputRoot.MRM = bodyElement;
SET OutputRoot.Properties.MessageType=FIELDNAME(bodyElement);
SET OutputRoot.Properties.MessageSet = '<your message set name>'
SET OutputRoot.Properties.MessageFormat = 'binary1';

In case it is not obvious, I am assuming that the message name in the message set matches the name of the first child of SOAP body.
_________________
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
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 » Soap response to cobol copybook format .
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.