Kbase P128365: Is it possible to change the order of the parameters in a SOAP request?
Autor |
  Progress Software Corporation - Progress |
Acesso |
  Público |
Publicação |
  21/01/2008 |
|
Status: Unverified
GOAL:
Is it possible to change the order of the parameters in a SOAP request?
GOAL:
Does the WSA accept SOAP requests containing operation parameters in the wrong order?
FACT(s) (Environment):
All Supported Operating Systems
OpenEdge 10.x
Web Services
FIX:
No, it is not possible to change the order of the parameters in a SOAP request. According to section "3.5 soap:body" of the WSDL spec (http://www.w3.org/TR/wsdl), the wsdl "Parts are arranged in the same order as the parameters of the call". Therefore, parameter order should follow the same order as the order of the parameters defined in the procedure/operation. This would be regardless of whether one uses Document or RPC style SOAP messages. Per the WSDL, the order is laid out, especially in Doc/Literal, where the parameters are defined in a <sequence>, and order is explicit per XML Schema.