My Oracle Support Banner

WLS 9.0 - Invoking a JWSDP 1.5-based service hosted in WLS 9.0 fails with java.lang.UnsupportedOperationException at weblogic.webservice.core.soap.SOAPElementImpl.normalize() call - CR263571 (Doc ID 777100.1)

Last updated on SEPTEMBER 25, 2020

Applies to:

Oracle WebLogic Server - Version 9.0 to 9.0
Information in this document applies to any platform.
Information in this document applies to any platform


Goal

DESCRIPTION:
Invoking a service developed in JWSDP 1.5 (which uses SAAJ 1.2) hosted in WLS 9.0 (which uses SAAJ 1.2) from a Java
client results in:

Feb 9, 2006 8:26:42 PM com.sun.xml.rpc.server.StreamingHandler handle SEVERE: JAXRPCTIE01: caught exception while
handling request: java.lang.UnsupportedOperationException: This class does not support SAAJ 1.1
java.lang.UnsupportedOperationException: This class does not support SAAJ 1.1
at weblogic.webservice.core.soap.SOAPElementImpl.normalize(SOAPElementImpl.java:481)

The detailed test results are as follows:

In weblogic.webservice.core.soap.SOAPElementImpl.normalize() (where normalize() is part of org.w3c.dom.Node interface
which is implemented in SOAPElementImpl) implementation) doing a

public void normalize() {
throw new UnsupportedOperationException("This class does not support SAAJ 1.1");
}

Hence, the exception! The fact that this SOAPElementImpl supports SAAJ 1.2 and not SAAJ 1.1 is the reason why the said message is bieng thrown.

Note that all the methods from org.w3c.dom.Node and org.w3c.dom.Element, which are implemented in SOAPElementImpl,
throw the exception!

Server-side:

Feb 9, 2006 8:26:42 PM com.sun.xml.rpc.server.StreamingHandler handle SEVERE: JAXRPCTIE01: caught exception while
handling request: java.lang.UnsupportedOperationException: This class does not support SAAJ 1.1
java.lang.UnsupportedOperationException: This class does not support SAAJ 1.1
at weblogic.webservice.core.soap.SOAPElementImpl.normalize(SOAPElementImpl.java:481)
at com.sun.xml.rpc.streaming.XmlTreeReader.parse(XmlTreeReader.java:133)
at com.sun.xml.rpc.streaming.XmlTreeReader.next(XmlTreeReader.java:103)
at com.sun.xml.rpc.streaming.XMLReaderBase.nextContent(XMLReaderBase.java:23)
at com.sun.xml.rpc.streaming.XMLReaderBase.nextElementContent(XMLReaderBase.java:41)
at com.sun.xml.rpc.server.StreamingHandler.handle(StreamingHandler.java:154)
at com.sun.xml.rpc.server.http.JAXRPCServletDelegate.doPost(JAXRPCServletDelegate.java:443)
at com.sun.xml.rpc.server.http.JAXRPCServlet.doPost(JAXRPCServlet.java:102)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:763)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:214)
at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:120)
at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:272)
at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:165)
at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3022)
at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:121)
at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:1925)
at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:1848)
at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1288)
at weblogic.work.ExecuteThread.execute(ExecuteThread.java:207)
at weblogic.work.ExecuteThread.run(ExecuteThread.java:179)

Client-side:

<SOURCE HOME>ant run
Buildfile: build.xml
Trying to override old definition of task clientgen

run:
[java] ---------------------------------------------
[java] | <WSEE> Webservice running in Verbose mode |
[java] ---------------------------------------------
[java] java.rmi.RemoteException: SOAPFaultException - FaultCode
[{http://schemas.xmlsoap.org/soap/envelope/}Server] FaultString [JAXRPC.TIE.04: Internal Server Error (JAXRPCTIE01:
caught exception while handling request: java.lang.UnsupportedOperationException: This class does not support SAAJ
1.1)] FaultActor [null]No Detail; nested exception is:
[java] javax.xml.rpc.soap.SOAPFaultException: JAXRPC.TIE.04: Internal Server Error (JAXRPCTIE01: caught
exception while handling request: java.lang.UnsupportedOperationException: This class does not support SAAJ 1.1)
[java] at bea.client.FirstlogicIQServiceIF_Stub.runBatchDataflow(FirstlogicIQServiceIF_Stub.java:42)
[java] at Main.main(Main.java:31)
[java] Caused by: javax.xml.rpc.soap.SOAPFaultException: JAXRPC.TIE.04: Internal Server Error (JAXRPCTIE01:
caught exception while handling request: java.lang.UnsupportedOperationException: This class does not support SAAJ1.1)
[java] at weblogic.wsee.codec.soap11.SoapCodec.decodeFault(SoapCodec.java:221)
[java] at weblogic.wsee.ws.dispatch.client.CodecHandler.decodeFault(CodecHandler.java:105)
[java] at weblogic.wsee.ws.dispatch.client.CodecHandler.decode(CodecHandler.java:90)
[java] at weblogic.wsee.ws.dispatch.client.CodecHandler.handleFault(CodecHandler.java:78)
[java] at weblogic.wsee.handler.HandlerIterator.handleFault(HandlerIterator.java:254)
[java] at weblogic.wsee.handler.HandlerIterator.handleResponse(HandlerIterator.java:224)
[java] at weblogic.wsee.ws.dispatch.client.ClientDispatcher.handleResponse(ClientDispatcher.java:147)
[java] at weblogic.wsee.ws.dispatch.client.ClientDispatcher.dispatch(ClientDispatcher.java:103)
[java] at weblogic.wsee.ws.WsStub.invoke(WsStub.java:89)
[java] at weblogic.wsee.jaxrpc.StubImpl._invoke(StubImpl.java:320)
[java] at bea.client.FirstlogicIQServiceIF_Stub.runBatchDataflow(FirstlogicIQServiceIF_Stub.java:37)
[java] ... 1 more
[java] Exception in thread "main" java.rmi.RemoteException: SOAPFaultException - FaultCode
[{http://schemas.xmlsoap.org/soap/envelope/}Server] FaultString[JAXRPC.TIE.04: Internal Server Error (JAXRPCTIE01:
caught exception while handling request: java.lang.UnsupportedOperationException: This class does not support SAAJ
1.1)] FaultActor [null]No Detail; nested exception is:
[java] javax.xml.rpc.soap.SOAPFaultException: JAXRPC.TIE.04: Internal Server Error (JAXRPCTIE01: caught
exception while handling request: java.lang.UnsupportedOperationException: This class does not support SAAJ 1.1)
[java] at bea.client.FirstlogicIQServiceIF_Stub.runBatchDataflow(FirstlogicIQServiceIF_Stub.java:42)
[java] at Main.main(Main.java:31)
[java] Caused by: javax.xml.rpc.soap.SOAPFaultException: JAXRPC.TIE.04: Internal Server Error (JAXRPCTIE01:
caught exception while handling request: java.lang.UnsupportedOperationException: This class does not support SAAJ
1.1)
[java] at weblogic.wsee.codec.soap11.SoapCodec.decodeFault(SoapCodec.java:221)
[java] at weblogic.wsee.ws.dispatch.client.CodecHandler.decodeFault(CodecHandler.java:105)
[java] at weblogic.wsee.ws.dispatch.client.CodecHandler.decode(CodecHandler.java:90)
[java] at weblogic.wsee.ws.dispatch.client.CodecHandler.handleFault(CodecHandler.java:78)
[java] at weblogic.wsee.handler.HandlerIterator.handleFault(HandlerIterator.java:254)
[java] at weblogic.wsee.handler.HandlerIterator.handleResponse(HandlerIterator.java:224)
[java] at weblogic.wsee.ws.dispatch.client.ClientDispatcher.handleResponse(ClientDispatcher.java:147)
[java] at weblogic.wsee.ws.dispatch.client.ClientDispatcher.dispatch(ClientDispatcher.java:103)
[java] at weblogic.wsee.ws.WsStub.invoke(WsStub.java:89)
[java] at weblogic.wsee.jaxrpc.StubImpl._invoke(StubImpl.java:320)
[java] at bea.client.FirstlogicIQServiceIF_Stub.runBatchDataflow(FirstlogicIQServiceIF_Stub.java:37)
[java] ... 1 more

BUILD FAILED
<SOURCE HOME>\build.xml:88: Java returned: 1

Total time: 20 seconds

CONFIGURATION:
WLS 9.0

Solution

To view full details, sign in with your My Oracle Support account.

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


In this Document
Goal
Solution
References

My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.