Customizing a Service Control: Specifying Conversation Shape

This topic describes customizations you can make to a Service control's CTRL file to modify the control's default behavior.

To learn more about controls, see Controls: Using Resources from a Web Service.

To learn more about Service controls, see Service Control: Using Another Web Service.

To learn more about customizing Service controls, see Customizing a Service Control: Overview.

# Changing a Service Control's Conversation Shape

The conversation shape of a Service control (or a web service) is the specific configuration of conversation phases on the various methods or callbacks of the service. If you change the conversation phase of any method or callback, you have changed the conversation shape of the service.

You may change a Service control's conversation shape by adding @jws:conversation tags to individual operations in the Service control's CTRL file.

Modifying the conversational shape of a Service control is not recommended. It is easy to inadvertently introduce incompatibilities with the target web service's public contract.

In particular, WebLogic Workshop web services that use conversations expect special SOAP headers containing conversation parameters to be included in every conversational message. If the target web service is not capable of understanding WebLogic Workshop conversation SOAP headers, including them in messages by adding @jws:conversation tags to the Service control's methods will violate the web service's contract and prevent successful communication with the web service.

To learn more about conversations, see Maintaining State with Conversations.

To learn more about the @jws:conversation tag, see @jws:conversation Tag.

Related Topics

Maintaining State with Conversations

Implementing Conversations