Author |
Message
|
itsmanu1 |
Posted: Tue Aug 04, 2015 1:30 am Post subject: Facing issue while getting Response as base64binary incoded |
|
|
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 |
|
 |
maurito |
Posted: Tue Aug 04, 2015 2:50 am Post subject: |
|
|
Partisan
Joined: 17 Apr 2014 Posts: 358
|
Have you looked at the available ESQL string manipulation/miscellaneous functions ? |
|
Back to top |
|
 |
fjb_saper |
Posted: Tue Aug 04, 2015 4:42 am Post subject: Re: Facing issue while getting Response as base64binary inco |
|
|
 Grand High Poobah
Joined: 18 Nov 2003 Posts: 20756 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 |
|
 |
inMo |
Posted: Tue Aug 04, 2015 5:32 am Post subject: |
|
|
 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 |
|
 |
mqjeff |
Posted: Tue Aug 04, 2015 6:25 am Post subject: |
|
|
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 |
|
 |
|