MessageValidationException

19 views
Skip to first unread message

a2eng

unread,
Jan 27, 2011, 9:53:05 AM1/27/11
to Hermes 2.0 Discussion List
Hello,
This is following on from a thread of the same name:
http://groups.google.com/group/cecid-hermes2/browse_thread/thread/e97613ca3aa89d0d

I too have discovered that if Action has a capital letter the
following error is produced:

2011-01-27 13:16:14 [http-8080-6 ] <INFO > <cecid.ebms.spa> <Outbound
payload received - cpaId: B2B_OpenreachOnRamp_Lantec_Services_Ltd_cp
2011-01-27 13:16:14 [http-8080-6 ] <INFO > <cecid.ebms.spa>
<Genereating message id: 20110127-1...@127.0.1.1>
2011-01-27 13:16:14 [http-8080-6 ] <INFO > <cecid.ebms.spa> <Store
outgoing message: 20110127-1...@127.0.1.1>
2011-01-27 13:16:14 [http-8080-6 ] <INFO > <cecid.ebms.spa> <Outbound
payload processed - cpaId: B2B_OpenreachOnRamp_Lantec_Services_Ltd_c
2011-01-27 13:16:14 [Thread-2 ] <ERROR> <cecid.ebms.spa> <Message
Validation Exception: 20110127-1...@127.0.1.1>
hk.hku.cecid.ebms.spa.task.MessageValidationException: Cannot find the
ref to message: null
at
hk.hku.cecid.ebms.spa.task.AgreementHandler.findPartnership(AgreementHandler.java:
135)
at
hk.hku.cecid.ebms.spa.task.AgreementHandler.<init>(AgreementHandler.java:
75)
at
hk.hku.cecid.ebms.spa.task.OutboxTask.<init>(OutboxTask.java:157)
at
hk.hku.cecid.ebms.spa.task.OutboxCollector.getTaskList(OutboxCollector.java:
68)
at
hk.hku.cecid.piazza.commons.module.ActiveTaskModule.execute(ActiveTaskModule.java:
137)
at
hk.hku.cecid.piazza.commons.module.ActiveModule.run(ActiveModule.java:
213)
at java.lang.Thread.run(Thread.java:619)
2011-01-27 13:16:14 [Thread-6236 ] <INFO > <cecid.ebms.spa> <Mark as
failed (Message id: 20110127-1...@127.0.1.1)>
2011-01-27 13:16:14 [Thread-6236 ] <INFO > <cecid.ebms.spa> <Generate
internal error message>
2011-01-27 13:16:14 [Thread-6236 ] <ERROR> <cecid.ebms.spa> <Error in
outbox task>
hk.hku.cecid.ebms.spa.task.DeliveryException: Cannot find the ref to
message: null
at
hk.hku.cecid.ebms.spa.task.OutboxTask.execute(OutboxTask.java:374)
at
hk.hku.cecid.piazza.commons.module.ActiveThread.run(ActiveThread.java:
90)
at java.lang.Thread.run(Thread.java:619)
2011-01-27 13:16:14 [Thread-6237 ] <INFO > <cecid.ebms.spa> <Ebxml
Message (20110127-1...@127.0.1.1) is stored in inbox with
order

In this case the action was Ping, once I changed it to ping all was
fine.

My concern is that most of the actions I have in an imported CPA from
BT have upper case letters in the action, for example
"bcQueryAddressMatchv14" so this could be a problem.

Does anyone have any ideas about this? One thought I had was to make
the database case insensitive, don't know if that will have any
affect.

Many thanks,
Adrian.
Reply all
Reply to author
Forward
0 new messages