You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-user@axis.apache.org by Kai Unewisse <ka...@innovations.de> on 2003/03/26 17:52:58 UTC

DII : JavaBeans & Vector mapping ?

Hi all,

Please enlighten me a little bit ;-)

I get an "Error : (500)Internal Server Error" when I access my
server-WS-Method :

public Methods login(String AccountNumber, String pw) {

My Client accesses this by :

Methods obj = (Methods) call.invoke(new Object[] { "0123456789", "ABC" });


I use "special" JavaBeans,which holds a java.util.Vector filled with other
custom objects.
My JavaBeans are accessed via Reflection and therefore there is no need for
get/set.


public class Methods {
	public Vector methodDescriptions;
}

public class MethodDescriptions{
	public String name;
	public String returnvalue;
}

 Usually a Beans has no public attributes, so I changed the code: Even after
adding get/set for all attributes no change is visible.

What is the meaning of 500 Internal Error at WS ?

Is it still possible to use the BeanSerailization or do I have to write my
own Serializer/Deserializer ?