I am fairly new to using Axis and have hit on upon a roadblock for which I couldn't find anything on the net. I was hoping that someone here migh thav encoutered a similar issue and know the solution.
I have a JWS file which is hosted on a Tomcat server. The client of this service is a .NET client. Last week we started getting issues when we tried to return collections/java beans from our new service to the .NET client.
After looking around a bit, I found that the format that I needed to use is document/literal instead of the default rpc/encoding.
Here's the problem, I can't find any configuration to change the format from the default rpc/encoding to document/literal for a JWS file (wherein the WSDL is generated automatically).
P.S. I am using Axis 1.4 for development.
Appreciate any inputs on the same.
author and deputy
Joined: Jul 13, 2001
Firstly welcome to Javaranch..
You must have missed our naming policy on the way in. In short, your displayed name must be your real (or at least real-sounding) first and last name separated by a space. You can change your displayed name here. Thank you for your prompt attention.
Regarding your question: If you are using javabeans, then you must specify the typemapping for it so that .NET kind of clients can interpret the javabeans... for more info please see this article Using Complex Type Thank you. Regards Balaji