My Oracle Support Banner

WLS 10.3.3 - Client got null values from the response (Doc ID 1309418.1)

Last updated on APRIL 26, 2018

Applies to:

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


In WLS 10.3.3- User-defined types are NOT parsed correctly in JAX-RPC web services using the RPC/ENCODED SOAPBinding.

The web service client code generates requests that do not include the java: namespace, so user-defined types are not parsed correctly.

In the attached test case- you will find a JAX-RPC webservice using the RPC/Encoded SOAP Binding.

Deploy drewservice.ear using the weblogic console.

Then check for Service Request and Service Response for ComplexRPCImpl web service entry.

Below is the output  of a RPC/ENCODED SOAP Request generated in WLS 10.3.3

Service Request
<env:Envelope xmlns:env="">
<target:echoComplexType xmlns:target="">
<struct xmlns:java="java:examples.webservices.complex"
<!--Zero or more repetitions:-->

Service Response to above request is as below

<env:Envelope xmlns:env=""
<env:Header />
<m:echoComplexTypeResponse xmlns:m="">
<java:IntValue xmlns:java="java:examples.webservices.complex">0</java:IntValue>
<java:StringValue xmlns:java="java:examples.webservices.complex" xsi:nil="true" />

The expected result would be to have the StringValue in the response
equal to 'string' and the intValue equal to 3.All the values in the client code comes as null.

Modifying the request to include the java: namespace in front of each of the values causes the proper response to be generated.[i.e <java:IntValue>3</IntValue>]


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.