com.ctc.wstx.exc.WstxUnexpectedCharException When Sending Payload through OWSM (Doc ID 2076353.1)

Last updated on JANUARY 05, 2017

Applies to:

Oracle Web Services Manager - Version 11.1.1.7.0 and later
Information in this document applies to any platform.

Symptoms

In a SOA 11.1.1.7.5 environment, the following exception is being seen when a database client sends a request to a service:


OWSM Policy Fault :
com.ctc.wstx.exc.WstxUnexpectedCharException: Unexpected character ' ' (code 32) (missing name?) at [row,col {unknown-source}]:
Composite instances are not generated for rejected messages. Click the error message for details.

Stack Trace:

at [row,col {unknown-source}]: [148,180]
  at oracle.j2ee.ws.server.WebServiceProcessor.processRequest(WebServiceProcessor.java:262)
  at oracle.j2ee.ws.server.WebServiceProcessor.doService(WebServiceProcessor.java:195)
  at oracle.j2ee.ws.server.WebServiceServlet.doPost(WebServiceServlet.java:487)
  at oracle.integration.platform.blocks.soap.FabricProviderServlet.doPost(FabricProviderServlet.java:536)
  at javax.servlet.http.HttpServlet.service(HttpServlet.java:727)
  at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
  at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:227)
  at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:125)
  at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:301)
  at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:26)
  at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:60)
  at oracle.security.jps.ee.http.JpsAbsFilter$1.run(JpsAbsFilter.java:119)
  at oracle.security.jps.util.JpsSubject.doAsPrivileged(JpsSubject.java:324)
  at oracle.security.jps.ee.util.JpsPlatformUtil.runJaasMode(JpsPlatformUtil.java:460)
  at oracle.security.jps.ee.http.JpsAbsFilter.runJaasMode(JpsAbsFilter.java:103)
  at oracle.security.jps.ee.http.JpsAbsFilter.doFilter(JpsAbsFilter.java:171)
  at oracle.security.jps.ee.http.JpsFilter.doFilter(JpsFilter.java:71)
  at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:60)
  at oracle.dms.servlet.DMSServletFilter.doFilter(DMSServletFilter.java:163)
  at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:60)
  at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.wrapRun(WebAppServletContext.java:3748)
  at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3714)
  at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
  at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:120)
  at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2283)
  at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2182)
  at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1491)
  at weblogic.work.ExecuteThread.execute(ExecuteThread.java:256)
  at weblogic.work.ExecuteThread.run(ExecuteThread.java:221)
Caused by: com.ctc.wstx.exc.WstxUnexpectedCharException: Unexpected character ' ' (code 32) (missing name?)
at [row,col {unknown-source}]: [148,180]
  at com.ctc.wstx.sr.StreamScanner.throwUnexpectedChar(StreamScanner.java:612)
  at com.ctc.wstx.sr.StreamScanner.parseFullName(StreamScanner.java:1840)
  at com.ctc.wstx.sr.StreamScanner.parseEntityName(StreamScanner.java:1966)
  at com.ctc.wstx.sr.StreamScanner.resolveNonCharEntity(StreamScanner.java:1445)
  at com.ctc.wstx.sr.BasicStreamReader.nextFromTree(BasicStreamReader.java:2739)
  at com.ctc.wstx.sr.BasicStreamReader.next(BasicStreamReader.java:1054)
  at oracle.j2ee.ws.saaj.util.ResettableXMLStreamReader.next(ResettableXMLStreamReader.java:216)
  at oracle.j2ee.ws.saaj.soap.StaxHandler.staxParse(StaxHandler.java:80)
  at oracle.j2ee.ws.saaj.soap.StaxHandler.staxParseAllChildren(StaxHandler.java:157)
  at oracle.j2ee.ws.saaj.soap.ElementImpl.realizeCompletely(ElementImpl.java:1455)
  at oracle.j2ee.ws.saaj.soap.ElementImpl.getNextSibling(ElementImpl.java:1496)
  at oracle.j2ee.ws.saaj.soap.EnvelopeImpl.getHeader(EnvelopeImpl.java:118)
  at oracle.j2ee.ws.saaj.soap.MessageImpl.getSOAPHe

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