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 » Writing SOAP message to Queue Issue

Post new topic  Reply to topic
 Writing SOAP message to Queue Issue « View previous topic :: View next topic » 
Author Message
sandman147
PostPosted: Tue Jan 14, 2014 7:25 am    Post subject: Writing SOAP message to Queue Issue Reply with quote

Apprentice

Joined: 01 Sep 2013
Posts: 42

I have with me a flow that writes the SOAP request message to a queue after extracting the SOAP envelope.

The Issue:
In SOAP UI

<soapenv:Envelope >
<soapenv:Header/>
<soapenv:Body>
<tes:TestOperation>
<Request>name: tom hardy
zip = 900087
phone; 546-987-9909
</Request>
</tes:TestOperation>
</soapenv:Body>
</soapenv:Envelope>

Output in Queue
<Request>name: tom hardy.zip = 900087.phone; 546-987-9909. </Request>


The line feed (a new line) from SOAP UI is represented as a '.' in the Queue.

The Request element from my msg set is of type string. What changes should I do so that I may receive in my output queue the exact string (strings separated by line feed) as printed in the soap UI
Back to top
View user's profile Send private message
mqjeff
PostPosted: Tue Jan 14, 2014 7:33 am    Post subject: Reply with quote

Grand Master

Joined: 25 Jun 2008
Posts: 17447

The line feed is represented as a sequence of bytes on the queue. It's not represented as a ".".

This sequence of bytes may happen to be displayed as "." in whatever you are using to display the bytes of the message on the queue.

But that doesn't mean that it's the wrong sequence of bytes.
Back to top
View user's profile Send private message
smdavies99
PostPosted: Tue Jan 14, 2014 7:40 am    Post subject: Reply with quote

Jedi Council

Joined: 10 Feb 2003
Posts: 6076
Location: Somewhere over the Rainbow this side of Never-never land.

I second what 'mqjeff' has said.

Browse the message with a tool such as 'rfhutil' or amqsbcg. Both of these can show the HEX value that your flow has written,

Just using MQExplorer won't show you the real values.
_________________
WMQ User since 1999
MQSI/WBI/WMB/'Thingy' User since 2002
Linux user since 1995

Every time you reinvent the wheel the more square it gets (anon). If in doubt think and investigate before you ask silly questions.
Back to top
View user's profile Send private message
sandman147
PostPosted: Tue Jan 14, 2014 8:42 am    Post subject: Reply with quote

Apprentice

Joined: 01 Sep 2013
Posts: 42

Thank you for your valuable inputs
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 » Writing SOAP message to Queue Issue
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.