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.  tsd:function

    Posted 09/21/08 03:19 AM

    Hello,

    I have a problem with the tsd:function. I played around with the example and got this error:

    required attribute missing - attribute “name” in element “tsd:function” INOXDE7712
    tsd:function
    <tsd:name xmlns:company=“http://www.company.com/functions”>
    company:createDefaultString</tsd:name>
    </tsd:function>

    So I changed the code to this
    <tsd:function name=“SXSJIDQuery.getID”></tsd:function>
    … and it works.

    First question - is that the way it was ment to be?

    But refering to the documentation: “The function call is executed whenever a default value is needed” - its not working within an update scenario.

    Second question - is this related to my changes?

    Please help.
    Henning

    btw. I use Tamino 4.4.1.1


    #Tamino
    #API-Management
    #webMethods


  • 2.  RE: tsd:function

    Posted 10/31/08 08:23 PM

    Hi Henning,

    sorry for being slightly late with my answer.

    (1)

    So I changed the code to this

    … and it works.

    First question - is that the way it was ment to be?

    Answer: yes

    (2)

    But refering to the documentation: “The function call is executed whenever a default value is needed” - its not working within an update scenario.

    Second question - is this related to my changes?

    Answer: please provide more details?
    What do you mean by update scenario? Do you insert a document fragment using XQuery or are you replacing the whole document using PROCESS?
    For further explanation pls provide the complete schema as well as the old and new document or XQuery update statement you are using to update the document.

    Regards
    Uli


    #Tamino
    #webMethods
    #API-Management