Hello All.
I have created a webservice using Axis is hosted on
Tomcat - probably the simplest scenario.
I have a GUI client app written in C# (using VS.net).
I have an "embedded" webservice client in this C#
application, that knows how to contact a given
webservice and invoke a web method.
As en example to explain my question ...
My webserive (MyWebService.jws) has a web method
returning a user (custom) object called Row (FQCN:
ka.util.Row) which is written something like below:
public class Row implements java.io.Serializable
{
private int ptr = 0;
private List content = null;
public Row()
{
content = new ArrayList();
}
public Row(Row that)
{
content = that.getList();
ptr = that.getPtr();
}
public List getList()
{
return content;
}
public int getPtr()
{
return ptr;
}
}
The webmethod published by MyWebService.java is
public Row getCurrentRow(int marker) { ... }
Now, my Row class can easily be modified to be a Java
Bean, but let's say, in practice it's not feasible for
me to consider this as a bean.
Can someone throw some light on how my C# client ...
1. Invoke this webmethod (Row getCurrentRow(int))?
2. How my java based Row class can be mapped to a C#
based Row class.
3. What about serialization/deserialization?
I do not need exact instruction, if someone can
explain with a different example as well, it would be
good. Even a link to some similar explanation would
suffice.
Thanks in advance.
Kartik
__________________________________
Do you Yahoo!?
Yahoo! SiteBuilder - Free, easy-to-use web site design software
http://sitebuilder.yahoo.com