Kartik, I've used C# (VS.net) to talk to web services, so here's my suggestion:
In VS.net, create a web reference for your C# project, and enter the URL/path to the WSDL for your SOAP service. Bang, you're done. VS.net should create all the necessary mappings for you. -Chris > -----Original Message----- > From: Kartik [mailto:[EMAIL PROTECTED] > Sent: Sunday, July 27, 2003 2:04 PM > To: [EMAIL PROTECTED] > Subject: [Axis with C#.NET] Custom object serialization / > deserialization > > > 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 >
