cancel
Showing results for 
Search instead for 
Did you mean: 

Accessing Webservices from WD - WS Destination Configurations

Former Member
0 Kudos

Hi All,

We have configured Webservices destinations for exection and metadata and trying to access this from WebDynpro.

We are getting the following error :

com.sap.tc.webdynpro.model.webservice.api.WDWSModelExecuteException: Exception when retrieving the WS invoker using the execution destination 'TestLogonTicket'

at com.sap.tc.webdynpro.model.webservice.model.WSGenericModelClassExecutable.retrieveWsrInterfaceInvoker(WSGenericModelClassExecutable.java:245)

at com.sap.tc.webdynpro.model.webservice.model.WSGenericModelClassExecutable.execute(WSGenericModelClassExecutable.java:59)

at com.sap.tc.webdynpro.model.webservice.gci.WSTypedModelClassExecutable.execute(WSTypedModelClassExecutable.java:49)

Detailed Exception Trace:

Caused by: javax.xml.rpc.ServiceException: com.sap.engine.services.webservices.espbase.discovery.TargetNotMappedException: Logical Target TestLogonTicket not mapped to a physical system.

at com.sap.esi.esp.service.server.query.discovery.DestinationsHelperImpl.initialize(DestinationsHelperImpl.java:209)

at com.sap.esi.esp.service.server.query.discovery.DestinationsHelperImpl.selectBindingData(DestinationsHelperImpl.java:191)

at com.sap.engine.services.webservices.espbase.client.dynamic.impl.DInterfaceImpl.getInterfaceInvoker(DInterfaceImpl.java:140)

at com.sap.tc.webdynpro.model.webservice.model.WSGenericModelClassExecutable.retrieveWsrInterfaceInvoker(WSGenericModelClassExecutable.java:243)

... 109 more

Any idea what can be the issue?

Thanks,

Uma A

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

hi

when you create your destinations for your webservices in the SOAMANAGER-> Destination Template

you would be providing wsdl url and destination , and in the below you can

find the username and pwd that need to set , you need to select the radio buttons with logon tickets ,

username , password , there , re-check the username and pwd by selecting the radio button with selecting the

radio button username password , and even check the webservice in the WSNAVIGATOR , whether its working

fine , and other thing is there is situation where your webservice may work fine inthe wsnavigator even then there would

be some problem inthe webservice , even check this scenario.

Thanks

Former Member
0 Kudos

Thanks Murali.

I tested the WS from navigator with both the destinations - Metadata as well as Execution. It works fine.

Is there any specific dependecies which we need to add to work with webservices?

Former Member
0 Kudos

Hi,

Are you using logon ticket security mechanism in Execution destination?

If yes then did you integrate your webdynpro application in the portal? Or make WebDynpro application authenticated?

For testing purpose try to use the metadata destination for both execution and metadata. If it works then the problem is with the logon ticket.

Regards,

Charan

Former Member
0 Kudos

Yes Charan. Iam using Logon Ticket for Execution.

I tried using metadata, it would not work due to authentication issue.

When I change, it still give configuration error as mentioned earier.

Thanks,

Uma

Former Member
0 Kudos

Hi,

Thanks all for your suggestions. The issue is resolved.

I recreated destinations mentioning the system and host name for both ( Though I think this is not mandatory ) Earlier I used destinations without these values.

For Metadata Destination which uses UserId/Password as HTTP Authentication , I mentioned the login credentials.

Thanks,

Uma

Answers (3)

Answers (3)

Former Member
0 Kudos

Hi,

Check your webservice destinations whether it is configured properly.

From which system you are getting the web services.

Best Wishes

Idhaya R

Former Member
0 Kudos

Hi Uma,

Did you create the Destination in Visual Admin?

If you had done, please verify the URL which you gave.

Regards,

Jaya.

Former Member
0 Kudos

Hi,

Webservice is deployed on CE 7.1 server and the WD application also is deployed on the same server.

Created these destinations not in VA , but in NWA under SOA Management.

Thanks,

Uma.A

Former Member
0 Kudos

Hi Uma,

Did you follow all the steps mentioned in the below pdf while creating the destination.

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

Regards,

Jaya.

Former Member
0 Kudos

Jaya ,

The link which you have mentioned is about acccessing Enterprise Services and there is no mention of creating WebServices Destinations in it. Is there some other link you wanted to send?

Thanks,

Uma.A

Former Member
0 Kudos

Hi Uma ,

Refer these links

https://wiki.sdn.sap.com/wiki/display/ESpackages/ConsumingaExternalServicefromESWorkplaceinCompositeApplicationFrameworkUsingCE+7.1.1

https://wiki.sdn.sap.com/wiki/display/VC71/WebServiceDestination

Best Wishes

Idhaya R

Former Member
Former Member
0 Kudos

Hi Uma

Check this forume link.In this forume check Raghunanadan Answer .This will help you

Regards

Ruturaj