The problem may be the order of the consumes and provides tag. In servicemix schema for the jbi descriptor, we use a sequence. it means that the provides tag need to be before the consumes tag.
On 2/13/07, jlo_gestalt <[EMAIL PROTECTED]> wrote:
I run your SU jbi.xml in the eclipse WTP tool and it fails validation. Here is the xml I am testing (I had to add the xsi namespace the the schemaLocation attribute): <?xml version="1.0" encoding="UTF-8"?> <jbi xmlns="http://java.sun.com/xml/ns/jbi" version="1.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://java.sun.com/xml/ns/jbi jbi.xsd"> <services binding-component="true" xmlns:firma="http://servidor.webservice.esb"> <consumes interface-name="firma:InterfazVerificarFirma"/> <provides interface-name="firma:InterfazVerificarFirma" service-name="firma:ServicioVerificarFirmasService" endpoint-name="endpointProviderFirma"/> </services> </jbi> The error I get back is: cvc-complex-type.2.4.a: Invalid content was found starting with element 'provides'. One of '{"http://java.sun.com/xml/ns/jbi":consumes, WC[##other:"http://java.sun.com/xml/ns/jbi"], WC[""]}' is expected. jbi jbi.xml line 10 1171377738332 44239 I am thinking the consumes tag is incorrect. Here is the http://www.nabble.com/file/6466/jbi.xsd jbi.xsd . Specifically here is the definition of consumes: <xs:element name="consumes"> <xs:complexType> <xs:choice minOccurs="0" maxOccurs="unbounded"> <xs:any namespace="##other" processContents="skip"/> <xs:any namespace="##local" processContents="skip"/> </xs:choice> <xs:attribute name="interface-name" use="required" type="xs:QName"/> <xs:attribute name="service-name" type="xs:QName"/> <xs:attribute name="endpoint-name"/> <xs:attribute name="link-type"> <xs:simpleType> <xs:restriction base="xs:token"> <xs:enumeration value="standard"/> <xs:enumeration value="hard"/> <xs:enumeration value="soft"/> </xs:restriction> </xs:simpleType> </xs:attribute> </xs:complexType> </xs:element> -- View this message in context: http://www.nabble.com/ServiceMix-in-other-JBI-Containers-tf3188098s12049.html#a8945954 Sent from the ServiceMix - User mailing list archive at Nabble.com.
-- Cheers, Guillaume Nodet ------------------------ Architect, LogicBlaze (http://www.logicblaze.com/) Blog: http://gnodet.blogspot.com/
