JBoss Community

Web Service deploy question in eclipse.

created by Joseph Hwang in JBoss Web Services - View the full discussion

I inserted jboss-web.xml file in WEB-INF folder.

File is like below

 

<?xml version="1.0" encoding="UTF-8"?>

<!DOCTYPE jboss-web
    PUBLIC "-//JBoss//DTD Web Application 2.3V2//EN"
    "http://www.jboss.org/j2ee/dtd/jboss-web_3_2.dtd">

<jboss-web>
<context-root>/WebService</context-root>
</jboss-web>

 

URL value of wsdl file is http://localhost/WebService/HelloWorld

Deployment of Web Service was succeeded. In Eclipse console message is shown like below

 

18:25:51,971 INFO  [DefaultEndpointRegistry] register: jboss.ws:context=WSHelloWorld,endpoint=HelloWorld
18:25:52,026 INFO  [TomcatDeployment] deploy, ctxPath=/WebService
18:25:52,504 INFO  [WSDLFilePublisher] WSDL published to: file:/C:/jboss-5.1.0.GA/server/default/data/wsdl/WSHelloWorldEAR.ear/WSHelloWorld.war/HelloWorldService1779339131217151711.wsdl

 

I types http://localhost:8080/jbossws/services in IE9 and registered Web services were shown

 

Registered Service Endpoints

Endpoint Namejboss.ws:context=WSHelloWorld,endpoint=HelloWorld
Endpoint Addresshttp://localhost:8080/WSHelloWorld/HelloWorld?wsdl

Reply to this message by going to Community

Start a new discussion in JBoss Web Services at Community