Skip to Content

Usage of Deployment service


I want to use the deployment service as described in the documentation to get and display informations about the deployed components of my application.

In the documentation I found the following example:

// get deployable object for deployed application ?Test? using factory

// class WDDeployableObject

IWDDeployableObject deplObj = WDDeployableObject.getDeployableObject(?Test?);

When I try to do this (assumed my Webdynpro projekt has the name "Test"), I get an exception which says that the deployable object "Test" has not properly been deployed.

Using "local/Test"

IWDDeployableObject deplObj = WDDeployableObject.getDeployableObject(?local/Test?);

I get the WDDeployableObject instance I expect.

Do I always have to prepend "local/" to the object name or on what circumstances does it depend?

Background of the question. I want to write a Webdynpro application (utility) that can get and display deployment information about any other deployed Webdynpro application.

Thanks in advance


Add comment
10|10000 characters needed characters exceeded

1 Answer

  • author's profile photo Former Member
    Former Member
    Posted on Feb 15, 2004 at 09:49 AM

    Hi Helmut,

    as far as i know, you have always to prepend the "local/" (or whatever) prefix to the object name. If you are using development components, the "local/" will be replaced by the vendor you defined for the DC. By the way, you can investigate the server state (including actual applications) using the utility class WDServerState, for example String[] dpos = WDServerState.getDeployableObjects();

    Hope that helps.

    Best regards,


    Add comment
    10|10000 characters needed characters exceeded