Quantcast
Channel: Metro and JAXB Related Items on Java.net
Viewing all articles
Browse latest Browse all 171

WS-Reliable Message with Metro

$
0
0

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?


Viewing all articles
Browse latest Browse all 171

Trending Articles