0
我试图在jboss 5.0中为我的webservice设置上下文根元素,并且在部署过程中忽略它。这里是我正在使用的示例xml,我需要的只是上下文根Jboss.xml忽略上下文根
<?xml version="1.0" encoding="UTF-8"?>
<jboss version="3.0"
xmlns="http://www.jboss.com/xml/ns/javaee"
xmlns:javaee="http://java.sun.com/xml/ns/javaee"
xmlns:xml="http://www.w3.org/XML/1998/namespace"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://www.jboss.com/xml/ns/javaee http://www.jboss.org/j2ee/schema/jboss_5_0.xsd">
<webservices>
<context-root>/MyWebService</context-root>
</webservices>
</jboss>