February 10, 2007 at 9:59 am
· Filed under JAVA Community
i have a java webservice running, i am trying to send a customer object from a client to the webservice, but when the webservice receives the Customer object, all the data within the object (name, surname, address etc.) is null
Also i have tried debugging it to see if the Customer object is really filled from the client side, and it is the weird thing is, when receiving Customer array filled with Customer objects from the web service, it goes without any problem
what might be the problem when sending a Customer object to the webservice, that the webservice only receives null values ?
You are doing something wrong and/or the webservice/rpc implementation is broken
how can it be broken, could you please explain ?
consider swapping axis for xfire.. it’s easier to manage when you got little or no clues what you are doing
i am using axis
axis is very broken on many accounts
xfire is less broken and easier to use
so you mean, this might be an issue with axis
isn’t it weird than that i am able to receive an array of objects but not able to send just 1 object, or are these two things totally different from one another ?
More of an issue with you using axis.. it’s non-tribial to set up and debug
i c
trivial, even
just saying xfire is easier to get going
thanks for the info
Permalink
February 10, 2007 at 9:56 am
· Filed under JAVA Community
hi, can i ask a question, i have a *.java file im working on, and i need to convert/compile it into a *.class file
ive done it before, with javac source endfile
but i’ve forgotten how
i know its a oneliner simple command, anyone knows?
build it?
yes
even, even
ive forgotten the exact command parameters
and im getting a lang/thread error message
but my JRE SDK (1.5) doesnt have a subdir called lang/thread, maybe i need to install the 1.1.2 JRE ?
or 1.1.8 ?
javac ?
that’s it?
to build it yes
if you have a library proble, then i dont have much for you
Unable to initialize threads: cannot find class java/lang/Thread
sounds like im missing the complete JRE installation then?
hmm
i dont know how you would be missing that part
but it would be part of 1.5
I did a full install of 1.5
hmmmmm
let me check hold on
jre-1_5_0_07-windows-i586-p.exe
18mb’s
not sure why its not there.. according to sun, its been there since jdk 1.0
doing a reinstall brb 30 sec
1.5 is J2SE, does that matter?
J2SE should include the full JRE as part of J2SE
ill be honest,i havent done threads in java 
are you doing import java.lang.thread or implements thread?
or you could just try java.lang.*
yes, it imports 4 components
5
import java.awt.event.*; import java.util.*; etc etc
but the libs are there as JAR files
so it should be ok
did a full new install , and javac.exe doesnt come with it
thanks for the help though
Permalink