0 Replies Latest reply on Nov 13, 2010 10:42 AM by Krishna Saranathan

    Jboss webservice error using topdown approach

    Krishna Saranathan Newbie



      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,




      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
      19:25:05,078 INFO  [TomcatDeployer] deploy, ctxPath=/JbossWSTopDown, warUrl=.../
      19:25:05,171 ERROR [MainDeployer] Could not start deployment: file:/C:/jboss-4.2
      org.jboss.ws.WSException: Cannot build meta data: Cannot get URL for: WEB-INF/ws
              at org.jboss.ws.metadata.builder.jaxws.JAXWSWebServiceMetaDataBuilder.bu
              at org.jboss.ws.metadata.builder.jaxws.JAXWSServerMetaDataBuilder.setupP

      I tried giving different combination, but no luck


      Pls let me know your viewpoints or any ideas on resolution.