mushaofeng / java-ws-discovery

Automatically exported from code.google.com/p/java-ws-discovery
GNU Lesser General Public License v3.0
0 stars 0 forks source link

Serialization issue leads to empty probe matches under jboss #13

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Create a war file targeted at deployment to jboss with j2ee class loading 
option turned on
2. Create a singleton class that wraps around the provided wsdiscovery server
3. Create a servlet context listener that starts the ws-discovery singlton class
4. Publish some endpoints in the context listener
5. Use a command line client to probe for endpoints

What is the expected output? What do you see instead?
Serialization issue. When running in jboss, the jboss web services stack 
supplies the MessageFactory and thus handles the .writeTo(OutputStream) 
function. Long story short, the contents of ProbeMatches is empty, even though 
it is added to the ProbeMatches object.

What version of the product are you using? On what operating system?
0.2 windows 7 with jboss 5.1.2

Please provide any additional information below.

Original issue reported on code.google.com by spyhunte...@gmail.com on 9 Apr 2012 at 3:15