EDI post through http

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

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

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

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

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.

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

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.

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.

Hi,

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

Thanks
Shyam

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

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

[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]

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

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

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