java.lang.NullPointerException thrown when using SOAP Binding BARE Parameter Style (Doc ID 1159973.1)

Last updated on MARCH 29, 2017

Applies to:

Oracle Weblogic Server - Version: 9.2 and later   [Release: and later ]
Oracle Workshop for Weblogic - Version: 9.2 to 9.2   [Release: 9.2 to 9.2]
Information in this document applies to any platform.

Symptoms

You will notice a NullPointerException during the invocation of the Webservice when setting 'SOAPBinding' parameterStyle to BARE.

eg.

The exception stacktrace will be similar to the one below:
java.lang.NullPointerException
at com.bea.xbeanmarshal.buildtime.internal.util.XmlBeanUtil.createWrappedXBeanTopElement(XmlBeanUtil.java:181)
at com.bea.xbeanmarshal.runtime.internal.PushMarshalResult.marshalType(PushMarshalResult.java:248)
at com.bea.xbeanmarshal.runtime.internal.PushMarshalResult.visit(PushMarshalResult.java:226)
at com.bea.xbeanmarshal.runtime.internal.XmlBeanTypeRuntimeBindingType.accept(XmlBeanTypeRuntimeBindingType.java:43)
...

Changes

Changing 'SOAPBinding' parameterStyle to BARE.

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