RE: [BizTalker] XPathSelectionException - it selected no node at all ??


    [Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
    • From: ISRAEL ANDRES LASO
    • Subject: RE: [BizTalker] XPathSelectionException - it selected no node at all ??
    • Date: Fri, 27 May 2005 18:34:15 +1000

    Hi Andrés,
    yes, i did this:
     
    XPathStatement = /msg_Empleado/@fecha;
    xpath(Msg_IncidenciasEmpleado.msg_Empleado, XPathStatement) = "1234";
     
    I don´t know what to do.
     
    regards,
     
    Israel Andrés.
     
    
    ________________________________
    
    De: biztalkerlist@xxxxxxxxxxxxxxxxxxxxxx en nombre de Andrés Eduardo Moreno Reyes
    Enviado el: jue 26/05/2005 20:52
    Para: BizTalker@xxxxxxxxxxxxxxxxxxxxxx
    Asunto: RE: [BizTalker] XPathSelectionException - it selected no node at all ??
    
    
    
    The problem could be the web message.
    This message is a multi-part message.  So you have to access the message
    with the name of it and the part you are using.
    
    an example:
    xpath(webmessage.part,'/msg_Empleado/@fecha' );
    
    Andrés Eduardo Moreno R.
    Ingeniero de Desarrollo
    InterGrupo S.A - Bogotá
    amoreno@xxxxxxxxxxxxxx <mailto:amoreno@xxxxxxxxxxxxxx>
    Tel: (+57 1) 3174780
    Fax: (+57 1) 3174791
    
    Visite nuestro sitio: www.intergrupo.com
    
    
    
    
    ________________________________
    
    De: biztalkerlist@xxxxxxxxxxxxxxxxxxxxxx en nombre de ISRAEL ANDRES LASO
    Enviado el: Jue 5/26/2005 12:19 p.m.
    Para: Lista BIZTALKER
    Asunto: [BizTalker] XPathSelectionException - it selected no node at all
    ??
    
    
     
    Hi,
    other problem. 
    In my orchestation I have a message witch it is based in web schema(of
    my web service), but when I try to execute a simple xpath expresion with
    it, it´s appears an error in event log::
    
    
    The XPath expression '/msg_Empleado/@fecha' selected a node which is not
    valid for property or distinguished field retrieval, or it selected no
    node at all. Only text-only elements or attributes may be selected.
    
    Exception type: XPathSelectionException
    
    Source: Microsoft.XLANGs.Engine
    
    Target Site: Void XPathStore(System.Object, System.String)
    
    What is the problem if the schema in the wsdl of the web service is the
    next?
    
    <s:schema elementFormDefault="qualified"
    targetNamespace="http://LemonaSchemas.IncidenciasNomina_Out";>
    
    <s:element name="msg_Empleado" type="s1:Empleado" />
    
    <s:complexType name="Empleado">
    
    <s:sequence>
    
    <s:element minOccurs="0" maxOccurs="unbounded" form="unqualified"
    name="Incidencia" type="s1:EmpleadoIncidencia" />
    
    </s:sequence>
    
    <s:attribute name="codigo" type="s:string" />
    
    <s:attribute name="fecha" type="s:string" />
    
    </s:complexType>
    
    <s:complexType name="EmpleadoIncidencia">
    
    <s:sequence>
    
    <s:element minOccurs="0" maxOccurs="unbounded" form="unqualified"
    name="Cantidad" type="s:string" />
    
    </s:sequence>
    
    <s:attribute name="codigo" type="s:string" />
    
    </s:complexType>
    
    </s:schema>
    
    
    
    Thanks and regards,
    
    
    
    Israel Andrés.
    
    
    to unsubscribe to this list, please send a message back to the list with
    'unsubscribe' as the subject. Powered by mailenable.com - List managed
    by http://www.readify.net
    
    DISCLAIMER:
    
    El contenido de este mensaje y sus anexos es propiedad exclusiva de INTERGRUPO S.A., son únicamente para el uso del destinatario y pueden contener información que no es de carácter público, de uso privilegiado o confidencial. Si usted no es el destinatario intencional, se le informa que cualquier uso, difusión, distribución o copiado de esta comunicación está terminantemente prohibido. Cualquier revisión, retransmisión, diseminación o uso del mismo, así como cualquier acción que se tome respecto a la información contenida, por personas o entidades diferentes al propósito original de la misma, es ilegal.
    
    
    
    
    
    
    
    to unsubscribe to this list, please send a message back to the list with 'unsubscribe' as the subject. Powered by mailenable.com - List managed by http://www.readify.net
    

    <<winmail.dat>>




    (Click here for more information on the biztalkers mailling list)