Ask and answer questions about WebRatio, WebML and BPMN

Hello,

I have a request for a webservice. The webservice defines the params with an specific order (parameterOrder=), and some of them are required but others not.

I have declared the "request params" in the order of the webservice, but Webratio sends the request in a diferent order: first send the params with some value and at the end, it sends the params with a null value. The result is that the webservice is unable to process the request.

Is there a way to force the order of the params? Is it possible to insert a NULL value?

Thanks

asked 24 Jan, 07:38

gggv16's gravatar image

gggv16
25234
accept rate: 50%


Hi,

the order of the parameters depends by the order in which they are added. If you want to define a specific order you can try to:

  • Remove and re add the Parameters in the desired order.
  • Or prepare a custom trasformation. For more details about the Web Services you can refer to this article of our wiki: Getting started with Web Services
link

answered 25 Jan, 12:04

albertomolinaroli's gravatar image

albertomolin...
63424
accept rate: 62%

Thanks for your answer.

I've finally solved the problem with an "enter" in the coupling window for every param that has a null value. With this "null", the params are sent in their right order becuse they are not treated as void.

link

answered 25 Jan, 12:14

gggv16's gravatar image

gggv16
25234
accept rate: 50%

Your answer
toggle preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text](http://url.com/ "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported

Tags:

×3
×1

Asked: 24 Jan, 07:38

Seen: 241 times

Last updated: 25 Jan, 12:14

©2001-2011 Web Models s.r.l. All rights reserved