ERP Web Services Transfer Object
Webservices are both available as destination (input parameters) or source (output parameters). Create an ERP object as described above.
Double-click on transfer object to set the following properties:
ERP access data | Select one of the configured web service sets of access data. |
Method | Select the method to be called. |
Wsdl URL dynamical | Enable to pass the URL dynamically at runtime. However, the method and the parameters must be identical. |
Timeout | Time (in ms) that the connection may take before a connection error is returned. |
All input and output parameters of the webservice can be used.
Parameter of Type “Array”
Parameters of type “Array” offer two possibilities:
- Activate the property Size of array dynamic to read all elements within the array.
- Limit the number of elements read by defining an number of nodes. The number of nodes corresponds to the number of elements reads. Attention: The webservice, not the OPC Router defines which elements are delivered.
-
Leave property Size of array dynamic deactivated.
-
Select the array.
-
Click on “Add node”. These nodes appear within the array.
-
Add as many nodes as desired.
Remove a node by selecting it and click on “Remove node”.
-
Nested classes with parameters do not support dynamic parameters. Do you still want to use nested classes so must be defined before how many elements the array has since all nodes have to be created by themselves.
Data type “Integer”
The type “integer” represents by XSD-standard an infinite number that can only be stored as a string. If an integer has to be passed, the web service must use the “int” data type, which is read out correctly.