I'm attempting to expose a simple bean with ws4ee. I'm using JBoss 4.0.3SP1 and jwsdp-2.0. ws-compile gave me a few issues, but I got it to deploy and serve wsdl files just fine. The problem is when I call the (doc/literal) webservice from an axis client, I get the following exception:
2006-02-13 14:25:31,367 ERROR [org.apache.catalina.connector.CoyoteAdapter] An exception or error occurred in the container during the request processing
java.lang.IllegalArgumentException: The char '0x0' in 'java.io.IOException: java.lang.IllegalArgumentException: The char '0x0' in '' is not a valid XML character.' is not a valid XML character.
<full stack trace deleted for brevity>
I looked at what should have been returned in a debugger and saw one String containing null characters. I could manually handle this condition for every String returned, but is there no way to pass this as binary data?
I hesitate to modify these returned bean classes since they are generated code!
Can you please provide a sample deployment that shows the issues and open a bug in jira?