My Oracle Support Banner

SOAPBinding Annotation With SOAPBinding.Style.RPC Makes Deployment Impossible In WLS 12.2.1.4 (Doc ID 2638123.1)

Last updated on APRIL 24, 2024

Applies to:

Oracle WebLogic Server - Version 12.2.1.4.0 and later
Information in this document applies to any platform.

Symptoms

On : 12.2.1.4.0 version, WLS-WebServices

SOAPBinding annotation with SOAPBinding.Style.RPC makes deployment impossible in WLS 12.2.1.4

When using
@SOAPBinding
  ( style=SOAPBinding.Style.RPC
  , use=SOAPBinding.Use.LITERAL
  , parameterStyle=SOAPBinding.ParameterStyle.WRAPPED
  )

The webservice application cannot be started on deployment because of this error 

BEA-149265, java.lang.IllegalArgumentException: argument contains null

Caused By: java.lang.IllegalArgumentException: argument contains null
  at com.sun.xml.txw2.Document.writeValue(Document.java:145)
  at com.sun.xml.txw2.Document.writeValue(Document.java:149)
  at com.sun.xml.txw2.StartTag.addAttribute(StartTag.java:135)
  at com.sun.xml.txw2.ContainerElement._attribute(ContainerElement.java:318)
  at com.sun.xml.txw2.ContainerElement.addAttribute(ContainerElement.java:175)
  at com.sun.xml.txw2.ContainerElement.invoke(ContainerElement.java:149)
  at com.sun.proxy.$Proxy201.type(Unknown Source)
  at com.sun.xml.ws.wsdl.writer.WSDLGenerator.generateSOAPMessages(WSDLGenerator.java:517)
  at com.sun.xml.ws.wsdl.writer.WSDLGenerator.generateMessages(WSDLGenerator.java:489)
  at com.sun.xml.ws.wsdl.writer.WSDLGenerator.generateDocument(WSDLGenerator.java:431)
  at com.sun.xml.ws.wsdl.writer.WSDLGenerator.doGeneration(WSDLGenerator.java:316)
  at com.sun.xml.ws.db.DatabindingImpl.generateWSDL(DatabindingImpl.java:258)
  at com.sun.xml.ws.server.EndpointFactory.generateWSDL(EndpointFactory.java:690)
 


Changes

 

Cause

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
Symptoms
Changes
Cause
Solution
References


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