Joseph Hwang [
http://community.jboss.org/people/aupres] created the discussion
"Re: Web Service Deployment Exception"
To view the discussion, visit:
http://community.jboss.org/message/596072#596072
--------------------------------------------------------------
Thank you for your reply.
http://localhost/WSHelloWorld?WSHelloWorldService.wsdl
http://localhost/WSHelloWorld?WSHelloWorldService.wsdl access is failed!.
I found I missed jboss-web.xml in WAR#WEB-INF folder. so I put jboss-web.xml file into
folder.
File is like belows
<?xml version="1.0" encoding="UTF-8"?>
<jboss-web xmlns="
http://www.jboss.com/xml/ns/javaee
http://www.jboss.com/xml/ns/javaee" xmlns:xsi="
http://www.w3.org/2001/XMLSchema-instance http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="
http://www.jboss.com/xml/ns/javaee
http://www.jboss.com/xml/ns/javaee http://www.jboss.org/j2ee/schema/jboss-web_5_1.xsd
http://www.jboss.org/j2ee/schema/jboss-web_5_1.xsd" version="5.1">
<context-root>/ws</context-root>
</jboss-web>
But deploy is also failed.
The reason is -> org.xml.sax.SAXException: cvc-complex-type.3.2.2: Attribute
'version' is not allowed to appear in element 'jboss-web'.
However I can see the 'version' attribute in <jboss-web> element in
http://www.jboss.org/j2ee/schema/jboss-web_5_1.xsd
http://www.jboss.org/j2ee/schema/jboss-web_5_1.xsd file
Pls inform me of any advice. Thanks in advance.
--------------------------------------------------------------
Reply to this message by going to Community
[
http://community.jboss.org/message/596072#596072]
Start a new discussion in JBoss Web Services at Community
[
http://community.jboss.org/choose-container!input.jspa?contentType=1&...]