Skip to main content

WS-Reliable Message with Metro

Please note these java.net forums are being decommissioned and use the new and improved forums at https://community.oracle.com/community/java.
No replies
xuxiaoxia
Offline
Joined: 2013-04-10

Hi:
I try to use Ws-Reliabile Message feature in WSIT with Metro.I just want to achieve a simple function,for example the AddNumbers sample.My Web Service Endpoint runs OK,but my client has a java.lang.NumberFormatException.My Client AddNumbers.xml as follow:
<?xml version='1.0' encoding='UTF-8'?

....



revocationEnabled="true"/>

200
10




The wsit-client.xml is created by NetBeans,I debug my client find that
CloseTimeoutClientAssertion and AckRequestIntervalClientAssertion has the same Code:
"interval = Long.parseLong(super.getAttributeValue(MILLISECONDS_ATTRIBUTE_QNAME));"
obviously CloseTimeoutClientAssertion and AckRequestIntervalClientAssertion want get the Milliseconds attribute,but netbeans doesn't create the attribute...
so I change the AddNumber.xml to:
"
",then my client runs OK.

Is this my operational error or a bug of NetBeans or Metro?