Absent Member.. Cima Absent Member..
Absent Member..
361 views

Webservice parameter

Hello.


I'm trying to send a SOAP request to a ws imported with HPOO wizard. One of the method parameters (columns.string0) is optional with zero or more occurrences. The problem is I only can send one parameter. If I try to duplicate the input by renaming with a 1 it or send multiple values as a list, there's no effect. Same answer as empty field.

 

How can I send multiple values for a parameter?

 

The xmlTemplate imported by the wizard for thin method is:

 

Spoiler

<soapenv:Envelope xmlns:soapenv="xxxxx" xmlns:urn="xxxxx" xmlns:urn1="xxxxx">

<soapenv:Header>

<urn:visa>?</urn:visa>
</soapenv:Header>
<soapenv:Body>
<urn1:Method>
<!--Optional:-->
<request>
<!--type: MethodFormat -->
<format>?</format>
<!--type: MethodGranularity -->
<granularity>?</granularity>
<!--type: DateTime-->
<timestamp>?</timestamp>
<query>
<!--type: Id-->
<partnerId>?</partnerId>
<!--Optional:-->
<!--type: String-->
<filter>?</filter>
<!--type: unsignedInt-->
<startRecordNumber>?</startRecordNumber>
<!--type: unsignedInt-->
<recordsCount>?</recordsCount>
<!--Optional:-->
<!--type: String-->
<orderBy>?</orderBy>
<!--Optional:-->
<columns>
<!--Zero or more repetitions:-->
<!--type: string-->
<string>?</string>
</columns>
<!--Optional:-->
<totals>
<!--Zero or more repetitions:-->
<!--type: string-->
<string>?</string>
</totals>
</query>
</request>
</urn1:Method>
</soapenv:Body>
</soapenv:Envelope>

 

 

And the inputMap:

 

 

Spoiler
Method|request|query|columns|*|string=columns.string*
Method|request|query|filter=filter
Method|request|format=format
Method|request|granularity=granularity
Method|request|query|orderBy=orderBy
Method|request|query|partnerId=partnerId
Method|request|query|recordsCount=recordsCount
Method|request|query|startRecordNumber=startRecordNumber
Method|request|timestamp=timestamp
Method|request|query|totals|*|string=totals.string*
visa=visa

 

 

 

Thank you in advance!

Labels (1)
Tags (2)
0 Likes
The opinions expressed above are the personal opinions of the authors, not of Micro Focus. By using this site, you accept the Terms of Use and Rules of Participation. Certain versions of content ("Material") accessible here may contain branding from Hewlett-Packard Company (now HP Inc.) and Hewlett Packard Enterprise Company. As of September 1, 2017, the Material is now offered by Micro Focus, a separately owned and operated company. Any reference to the HP and Hewlett Packard Enterprise/HPE marks is historical in nature, and the HP and Hewlett Packard Enterprise/HPE marks are the property of their respective owners.