WS-Policy Enabled JAX-WS Web Service Application Causes Slow Processing Of SOAP Messages (Doc ID 1617623.1)

Last updated on MARCH 29, 2017

Applies to:

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

Symptoms

It is observed that after enabling security using WS-Policy for the Web Service Application , the performance issue is found i.e the SOAP messages are being processed slowly.

The below DOM tree getting created when registering the WS-Policy is causing the SOAP messages to be processed slowly.

com.sun.xml.ws.streaming.DOMStreamReader.(DOMStreamReader.java:240) com.sun.xml.ws.message.saaj.SAAJMessage.readPayload(SAAJMessage.java:439) com.sun.xml.ws.client.sei.ResponseBuilder$DocLit.readResponse(ResponseBuilder.java:553) com.sun.xml.ws.client.sei.StubHandler.readResponse(StubHandler.java:251)
com.sun.xml.ws.db.DatabindingImpl.deserializeResponse(DatabindingImpl.java:177)
com.sun.xml.ws.db.DatabindingImpl.deserializeResponse(DatabindingImpl.java:256)
com.sun.xml.ws.client.sei.SyncMethodHandler.invoke(SyncMethodHandler.java:128)
com.sun.xml.ws.client.sei.SyncMethodHandler.invoke(SyncMethodHandler.java:102)
com.sun.xml.ws.client.sei.SEIStub.invoke(SEIStub.java:172)
$Proxy102.getNewTestObject(Unknown Source)
sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
java.lang.reflect.Method.invoke(Method.java:601)
weblogic.wsee.jaxws.spi.ClientInstanceInvocationHandler.invoke(ClientInstanceInvocationHandler.java:84)
$Proxy94.getNewTestObject(Unknown Source)
jsp_servlet.__test._jspService(__test.java:198)

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