It looks like you may have some strange annotations on either your MultiItemEntitlementDTO class or on the multiItemEntitlementDTO element in your TransactionEntitlementDTO object. I would double check those and make sure they have the appropriate namespace attributes, etc… I'm really not sure why there are those three elements being generated in the http://services.kitd.com/entitlement schema. Slightly strange to me.
Dan On Aug 20, 2012, at 6:33 AM, Pavel Khodchenkov <[email protected]> wrote: > Hi folks, > When I use jdk 7 I have the following warning in jaxws-maven-plugin when > importing the wsdl generated by cxf-java2ws-plugin 2.6.0: > [WARNING] src-resolve: Cannot resolve the name 'ns1:multiItemEntitlementDTO' > to a(n) 'element declaration' component. > line 163 of > file:/E:/IdeaProjects/transaction-service/web/target/generated/wsdl/TransactionService.wsdl#types?schema1 > > [WARNING] src-resolve: Cannot resolve the name 'ns1:multiItemEntitlementDTO' > to a(n) 'element declaration' component. > line 163 of > file:/E:/IdeaProjects/transaction-service/web/target/generated/wsdl/TransactionService.wsdl#types?schema1 > > > > And the stub generated this wsdl does not work very well: server fails with > namespace mismatch. > > There is no such issues when I use jdk 6. > > I have attached both wsdls generated by jdk 6 and jdk 7. > > Does somebody have any ideas? > <wsdls.zip> -- Daniel Kulp [email protected] - http://dankulp.com/blog Talend Community Coder - http://coders.talend.com
