|
From: Ng C. Y. [Cyng] <cy...@cs...> - 2003-06-02 03:01:30
|
Hi,
> Is there a specified order for setting header parameters? If I set them in
> the order below, "<eb:DuplicateElimination/>" appears twice in the resulting
> message.
>
> header.setAction(action);
> header.setCpaId(cpaID);
> header.setConversationId(conversationID);
> header.setService(service, "Order");
> header.setDuplicateElimination();
> header.setTimestamp(Utility.toUTCString(now.getTime()));
This order should be ok. And sorry that I do not see two
<eb:DuplicateElimination/>. I simply new an EbxmlMessage() and set
the headers in your specified order.
Regards,
CY
----------------------------------------------------------------------------
Ng Chi Yuen, CY. cy...@ce... http://www.cecid.hku.hk/
Technology Officer,
Centre for E-Commerce Infrastructure Development,
The University of Hong Kong
----------------------------------------------------------------------------
|