[Users] EIP dynamic-router

vzurczak petals-components at ebmwebsourcing.com
Wed Mar 16 10:25:14 CET 2011


Hi.


nguyen wrote:
> This is my SU jbi.xml file
> 
> Code:
> 
> <?xml version="1.0" encoding="UTF-8"?>
> <!-- Generated JBI descriptor for the PEtALS component "petals-se-eip" (EIP), version 2.3 -->
> <jbi:jbi version="1.0" 
> 	xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
> 	xmlns:jbi="http://java.sun.com/xml/ns/jbi"
> 	xmlns:eip="http://petals.ow2.org/components/eip/version-2.3"
> 	xmlns:petalsCDK="http://petals.ow2.org/components/extensions/version-4.0"
> 	xmlns:generatedNs="http://exemple.eip.acoss.fr/dynamic-router/">
> 	
> 	<!-- Import a Service into PEtALS or Expose a PEtALS Service => use a BC. -->
> 	<jbi:services binding-component="false">
> 		<!-- Import a Service into PEtALS => provides a Service. -->
> 		<jbi:provides 		
> 			interface-name="generatedNs:dynamic-router"
> 			service-name="generatedNs:dynamic-routerService"
> 			endpoint-name="dynamic-routerServiceEndpoint">
> 	
> 			<!-- CDK specific elements -->
> 			<petalsCDK:wsdl>dynamic-router.wsdl</petalsCDK:wsdl>
> 		
> 			<!-- Component specific elements -->	
> 			<eip:eip>dynamic-router</eip:eip>
> 			<eip:dynamic-router-condition>count(//*)>0</eip:dynamic-router-condition>
> 		</jbi:provides>
> 		
> 		<!-- Consumed project 1 ( Service to Test ) -->
> 		<jbi:consumes
> 			interface-name="iConsumeNsPrefix:XC17"
> 			service-name="iConsumeNsPrefix:XC17Service"
> 			endpoint-name="xc17"
> 			xmlns:iConsumeNsPrefix="http://xc17.snv2sxml.technical.services.esb.cirso.fr/1.0">
> 			
> 			<!-- CK specific fields for this consume -->
> 			<petalsCDK:mep>InOut</petalsCDK:mep>
> 		</jbi:consumes>
> 		
> 		<!-- Consumed project 2 ( condition = count(//*)>0 ) -->
> 		<jbi:consumes
> 			interface-name="iConsumeNsPrefix:XC18"
> 			service-name="iConsumeNsPrefix:XC18Service"
> 			endpoint-name="xc18"
> 			xmlns:iConsumeNsPrefix="http://xc18.snv2sxml.technical.services.esb.cirso.fr/1.0">
> 			
> 			<!-- CK specific fields for this consume -->
> 			<petalsCDK:mep>InOut</petalsCDK:mep>
> 		</jbi:consumes>
> 		
> 		<!-- Consumed project 3 ( Default ) -->
> 		<jbi:consumes
> 			interface-name="iConsumeNsPrefix:XC21"
> 			service-name="iConsumeNsPrefix:XC21Service"
> 			endpoint-name="xc21"
> 			xmlns:iConsumeNsPrefix="http://xc21.snv2sxml.technical.services.esb.cirso.fr/1.0">
> 			
> 			<!-- CK specific fields for this consume -->
> 			<petalsCDK:mep>InOut</petalsCDK:mep>
> 		</jbi:consumes>
> 		
> 	</jbi:services>
> </jbi:jbi>
> 
> 
> 


I guess this one was generated by the plug-ins.
And you're right, it is weird that the conditions were not written in the proivde part.

As Adrien said, it is possible that the component has been updated and not the associated plug-in.
In particular, if the "condition" element associated to this pattern was renamed, it could explain these errors.  :? 

I'm goign to get the last XSDs from the component and make corrections if necessary.




-------------------- m2f --------------------

Read this forum topic online here:
http://petals.ebmwebsourcing.com/forum/viewtopic.php?p=280#280

-------------------- m2f --------------------


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://forum-list.petalslink.org/pipermail/users/attachments/20110316/d14154d9/attachment.htm>


More information about the Users mailing list