web service request in loop appending values (Doc ID 1025396.1)

Last updated on MAY 31, 2013

Applies to:

Oracle Java CAPS - Version 5.1.0 and later
Information in this document applies to any platform.
Information in this document applies to any platform.

Symptoms

In the project, there is a web service call in a loop. The two inputs (request parameters) need to be reset each time through the loop. The problem is that each time through, the new values get appended to the previous values.

say, the server.log file has:

[#|2007-04-19T17:28:57.575-0700|FINE|IS5.1.2|com.stc.wscommon.runtime.impl.Util|_ThreadID=50; ThreadName=Worker: 13;|output otd = <Program xsi:type="xsd:string" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> Test Test Test...

The string "Test" is appended each time in the loop.

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