You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@servicemix.apache.org by "Grant McDonald (JIRA)" <ji...@apache.org> on 2006/11/08 14:35:02 UTC

[jira] Work started: (SM-721) maven plugin creates incorrect jbi.xml if multiple name spaces are used

     [ https://issues.apache.org/activemq/browse/SM-721?page=all ]

Work on SM-721 started by Grant McDonald.

> maven plugin creates incorrect jbi.xml if multiple name spaces are used
> -----------------------------------------------------------------------
>
>                 Key: SM-721
>                 URL: https://issues.apache.org/activemq/browse/SM-721
>             Project: ServiceMix
>          Issue Type: Bug
>          Components: tooling
>    Affects Versions: 3.0
>            Reporter: James Bradt
>         Assigned To: Grant McDonald
>            Priority: Minor
>         Attachments: SM-721.patch
>
>
> the xbean.xml file below is processed via the jbi maven plugin
> --------------------------------------------------------------------------------------------------------------
> <?xml version="1.0"?>
> <beans xmlns:jsr181="http://servicemix.apache.org/jsr181/1.0"
> 	xmlns:demo="urn:servicemix:soap-binding"
> 	xmlns:test="urn:servicemix:status-test"
> 	xmlns:km="urn:iconnect:km">
> 	<classpath>
> 		<location>.</location>
> 	</classpath>
> 	<jsr181:endpoint pojoClass="soap.SimpleServiceImpl"
> 		annotations="jsr181" service="demo:simple-JSR-service"
> 		endpoint="simple-JSR-service-endpoint" />
> 	<jsr181:endpoint service="km:SM-JSR181-service"
> 		annotations="jsr181" endpoint="SM-JSR181-service-endpoint">
> 		<jsr181:pojo>
> 			<bean
> 				class="com.company.product.SMServiceHttpImpl">
> 			</bean>
> 		</jsr181:pojo>
> 	</jsr181:endpoint>
> </beans>
> --------------------------------------------------------------------------------------------------------------
> and the resulting jbi.xml is 
> --------------------------------------------------------------------------------------------------------------
> <?xml version="1.0" encoding="UTF-8"?>
> <jbi xmlns="http://java.sun.com/xml/ns/jbi" version="1.0">
>   <services xmlns:ns1="urn:servicemix:soap-binding" xmlns:ns1="urn:iconnect:km">
>     <provides interface-name="ns1:simple-JSR-servicePortType" service-name="ns1:simple-JSR-service" endpoint-name="simple-JSR-service-endpoint"/>
>     <provides interface-name="ns1:SM-JSR181-servicePortType" service-name="ns1:SM-JSR181-service" endpoint-name="SM-JSR181-service-endpoint"/>
>   </services>
> </jbi>
> --------------------------------------------------------------------------------------------------------------
> The problem is that the namespace 'ns1' is defined twice

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://issues.apache.org/activemq/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira