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

Http bizdoc to another IS server??

  • 1.  Http bizdoc to another IS server??

    Posted Mon May 16, 2011 08:05 PM

    can someone explain how to send bizdoc to another IS server thru http post???


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


  • 2.  RE: Http bizdoc to another IS server??

    Posted Mon May 16, 2011 11:26 PM

    Don’t do that. Bizdocs are not intended to be used that way.

    If you want the payload within the bizdoc processed by another IS, send the payload to IS as you would to any other partner system.


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


  • 3.  RE: Http bizdoc to another IS server??

    Posted Tue May 17, 2011 04:50 AM

    Thank you for your reply. I extracted the content from bizdoc using wm.tn.doc:getContentPart and then I converted the content part to String…to this point I am retrieving the output as a string. My question is can I http string to another IS? if String is going to be the input on the target IS, What service I need to invoke to capture string at the other end? I am able to http fine but I am getting 403 status message.


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


  • 4.  RE: Http bizdoc to another IS server??

    Posted Tue May 17, 2011 06:50 AM

    pub.client.http can be used to post the data to another IS. On the target side input string can be defined to retrieve the data. What is the payload type, xml or flat file ?


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


  • 5.  RE: Http bizdoc to another IS server??

    Posted Tue May 17, 2011 07:01 AM


  • 6.  RE: Http bizdoc to another IS server??

    Posted Tue May 17, 2011 08:21 AM

    Mona,

    Use convertToValues service to handle inbound flat file.


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


  • 7.  RE: Http bizdoc to another IS server??

    Posted Tue May 17, 2011 03:22 PM

    On the target IS, you’ll need to define a service to receive and process that string.


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


  • 8.  RE: Http bizdoc to another IS server??

    Posted Wed May 18, 2011 04:54 AM

    I am passing data as a stream from the source server to target server and passing stream as input on target server and converting stream to string using PSUtilities.stream:streamToString service to convert stream to string and preceding service is pub.flatFile:convertToValues but I am getting error saying no content. Am I using wrong service??


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


  • 9.  RE: Http bizdoc to another IS server??

    Posted Wed May 18, 2011 05:49 AM

    Streams cannot be passed over the network. Your target service is receiving a byte array.


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