[ https://issues.apache.org/activemq/browse/SM-721?page=all ]
Grant McDonald reassigned SM-721:
---------------------------------
Assignee: 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
>
> 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