Hello, I am trying to find a solution to my perplexing Java web service issue. I have probably spent few days, search forums and Google, but haven�t found anything relevant. In addition, this is my first Web service. Therefore all you pros about there please �please� please be easy with the terminology.
First my development environment:
IDE: Eclipse JBOSS edition version 2/ Build: 2.0.0 Beta 2
Application Server: Tomcat v5.5
Web Service Run time: Apache Axis 1.3
JRE: Java 1.4
Web Standard Tool: v1.5
When I test my Web Service using the Eclipse web Service Explorer, the issue I am facing is with custom Web Service accepting more than one parameter. For example, if I enter non-null values, and when I test my WS using the Explorer on the console I can see that the second parameter�s value always is null (when I explicitly specified a non-null value). And if there are 3,4,5,6,7� input parameters and if I enter non-null value for each, leaving the first one all get passed as null to the WS during run time.
This is getting very frustrating and I am losing my confidence with Java. However, I feel there is some setting I am probably over looking. The SOAP envelopes will provide insight as to what I am facing.
I don�t know why this happening, but my guess is its something to do with tomcat�s http max length and I have tried looking for this but couldn�t find anything relevant either.
Any help would be appreciated.
Below is how my sample class looks.
Also, I was invoking the setLatestStockData method from Eclipse WS explorer.