Consuming XI Web Service in Java WebDynpro application

...Previous

Step2: Import the WSDL in NWDS and Create Views in NWDS 

Now got to the NWDS (Netweaver Developer’s Studio) 

Create a new WebDynpro Project 

 

Enter the Project Name for JavaWebDynpro and say Finish. 

 

Now Create a Model

 

Select Import Web Service Model and Say Next

 

Enter the Model Name, Model Package and select the radio button of Local File System or URL  and say Next.

Import the WSDL file (Which was created in PI(XI)) 

Check the path of the Target Address by clicking on Logical Ports. 

 

Create two Views called StartView and ResultView 

 

Create outbound plug and Inbound plug by right clicking on View

For StartView:

Outbound plug: ToResultView

Inbound plug: FromResultView 

Actions for StartView:

 

Layout for StartView:

Create a Layout for Start View 

Click on the root element and say Apply Template 

 

Now select Form and say Next.

 

Select the Attributes to bind to bind them to form elements 

 

In the Editor Column select InputField  

 

At last my Layout for StartView looks like

 

For ResultView:

Outbound plug: ToStartView

Inbound plug: FromStartView 

Actions for ResultView:

 

Create a Layout for ResultView

 

Select the Attributes to bind to bind them to form elements 

 

In the Editor Column select TextView 

 

At last my Layout for StartView looks like 

 

Check the Diagram View  

Click here to continue...

Please send us your feedback/suggestions at webmaster@SAPTechnical.COM 

HomeContribute About Us Privacy Terms Of Use • Disclaimer • SafeCompanies: Advertise on SAPTechnical.COM | Post JobContact Us  

Graphic Design by Round the Bend Wizards

footer image footer image