WebService Publisher
The WebService publisher is able to call SOAP and WCF based web services. By default the publisher will attempt to locate a service definition, or one can be provided.
Parameters
-
Url — WebService URL
-
Service — Service Name
-
Wsdl — Path or URL to WSDL for web service (optional)
-
ErrorOnStatusCode — Error when status code isn’t 200 (optional, default true)
-
Timeout — How long to wait in milliseconds for data/connection (optional, default 3,000)
-
Throttle — Time in milliseconds to wait between connections (optional, default 0)
Actions
-
call — Method attribute is method on web service to call.
Examples
Example calling web service
<DataModel name="TheDataModel"> <String name="value" /> </DataModel> <StateModel name="TheState"> <State name="initial"> <Action type="call" method="Login"> <Param name="user"> <DataModel ref="TheDataModel"/> <Data> <Field name="value" value="mike" /> </Data> </Param> <Param name="pass"> <DataModel ref="TheDataModel"/> <Data> <Field name="value" value="Password!" /> </Data> </Param> </Action> </State> </StateModel> <Test name="Default"> <!-- ... --> <Publisher class="WebService"> <Param name="Url" value="http://localhost:5903/TestService.svc" /> <Param name="Service" value="TestService" /> </Publisher> </Test>