Hello,

has anyone tried to use JAXP1.3 with JBoss 4.02?

I am trying to use JAXP 1.3's XML validation in a simple web app deployed 
within JBoss 4.02. that read a SOAPEnvelope in the request and validates the 
body content and sends a response back. 

I have included the JAXP1.3 jars in the WEB-INF/lib directory in the WAR and 
when I try to send a SOAP request and try extract the SOAP Envelope using

SOAPMessage soapMessage = 
              messageFactory.createMessage(mimeHeaders,sInputStream);

I get the following stack trace. looks like the XML Utils thats invoked 
internally by the createMessage() is compatible with JAXP1.2. Is my 
understanding correct?

=================
java.lang.NoSuchMethodError: getSchema
        at 
com.sun.org.apache.xerces.internal.jaxp.DocumentBuilderImpl.(Ljavax.xml.parsers.DocumentBuilderFactory;
Ljava.util.Hashtable;)V(Unknown Source)
        at 
com.sun.org.apache.xerces.internal.jaxp.DocumentBuilderFactoryImpl.newDocumentBuilder()Ljavax.xml.parsers.Doc
umentBuilder;(Unknown Source)
        at 
org.jboss.axis.utils.XMLUtils.newDocument()Lorg.w3c.dom.Document;(XMLUtils.java:252)
        at 
org.jboss.axis.message.SOAPDocumentImpl.(Lorg.jboss.axis.MessagePart;)V(SOAPDocumentImpl.java:70)
        at 
org.jboss.axis.MessagePart.(Lorg.jboss.axis.Message;Ljava.lang.Object;Z)V(MessagePart.java:1122)
        at 
org.jboss.axis.Message.setup(Ljava.lang.Object;ZLjava.lang.String;Ljava.lang.String;Ljavax.xml.soap.MimeHeade
rs;)V(Message.java:366)
        at 
org.jboss.axis.Message.(Ljava.lang.Object;ZLjavax.xml.soap.MimeHeaders;)V(Message.java:212)
        at 
org.jboss.axis.soap.MessageFactoryImpl.createMessage(Ljavax.xml.soap.MimeHeaders;Ljava.io.InputStream;)Ljavax
.xml.soap.SOAPMessage;(MessageFactoryImpl.java:120)

thanx
-ram



View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3894973#3894973

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3894973


-------------------------------------------------------
SF.Net email is sponsored by:
Tame your development challenges with Apache's Geronimo App Server. Download
it for free - -and be entered to win a 42" plasma tv or your very own
Sony(tm)PSP.  Click here to play: http://sourceforge.net/geronimo.php
_______________________________________________
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to