How to invoke a Web Service

compared with
Key
This line was removed.
This word was removed. This word was added.
This line was added.

Changes (17)

View Page History
The invocation of web service is realized in 5 7 steps:
1 - run client application
2 - Click on: File->Add WSDL

{center}
!client-addwsdl.png|align=center,border=1!
*_create project_*
*_Add wsdl_*
{center}

3 - click on *"create project"* button
3 - Set Wsdl url

{center}
!sdk-create.png|align=center,border=1!
*_create project_*
!client-setwsdl.png|align=center!
*_Set wsdl url_*
{center}

4 - once this step is successfull, you can import project in eclipse IDE (click on File->import->General->Existing Project into workspace) to modify the bpel process if necessary or start the compilation by clicking on *"compile project"* button
4 - Once the service description is loaded, choose the operation to invoke by realizing a double-click

{center}
!sdk-compile.png|align=center,border=1!
*_compile project_*
!client-chooseoperation.png|align=center!
*_Choose operation to invoke_*
{center}

5 - once the compilation is successfull, you can run project. Click on *"run project"* button to do that.
5 - Set the value of operation parameters on the generated soap request.

{center}
!sdk-run.png|align=center,border=1!
*_run project_*
!client-setoperationparameters.png|align=center!
*_Set operation parameters values_*
{center}

6 - Call the web service by clicking on *"play"* button

{center}
!client-callwebservice.png|align=center!
*_Call web service provider_*
{center}

7 - Wait provider response or error

{center}
!client-receivedresponse.png|align=center!
*_Response received by provider_*
{center}