The only methods available for use in synchronous communication are those that were selected for the port implementation. Methods from other port implementations cannot be used, and XML messages from asynchronous communication flows cannot be used. To change the available methods, rerun the appropriate binding wizard and select different methods.
The IN and OUT parameters are automatically determined by the parameter requirements of the method that you choose. Both parameter lists contain the name and data type of the parameter. In addition to any parameters associated with the method, a message also contains certain required system fields. A synchronous message always contains the following system fields:
This system field is a required IN parameter for the method used in a synchronous message.
This system field is a required OUT parameter for the method used in a synchronous message.
When you create a synchronous communication, a Message is created on the Data page. The Message corresponds to the method and parameters that are used in the communication flow. The Message contains all IN parameters for the method, and all OUT parameters for the method.
It is possible for a method to contain no parameters; however, the Message always contains required system fields. The Message schema is shown in the following example:
Method name_in __Sender__ string parameter 1 Data type 1 parameter 2 Data type 2 parameter n Data type n Method name_out __Status__ string Parameter 1 Data type 1 Parameter 2 Data type 2 Parameter n Data type n
The following illustration shows a synchronous message pair that contains the system fields __Sender__ and __Status__, as well as IN and OUT parameters for the method call.