You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-user@axis.apache.org by John Ferron <jo...@alliantenergy.com> on 2006/07/12 19:12:22 UTC
[Axis2] Exception when instaniating QName object
Has anyone seen this error when trying to instantiate a QName object?
QName q = new QName(requestElement.getNamespace().getName(),
requestElement.getLocalName() , requestElement.getNamespace().getPrefix());
followed by error:
javax.servlet.ServletException: javax.xml.namespace.QName.<init>(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)V org.apache.jasper.runtime.PageContextImpl.handlePageException(Unknown Source) org.apache.jsp.ProcessSOAPMessage$jsp._jspService(ProcessSOAPMessage$jsp.java:258) org.apache.jasper.runtime.HttpJspBase.service(Unknown Source) javax.servlet.http.HttpServlet.service(HttpServlet.java:853) org.apache.jasper.servlet.JspServlet$JspServletWrapper.service(Unknown Source) org.apache.jasper.servlet.JspServlet.serviceJspFile(Unknown Source) org.apache.jasper.servlet.JspServlet.service(Unknown Source) javax.servlet.http.HttpServlet.service(HttpServlet.java:853) John
Re: [Axis2] Exception when instaniating QName object
Posted by Ajith Ranabahu <aj...@gmail.com>.
Hi,
What is the servlet engine you are using ? Perhaps a mismatch of the
servlet spec used ?
Ajith
On 7/12/06, John Ferron <jo...@alliantenergy.com> wrote:
>
>
> Has anyone seen this error when trying to instantiate a QName object?
>
> QName q = new QName(requestElement.getNamespace().getName(),
> requestElement.getLocalName() ,
> requestElement.getNamespace().getPrefix());
>
> followed by error:
>
> javax.servlet.ServletException:
> javax.xml.namespace.QName.<init>(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)V
> org.apache.jasper.runtime.PageContextImpl.handlePageException(Unknown
> Source)
> org.apache.jsp.ProcessSOAPMessage$jsp._jspService(ProcessSOAPMessage$jsp.java:258)
> org.apache.jasper.runtime.HttpJspBase.service(Unknown
> Source)
> javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
> org.apache.jasper.servlet.JspServlet$JspServletWrapper.service(Unknown
> Source)
> org.apache.jasper.servlet.JspServlet.serviceJspFile(Unknown
> Source)
> org.apache.jasper.servlet.JspServlet.service(Unknown
> Source)
> javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
>
> John
>
--
Ajith Ranabahu
---------------------------------------------------------------------
To unsubscribe, e-mail: axis-user-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-user-help@ws.apache.org