Skip to Content
avatar image
Former Member

Accessing Webservices from WD - WS Destination Configurations

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

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

4 Answers

  • Best Answer
    avatar image
    Former Member
    Jul 09, 2009 at 06:58 AM

    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

    Add comment
    10|10000 characters needed characters exceeded

    • Former Member Former Member

      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

  • avatar image
    Former Member
    Jul 09, 2009 at 06:24 AM

    Hi Uma,

    Did you create the Destination in Visual Admin?

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

    Regards,

    Jaya.

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Jul 09, 2009 at 06:21 AM

    Hi Uma

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

    Getting Error when executing Web Service Model method in WD Application

    Regards

    Ruturaj

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Jul 09, 2009 at 06:33 AM

    Hi,

    Check your webservice destinations whether it is configured properly.

    From which system you are getting the web services.

    Best Wishes

    Idhaya R

    Add comment
    10|10000 characters needed characters exceeded