cancel
Showing results for 
Search instead for 
Did you mean: 

Wsdl file cannot be found

Former Member
0 Kudos

I am using global weather webservice which is working well on the provider side.

I have saved the wsdl file on desktop and imported it from there while importing adaptive webservice model.

ie:the path I browse for the WSDL file in nwds is C:\Documents and Settings\anaik\Desktop\WeatherForecast.WSDL

I get the following exception:

java.io.FileNotFoundException: /usr/sap/EDH/JC04/j2ee/cluster/server0/C:/Documents and Settings/anaik/Desktop/WeatherForecast.wsdl (No such file or directory (errno:2))

Do I have to save the file in some other location also on the basis side.

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi friend,

DO one thing Check the service from your side. if you are sure that the service is working fine on provider side. then create one logical destination for that service and use that destination for your model.

You can check these pointers if you need help regarding destination creation for adaptive web service.

A quick way...

Open NWA (http://<system ip>:<port>/nwa) -> SOA management -> Destination Template Management -> create destination

[FAQ - Models - Adaptive Web Service|http://wiki.sdn.sap.com/wiki/display/WDJava/FAQ%2b-%2bModels%2b-%2bAdaptive%2bWeb%2bService]

[How to Consume an Enterprise Service from the ES Workplace in Web Dynpro in the new SAP NetWeaver Composition Environment 7.1|http://www.sdn.sap.com/irj/scn/weblogs?blog=/pub/wlg/6281] [original link is broken] [original link is broken] [original link is broken];

Please let us know if you need any further assist.

Regards

Jeetendra

Answers (1)

Answers (1)

Former Member
0 Kudos

The application is looking for the WSDL file here: /usr/sap/EDH/JC04/j2ee/cluster/server0/ <- this is actually a directory on the actual server hosting the portal. You may ask BASIS to place the file there. But why not just instead place the actual remote service URL hosted by the service provider?

Regards,

Jan