on 04-30-2007 8:04 AM
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
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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.
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
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)
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,
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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.
User | Count |
---|---|
84 | |
25 | |
12 | |
9 | |
6 | |
6 | |
5 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.