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.

 View Only
  • 1.  string function : Tamino 4.1.4.1 - > 4.2

    Posted Mon July 12, 2004 03:40 PM

    I’ve a DB with data like that:

    <data>
    <startdate>2004-12-14</startdate>
    <enddate>2004-12-26</enddate>
    <partner>toto</partner>
    </data>
    </pre><BR><BR>start & end dates are in date format (not string).<BR><BR>With Tamino 4.1.4.1 my query return is <BR><BR><pre class="ip-ubbcode-code-pre">
    return 
    <data>
    <start>{string($data/startdate)}</start>
    <end>{string($data/enddate)}</end>
    </data>
    </pre><BR><BR>no problem. with Tamino 4.2 the query return this :<BR><pre class="ip-ubbcode-code-pre"> 
    <ino:message ino:returnvalue="6366">
    
    <ino:messagetext ino:code="INOXQE6366">Type exception: invalid input for function</ino:messagetext> 
    
    <ino:messageline>Function: string; line 3, column 109: <![CDATA[string($data/startdate]]></ino:messageline> 
    </ino:message> 


    if I remove the string function, it’s working, but I need it for better formated return


    #Tamino
    #webMethods
    #API-Management


  • 2.  RE: string function : Tamino 4.1.4.1 - > 4.2

    Posted Wed July 14, 2004 11:12 AM

    Hi,

    I sucessfuly tried
    declare namespace xs = “http://www.w3.org/2001/XMLSchema"<BR>string(<date>{xs:date("2004-12-14”)})
    with my Tamino 4.2.
    Either my 4.2 is not the same as yours (unlikely) or your
    schema & data contain some interesting bit that irritates
    our typing mechanism. Please send those to me or tell me
    where I can find them and I’ll have a look.

    Thanks & regards,
    Juliane.


    #webMethods
    #API-Management
    #Tamino