geronimo-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Kevin Huntly <kmhun...@gmail.com>
Subject Nullpointer deploying jax-ws webservice
Date Wed, 27 Nov 2013 03:41:21 GMT
I get an npe trying to deploy a jax-ws annotated webservice to geronimo
3.0.1 on jdk 1.7.0_45. I dont have the code to attach but it is on github:
https://github.com/cwsus/cws-esolutions

The webservice classes are under
eSolutionsCore/src/main/java/com/cws/esolutions/core/ws, the wsdl is under
web/eSolutions/wars/eSolutions_web_source/src/main/webapp/wsdl, and
geronimo-web.xml under
web/eSolutions/wars/eSolutions_web_source/src/main/geronimo. If it makes it
easier to have them pasted here i can do that in the morning. Ive been
trying to figure this out for a few days ...

Caused by: javax.wsdl.WSDLException: WSDLException: faultCode=WSDL4JWrapper
: : java.lang.NullPointerException
        at
org.apache.axis2.jaxws.util.WSDL4JWrapper.commonPartsURLConstructor(WSDL4JWrapper.java:234)
        at
org.apache.axis2.jaxws.util.WSDL4JWrapper.<init>(WSDL4JWrapper.java:156)
        at
org.apache.geronimo.axis2.AxisServiceGenerator.getServiceFromWSDL(AxisServiceGenerator.java:166)
        at
org.apache.geronimo.axis2.Axis2WebServiceContainer.init(Axis2WebServiceContainer.java:175)
        at
org.apache.geronimo.axis2.pojo.POJOWebServiceContainer.init(POJOWebServiceContainer.java:76)
        at
org.apache.geronimo.axis2.pojo.POJOWebServiceContainerFactoryGBean.getWebServiceContainer(POJOWebServiceContainerFactoryGBean.java:105)
        ... 55 more
Caused by: java.lang.NullPointerException
        at
org.apache.axis2.jaxws.util.WSDL4JWrapper$14.run(WSDL4JWrapper.java:974)
        at
org.apache.axis2.java.security.AccessController.doPrivileged(AccessController.java:132)
        at
org.apache.axis2.jaxws.util.WSDL4JWrapper.getInputStream(WSDL4JWrapper.java:971)
        at
org.apache.axis2.jaxws.util.WSDL4JWrapper.commonPartsURLConstructor(WSDL4JWrapper.java:189)
        ... 60 more

Mime
View raw message