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.  using buildxquery

    Posted Mon June 27, 2005 07:53 PM

    i am using vb.net to fill a dataset using the taminodataadapter. i keep getting the following exception thrown from adapter.fill:

    TANPIE0001: FillUpdateable operation failed: INOXQE6321: Runtime type exception: invalid node-type. : Expected NodeType: document.

    here is a piece of the code:

    Dim adapter As TaminoDataAdapter = New TaminoDataAdapter(mURL, mCollection)
    adapter.Behavior = TaminoAdapterBehavior.UpdateByItemMapping
    Dim taminoQuery As TaminoQuery = TaminoXQueryBuilder.BuildXQuery(“”, xquery, _
    TaminoAdapterBehavior.UpdateByItemMapping)
    Dim fillCount As Integer
    adapter.Query = taminoQuery
    fillCount = adapter.Fill(taminoDS)

    if i change the adapter behavior to readonly, it will work. but, i need to be able to update.

    does anyone have any idea what this error means?

    are there any examples of using buildxquery with a prolog parameter other than null?

    are there any vb.net examples at all?


    #webMethods-Tamino-XML-Server-APIs
    #API-Management
    #webMethods


  • 2.  RE: using buildxquery

    Posted Thu July 14, 2005 07:17 PM

    Did you have a look at the documentation under:

    Tamino APIs →
    Tamino API for .NET →
    Programming with the Tamino API for .NET

    especially under:

    Working with Datasets and the TaminoDataAdapter

    I think there are only C# samples but they are fairly trivial.

    I think that the prolog is intended for anything that may precede the query expression proper (e.g. namespace declarations).


    #webMethods-Tamino-XML-Server-APIs
    #API-Management
    #webMethods