1 Reply Latest reply on Nov 5, 2007 6:02 AM by thomas.diesler

    Merging PortComponentRefs

    starksm64

      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>
      


      I assume there should be one JBossPortComponentRef with the service-endpoint-interface overriden(although here its the same value). Right now two are showing up in the ApplicationClient14UnitTestCase.testServiceRef