cancel
Showing results for 
Search instead for 
Did you mean: 

WEB SERVICE

Former Member
0 Kudos
71

Hello ALL!!!

I need create application in web-dynpro that collect some data and after it sending this data via email.

I have some problem with web serv.

I have Tutorial (Generating a Model from the WSDL Description)

and I follow the steps

1. In the project structure, expand the node Web Dynpro ¨ Models.

2. From the context menu, choose Create Model. The appropriate wizard appears.

3. Choose the Import Web Service Model option, followed by Next.

4. Enter the name EmailModel as the model name and

com.sap.tc.webdynpro.tutorial.emailws.model as the package name.

5. Under Select WSDL Source, choose the radio button UDDI or URL, followed by Next.

6. Enter the following WSDL description for the Web service in the Wsdl field:

http://webservices.matlus.com/scripts/emailwebservice.dll/wsdl/IemailService

7. You do not need to make any entries in the next step, Proxy Definition / URI Package

Mappings. Close the input dialog by choosing Finish.

After Step No 6 I have problem "FINISH" Button is UnActive and if I push "NEXT" I get ERROR

"Invalid WSDL WSDL not found please specify different WSDL orcheck WSDL location entered on previous page

Anybody know what the problem

THANK YOU

(Sorry about my English)

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi,

Please check whether the WSDL you are trying to import are valid.

Check if this works

http://www.abysal.com/soap/AbysalEmail.wsdl

Regards,

Vijith

Former Member
0 Kudos

some times this URL http://webservices.matlus.com/scripts/emailwebservice.dll/wsdl/IemailService doesnot work. To test the same copy and paste it into your browser and see whether it opens or not. If it opens then you have to set the proxy setting inyour NWDS as Anil specified. If the WSDL doesnot open then try with some other WebService like http://www.abysal.com/soap/AbysalEmail.wsdl

Regards,

Shubhadip

Answers (3)

Answers (3)

Former Member
0 Kudos

Hi,

Goto Windows ->Preferences ->Workbench ->Proxy Settings

and give the proxy servername and Port.

Now Import the model .

Regards, Anilkumar

guru_subramanianb
Active Contributor
0 Kudos

HI,

U shd have internet enabled proxy server to import an external WSDL and consume it.I think you are not having internet connectivity for using the URL from Matlus.com.

If u hv internet connectivity through ur proxy check tht particular webservice URL manually by directly clicking the URL.We will be directed to a SOAP request method where you shd know wht parameters u hv to send and invoke the method of Webservice.If the SOAP response from the method of Webservice is OK then u can import it in ur Webdynpro project.

But from the error msg it seems either the Webservice is not available or the URL is not a valid one.check the URL also once.

Rdgs,

G

Former Member
0 Kudos

Hi Evgeny,

Please check your proxy setting in the workbench. Sometimes if the proxy is not set you cannot import a web service.

Regards,

Jaydeep