[jbossws-dev] [Design of JBoss Web Services] - Merging PortComponentRefs

scott.stark@jboss.org do-not-reply at jboss.com
Fri Nov 2 15:02:57 EDT 2007


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 


View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4101424#4101424

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



More information about the jbossws-dev mailing list