|
Key
This line was removed.
This word was removed. This word was added.
This line was added.
|
Changes (6)
View Page HistoryStart Petals Studio.
In the menu, select *File > New > Service-Unit Project*. Petals Service Consumer*.
If you do not see it, go into *File > New > Other...* Then, select *Service-Unit Project* *Petals Service Consumer* under the *Petals* category.
\\
In the *Use Case* list, select *Communication*.
In the *Petals Component* list, select *SOAP // petals-bc-soap*.
In the *Petals Component* list, select *SOAP // petals-bc-soap*.
In the *Component Usage* list, select *Consume a Petals service (or Expose it outside the bus)*.
In the *Component Version* list, select the version of the Petals-BC-SOAP that you are using in Petals.
\\
\\
In the scope of this tutorial, we are going to work with the version 4.01 of the SOAP component.
Which gives us:
\\
This page also defines the operation to invoke and the Message Exchange Pattern (MEP).
The Message Exchange Pattern (MEP) defines the interactions between the SOAP client and the web service.
In the version 4.0 of the SOAP component, you have to set explicitely the MEP (the operation is deduced from the SOAP message).
In the version 4.1, the operation name and the MEP will be deduced from the SOAP message.
\\
The Message Exchange Pattern (MEP) defines the interactions between the SOAP client and the web service.
In the version 4.0 of the SOAP component, you have to set explicitely the MEP (the operation is deduced from the SOAP message).
In the version 4.1, the operation name and the MEP will be deduced from the SOAP message.
\\
You can obviously fill-in these fields by hand.
However, the most efficient way is to use the [Petals Services explorer|Getting familiar with the Petals Services view] (provided it was populated).
However, the most efficient way is to use the [Petals Services explorer|Getting familiar with the Petals Services view] (provided it was populated).
\\
Click *Next*.
h2. Specifying the CDK parameters
The CDK is the Petals framework to develop JBI components.
The Petals-BC-SOAP component was developed with this framework.
This page requires information related to the CDK.
In the case of the SOAP component, version 4.x, you only have one field to set: the MEP.
The Message Exchange Pattern (MEP) defines the interactions between the SOAP client and the web service. Unfortunately, this version of the SOAP component cannot guess the MEP from the invoked operation. This is why it has to be set in the configuration.
\\
The meaning of all the CDK parameters for SOAP can be found in the documentation of the [Petals-BC-SOAP|petalscomponents:Petals-BC-SOAP] component.
!petals-studio-tuto-consumes-soap-6.jpg!
\\
h2. Specifying the CDK parameters
The CDK is the Petals framework to develop JBI components.
The Petals-BC-SOAP component was developed with this framework.
This page requires information related to the CDK.
In the case of the SOAP component, version 4.x, you only have one field to set: the MEP.
The Message Exchange Pattern (MEP) defines the interactions between the SOAP client and the web service. Unfortunately, this version of the SOAP component cannot guess the MEP from the invoked operation. This is why it has to be set in the configuration.
\\
The meaning of all the CDK parameters for SOAP can be found in the documentation of the [Petals-BC-SOAP|petalscomponents:Petals-BC-SOAP] component.
!petals-studio-tuto-consumes-soap-6.jpg!
\\
Click *Finish* to complete the wizard.