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 APRIL 06, 2018

Applies to:

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


A project has 3 web service 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 mixsure of bindings. SOAPBinding.Style.RPC and SOAPBinding.Style.DOCUMENT in the 3 web services.


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


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