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 » Facing issue while getting Response as base64binary incoded

Post new topic  Reply to topic
 Facing issue while getting Response as base64binary incoded « View previous topic :: View next topic » 
Author Message
itsmanu1
PostPosted: Tue Aug 04, 2015 1:30 am    Post subject: Facing issue while getting Response as base64binary incoded Reply with quote

Newbie

Joined: 04 Aug 2015
Posts: 1

Hi Guys,

I have SOAP Input Node->ESQL Compute node(building request)-> Soap Request Node -> ESQL Compute node(building response)-> Soap reply node.

While i invoke the web service i will get SOAP attachment(base64binary incoded), i am not not able to unzip and decode to see the XML Structure.

i am capturing that message in BLOB but still not able to parse that.

we are getting below data in blob.
Code:
BLOB = X'483473494141414141414141414c3256775737694d42434737336d4b4b4
4306e74674e73437a4b753073414b7043324e494c523751315a6930556768
726d7754327266666f57584c4b6953720a534a4751496b637a76326338332
b2b44366633374c72644c6f58516d69374644504f7a596f6b686b6d6858627
3624f4f663770337a6a327a6143674c324c51465354786b615844674b74553
20a6c425a36374c7761387a5a433648413465416e507450515375554e6163
6c525874436c393731326e4e7734306652526138363259435a344b4258476
3376353454738463854415975766e58390a59557a384552364d2f44754b76
6c574c727552654a594b4677587a31524e457073756a7a467759726f623550
4d4359552f55315a464656504f3855522f38676c547938596c304c7663364f5
80a4970487171475a365868696854436259416737394a37526f564d685573
4f687073706e2b446d665463484f3757532f6d735533634946704d4b507253
4c61715456354875632f41326c4e41310a4b376952696b5772384947696573
32695a61624d6e75637755667a784a746a7a66426d7667312f325a506f5948
4674585a44425241642f6e624358507753384f75646d534558415166734278
0a6b715a46656e5430322b73656a6a455a595179662b376b4359325872755
8686c754449583562692b2f4c775a544839686f4d427155584d6374484c644
64a327a634756314c45313877785a380a666a652b426e75757775666a466e
7939626e774e396c79486a3754673633666a6137446e4f6e782b433735424
e373447653637443132764239364d6258344d394654375338346239626f7a
6f0a2f303842756e6736617038365a7630426966616f716c34484141413d'



Please have a look in suggest how can i parse this blob.

Any guidence appreciated.
Back to top
View user's profile Send private message
maurito
PostPosted: Tue Aug 04, 2015 2:50 am    Post subject: Reply with quote

Partisan

Joined: 17 Apr 2014
Posts: 358

Have you looked at the available ESQL string manipulation/miscellaneous functions ?
Back to top
View user's profile Send private message
fjb_saper
PostPosted: Tue Aug 04, 2015 4:42 am    Post subject: Re: Facing issue while getting Response as base64binary inco Reply with quote

Grand High Poobah

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

itsmanu1 wrote:
Hi Guys,
....

While i invoke the web service i will get SOAP attachment(base64binary encoded), i am not not able to unzip and decode to see the XML Structure.

i am capturing that message in BLOB but still not able to parse that.

......


Please have a look in suggest how can i parse this blob.

Any guidence appreciated.


Well your request has some strange strange logic in it:
Quote:
will get SOAP attachment(base64binary encoded)

Quote:
I am not not able to unzip and decode to see the XML Structure


So the questions: Why are you trying to unzip something that is base 64 binary encoded?
I would expect you'd have to first decode it than inspect it to see what it is (it may or may not be zipped depending on your service), and finally parse it if indeed it is XML...

Have fun
_________________
MQ & Broker admin
Back to top
View user's profile Send private message Send e-mail
inMo
PostPosted: Tue Aug 04, 2015 5:32 am    Post subject: Reply with quote

Master

Joined: 27 Jun 2009
Posts: 216
Location: NY

Quote:
So the questions: Why are you trying to unzip something that is base 64 binary encoded?


Back to top
View user's profile Send private message
mqjeff
PostPosted: Tue Aug 04, 2015 6:25 am    Post subject: Reply with quote

Grand Master

Joined: 25 Jun 2008
Posts: 17447

There is documentation on working with Soap With Attachments (SwA) in the Knowledge center.
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 » Facing issue while getting Response as base64binary incoded
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.