NAMESPACE_ERR when implementing a Web Service (Doc ID 1310275.1)

Last updated on NOVEMBER 02, 2016

Applies to:

Oracle Java CAPS - Version 5.1.3 and later
Information in this document applies to any platform.
***Checked for relevance on 05-Feb-2013***
***Checked for relevance on 07-July-2014***

Symptoms

On Java CAPS 5.1.3

When attempting to implement a Web Service the following error occurs:

[#|2011-03-29T10:06:20.096+0100|WARNING|IS5.1.3|javax.enterprise.system.stream.err|_ThreadID=16; ThreadName=http18001-Processor3;|ERROR: 'NAMESPACE_ERR: An attempt is made to create or change an object in a way which is incorrect with regard to namespaces.'|#]

[#|2011-03-29T10:06:20.152+0100|SEVERE|IS5.1.3|javax.xml.messaging.saaj.soap|_ThreadID=16; ThreadName=http18001-Processor3;|SAAJ0511: Unable to create envelope from given source|#]

[#|2011-03-29T10:06:20.154+0100|SEVERE|IS5.1.3|com.sun.xml.rpc.server|_ThreadID=16; ThreadName=http18001-Processor3;stacktrace-id=3;|JAXRPC.TIE.01: caught exception while handling request: javax.xml.rpc.JAXRPCException: com.sun.xml.messaging.saaj.SOAPExceptionImpl: Unable to create envelope from given source:
javax.xml.rpc.JAXRPCException: com.sun.xml.messaging.saaj.SOAPExceptionImpl: Unable to create envelope from given source:
at com.stc.wsserver.runtime.impl.HeaderExtractor.handleRequest(HeaderExtractor.java:127)
at com.sun.xml.rpc.client.HandlerChainImpl.handleRequest(HandlerChainImpl.java:82)
at com.sun.xml.rpc.server.StreamingHandler.callRequestHandlers(StreamingHandler.java:696)
at com.sun.xml.rpc.server.StreamingHandler.preHandlingHook(StreamingHandler.java:629)
at com.sun.xml.rpc.server.StreamingHandler.handle(StreamingHandler.java:70)
at com.sun.xml.rpc.server.http.JAXRPCServletDelegate.doPost(JAXRPCServletDelegate.java:316)
at com.sun.xml.rpc.server.http.JAXRPCServlet.doPost(JAXRPCServlet.java:74)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:768)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:861)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at org.apache.catalina.security.SecurityUtil$1.run(SecurityUtil.java:289)
at java.security.AccessController.doPrivileged(Native Method)
at javax.security.auth.Subject.doAsPrivileged(Subject.java:517)
at org.apache.catalina.security.SecurityUtil.execute(SecurityUtil.java:318)
at org.apache.catalina.security.SecurityUtil.doAsPrivilege(SecurityUtil.java:205)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:283)
at org.apache.catalina.core.ApplicationFilterChain.access$000(ApplicationFilterChain.java:102)
at org.apache.catalina.core.ApplicationFilterChain$1.run(ApplicationFilterChain.java:192)
at java.security.AccessController.doPrivileged(Native Method)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:263)
at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:156)
at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:569)
at org.apache.catalina.core.StandardContextValve.invokeInternal(StandardContextValve.java:261)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:215)
at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:156)
at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:569)

Cause

Sign In with your My Oracle Support account

Don't have a My Oracle Support account? Click to get started

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms