As an example, this modified version of webservices.xml validates without error:
<?xml version="1.0" encoding="UTF-8"?>
| <webservices
xmlns="http://java.sun.com/xml/ns/j2ee"
xmlns:impl='urn:com.acme'
|
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee
file:/C:/jboss-4.0.5.GA/docs/schema/j2ee_web_services_1_1.xsd"
version="1.1">
| <webservice-description>
|
<webservice-description-name>PowerService</webservice-description-name>
| <wsdl-file>META-INF/wsdl/PowerService.wsdl</wsdl-file>
|
<jaxrpc-mapping-file>META-INF/jaxrpc-mapping.xml</jaxrpc-mapping-file>
| <port-component>
| <port-component-name>PowerServicePort</port-component-name>
| <wsdl-port>impl:PowerServicePort</wsdl-port>
|
<service-endpoint-interface>com.acme.PowerService</service-endpoint-interface>
| <service-impl-bean>
| <ejb-link>PowerService</ejb-link>
| </service-impl-bean>
| </port-component>
| </webservice-description>
| </webservices>
Note the xsi:schemaLocation
xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee
file:/C:/jboss-4.0.5.GA/docs/schema/j2ee_web_services_1_1.xsd"
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3982654#...
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&a...