loopback test error

233 views
Skip to first unread message

ricoo

unread,
Dec 11, 2012, 11:25:05 AM12/11/12
to cecid-...@googlegroups.com
Hello,
I have an error when the as2 plugin try to send as2 message in my loopback test.

I make a successfull call to the as2 sender service via java coded client and I get a new messageId in return.
But when I ask the status of this message, I get the response DF for Delivery Failure.
Where could I be wrong?

here is my as2.log


2012-12-11 16:53:37 [8080-exec-10] <INFO > <Outbound payload received - From: as2loopback, To: as2loopback, Type: bin>
2012-12-11 16:53:37 [8080-exec-10] <INFO > <Outbound payload persisted - From: as2loopback, To: as2loopback, Type: bin>
2012-12-11 16:53:37 [Thread-170  ] <INFO > <Persisting outbound AS2 Message [20121211-1...@127.0.1.1, From: as2loopback, To: as2loopback]>
2012-12-11 16:53:37 [Thread-170  ] <DEBUG> <AS2 Message [20121211-1...@127.0.1.1, From: as2loopback, To: as2loopback] is being captured>
2012-12-11 16:53:37 [Thread-170  ] <DEBUG> <Clearing cache of AS2 Message [20121211-1...@127.0.1.1, From: as2loopback, To: as2loopback]: true>
2012-12-11 16:53:37 [Thread-171  ] <INFO > <Sending outgoing AS2 Message [Unknown ID, From: null, To: null] to http://127.0.0.1:8080/corvus/httpd/as2/inbound>

2012-12-11 16:53:37 [Thread-171  ] <ERROR> <Outgoing message task failure>
hk.hku.cecid.edi.as2.AS2Exception: Error in sending outgoing AS2 message: 20121211-1...@127.0.1.1
        by hk.hku.cecid.piazza.commons.net.ConnectionException: Unable to send HTTP request
        by java.io.IOException: Server returned HTTP response code: 400 for URL: http://127.0.0.1:8080/corvus/httpd/as2/inbound
        at hk.hku.cecid.edi.as2.module.OutgoingMessageTask.execute(OutgoingMessageTask.java:108)
        at hk.hku.cecid.piazza.commons.module.ActiveThread.run(ActiveThread.java:90)
        at java.lang.Thread.run(Thread.java:722)
Caused by: hk.hku.cecid.piazza.commons.net.ConnectionException: Unable to send HTTP request
        by java.io.IOException: Server returned HTTP response code: 400 for URL: http://127.0.0.1:8080/corvus/httpd/as2/inbound
        at hk.hku.cecid.piazza.commons.net.HttpConnector.send(HttpConnector.java:233)
:

my soap request :
<SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/"><SOAP-ENV:Header/><SOAP-ENV:Body><tns:as2_from xmlns:tns="http://service.as2.edi.cecid.hku.hk/">as2loopback</tns:as2_from><tns:as2_to xmlns:tns="http://service.as2.edi.cecid.hku.hk/">as2loopback</tns:as2_to><tns:type xmlns:tns="http://service.as2.edi.cecid.hku.hk/">bin</tns:type></SOAP-ENV:Body></SOAP-ENV:Envelope>

the tomcat error page (translated from my mother tongue to english)
type : state report
message : Invalid AS2 Message
description : request send by the client was syntax incorrect

thanks in advance.








Дмитрий Прайвит

unread,
May 7, 2014, 6:33:25 AM5/7/14
to cecid-...@googlegroups.com
Hello! Do you solve this problem? I have the same(

вторник, 11 декабря 2012 г., 20:25:05 UTC+4 пользователь ricoo написал:

Methnani Web Develop

unread,
May 7, 2014, 6:13:04 PM5/7/14
to cecid-...@googlegroups.com
Hello,
Plz try to send an existant example of test message from the as2 pdf.
The message form is incorrect.
--
You received this message because you are subscribed to the Google Groups "Hermes 2.0 Discussion List" group.
To unsubscribe from this group and stop receiving emails from it, send an email to cecid-hermes...@googlegroups.com.
To post to this group, send email to cecid-...@googlegroups.com.
Visit this group at http://groups.google.com/group/cecid-hermes2.
For more options, visit https://groups.google.com/d/optout.


--

Mohamed Methnani
Netconsulting, S.Technique
www.netconsulting.com.tn
in...@netconsulting.com.tn |
(+216) 27 567 985 | Skype: netconsultingtn
 

Дмитрий Прайвит

unread,
May 8, 2014, 3:05:23 AM5/8/14
to cecid-...@googlegroups.com
Thank you for reply!
I got this problem exactly when I try to execute sample from as2 Installation guide. I use as2-send.bat to send loopback msg. Before this I execute as2-partnership.bat to create partnership. It was created successfully. But I still got 400 error code. I use Java 7 and tomcat version 7. But I don't believe this error because of later versions. Any other sugestions how to solve this problem? Thank you for help!



--
You received this message because you are subscribed to a topic in the Google Groups "Hermes 2.0 Discussion List" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/cecid-hermes2/Fx0GsKl_Gqw/unsubscribe.
To unsubscribe from this group and all its topics, send an email to cecid-hermes...@googlegroups.com.

ricoo

unread,
Sep 28, 2016, 6:54:51 AM9/28/16
to Hermes 2.0 Discussion List
Hello,
I had a bad  (mine was newer version) postgres SQL jar in the corvus lib ( in your directory where you have your piazza-corvus.jar)  directory, try to use a postgresql-8.3-604.jdbc3.jar
Regards.


 

Le mardi 11 décembre 2012 17:25:05 UTC+1, ricoo a écrit :
Hello,
I have an error when the as2 plugin try to send as2 message in my loopback test.

I make a successfull call to the as2 sender service via java coded client and I get a new messageId in return.
But when I ask the status of this message, I get the response DF for Delivery Failure.
Where could I be wrong?

here is my as2.log


2012-12-11 16:53:37 [8080-exec-10] <INFO > <Outbound payload received - From: as2loopback, To: as2loopback, Type: bin>
2012-12-11 16:53:37 [8080-exec-10] <INFO > <Outbound payload persisted - From: as2loopback, To: as2loopback, Type: bin>
2012-12-11 16:53:37 [Thread-170  ] <INFO > <Persisting outbound AS2 Message [20121211-165337-11702@127.0.1.1, From: as2loopback, To: as2loopback]>
2012-12-11 16:53:37 [Thread-170  ] <DEBUG> <AS2 Message [20121211-165337-11702@127.0.1.1, From: as2loopback, To: as2loopback] is being captured>
2012-12-11 16:53:37 [Thread-170  ] <DEBUG> <Clearing cache of AS2 Message [20121211-165337-11702@127.0.1.1, From: as2loopback, To: as2loopback]: true>

2012-12-11 16:53:37 [Thread-171  ] <INFO > <Sending outgoing AS2 Message [Unknown ID, From: null, To: null] to http://127.0.0.1:8080/corvus/httpd/as2/inbound>
Reply all
Reply to author
Forward
0 new messages