This PR will enable wasabi to automatically include the proper input message by inspecting the WSDL document. Sometimes, the operation name in the binding isn't the exact input message that is expected. The real input message is usually specified in a message element. This is best shown by example:
In this example, the operation's input name is authenticate, and the message attribute is tns:authenticate. Neither of these are the proper, expected input message of AuthenticateUser. For this, we need to walk up the portType, then to the matching message to get the actual input message of AuthenticateUser. See Savon PR #277 to get the full picture on how this all works together, and enables you to pass a single symbol into the Savon::Client#request method and get automatic namespace mapping, as well as the proper operation name -> input message mapping.
This PR will enable wasabi to automatically include the proper input message by inspecting the WSDL document. Sometimes, the
operation
name in thebinding
isn't the exact input message that is expected. The real input message is usually specified in amessage
element. This is best shown by example:In this example, the
operation
'sinput
name isauthenticate
, and themessage
attribute istns:authenticate
. Neither of these are the proper, expected input message ofAuthenticateUser
. For this, we need to walk up theportType
, then to the matchingmessage
to get the actual input message ofAuthenticateUser
. See Savon PR #277 to get the full picture on how this all works together, and enables you to pass a single symbol into theSavon::Client#request
method and get automatic namespace mapping, as well as the proper operation name -> input message mapping.