Hi all, i'm newbie in techno things....but i'm now developing a UI
with gwt ext. I develop on Windows XP.
I'd like to call web services. i have a .wsdl file, compile it using
cxf (wsdl2java) by maven to generate java sources from wsdl. I wrote a
method to call this service in order to get a list of technical
services like this:
@Transactional
public class SampleServiceImpl implements SampleService {
public List<TechnicalServiceTO> createServiceDescription()throws
Exception {
ServiceManagerImplService ssDr = new ServiceManagerImplService(); //
wsdl service generated
ServiceManager sm = ssDr.getServiceManagerImplPort();
List<TechnicalServiceTO> sdragon = sm.getAllServices();
return sdragon;
}
in my presentation layer, i have GWTSampleServiceAsync,
GWTSampleServiceImple... to link with the above service. once i
compiled this layer, everything seems ok.
but, when i click a button that invokes this service, there's problem
of Class not found: javax/xml/ws/Service
Then, i add a dependency of this class (jaxws.jar) into my pom.xml of
presentation layer....I compiled once again...there's still not
work...and gave me another error which is: javax/xml/ws cannot be
serialized.
So, now I dont know what to do.
Anyone has ideas how to solve such problem?
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Google Web Toolkit" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/Google-Web-Toolkit?hl=en
-~----------~----~----~----~------~----~------~--~---