Krishna Saranathan [
http://community.jboss.org/people/krishnapsg_1984] created the
discussion
"Jboss webservice error using topdown approach"
To view the discussion, visit:
http://community.jboss.org/message/571097#571097
--------------------------------------------------------------
| | Hi
I started creating a sample webservice using top-down approach in jboss 4.2.2 GA in win
xp.
From the wsdl, i generated stubs using wsconsume
I created a new
java class: SalesTaxImpl implementing the interface in the generated stub. Configured
@WebService with endpointInterface, portname, wsdllocation.
My war application has the following:
* WEB-INF/classes/
* WEB-INF/wsdl/SalesTaxService.wsdl
* WEB-INF/web.xml
In web.xml i have,
<web-app>
<servlet>
<servlet-name>SalesTax</servlet-name>
<servlet-class>com.hp.np.ws.SalesTaxImpl</servlet-class>
</servlet>
<servlet-mapping>
<servlet-name>SalesTax</servlet-name>
<url-pattern>/tax</url-pattern>
</servlet-mapping>
</web-app>
After placing the war in <JBOSS_HOME>/server/default/deploy path, i am getting the
following error:
19:25:05,046 INFO [DefaultEndpointRegistry] register: jboss.ws:context=JbossWST
opDown,endpoint=SalesTax
19:25:05,078 INFO [TomcatDeployer] deploy, ctxPath=/JbossWSTopDown, warUrl=.../
tmp/deploy/tmp13893JbossWSTopDown-exp.war/
19:25:05,171 ERROR [MainDeployer] Could not start deployment: file:/C:/jboss-4.2
.2.GA/server/default/deploy/JbossWSTopDown.war
org.jboss.ws.WSException: Cannot build meta data: Cannot get URL for: WEB-INF/ws
dl/SalesTaxService.wsdl
at org.jboss.ws.metadata.builder.jaxws.JAXWSWebServiceMetaDataBuilder.bu
ildWebServiceMetaData(JAXWSWebServiceMetaDataBuilder.java:207)
at org.jboss.ws.metadata.builder.jaxws.JAXWSServerMetaDataBuilder.setupP
roviderOrWebService(JAXWSServerMetaDataBuilder.java:50)
I tried giving different combination, but no luck
Pls let me know your viewpoints or any ideas on resolution. |
--------------------------------------------------------------
Reply to this message by going to Community
[
http://community.jboss.org/message/571097#571097]
Start a new discussion in JBoss Web Services at Community
[
http://community.jboss.org/choose-container!input.jspa?contentType=1&...]