cancel
Showing results for 
Search instead for 
Did you mean: 

Regarding Adaptive webservice model

Former Member
0 Kudos

Hai to Every one,

i have deployed webservice in server. I can see in and tested in Wsnavigator.

Now i want to import it into webdynpro as a model.

How to do it ?

i Tried it by giving Url by selecting the localfileSystem ->no logical destination- giving path avialeble in Overview of wsNavigator .

Now i getting Error

that is Error in loading Wsdl file . see Error log file for more details.

what are processor for importing webservices as Adaptive webservice model.

Accepted Solutions (1)

Accepted Solutions (1)

p_2_5_6_9_6_0
Active Participant
0 Kudos

Hi,

Here is the procedure.

1.) Open your Web Service Navigator.

2.) Navigate to your Web Service and Click on it.

3.) Go to the WSDLs section.

4.) Click on "Download WSDL" from the Default WSDLs

5.) Save the file. Extract the main.wsdl and store somewhere on your computer.

6.) Start NWDS. User File->New Project and begin a new web dynpro project.

7.) Create a new Application and Component (as per your needs).

8.) In the above project- go to the models section and right click.

9.) Create a new Model. Use the "Adaptive Web Service" option.

10.) Follow the steps and choose the appropriate WSDLwhen asked.

11.) For Web Service - you will be asked for 2 destinations (one for metadata and one for execution) - provide these is you know (or can create them) or ask your local Basis team to do the same for you.

12.) Also give the username and password if required.

13.) Finally use this link for populating and executing the model:https://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/900bbf94-a7a8-2910-e298-a651b4706c1e

It is a long process ( i know). But I hope that the steps will help you.

Thanks.

p256960.

Former Member
0 Kudos

Hai p256960 ,

i followed ur steps as Exxtracted the main.wsdl file and used as a model.

after implementing the methods and every thing i getting error like as below.

java.io.FileNotFoundException: C:\Documents and Settings\Desktop\WSDL\main.wsdl (The system cannot find the path specified)

what to do...

is there any change required.

Answers (3)

Answers (3)

former_member1
Active Participant
0 Kudos

Is your prob solved???

If not, please check your Network Connections of Eclipse (NWDS) -> Pref.

If you are using any proxy, and WS lies in Local Network, remove it.

Also try pinging the hostname of the WS is there any response.

Former Member
0 Kudos

Hai anish,

iam not getting u exaclty...

in windows ->prefernece-> proxysetting

what i need to do , we need maintain any thing .

colud u explain....

former_member1
Active Participant
0 Kudos

Hi,

If you download and then then import, it will create a prob of file not found error as that file .wsdl is not available in the server in that location, this is the prob.

In your go to Windows -> Prefrences -> General -> Network Connections and make it as direct connection to internet.

Now try to re import your WSDL using the WSDL URL. I think after that it should work.

Thanks,

Anish

Former Member
0 Kudos

hai thanks for giving reply ,

i tried to check for nwds->windows->preference...

there i not able to found "General" as u mentioned

could u help me on this general and where i can found

former_member1
Active Participant
0 Kudos

Search for network connection

The one I told you is the path in 7.1

If you are using 7.0 then : go to Windows-> Prefrences -> Workbench -> Proxy Settings.

Remove if you are using any proxy...

Edited by: Anish Saxena on Nov 20, 2008 5:44 PM

PradeepBondla
Active Contributor
0 Kudos

more documents on how to use adaptive webservice

[Using Adaptive Webservice model for Web dynpro java|https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/b2bc0932-0d01-0010-6d8e-cff1b2f22bc7]

[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]

[good blog|https://www.sdn.sap.com/irj/scn/weblogs?blog=/pub/wlg/4999] [original link is broken] [original link is broken] [original link is broken];

[Using RFC as WebService in WebDynpro|https://www.sdn.sap.com/irj/scn/weblogs?blog=/pub/wlg/3982] [original link is broken] [original link is broken] [original link is broken];

PradeeP

PradeepBondla
Active Contributor
0 Kudos

Hi,

Could you post full error log trace.

check you java version, that might be the problem. this problem is resolved by changing the java version.

check this link

some docs on using adaptive web service model

this thread have lots of material

https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/900bbf94-a7a8-2910-e298-a651b470...

https://www.sdn.sap.com/irj/scn/wiki?path=/display/wdjava/faq%252b-%252bmodels%252b-%252badaptive%25...

useful

PradeeP

Former Member
0 Kudos

Hai Pradeep,

can u clarify the steps when we are develop "adaptive webservice model ".

i gone through the ur pdf but iam getting errors.

if same thing i done in "import webservice model" it is working.

in implemenation of adative webservice model , is there any settings in Nwds .

and what is the wsdl role in this .

wsnavigator there is overview in that one url will be there. and also there is option to download wsdl file option.

there is lot of confusion ...

iam using NWDS in my desktop, and server is located in some where in LAN we are accesing. that path.

Former Member
0 Kudos

Hi Eswar,

I am facing same problem Filenotfound. How could you resolve your problem can you please post your approach

Regards

Raghu