cancel
Showing results for 
Search instead for 
Did you mean: 

How to use a web service wsdl

Former Member
0 Kudos

Hello,

How do I use a web service being provided by another software? The service is supposed to be used on a dynpro dc project.

I noticed that when creating a model, i choose adaptive web service, since the other web service is already deprecated. The service provider exposes a wsdl, but not a wsil, and requires a username and password to use the wsdl.

When i try to use the wsdl, it gives me an error of authentication failing. I could not use the other option as the service provider does not support wsil.

Is there a way around this? thanks.

regards,

arnold

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi,

Go through this to understand the limitations

http://help.sap.com/saphelp_nw2004s/helpdata/en/81/12703e5da3e946e10000000a114084/frameset.htm

Regards

Ayyapparaj

Former Member
0 Kudos

Hello Ayyapparaj,

That is most helpful. It discuss most of the web service concepts.

I am using netweaver, and followed the tutorial for web services. But when I used a different wsdl file, I encounter the error that I have mentioned.

Is there an explanation to this?

regards

arnold

Answers (3)

Answers (3)

Former Member
0 Kudos
snehal_kendre
Active Contributor
0 Kudos

Hi arnold,

When you try to use the wsdl, it gives you an error of authentication failing..

chek the target server your wsdl referring to.

and you have following methods to set username and password.

wdContext.nodeXXXXXX().currentXXXXXXElement().modelObject()._setUser();

wdContext.nodeXXXXXX().currentXXXXXXElement().modelObject()._setPassword();

it`s the only work arround to set authentication

Former Member
0 Kudos

Hi Arnold,

What i get from your post is you are trying to consume a webservice from other software using dynpro.

The below link has the procedure to access a web service in Enterprise portal. You can save the wsdl file in your local machine and give that path to create a portal service and make use of it in dynpro dc project.

https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/ca4ce590-0201-0010-0ab8-a15f3130...

Regards,

Manimekalai

Former Member
0 Kudos

Hello Manimekalai,

This is very helpful. Thanks.

regards,

arnold

former_member751941
Active Contributor
0 Kudos

Hi Arnold,

Configure WSIL in Visual Admin.

Check this document.

https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/f07de95b-d81c-2a10-3daf-96172e84...

Regards,

Mithu