cancel
Showing results for 
Search instead for 
Did you mean: 

Problem with WSDL

Former Member
0 Kudos

Hi All,

I am working on the tutorial "Accessing an Email Web Service". The WSDL is http://www.abysal.com/soap/AbysalEmail.wsdl which is to be ued for Web Service.

However, when creating the model, when I give this URL as the WSDL parameter then I get the foll. error

Invalid WSDL or WSDL not found, please specify different WSDL or check WSDL location entered or previous wizard page.

Few threads in SDN said to save this WSDL locally and then create the model.

Can someone tell me how and where to save the WSDL.

Regards

Nikhil Bansal

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

hi !

when testing the web service on the browser page, you get an overview tab, click on the wsdl given on that page. and save that wsdl as .wsdl file on your computer. while creating a model in web dynpro, select the second coption which is the "local file system or URL" and browse through that file. include the web service this way and then you can consume it conveniently.

All The Best! and do let me know if it works.

Gita

Former Member
0 Kudos

Hi Gita,

Thanks for the reply.

I could create the model.

When I am running the application then I am getting the foll. exception

Service call exception; nested exception is: com.sap.engine.services.webservices.jaxrpc.exceptions.InvalidResponseCodeException: Invalid Response Code: (-1) null. The requested URL was:"http://www.abysal.com/soap/soapmail.wdtp"

Let me know what am I missing.

Regards

Nikhil

Former Member
0 Kudos

Hi,

Can you test the WSDL is it piniging successfully or not?

if it is not thrown any error then it will work otherwise shown error.

Thanks,

Lohi.

Former Member
0 Kudos

Hi Lohitha,

How can I test WSDL.

Regards

Nikhil Bansal

abhijeet_mukkawar
Active Contributor
0 Kudos

Nikhil,

have you checked the proxy setting , refer this

regards

Former Member
0 Kudos

Hi,

Unable to resolve the problem.

Regards

Nikhil Bansal

Former Member
0 Kudos

Hi

After setting the proxy in Workbench I am getting the foll. exception

Service call exception; nested exception is: com.sap.engine.services.webservices.jaxrpc.exceptions.InvalidResponseCodeException: Invalid Response Code: (407) Proxy Authentication Required ( The ISA Server requires authorization to fulfill the request. Access to the Web Proxy service is denied. ). The requested URL was:"http://www.abysal.com/soap/soapmail.wdtp"

Seems like some authentication is required for this Web Service.

Can you provide some solution to this or should I use some other Service.

Regards

Nikhil

Former Member
0 Kudos

Hi

After setting the proxy in Workbench I am getting the foll. exception

Service call exception; nested exception is: com.sap.engine.services.webservices.jaxrpc.exceptions.InvalidResponseCodeException: Invalid Response Code: (407) Proxy Authentication Required ( The ISA Server requires authorization to fulfill the request. Access to the Web Proxy service is denied. ). The requested URL was:"http://www.abysal.com/soap/soapmail.wdtp"

Seems like some authentication is required for this Web Service.

Can you provide some solution to this or should I use some other Service.

Regards

Nikhil

abhijeet_mukkawar
Active Contributor
0 Kudos

Hi,

check out your firewall settings, if does not help,

check :

http://www.mindreef.net/tide/scopeit/start.do?referer=xmethods&url=http://www.abysal.com/soap/Abysal...

here goto View tab->ask for XML in dropdown-> save this XML in local file as .wsdl and try using it.

hope it helps

regards

Former Member
0 Kudos

Hi,

I am getting the same exception even with this Web Service.

I shall have to find out the firewall settings.

Also,is there any authentication required which has to be done on the server to which this request has been sent (Web Service).

Regards

Nikhil

Former Member
0 Kudos

Hi!

Is your web service running properly on the server? are the server and the dispatcher both running properly? check it out. there has to be some problem with the server settings.