|
Rank: Newbie
Joined: 6/10/2021 Posts: 2 Location: India
|
I need help on the below requirement
1.In my XML file, Container collection having 2 container nodes which consists of Container number for each node(Please refer below structure)
I have also atttached snap shot for reference. Sample input data XML <Container Collection> <Container> <ContainerNumber>SED6537789</ContainerNumber> </Container> <Container> <ContainerNumber>SED6537788</ContainerNumber> </Container> </Container Collection>
2.My requirement is to send container number as an input parameter to Post Method API in Template.
3.We are getting API response if we send only one containerNumber to API, but the challenge is, in XML I have 2 container numbers,I need to send both at a time one after another in a single API call.How can i Achieve this?
4. API response should contain two Container details(Json response)
Expected Output:Need to get 2 API responses for each containernumber
Can any one please guide me on this.Thanks in Advance. pranith attached the following image(s):
|
|
Rank: Advanced Member
Joined: 2/27/2009 Posts: 564
|
Is the parameter set as repeating in the web service call settings? See "Defining Web Service Parameters" on this page.
|
|
Rank: Newbie
Joined: 12/21/2022 Posts: 1 Location: USA
|
Can anyone help on this? I am unable to call multiple Webservice calls (my input xml having more than 1 input). It's calling only the last request.
TIA
|
|
Rank: Advanced Member
Joined: 2/27/2009 Posts: 564
|
Beginner1 wrote:Can anyone help on this? I am unable to call multiple Webservice calls (my input xml having more than 1 input). It's calling only the last request.
I highly recommend you contact Altova Support directly. That being said, you probably simply need to connect the XML item in your input which represents each of the more-than-one 'input' you mentioned to the 'Request' item of your web service call.
|
|
guest |