In certain cases, I've seen issues with finding the package-info.java that would have the qualification flags in it. That would cause this. I would SUGGEST trying to run wsdl2java with the -xjc-npa flag to have it not use the package-info class.
Dan On Monday, June 20, 2011 4:50:55 AM srinivas thallapalli wrote: > Hi All, > > I am trying to get the values from the response object given by webservice > call, I tried in following two ways > > 1. Using Reflection on generated classes in memory > 2. By having the classes in classpath generated by wsdl2java tool > > In first case, using reflection everything went through fine. > There is problem with second case that is having classes in classpath and > parsing the response object. > > It gives the following exception > > DefaultValidationEventHandler: [ERROR]: unexpected element > (uri:"http://workflow.webservice.xxxx.com", > local:"getAssignedWorkItemListReturn"). Expected elements are > <{}getAssignedWorkItemListReturn> > Location: line 1 > > any suggestions to resolve this issue appreciated > > Thanks > > -- > View this message in context: > http://cxf.547215.n5.nabble.com/Need-help-on-CXF-client-tp4506071p4506071.h > tml Sent from the cxf-user mailing list archive at Nabble.com. -- Daniel Kulp [email protected] http://dankulp.com/blog Talend - http://www.talend.com
