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 » The namespace for 'xmlns' cannot be bound to any prefix expl

Post new topic  Reply to topic
 The namespace for 'xmlns' cannot be bound to any prefix expl « View previous topic :: View next topic » 
Author Message
mustang
PostPosted: Fri Oct 12, 2007 12:33 pm    Post subject: The namespace for 'xmlns' cannot be bound to any prefix expl Reply with quote

Acolyte

Joined: 07 Feb 2006
Posts: 72

We use WMB 6.

We are getting the following parsing error when trying to navigate a message:

XML Parsing Errors have occurred; An error has been reported by the BIPXML4C component.; Null pointer; The namespace for 'xmlns' cannot be bound to any prefix explicitly. ; http://www.acme.com/ServiceMessage:ReplyServiceException;

It passes the MQInput node's XMLNSC parser. Here is the esql it chokes on:

Set Environment.Variables.referenceID = Coalesce(InputRoot.XMLNSC.*:Envelope.*:Body.*:*.*:EFileID.*:ID, 'Unknown');

Here is the message:
<soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:wsa="http://schemas.xmlsoap.org/ws/2004/03/addressing" xmlns:wsse="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd" xmlns:wsu="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd">
<soap:Header>
***
</soap:Header>
<soap:Body>
<RequestAddUpdate d3p1:sourceText="003" xmlns:d3p1="http://www.it.ojp.gov/jxdm/3.0.2" xmlns="http://www.acme.com/AgencyMessage">
<Action>
***
</Action>
</RequestAddUpdate>
<soap:Fault>
<faultcode>p747:&gt;ReplyServiceException</faultcode>
<faultstring>com.acme.services.message.v21.ReplyServiceException: acme.com.common.services.ServiceException &amp; HTTP-Status-Code=500 &amp; HTTP-Status-Line=HTTP/1.1 500 Internal Server Error</faultstring>
<detail>
<encodingStyle/>
<NS1:ReplyServiceException xmlns:NS1="http://www.acme.com/ServiceMessage">
<NS2:p747 xmlns:NS2="http://www.w3.org/2000/xmlns/">http://www.acme.com/ServiceMessage</NS2:p747>
<NS1:Message>com.acme.common.services.ServiceException</NS1:Message>
</NS1:ReplyServiceException>
</detail>
</soap:Fault>
</soap:Body>
</soap:Envelope>

The message passes the MQInput node's XMLNSC parser, and looks OK in various other XML tools (XML Spy, RFHUTLC).

Any suggestions would be much appreciated.

Thanks!
Back to top
View user's profile Send private message
jefflowrey
PostPosted: Fri Oct 12, 2007 12:45 pm    Post subject: Reply with quote

Grand Poobah

Joined: 16 Oct 2002
Posts: 19981

What does a User Trace (debug level) show?
_________________
I am *not* the model of the modern major general.
Back to top
View user's profile Send private message
kimbert
PostPosted: Sun Oct 14, 2007 10:53 am    Post subject: Reply with quote

Jedi Council

Joined: 29 Jul 2003
Posts: 5542
Location: Southampton

Here is your problem:
Code:
<NS1:ReplyServiceException xmlns:NS1="http://www.acme.com/ServiceMessage">
<NS2:p747 xmlns:NS2="http://www.w3.org/2000/xmlns/">http://www.acme.com/ServiceMessage</NS2:p747>
The XML standard allows you to use a namespace declaration to define a prefix for almost any namespace URI...but not "http://www.w3.org/2000/xmlns/". That URI is part of the XML standard, and is implicit.

See http://www.w3.org/TR/REC-xml-names/#ns-decl
Back to top
View user's profile Send private message
mustang
PostPosted: Mon Oct 15, 2007 7:32 am    Post subject: Reply with quote

Acolyte

Joined: 07 Feb 2006
Posts: 72

Thanks!
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 » The namespace for 'xmlns' cannot be bound to any prefix expl
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.