IBM webMethods Hybrid Integration

IBM webMethods Hybrid Integration

Join this online group to communicate across IBM product users and experts by sharing advice and best practices with peers and staying up to date regarding product enhancements.



#Automation


#Applicationintegration
#webMethods
#Integration
 View Only
  • 1.  Query using "mapping-type=object"

    Posted 06/10/02 06:42 PM

    Dear friends ,

    I built a joined query, but for a filter i could not use the nodeReference shema elements.

    How can i success it.
    I got the error code

    <ino:message ino:returnvalue=“8544”>
    <ino:messagetext ino:code=“INOXME8544”>Query using “mapping-type=object” cannot be evaluated.</ino:messagetext>
    </ino:message>

    brgs
    iwama


    #API-Management
    #webMethods
    #Tamino


  • 2.  RE: Query using "mapping-type=object"

    Posted 06/11/02 10:49 AM

    Can we have your schemas, data and the query?


    #API-Management
    #webMethods
    #Tamino


  • 3.  RE: Query using "mapping-type=object"

    Posted 08/17/02 04:55 PM

    My tsd:

    <?xml version = "1.0"?>
    <xs:schema xmlns:xs = “XML Schema” xmlns:tsd = “http://namespaces.softwareag.com/tamino/TaminoSchemaDefinition”>
    xs:annotation
    xs:appinfo
    <tsd:schemaInfo name = “Test”>
    <tsd:collection name = “Test”></tsd:collection>
    <tsd:doctype name = “Customer”>
    tsd:logical
    tsd:contentclosed</tsd:content>
    </tsd:logical>
    </tsd:doctype>
    <tsd:doctype name = “Order”>
    tsd:logical
    tsd:contentclosed</tsd:content>
    </tsd:logical>
    tsd:physical</tsd:physical>
    </tsd:doctype>
    tsd:adminInfo
    tsd:versionTSD3</tsd:version>
    tsd:created2002-08-17T21:51:47.585+08:00</tsd:created>
    tsd:modified2002-08-17T21:51:47.585+08:00</tsd:modified>
    </tsd:adminInfo>
    </tsd:schemaInfo>
    </xs:appinfo>
    </xs:annotation>
    <xs:element name = “Customer”>
    xs:complexType
    xs:sequence
    <xs:element name = “CustomerNo” type = “xs:string”></xs:element>
    <xs:element name = “CustomerName” type = “xs:string”></xs:element>
    </xs:sequence>
    </xs:complexType>
    </xs:element>
    <xs:element name = “Order”>
    xs:complexType
    xs:sequence
    <xs:element name = “OrderNo” type = “xs:string”></xs:element>
    <xs:element name = “CustNo” type = “xs:string”>
    xs:annotation
    xs:appinfo
    tsd:elementInfo
    tsd:physical
    tsd:native
    tsd:objectRef
    tsd:collectionRefTest</tsd:collectionRef>
    <tsd:accessPredicate operator = “=”>
    tsd:nodeRef/Customer/CustomerNo</tsd:nodeRef>
    </tsd:accessPredicate>
    </tsd:objectRef>
    </tsd:native>
    </tsd:physical>
    </tsd:elementInfo>
    </xs:appinfo>
    </xs:annotation>
    </xs:element>
    </xs:sequence>
    </xs:complexType>
    </xs:element>
    </xs:schema>

    and my xml:

    <?xml version="1.0"?>

    1
    David


    2
    Sunny


    5
    1


    and my X-Query:

    /Order[OrderNo=5]/CustNo/

    Please help!


    #Tamino
    #webMethods
    #API-Management


  • 4.  RE: Query using "mapping-type=object"

    Posted 08/18/02 11:32 AM

    It seems like that filters are not fully supported for a foreign doctype at this moment.
    Tamino is just able to search for primary documents and resolve foreign documents though access predicate.
    However I found that some filters are already work. But it involves postprocessing engine.

    The situation and some workarounds are described in Tamino documentation at rather great length. Check Advanced Concepts/From Schema to Tamino/Document Composition.

    For full joins support let’s wait for XQuery to be implemented.

    [This message was edited by Alexander on 18 Aug 2002 at 10:11.]


    #API-Management
    #Tamino
    #webMethods