[jboss-user] [JBoss Eclipse IDE (users)] - Re: JBossWS Plugin gen code problem

mwr0707 do-not-reply at jboss.com
Thu Nov 2 08:26:24 EST 2006


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#3982654

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3982654



More information about the jboss-user mailing list