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

EDI post through http

  • 1.  EDI post through http

    Posted Thu December 11, 2008 01:37 PM

    Hi All,

    Am trying to post an EDIFACT file through http.
    When i send it to my partner , i see Http code: 500 , internal error.

    When i post the same one to an local url its going through.

    Is it something to do with the target server or they cannot handle these EDIFACT files?

    Or do i need to make some changes at my side like Content-type etc in TPA?

    Your help is highly appreciated !!!

    Thanks
    Shyam


    #webMethods
    #webMethods-General
    #Integration-Server-and-ESB


  • 2.  RE: EDI post through http

    Posted Thu December 11, 2008 02:56 PM

    Please elaborate on your setup?? are you processing via AS2 or plain vanilla http service?? what you had set the content type??

    Also review the EDIModule userguid for more info…

    HTH,
    RMG


    #webMethods-General
    #Integration-Server-and-ESB
    #webMethods


  • 3.  RE: EDI post through http

    Posted Thu December 11, 2008 03:40 PM

    Hi

    We are using normal http service and content type is set to application/EDI.
    Do i need to set up anything ?

    Thanks in advance.
    Shyam


    #webMethods-General
    #webMethods
    #Integration-Server-and-ESB


  • 4.  RE: EDI post through http

    Posted Thu December 11, 2008 04:32 PM

    I dont think you can do this via http alone…but what are the other params you set there? Are you sending as string or bytes or stream with loadAS?

    try also header/Content-type=application/EDIFACT

    HTH,
    RMg


    #webMethods-General
    #Integration-Server-and-ESB
    #webMethods


  • 5.  RE: EDI post through http

    Posted Thu December 11, 2008 05:09 PM

    The loadAs parameter does not impact how data is sent. It controls how the response is handled.

    The target server is failing with the general error code. You’ll need to contact them to find out what the specific error is. I would suggest doing that before making any changes to your setup.


    #webMethods
    #webMethods-General
    #Integration-Server-and-ESB


  • 6.  RE: EDI post through http

    Posted Thu December 11, 2008 07:10 PM

    I agree…but we have to also see what http svc settings currently in place and that causing the target server fail/internally that is expecting differently.

    HTH,
    RMG


    #webMethods-General
    #Integration-Server-and-ESB
    #webMethods


  • 7.  RE: EDI post through http

    Posted Thu December 11, 2008 11:37 PM

    But the setting of loadAs has nothing to do with the behavior of the target server. The value of loadAs is not sent. It is used only to process the response from the target server.


    #webMethods-General
    #webMethods
    #Integration-Server-and-ESB


  • 8.  RE: EDI post through http

    Posted Fri December 12, 2008 12:27 AM

    Yes i just asking to check the settings aswell before it hits target server that might expecting the correct format/configuration…I agree this is totally server side http/transport issue either by underlying source/remote server.


    #Integration-Server-and-ESB
    #webMethods-General
    #webMethods


  • 9.  RE: EDI post through http

    Posted Fri December 12, 2008 07:29 AM

    Hi,

    loadAS is Stream and and content type = application/EDI , ok i will also try with EDIFACT.

    Thanks
    Shyam


    #webMethods-General
    #webMethods
    #Integration-Server-and-ESB


  • 10.  RE: EDI post through http

    Posted Fri December 12, 2008 03:41 PM

    Sure let us know how it goes…Did you contacted the target server folks any response??


    #webMethods
    #Integration-Server-and-ESB
    #webMethods-General


  • 11.  RE: EDI post through http

    Posted Fri December 12, 2008 03:50 PM

    Thanks rmg and reamon both for your valuable suggestions,

    I talked to the target application folks and am yet to hear something from them.

    I will surely be on this thread till this get resolved.

    Thanks
    Shyam


    #webMethods-General
    #Integration-Server-and-ESB
    #webMethods


  • 12.  RE: EDI post through http

    Posted Tue December 16, 2008 01:24 PM

    [SIZE=2]

    Hi,

    They have checked the error messages with support for the application they use - PontonXp. The answer from them after checking their error log is this:
    [FONT=Arial][SIZE=2]" From messenger log:
    [COLOR=#0000ff]"> 2008-12-11 15:32:20,811 INFO - SoapListener[2] - 20000 - Receiving >incoming HTTP message[4870] Content-Type:application/EDI

    2008-12-11 15:32:20,811 ERROR - SoapListener[2] - 40000 - Error while >receiving SOAP message: >Is this an error message instead of a SOAP response?[/color] [/size][/font]

    [FONT=Arial][SIZE=2]The problem is that the SoapListener expects SOAP messages, but the transmission looks like a AS2 message.

    How do i work on this, the normal http doesnt work out here?

    Thanks
    Shyam
    [/size][/font]

    [/SIZE]


    #webMethods-General
    #Integration-Server-and-ESB
    #webMethods


  • 13.  RE: EDI post through http

    Posted Tue December 16, 2008 03:04 PM

    You should be clear what type of communication/exchange your TP expecting is it web services (SOAP/Http gateway) or EDIINT AS2(http/s) transfer?? Well both can be accomplished via IS/TN…

    I believe based on the error above target server is expecting SOAP request using web services…So do you have enough info like wsdl etc… from them??

    HTH,
    RMG


    #webMethods-General
    #webMethods
    #Integration-Server-and-ESB


  • 14.  RE: EDI post through http

    Posted Tue December 16, 2008 05:28 PM

    Hi ,

    Can we send EDI files through webservice?

    Because as per our present setup this partner were receiveing only xml’s and this is the first time they are going to receive EDI.

    So as i talked to the target guy , he said he can set up for receiving through AS2.

    Does it work out or should i go for a change?

    Thanks


    #webMethods
    #webMethods-General
    #Integration-Server-and-ESB


  • 15.  RE: EDI post through http

    Posted Tue December 16, 2008 05:46 PM

    Yes go with EDIINT AS2 process as they have agreed…

    Please review the EDIINTModule userguide for setup/TN configuration etc…

    PS:There are lot of EDIINT queries/topics covered in the webMethods EDI section of this forum…

    HTH,
    RMG


    #webMethods
    #Integration-Server-and-ESB
    #webMethods-General