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 NOVEMBER 05, 2016

Applies to:

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

Symptoms

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.

Changes

 [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]



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