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 » Creating CSV from SOAP

Post new topic  Reply to topic
 Creating CSV from SOAP « View previous topic :: View next topic » 
Author Message
sree4vit
PostPosted: Tue Apr 24, 2012 5:47 am    Post subject: Creating CSV from SOAP Reply with quote

Novice

Joined: 05 Aug 2010
Posts: 21

Need to create a CSV from a SOAP message.

CSV should look like :
Quote:
HHHHHHHHHH
1,2,3,A
4,5,6,8
FFFFFFFFFF1


I have created a CSV message set which has,

Quote:
MsgSet : CSV, Delimitter as comma.
Complex Type:
Element1
Element2 - Repeating
Element3


But it creates the structure like this:
Quote:
HHHHHHHHHH,1,2,3,A,
,4,5,6,8
,FFFFFFFFFF1


What do i define to make sure there is a carriage return after HHHHHHHHHH and no Commas at the end of each line as well as beggining of the every new line?

Back to top
View user's profile Send private message
lancelotlinc
PostPosted: Tue Apr 24, 2012 5:51 am    Post subject: Reply with quote

Jedi Knight

Joined: 22 Mar 2010
Posts: 4941
Location: Bloomington, IL USA

There are about a dozen examples in the forum that do this task. Apparently, many freshers get the same work assignment on their first job. Use Google and find the examples.

http://www.mqseries.net/phpBB2/viewtopic.php?t=60445&sid=75c6f6588a9d13d45a88442d4e5612b0

http://www.mqseries.net/phpBB2/viewtopic.php?t=58354&sid=33023acfe1f6d95359bf94dd8701af90

http://www.mqseries.net/phpBB2/viewtopic.php?t=58142&sid=3ea5523431030bae2437ce55f8132466

http://www.mqseries.net/phpBB2/viewtopic.php?t=59801&sid=d6b21e3cc28c84bb857652b1fb38567b
_________________
http://leanpub.com/IIB_Tips_and_Tricks
Save $20: Coupon Code: MQSERIES_READER
Back to top
View user's profile Send private message Send e-mail
Vitor
PostPosted: Tue Apr 24, 2012 5:54 am    Post subject: Re: Creating CSV from SOAP Reply with quote

Grand High Poobah

Joined: 11 Nov 2005
Posts: 26093
Location: Texas, USA

sree4vit wrote:
NWhat do i define to make sure there is a carriage return after HHHHHHHHHH


If your file has records delimited by line feed, make it a new record. If not, insert a line feed

sree4vit wrote:
no Commas at the end of each line as well as beggining of the every new line?


Why commas at the beginning?
_________________
Honesty is the best policy.
Insanity is the best defence.
Back to top
View user's profile Send private message
kimbert
PostPosted: Tue Apr 24, 2012 6:16 am    Post subject: Reply with quote

Jedi Council

Joined: 29 Jul 2003
Posts: 5542
Location: Southampton

sree4vit: I assume that you are using the CSV sample in the Samples Gallery. If not, why not?
Back to top
View user's profile Send private message
sree4vit
PostPosted: Tue Apr 24, 2012 7:23 am    Post subject: Reply with quote

Novice

Joined: 05 Aug 2010
Posts: 21

Thanks very much guys for sharing the useful ideas and links.

Got it working
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 » Creating CSV from SOAP
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.