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.  Got the error when doing search

    Posted 09/22/03 11:58 AM

    X-Application Version: 4.1.1
    Tamino Version : 4.1.1
    Platform : Win2kWebContainer : Tamocat 4.1.1
    JDK Version : 1.4.1

    I get the following error when I generate an X-application for Yacht and did a search with all fields blank.

    An error occurred in the application program. Please report the following problem to your webmaster.
    Error message: Exception when executing query : for $x in input()/yacht return $x.
    Help message: Based on the query parameters X-Application created a query string. But, this string was not accepted by Tamino. Look at the message of the stack trace to find the reason of the problem.
    Exception id: 157
    Exception Type: DesignException
    Stacktrace:


    XException: id = 215 arg[0] = com.softwareag.xtools.xapplication.plugin.StandardWorkspacePlugin.xqueryDocuments arg[1] = xquery
    Nested Exception (com.softwareag.tamino.db.API.response.TResponseBuildException, tag: $Name: JavaTaminoAPI_4_1_2_41 $) stacktrace:

    Nested Exception (java.lang.NumberFormatException, tag: $Name: JavaTaminoAPI_4_1_2_41 $) stacktrace:

    java.lang.NumberFormatException: For input string: “”


    #webMethods
    #API-Management
    #Tamino


  • 2.  RE: Got the error when doing search

    Posted 09/22/03 03:55 PM

    Hi,

    I’m just not quite familiar with ‘Yacht’.
    Could you please send me the schema.

    Thanks
    Thorsten


    #API-Management
    #webMethods
    #Tamino


  • 3.  RE: Got the error when doing search

    Posted 09/23/03 08:23 AM

    Hello,

    Could you sent the same query with the X-Plorer or with the Tamino Interactive Interface?

    If it works fine with these tools, please send us the complete stacktrace and the schema for your example.

    Many thanks.

    Bye,
    Christian.


    #Tamino
    #webMethods
    #API-Management


  • 4.  RE: Got the error when doing search

    Posted 09/26/03 10:23 AM

    I have attached the Schema. But I dont think its because of the schema because it works fine in my friends PC.
    yachtSchema.tsd (3.2 KB)


    #webMethods
    #API-Management
    #Tamino


  • 5.  RE: Got the error when doing search

    Posted 09/26/03 11:05 AM

    Hello,

    please, could you check your data. Use the Tamino Interactive Interface or X-Plorer.

    I guess that one of your stored documents is invalid. The schema contains xs:integer and xs:decimals. If one document contains for example an empty string instead of an integer or decimal the number format exception occurs.

    If you remove this document / these documents, the search should work.

    Bye,
    Christian.


    #API-Management
    #webMethods
    #Tamino