Author |
Message
|
Kireeti84 |
Posted: Wed Jun 24, 2015 5:41 am Post subject: Message flows is converting CDATA iinto XML |
|
|
Apprentice
Joined: 18 Oct 2013 Posts: 40
|
Need your help and expertise. we have migrated the the environment from version MB7 to IIB 9 and one of the service / Message flow which receives CDATA is converting the the CDATA into XML. The message flow has a soap input node. I dont understand why the code breaks after the migration ? we build this service last year and it has no issues till now. |
|
Back to top |
|
 |
smdavies99 |
Posted: Wed Jun 24, 2015 6:53 am Post subject: |
|
|
 Jedi Council
Joined: 10 Feb 2003 Posts: 6076 Location: Somewhere over the Rainbow this side of Never-never land.
|
Something that worked on V7 may not work on V9 simply because of a hole that allowed something that shouldn't work to work have been fixed.
I hope this is a test or Dev envionment.... and not PROD.
I suggest that you enable usertrace on the problem flow and see if it reveals a possible causeIf not then it is going to need some changes.
I've just done a similar upgrade and had to make a few small changes. IMHO this is not unexpected. _________________ 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 |
|
 |
Kireeti84 |
Posted: Thu Jun 25, 2015 10:55 am Post subject: |
|
|
Apprentice
Joined: 18 Oct 2013 Posts: 40
|
this is in stage. the user trace says the soap input node is stripping off the cdata and sending in xml. this flow uses soap 1.2. we have a similar flow and it works just fine but that uses soap 1.2. We opened a PMR and waiting to hear back from IBM. is this something related to OS ? after the forklift on this message flow breaks and rest of the flows working fine. any other thoughts ? |
|
Back to top |
|
 |
fjb_saper |
Posted: Thu Jun 25, 2015 12:07 pm Post subject: |
|
|
 Grand High Poobah
Joined: 18 Nov 2003 Posts: 20756 Location: LI,NY
|
Have you opened a PMR yet? Maybe you need to set the CDATA as opaque parsing?  _________________ MQ & Broker admin |
|
Back to top |
|
 |
GAKD |
Posted: Thu Jun 25, 2015 12:25 pm Post subject: I have recently just worked on such a requirement in IIB . |
|
|
Novice
Joined: 25 Jun 2015 Posts: 14
|
The CDATA section as soon as it comes out of SOAP input NODE gets converted into bitstream which may look similar to a XML when you see it in trace node after the SOAP input but its still bitstream. It cant be XML for sure. If you want it as XML then you need to parse it with CREATE function. It cant be just XML until and unless you do something on the bitsream data. |
|
Back to top |
|
 |
mqjeff |
Posted: Thu Jun 25, 2015 12:28 pm Post subject: |
|
|
Grand Master
Joined: 25 Jun 2008 Posts: 17447
|
If the CDATA has been parsed, the trace output will show a logical message tree for the CDATA field.
If it hasn't been parsed, the trace will show a single string. |
|
Back to top |
|
 |
GAKD |
Posted: Fri Jun 26, 2015 5:39 am Post subject: Yes the single string is nothing but the bitstream data |
|
|
Novice
Joined: 25 Jun 2015 Posts: 14
|
Yes the single string is nothing but the bitstream data |
|
Back to top |
|
 |
|