cancel
Showing results for 
Search instead for 
Did you mean: 

Web Service Destinations

Former Member
0 Kudos

Hi,

We are facing some problem while defining the Destinations for Web Services.

Have read many Threads, Blogs etc but not found any solid solution.

My doubt is

1. Do we Have to configure Web service Destinations or HTTP Destinations?

2. What URL & Authentication we should provide in case we are consuming third party webservice.

The following Exception occures when we execute the web service:

Exception on execution of web service on destination 'CORDYS_EXE' for operation 'RunProcess_SMS_MIDE_SAP1' in interface 'ProcessesinSMS_SAPPortType'

Any help is welocme.

Thanks in advance,

Abhay

Accepted Solutions (0)

Answers (3)

Answers (3)

Former Member
0 Kudos

Hi,

HTTP Destinations:

You can configure any http url and credentials here. But you cant give these destinations in the Logical Destinations of the Adaptive Webservice Model in WebDynpro.

If you specify the logical destinations in WebDynpro model at design time, by default the the

WebDynpro runtime environment checks in the below locaion:

webservice security -> dynamic proxies --> click on create button --> provide url, uname, pwd

So if you are using Adaptive WebService model then you should not use Http destinations.

When can we use this:

For example if we are using the normal webservice model (deprecated). This type of model does not contain the Webservice destinations. So for this model to dynamically get the url and credentials, you can create one Http destination in the VA and in the code before you execute the model you can get the url, credentials from this destination.

Webservice Destinations:

You have to configure these destinations in the below location:

webservice security -> dynamic proxies --> click on create button --> provide url, uname, pwd

https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/b2bc0932-0d01-0010-6d8e-cff...

And you need to provide this destination in the Adaptive Webservice Logical destination at design time.

So at runtime WebDynpro runtime automatically picks this.

See the complete tutorial "Accessing an Email Web Service using the Adaptive Web Service Model" in the below link.

[original link is broken]

If you are using CE 7.1 go through the below document.

https://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/50d70a19-45a3-2b10-bba0-807d819d...

Regards,

Charan

Former Member
0 Kudos

hi abhay,

You can create the destination of the webservice in Destinations--> Webservice destination

If your webservice contains any authentication you can provide the authentication by checking the basic authentication and give the user name and password.

If there is no authentication for webservice leave it as none in authentication dropdown.

while creating the model give the destination name properly which you have created for the webservice.

This surely will work...

Regards,

Saleem

Former Member
0 Kudos

Hi Abhay,

1. Do we Have to configure Web service Destinations or HTTP Destinations?

We need to configure both in visual admin or soamanager in nwa.

2. What URL & Authentication we should provide in case we are consuming third party webservice.

For your model data give url using which can get your wsdl file.

Try to bind blank objects if you are using any structures in the code.

Best Wishes

Idhaya R