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.  HTTP and BytesToString services

    Posted 04/29/08 12:17 PM

    hello.
    I use pub.client:http service to submet data to appropriate url; this service return me bytes parameter (along the other parameter), which i am passing to the input bytes parameter of pub.string:bytesToString…But, when I call pub.string:BytesToString service to turn the byte into the string (which I need to do because I need to make the document from xml string) , I get the empty output from that service.
    Can anyone help me? (the other input parameter is ‘encoding’, but i don’t pass nothing to that parameter)

    Thanks…


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


  • 2.  RE: HTTP and BytesToString services

    Posted 04/29/08 01:33 PM

    Hello,
    what value did you set to ‘loadAs’ parameter for pub.client:http service? (The default is bytes). May be you are getting an empty response.
    But even in worst case you should get the HTML output of the url as a response.

    Cheers
    Guna


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


  • 3.  RE: HTTP and BytesToString services

    Posted 04/29/08 02:45 PM

    I don’t get the empty response. i set loadAs=bytes, and service returns me appropriate bytes…


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


  • 4.  RE: HTTP and BytesToString services

    Posted 04/29/08 04:20 PM

    How can you tell that you’re getting “appropriate bytes?” If bytesToString isn’t returning a string, then it seems a possibility that what is returned is not appropriate.

    Can you post the details of the http call and the bytesToString step?


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


  • 5.  RE: HTTP and BytesToString services

    Posted 04/29/08 09:04 PM

    Thank you all for answering to me…I found what the problem was…


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


  • 6.  RE: HTTP and BytesToString services

    Posted 04/29/08 10:21 PM

    Care to share what the issue and the resolution was?


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


  • 7.  RE: HTTP and BytesToString services

    Posted 04/30/08 08:30 AM

    The problem was xml: the parameters I am passing to the server weren’t right parameters the server expecting. It is strange, because, i suppose that in that case, server must return me some kind of error. does it?


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