RE: Services Object Instantiation

2002-07-16 Thread SWesten
Title: Services Object Instantiation see section "Scoped Services" in User's Guide   Stephan   -Original Message-From: Michael Roytman [mailto:[EMAIL PROTECTED]]Sent: Monday, July 15, 2002 6:07 PMTo: [EMAIL PROTECTED]Subject: Services Object Instantiation Hi, During ou

RE: error with Beta 3

2002-07-12 Thread SWesten
probably has nothing to do with log4j, but for those who need to get beta3 running: i had to add saaj.jar to my libraries (classpath) Stephan > -Original Message- > From: Fishman, Richard [mailto:[EMAIL PROTECTED]] > Sent: Friday, July 12, 2002 5:03 PM > To: '[EMAIL PROTECTED]' > Subjec

how to update server-side object fields

2002-06-05 Thread SWesten
Hi,   The problem i face has to do with updates of fields of server-side objects.   I do not want my web service to expose a set method for each field (granularity too fine). An alternative would be to use a hashmap containing the fields to be updated. However, this makes it impossible to do

naming of service

2002-06-03 Thread SWesten
Hi All,   My web service consists of a DashboardManager class which returns an array of Dashboard (s).   Publishing this service results in client side classes called DashboardManagerService and Dashboard.   In my opinion this is a bit too much: "...ManagerService". I rather would have two

RE: Solving .NET desrialization problem by simple soap arrays

2002-05-29 Thread SWesten
best solution as far as i know is to use typed arrays. Axis can serialize them to XML and .NET can read them.   e.g.       public Dashboard[] getDashboards() {    Collection result = new ArrayList();    result.add( new Dashboard("personal") );    return (Dashboard[]) result.to

.NET client and arrays/collections

2002-05-28 Thread SWesten
Hello,   I created a simple web service with Axis and am trying to access it from a .NET client. This web service has a method that returns a java.util.Collection (which is the one giving problems). Generating the c# proxy class using wsdl.exe gives the following error message:   --- Schema

RE: Design guidelines for web service interfaces?

2002-05-24 Thread SWesten
Doing web service design obviously you have to consider the trade-off between coarse versus fine grained methods and the number of roundtrips. We, for example, implemented a relative small number of methods which return large amounts of data (with the possibility to filter) in order to reduce the

RE: normal Array in XML, how ?

2002-05-24 Thread SWesten
It works, for those who are interested, here's an example: call.setOperationName(new QName("urn:axisserver", "getItems")); Object[] objs = (Object[]) call.invoke(new Object[] {} ); System.out.println("Length: " + objs.length); System.out.println("Na

RE: normal Array in XML, how ?

2002-05-24 Thread SWesten
yep, just found out that an object of type java.util.ArrayList is returned (still doesn't work: array.size=0, but i'm closer) Stephan > -Original Message- > From: Paul Hunnisett [mailto:[EMAIL PROTECTED]] > Sent: Friday, May 24, 2002 3:17 PM > To: [EMAIL PROTECTED] > Subject: RE: norma

RE: normal Array in XML, how ?

2002-05-24 Thread SWesten
I'm interested to know how you get the values of the array using the Call object. Call.invoke( .. ) returns an object, not an array, so that doesn't work. I tried call.getOutputValues() but doesn't work either. Suggestions? thanks, Stephan > -Original Message- > From: Gaël Pouzerate