Bob, Thanks for the feedback, but the global attribute mustUnderstand is declared in the SoapebXML.xsd. I think that the schema cannot recognise this attribute because it occurs after the imported file, but, I cant think of a way to get around this problem and the mustUnderstand attribute belongs to the ""http://schemas.xmlsoap.org/soap/envelope/" namespace. Also if I add just the attribute xmlns to the root element of the ebXML schema then, xerces gives the following error :
java.lang.NullPointerException at org.apache.xerces.framework.XMLParser.parse(XMLPArser.java:1083) at com.city3k.sashimi.tagbox.ValidateXMLResource.process(ValidateXMLResource.ja va:297) at com.city3k.sashimi.tagbox.ValidateXMLAction.process(ValidateXMLAction.java:4 7) at com.pingdynasty.tagbox.descender.NamespaceDescender.process(NamespaceDescend er.java:71) at com.pingdynasty.tagbox.descender.NamespaceDescender.descend(NamespaceDescend er.java:55) at com.pingdynasty.tagbox.descender.NamespaceDescender.process(NamespaceDescend er.java:74) at com.pingdynasty.tagbox.descender.NamespaceDescender.descend(NamespaceDescend er.java:55) at com.pingdynasty.tagbox.descender.NamespaceDescender.process(NamespaceDescend er.java:79) at com.pingdynasty.tagbox.TagEngine.process(TagEngine.java:57) at com.pingdynasty.tagbox.TagEngine.process(TagEngine.java:42) at com.ri3k.xml.messaging.SoapServlet.onMessage(SoapServlet.java:211) at javax.xml.messaging.JAXMServlet.doPost(JAXMServlet.java:176) at com.ri3k.xml.messaging.SoapServlet.doPost(SoapServlet.java:331) at javax.servlet.http.HttpServlet.service(HttpServlet.java:760) at javax.servlet.http.HttpServlet.service(HttpServlet.java:853) at org.apache.tomcat.core.ServletWrapper.handleRequest(ServletWrapper.java:503) at org.apache.tomcat.core.ContextManager.service(ContextManager.java:559) at org.apache.tomcat.service.http.HttpConnectionHandler.processConnection(HttpC onnectionHandler.java:160) at org.apache.tomcat.service.TcpConnectionThread.run(SimpleTcpEndpoint.java:338 ) at java.lang.Thread.run(Unknown Source) Also with the original schemas, I get the following additional errors The xml document is not valid according to the schema :: <error>1:120: General Schema Error: Schema in C:\jakarta-tomcat\webapps\soap\schemas\SoapebXML.xsd has a different target namespace from the one specified in the instance document :.</error> <error>1:120: Error: constraint 3.x.3: Attribute 'form' cannot appear in element 'attribute'.</error> <error>1:120: Schema error: no attribute named "mustUnderstand" was defined in schema : .</error> <error>1:239: Attribute "mustUnderstand" must be declared for element type "eb:MessageHeader".</error> <error>1:915: Attribute "location" is required and must be specified for element type "Schema".</error> Any additional help is much appreciated, Thanks a lot, Priya --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]