Hello,
I have a POJO class with WS annotations that deploys fine on G2.1.3.
When I try to deploy it on G2.2, WSDL generation fails.
Offending code:
HttpSession session =
((javax.servlet.http.HttpServletRequest)mc.get(MessageContext.SERVLET_REQUEST)).getSession();
if(session == null) throw new WebServiceException("This web service
requires web sessions. Make sure your web service client allows for
sessions.");
One of the errors:
java:9: package javax.servlet.http does not exist
import javax.servlet.http.HttpServletRequest;
I took the WSGEN command and ran it manually, without a hitch.
Any suggestions?
Thanks,
Eric
--
View this message in context:
http://old.nabble.com/G2.2%2C-WSGEN-fails-tp27377578s134p27377578.html
Sent from the Apache Geronimo - Users mailing list archive at Nabble.com.