Webservice parameter (90 Views)
Reply
Occasional Collector
Cima
Posts: 1
Registered: ‎02-25-2014
Message 1 of 1 (90 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!

Please use plain text.
The opinions expressed above are the personal opinions of the authors, not of HP. By using this site, you accept the Terms of Use and Rules of Participation