huaxing-yuan / hummingbird

Resources of Hummingbird TestManager (Code Examples, Extensions, ...)
0 stars 0 forks source link

Import WSDL with no SoapAction, Add DispatchByBody automatically #12

Closed huaxing-yuan closed 5 years ago

huaxing-yuan commented 5 years ago

When importing an WSDL for operations without SoapAction, Add DispatchByBodyAttribute automatically.

WCF is not happy when the service has no SoapAction defined, because by default operations are dispatched by soap action. and there are more than one operation have the same soap action => empty.

For these services, WCF should work with DispatchByBody methode, the generated code must have this attribute when using as service simulation.

huaxing-yuan commented 5 years ago

intermedia solution: When there are at least 2 operations have empty Soap Action, warn user if DispatchByBody option is not checked.

huaxing-yuan commented 5 years ago

implemented in commit of 01/03/2019