Skip to Content
0
Aug 12, 2005 at 07:23 PM

How to reference my Portal Service in Web DynPro?

19 Views

Hi all,

I have created a Portal Service using the instruction from "Portal SDK -> Creating Web Service".

I can see the Service in the Portal and I can also execute it by entering its url to get the wdsl.

However, I can not reference it from Web DynPro (WD).

My WD ear is deployed but I'm getting an exception when I try to launch the WD application:

"Reason: it has hard reference to resource NewParProject with type application, which is not active on the server.

" - You can exchange NewParProject with whatever I tried as reference.

I simply don't know what to put in the "Sharing References" tab and I think I tried everything..

The following is a part of my portalapp.xml:

<application>

<application-config>

<property name="SharingReference" value="com.sap.portal.runtime.application.soap">

</property>

</application-config>

<components>

</components>

<services>

<service alias="MyTimeService" name="MyTimeService">

<service-config>

<property name="className" value="com.sap.fn.time.MyTimeService">

</property>

Entries I tried as a reference are:

PORTAL:sap.com/NewParProject.MyTimeService

PORTAL:sap.com/MyTimeService

PORTAL:sap.com/com.sap.fn.time.MyTimeService

PORTAL:sap.com/NewParProject (which is btw. my par name)

Any help would be appreciated

Thanks,

Frank