Hi I am using apache axis for both client & server side. In server side i am declaring java one Integer object & oneString. I am generating wsdl file & generated java files from that. Now i am passing Value for Integer & String from client side. In serverside when i print both i am able to receive String object value, but for Integer i am receiving null.
What went wrong.. please its urgent. Whether i am not able to pass Integer object in java.Its working fine when i used int.
Axis doesn't requires any extra configuration for sending some basic variable as SOAP message, but for sending objects like Interger or Double or Javabeans its requires us to specify the way to de/serialize. See here on how to do so and also check our Webservces FAQ.
Hi, I tried to create the service which could return an Integer or Float variable. It is an expected fail as Axis doesn't have equivalent xml schema type for Integer/Float. If i want any client to connect to my webservices, then i would certianly avoid Integer/Float kind of objects and I will go for beans (complex types). Can you make that change ? If you still prefer to use Integer,then you can try writing Custom Serializer or use RMI.