Object array value re-arranged in web service

M

Mahesh S

Hi

I am accessing a web service and it contains an operation that takes a
java Double array. Before publishing it as a web service, I ran the
code as a standalone java application and it works fine. I am using
websphere IDE.

I use the call.invole method to pass the Double array to the web
service.

When I read the Double array contents in the web service, the values
are re-arranged.

For example, when I send it to the web service, the array contains the
following {1.0, 2.0, 7.0, 100.0}

When I read it on the web service end, the array is as listed: {2.0,
1.0, 7.0, 100.0} or some other combination.

I am clueless as to why the array is getting re-arranged.

Please help.

Thanks
Mahesh
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,766
Messages
2,569,569
Members
45,042
Latest member
icassiem

Latest Threads

Top