cancel
Showing results for 
Search instead for 
Did you mean: 

Defining Http Destination for accessing external webservice.

Former Member
0 Kudos

Hi All,

Iam trying to access external webservices deployed on Weblogic server using Webdynpro Webservice Model. The webservice url can change .Can i use http destination for defining the webservice url . Read this http destination using API and then set an endpoint url before making the webservice call.

Is this approach fine / is there anything else that can be done to get the url from a everytime before making the call.

I dont want to use the url in the logical ports as we dont want to change this file in the webdynpro project once deployed.

Thanks,

Uma.

Accepted Solutions (0)

Answers (2)

Answers (2)

Former Member
0 Kudos

Hi Uma,

Use Adpative WebService Model importer which will solve your problem.

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

Regards, Anilkumar

Former Member
0 Kudos

Thanks Anil.

AWM is for EP 6 SP 18 onwards ? Is it right?

Uma.

Former Member
0 Kudos

Yes

-Anilkumar

matthias_fiebig
Explorer
0 Kudos

Hello,

you can define the destination in the visual admin and then you can set the destination name via _setHTTPDestinationName, at your webservice model.

modelObject._setHTTPDestinationName("DYN_DESTINATION")

modelObject.execute()

It works.

Matthias