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 » Parse SOAP with business object using DFDL

Post new topic  Reply to topic
 Parse SOAP with business object using DFDL « View previous topic :: View next topic » 
Author Message
rengajava
PostPosted: Thu Jul 02, 2015 3:59 pm    Post subject: Parse SOAP with business object using DFDL Reply with quote

Newbie

Joined: 10 Dec 2014
Posts: 6

Hi,

I have soap message like below. Please suggest me how to parse it using DFDL.

<soap:envelope xmlns:web="http://webservice">
<soap:header/>
<soap:body>
<web:Request>
<web:argvalue>
[Personals]
Name=renga
Country=India
[company]
Number of employee=5
City=newyork
</web:argvalue>
</web:Request>
</soap:body>
</soap:envelope>

This is sample format. Main objective is to parse this type of soap message.
I hope value of a inside web:argvalue looks business objects.

Please suggest me to parse it.
Thanks,
Rengaraj.
Back to top
View user's profile Send private message
kimbert
PostPosted: Fri Jul 03, 2015 1:08 am    Post subject: Reply with quote

Jedi Council

Joined: 29 Jul 2003
Posts: 5542
Location: Southampton

1. Get the value of web:argv value as a string
2. Convert the string to a BLOB using CAST
3. Pass the BLOB to the DFDL parser using CREATE...PARSE DOMAIN 'DFDL' ( plenty of examples elsewhere in this forum )

Step 2. may be optional. I seem to remember that the CREATE...PARSE statement auto-casts to BLOB using CCSID 1208 (UTF- and passes 1208 to the parser as the CCSID parameter. Worth trying it, anyway.

Hope that helps.
_________________
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 » Parse SOAP with business object using DFDL
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.