Skip to Content

Error while calling RFC

Hi all WebDynpro Gurus

I am using EP7.

I am developing an WD application for KM functionality in which I need to call RFC from backend. I followed the "<b>Creating WD application accessing ABAP function</b>" example.

But when I executed the application I got following exception.

<i><b>Root Cause</b>

The initial exception that caused the request to fail, was:

com.sap.lcr.api.cimclient.CIMClientException: java.net.MalformedURLException: URL must have a host part

<b>Correction Hints</b>

Accessing the System Landsape Directory (SLD) failed. Depending on the concrete reason (see root cause) check the following:

is the SLD Supplier in the J2EE engine configured correctly? See the SLD documentation for more details about the SLD and about how to configure it.

are all JCO destinations maintained correctly? Use the preinstalled Web Dynpro Content Admin application to check/edit the destination. Use the Ping and Test functions of the Content Admin to verify that each destination is properly configured.</i>

I checked JcO connections in the webdynpro content admin. There the status is unknown and create tabs are disabled.

I checked the SLD connections in content admin , the entries are as below:

<b>Host name : blank

Port: -1

User: blank

Url: http://.-1/sld</b>

Where could i configure these SLD settings and what should be the new entries ?

I dont have permission to view WebDynpro console.

Please help me out.

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

2 Answers

  • Best Answer
    avatar image
    Former Member
    Mar 28, 2007 at 07:16 AM

    hi,

    follow the links ,

    /people/sugree.phatanapherom/blog/2005/08/14/configuring-sld-in-sneak-preview-sap-netweaver-04-sneak

    you will get information about configuring SLD and about the problem you are facing,

    regards,

    abhijeet

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Mar 28, 2007 at 08:39 AM

    Vinod,

    Claim: "Hello, World" application with WD and RFC is the "Hello, World" application with most complex configuration.

    Prove:

    1. You need to run http://host:port/sld and import CIM context

    2. You need to add technical WebAS ABAP systems to SLD (same URL)

    3. You need to run Visual Administrator and setup SLD connection parameters (host, port, user, password)

    4. You need to (re)deploy your WD application

    5. You need to run web-based WebDynpro Content Administrator and configure JCO connections.

    Fortunately, [1]-[4] is necessary only ones per server, [5] is necessary per every application.

    Valery Silaev

    SaM Solutions

    http://www.sam-solutions.net

    P.S. After I'd started working with XI I understood that procedure described above is not complex at all 😉

    Add comment
    10|10000 characters needed characters exceeded