Posted: Wed Jan 13, 2010 3:11 am Post subject: Problem with SOAPExtract / Envelope Destination
Centurion
Joined: 05 Dec 2006 Posts: 146 Location: Leersum, The Netherlands
Hi,
If the output from the "Envelope Destination" option of the SOAP extract node is re-used in a XML message (in my case it was re-used in a WMB Monitor Event message because I added the local environment to "Event payload") then this XML uses a namespace that is not declared.
Below the parser error.
Code:
BIP5004E: An XML parsing error ''The namespace prefix "xmlns" was not declared.'' occurred on line 1
column 2958 when parsing element ''/Root/XMLNSC/http://www.ibm.com/xmlns/prod/websphere/m
essagebroker/6.1.0/monitoring/event:event/http://www.ibm.com/xmlns/prod/websphere/messageb
roker/6.1.0/monitoring/event:applicationData/http://www.ibm.com/xmlns/prod/websphere/messa
gebroker/6.1.0/monitoring/event:complexContent/MSB/debug/LocalEnvironment/SOAP/Envelope/SO
AP/Context/Namespace''. Internal error codes are '1550' and '2'.
This error was reported by the generic XML parser, and is usually the result of a badly fo
rmed XML message.
I can fix this by adding a namespace declaration for 'xmlns' to LocalEnvironment/SOAP after the SOAP extract node, however I think the SOAPextract node must do this (or it must store the namespace info as "normal" xml element values and not as namespaces).
Is it correct what I say above and must I submit a ticket to WMB support?
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