cancel
Showing results for 
Search instead for 
Did you mean: 

How can I call a Web Service in a Web Dynpro Application??

Former Member
0 Kudos

Hi All,

does anybody hav links, tutorials or what not??

Thanks, JJJ

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

Hi,

Yes you Can Call Web Services in Web dynpro, as you Have Model in Your the Project Tree in NWDS, right Click on Model and Create a model, it will ask you to Select Different Options like :

1. Import Adaptive RFC Model.

2. Import Adaptive Web Service Model.

3. Import Web Dynpro Model From UML Definition (XMI format) - Deprecated.

4. Import Java Bean Model.

5. Import Web Service Model - Deprecated.

Select the second option - Import Adaptive Web Service Model.

Click Next. it will ask you to give a Model name and Model Package. Now Select The WSDL file Source in the Given Options as Suitable to you and Click Next (i have selected local File System or URL).

Now you Will Be having Two Options Creating Logical Destinations or No Logical Destinations select one of them that will apt to you and Click Next.

Now it will Display the Web Service Model Information about NameSpace, Editable Alais, Entity Name, Editable Model Class Name, Final Model Class Name. Click Next it will Show the Import Log - Detailed Description of the model Import Status.

Now Click Finish. This Will Create web service Model and fetch Data from Web Service in this Way.

The Following Links show you how to create a webservice model in Web Dynpro Application.

[Web Service Example|https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/c0d9336b-b4cf-2910-bdbf-b00d89bd2929]

[Tutorial|https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/c0b53558-6df6-2910-cfbf-a63316bb0fad]

[Blog on Webservice using Web Dynpro|https://www.sdn.sap.com/irj/sdn/weblogs?blog=/pub/wlg/6604] [original link is broken] [original link is broken] [original link is broken];

[WDJ - Highlights of Adaptive Web Service Model|https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/b04308ed-62d5-2910-b3a6-c26771b1c78e]

I Hope This Information Might Be Helpful For you.

Regards,

Sharma.