WSDL required in war files
Is the WSDL a required artifact to be included with the war file?
We noticed in the fromjava sample that the wsdl was not bundled in the server war file. The wsdl was being autogenerated at runtime.
When we tried this with our codebase, and we noticed that we were getting errors. We had a server method foo(bar b) that is being called thru the wsdl. If we do not include the wsdl, when the client invokes the server, the parameter 'b' is null. However, I noticed that the client side code that is generated from the wsdl thinks that the parameter is really a List instead of an area. For grins, I changed the method to take a single bar element (foo(bar b)) and everything works.
Alternatively, we noticed that if we simply keep the wsdl with the war file, that the test also works without changing the interface.
Does JAX-WS or JAX-B have issues working with arrays?