Some regressions in the metadata project have shown up due to how spec/jboss port-component-ref elements are merged. How should the following be merged:
<application-client xmlns="http://java.sun.com/xml/ns/j2ee" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" version="1.4" xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee http://java.sun.com/xml/ns/j2ee/application-client_1_4.xsd"> <display-name>BeanMirrorSEIClient_client</display-name> <service-ref> <service-ref-name>service/beanMirrorSEI</service-ref-name> <service-interface>javax.xml.rpc.Service</service-interface> <wsdl-file>META-INF/wsdl/BeanMirrorSEI.wsdl</wsdl-file> <jaxrpc-mapping-file>BeanMirrorSEI.xml</jaxrpc-mapping-file> <port-component-ref> <service-endpoint-interface>com.sun.ts.tests.webservices.deploy.beanMirrorSEI.HelloWs</service-endpoint-interface> </port-component-ref> </service-ref> </application-client>
<jboss-client> <jndi-name>BeanMirrorSEIClient_client</jndi-name> <service-ref> <service-ref-name>service/beanMirrorSEI</service-ref-name> <port-component-ref> <service-endpoint-interface>com.sun.ts.tests.webservices.deploy.beanMirrorSEI.HelloWs</service-endpoint-interface> <port-qname>{http://BeanMirrorSEI.org}HelloWsPort</port-qname> </port-component-ref> <wsdl-override>http://localhost:8080/BeanMirrorSEIWeb/ws4ee/beanMirrorSEI?WSDL</wsdl-override> </service-ref> </jboss-client>
JBossPortComponentRef should extend PortComponentRef i.e. it should not have a SEI property on its own.
The reason this is duplicated in the the jboss dtd is for identification purposes