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.


#TechXchangePresenter
 View Only
  • 1.  Ampersand in Query

    Posted Tue June 15, 2004 06:46 PM

    I want to run a query that looks like this:
    http://servername/tamino/database/Reports?_xql=mydoc[myelement=“A&P”]/anotherelement

    But I get an error that says “Missing end quotation character”, so I try this:
    http://servername/tamino/database/Reports?_xql=mydoc[myelement=“A& amp ;P”]/anotherelement (with no spaces)

    I still get the same thing. Is there something I have to set in the database to get it to recognize the escape sequence? Or am I using the incorrect escape sequence? Thanks.


    #webMethods
    #API-Management
    #Tamino


  • 2.  RE: Ampersand in Query

    Posted Tue June 15, 2004 10:54 PM

    Hi Heather,
    You need to URL Encode the ‘&’ character when sending it as part of a URL i.e. “A%26P”

    Regards,
    Gary


    #API-Management
    #Tamino
    #webMethods