webMethods

webMethods

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
Expand all | Collapse all

Testing flow service that receives input xml as string

  • 1.  Testing flow service that receives input xml as string

    Posted Fri November 12, 2010 11:15 PM

    My flow service receives input xml in the form of String.
    Is there any testing tool to test this flow service? Since input is xml, we can’t use ?inputxml=“<?xml…”


    #Flow-and-Java-services
    #webMethods
    #Integration-Server-and-ESB


  • 2.  RE: Testing flow service that receives input xml as string

    Posted Tue November 16, 2010 09:35 PM

    Hello

    May be i didn’t understand your problem properly or missing something .

    But in your flowservice you must be using ‘pub.xml:xmlStringToXMLNode’ right?.So why don’t you hardcode input:xmldata with the xml string you want and do your testing?

    thanks
    Anil


    #webMethods
    #Integration-Server-and-ESB
    #Flow-and-Java-services


  • 3.  RE: Testing flow service that receives input xml as string

    Posted Wed November 17, 2010 03:41 AM

    Actually I created a small dsp page. I need to supply this page to my testers for testing my service. Thank you for your response.


    #webMethods
    #Integration-Server-and-ESB
    #Flow-and-Java-services


  • 4.  RE: Testing flow service that receives input xml as string

    Posted Wed November 17, 2010 03:55 PM

    “Since input is xml, we can’t use ?inputxml=”<?xml…“”

    You might be able to, depending upon the length of the XML. Just URL encode the XML. Lots of online tools available for this or use the pub.string:URLEncode service via Developer. You can then paste the URL encoded XML into the browser.


    #webMethods
    #Integration-Server-and-ESB
    #Flow-and-Java-services