cancel
Showing results for 
Search instead for 
Did you mean: 

Error while calling RFC

S0019300750
Contributor
0 Kudos

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.

Accepted Solutions (1)

Accepted Solutions (1)

abhijeet_mukkawar
Active Contributor
0 Kudos

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

Answers (1)

Answers (1)

Former Member
0 Kudos

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