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.

 View Only
  • 1.  Msg truncated to fit receive-buffer

    Posted Tue February 10, 2015 10:27 PM

    Hi all,

    We are having problems getting a webservice to behave when converting between the code pages ibm-1047_P100-1995 and UTF-8.

    The RPC call is initiated by the mainframe and calls to a Unix box which then responds. So far, everything is working perfectly up to the point where the response is passed back to the mainframe broker.

    The Broker SYSOUT shows:

    It seems to be an issue during the code page conversion.

    The IDL is:

    I wonder if the logical parameter (CUSTOMER-FOUND) is causing issues as we have many other web services working fine but none of them have a logical parameter in the response to the mainframe.

    We’re running EntireX 8.1.3 and Natural 4.2.7 sp14.

    Any ideas?

    Thanks,
    Chris


    #Mainframe-Integration
    #EntireX
    #webMethods


  • 2.  RE: Msg truncated to fit receive-buffer

    Posted Wed February 11, 2015 04:26 AM

    Hi Chris,

    you cannot use UTF-8 with SAGTCHA & RPC.

    So either do not use UTF-8 in the XML RPC Server (this is the recommendation) or change the conversion setting in the Broker to SAGTRPC.


    #Mainframe-Integration
    #EntireX
    #webMethods


  • 3.  RE: Msg truncated to fit receive-buffer

    Posted Wed February 11, 2015 07:19 AM

    My recommendation.

    • do not change the setting of CONVERSION in the Broker attribute file
    • in the entirex.xmlserver.properties file set “entirex.server.codepage==ISO8859-1”

    #webMethods
    #EntireX
    #Mainframe-Integration


  • 4.  RE: Msg truncated to fit receive-buffer

    Posted Wed February 11, 2015 07:04 PM

    Hi Rolf,

    Thanks for your replies. Can I confirm that the double equals sign is a typo?
    We’ll try it and see if it fixes our error.

    Regards,
    Chris


    #webMethods
    #Mainframe-Integration
    #EntireX


  • 5.  RE: Msg truncated to fit receive-buffer

    Posted Thu February 12, 2015 12:10 AM

    We made the change to the RPC server config code page as shown above.

    We’re not getting any Natural errors and we see LS=ISO-8859-1 instead of UTF-8 now but we still see the 00200094 Msg truncated to fit receive-buffer error in the Broker trace as below:

    Is there any way for us to be able to see the payload? Perhaps that would help us to understand what the RPC Server is trying to push into the Broker and diagnose the problem.


    #webMethods
    #Mainframe-Integration
    #EntireX


  • 6.  RE: Msg truncated to fit receive-buffer

    Posted Thu February 12, 2015 03:42 AM

    Do you see this error in the Broker trace only, or do you also get an error in thr RPC client?

    Please send the complete Broker trace to support, the interesting stuff is not in the part you posted here …


    #webMethods
    #Mainframe-Integration
    #EntireX


  • 7.  RE: Msg truncated to fit receive-buffer

    Posted Thu February 12, 2015 04:30 AM

    Of course it is a typo, sorry for the confusion.


    #Mainframe-Integration
    #webMethods
    #EntireX


  • 8.  RE: Msg truncated to fit receive-buffer

    Posted Thu February 12, 2015 05:26 AM

    This is a completely different scenario.
    There is a Java or XML/SOAP RPC client which sends a request to a Natural RPC Server RPC/NATRPCD1/CALLNAT, library TMNEW, program TM-GN1-N with a receive length of 9788 bytes.
    The RPC Server seems to change the library to MQSERVER and returns 119186 bytes.

    The consequence is the “Msg truncated to fit receive-buffer” error on the client side. However, the RPC client should reread the message with the correct length and continue without an error. So in this case the error in the Broker log can be ignored.


    #EntireX
    #webMethods
    #Mainframe-Integration