Performance issue when using base64Binary data or MTOM for JAX-WS Webservice when using WS-Security!
(Doc ID 1324760.1)
Last updated on JANUARY 12, 2022
Applies to:Oracle WebLogic Server - Version 10.3.4 and later
Information in this document applies to any platform.
When using xs:base64Binary for sending data along with custom policy file, which uses HTTPS and authentication, to invoke the web service you will notice some performance issues. If you remove the policy file the issue isn't seen anymore.
This will be noticed even with inbuilt policy files when using MTOM; for e.g:
The issue can be reproduced at will with the following steps:
1. create jax-ws webservice with a security policy file for Eg: Wssp1.2-2007-Https-BasicAuth.xml.
2. create a client which invokes this web service
3. you will hit the issue
4.. take thread dumps to look at stackTrace.
From the thread dump analysis it seems that most of the processing time is related to a specific method:
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