My Oracle Support Banner

Jwsc Ant Task For JAXWS Project Fails With "contains mixed bindings. SOAPBinding.Style.RPC and SOAPBinding.Style.DOCUMENT cannot be mixed.“ (Doc ID 1510684.1)

Last updated on JUNE 02, 2023

Applies to:

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


A project has 3 Webservice Java files. Two of them are RPC style web services and one of them is document style.


the following error happens:

Code check found no mixture of bindings. SOAPBinding.Style.RPC and SOAPBinding.Style.DOCUMENT in the 3 web services.


[jwsc] com\domain\subscriber\webservices\jaxws\
[jwsc] C:\MyWSTST\src\com\oracle\test\webservices\ Class: contains mixed bindings. SOAPBinding.Style.RPC and   SOAPBinding.Style.DOCUMENT cannot be mixed.
[jwsc] com\domain\subscriber\webservices\jaxws\
[jwsc] public class RPCStyle1 implements
[jwsc] ^
[jwsc] Note: [ProcessedMethods Class:]


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

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