MessageValidationException

4 views
Skip to first unread message

Eps

unread,
Jul 5, 2010, 7:49:10 AM7/5/10
to Hermes 2.0 Discussion List
Hi Guys,

I have stumbled across a new problem, during testing on friday I was
able to successfully send an ebxml message to our partner, however
today when trying the same thing I am getting the following error.

2010-07-05 12:43:12 [Thread-1 ] <ERROR> <cecid.ebms.spa> <Message
Validation Exception: >
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)

I have tried putting in a value for the RefToMessageId element and
leaving it null but the error is exactly the same.

I am not sure I understand the purpose of the element, in my scenario
I am sending an initial request so there are no previous messages that
should be referenced.

Any help would be much appreciated.

--
Andy Burchill

Eps

unread,
Jul 5, 2010, 8:01:13 AM7/5/10
to Hermes 2.0 Discussion List
Oh I was playing with this and managed to fix it, it did not like the
value of the action element to be capitalised, not sure yet if this is
going to be problem for me later or not.
Reply all
Reply to author
Forward
0 new messages