My Oracle Support Banner

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

Last updated on OCTOBER 18, 2023

Applies to:

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

Symptoms

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.

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

NOTE:  The attribute values used in this article represent fictitious sample names that are made up as example. Any similarity to actual code, is purely coincidental and not intended in any other manner.

Request

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

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.