cancel
Showing results for 
Search instead for 
Did you mean: 

model in another dc - cannot find class file proxies type

Ronib
Participant
0 Kudos

hi

i have web service with input as a structure (ComplexType_x).

when the model is in another d.c. i get compilation error -

<i>The project was not built since its classpath is incomplete. Cannot find the class file for cc.co.il.product.proxies.types.MutzarDT. Fix the classpath then try rebuilding this project.</i>

if i create the model in the same d.c. - everything is working without error.

does anybody know why?

roni

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Roni,

I never faced this issue with WS, but sometimes that happens for Adaptive RFC -- generated proxies get included in public part, but generated DDIC types do not. Could you verify this case (i.e. after import there are new DDIC types in Dictionary these are not included in PP)?

Valery Silaev

SaM Solutions

http://www.sam-solutions.net

Ronib
Participant
0 Kudos

Dear Valery ,

How do i know if the proxy class is in the dictionary?

How can i add only this class to the public part ? I see the option "add to" only when i stand (in the model d.c.) on the model .

i see the class under my "model class" node, but the NWDS gives me error like it is outside of the classpath, and dont recognize it.

your help is appreciated.

Former Member
0 Kudos

Roni,

Please check that generated JAR for public part has *.gdictionary, *.gsimpletype and *.gstructure files. If neither files are found, then open Local Dictionary in WD structure, find dictionary that corresponds to RFC model and add it to public part.

Valery Silaev

SaM Solutions

http://www.sam-solutions.net

Ronib
Participant
0 Kudos

how do i open local dictionary?

i'm using web service model.

Ronib
Participant
0 Kudos

there is a jar file for the public part under

myModeldc\_comp\gen\defualt\public\mymodel

and it contains files

ComplexType_MutzarDT.class

ComplexType_MutzarDT.wdmodelclass

still i'm getting error in my other d.c. :

This compilation unit indirectly references the missing type cc.co.il.mutzar.proxies.types.MutzarDT (typically some required class file is referencing a type outside the classpath)

Former Member
0 Kudos

Hi,

Have you tried adding the model source packages in the public part entities? Right click on "Entities" and select "Edit Entities". Select the entity type as "Package" and add the model packages.

Regards,

Satyajit.

Answers (1)

Answers (1)

abhijeet_mukkawar
Active Contributor
0 Kudos

Hi,

You gotta expose the other DC or rather make its public part, that should include the created web service files,

Your DC->DC Metadat->Right click on Public parts->create public parts

then take use of this public parts in the used DC of your main DC.

Main DC->DC Metadat->DC Definition -> Used DCs->used exposed public parts

hope it helps

reagards,

Ronib
Participant
0 Kudos

of course i add the model to public part and use it in my d.c.

and i add it to my "used model" in the new d.c.

but it seems like i cant see some proxy type classes of the model d.c.

i can see all the other classes of the model.

any other suggestions?

abhijeet_mukkawar
Active Contributor
0 Kudos

Roni,

try taking use of those public parts under Used DC,

Main DC->DC Metadat->DC Definition -> Used DCs->used exposed public parts

so they will be availabe in your main DC

hope it helps

regards

Ronib
Participant
0 Kudos

i allready did that.

please understand that only one proxy type class is missing!

i can see all other classes of the model.

Former Member
0 Kudos

Have you verified and confirmed that your proxy is actually included in the public part of its DC ?

This could happen if that particular proxy has been created <i>after</i> the public part. Entities that are created <i>after</i> the public part definition do not get automatically added to the pp.

Try manually adding your proxy to the public part if it's not already there.