Re: best practices for exceptions?

2004-09-12 Thread thomas . bailey
Hopefully some axis guru will tell me Im way off but my understanding the problem is you would still loose interop since you still rely on knowing what an exception is on the client side (?). Besides which I think you probably want possible faults described in the wsdl so clients can figure out exa

Re: best practices for exceptions?

2004-09-12 Thread abuse
Please comment on this pseudocode for exception handling. The majority of the client and server code would throw subclasses of DetailedException, which would not be axis- specific. That would be converted to and from an AxisFault, and a generic fault would be sent over the wire (illustrated at

Re: best practices for exceptions?

2004-09-11 Thread thomas . bailey
Im certainly no expert and I was asking the same thing but from my understanding, you can extend remote exception and catch them but you loose interop so the best way is to extend axis fault and use constants to set fault codes which you can then get at client side. The catch is you cant (or I cant

RE: Best Practices?

2004-05-14 Thread Anderson Jonathan
get hairy with complex schemas though. Regards, -Jon -Original Message- From: Galbreath, Mark A [mailto:[EMAIL PROTECTED] Sent: Thursday, May 13, 2004 5:41 PM To: '[EMAIL PROTECTED]' Subject: RE: Best Practices? bingo -Original Message- From: Volkmann, Mark [mai

RE: Best Practices?

2004-05-14 Thread Yakulis, Ross (Ross)
Title: RE: Best Practices? Another item to consider in the best practices:  Is it considered best form to have a single inclusive wsdl or break up the wsdl into separate files?  Any thoughts?  Please add to the Wiki.   Ross

RE: Best Practices?

2004-05-14 Thread Anne Thomas Manes
Title: RE: Best Practices? <snipped for brevity>   Have you tried SOAPScope? It provides a built-in browser testing utility. See www.mindreef.com     From: Volkmann, Mark [mailto:[EMAIL PROTECTED] Sent: Friday, May 14, 2004 9:45 AM To: '[EMAIL PROTECTED]' S

RE: Best Practices?

2004-05-14 Thread Anne Thomas Manes
Title: RE: Best Practices? <snipped for brevity>   Have you tried SOAPScope? It provides a built-in browser testing utility. See www.mindreef.com     From: Volkmann, Mark [mailto:[EMAIL PROTECTED] Sent: Friday, May 14, 2004 9:45 AM To: '[EMAIL PROTECTED]' S

Re: Best Practices?

2004-05-14 Thread Tom Myers
Galbreath, Mark A wrote: I truely wish to access a Web service from a browser. However I can make that happen. Mark You can access a SOAP or REST service with a Java applet or, in a modern browser, in Javascript. There's sample code scattered on the web, or in books like http://www.amazon.com/ex

RE: Best Practices?

2004-05-13 Thread Anne Thomas Manes
http://www.capescience.com/soa/index.shtml     From: Nicholas Remy [mailto:[EMAIL PROTECTED] Sent: Wednesday, May 12, 2004 11:48 AM To: [EMAIL PROTECTED] Subject: RE: Best Practices?   Cape Clear's WSDL/Schema editor is free?  I was under the impression that it was

RE: Best Practices?

2004-05-13 Thread Anne Thomas Manes
http://www.capescience.com/soa/index.shtml     From: Nicholas Remy [mailto:[EMAIL PROTECTED] Sent: Wednesday, May 12, 2004 11:48 AM To: [EMAIL PROTECTED] Subject: RE: Best Practices?   Cape Clear's WSDL/Schema editor is free?  I was under the impression that it was

RE: Best Practices?

2004-05-13 Thread Blake Dournaee
web" with "xml web service." Thanks, Blake Dournaee Sarvega, Inc. http://www.sarvega.com -Original Message- From: Galbreath, Mark A [mailto:[EMAIL PROTECTED] Sent: Thursday, May 13, 2004 2:40 PM To: '[EMAIL PROTECTED]' Subject: RE: Best Practices? I truely wis

RE: Best Practices?

2004-05-13 Thread Galbreath, Mark A
I truely wish to access a Web service from a browser. However I can make that happen. Mark -Original Message- From: Joe Plautz [mailto:[EMAIL PROTECTED] Sent: Thursday, May 13, 2004 2:36 PM To: [EMAIL PROTECTED] Subject: Re: Best Practices? I don't understand what you are tryi

Re: Best Practices?

2004-05-13 Thread Joe Plautz
RE: Best Practices?That would be very beneficial. There could be a flag that you could set that would allow access to it or not. I'm game. - Original Message - From: Volkmann, Mark To: '[EMAIL PROTECTED]' Sent: Thursday, May 13, 2004 2:00 PM Subject: RE: Best Practices

RE: Best Practices?

2004-05-13 Thread Benjamin Tomasini
had no success yet. I'll try it again > without using Struts. > > Mark > > -Original Message- > From: Pridemore, Russell (MAN-Corporate) [mailto:[EMAIL PROTECTED] > Sent: Thursday, May 13, 2004 2:09 PM > To: '[EMAIL PROTECTED]' > Subject: RE: Best

Re: Best Practices?

2004-05-13 Thread Joe Plautz
;[EMAIL PROTECTED]> Sent: Thursday, May 13, 2004 1:23 PM Subject: RE: Best Practices? I've been trying that route but have had no success yet. I'll try it again without using Struts. Mark -Original Message- From: Pridemore, Russell (MAN-Corporate) [mailto:[EMAIL PROTECTED] Se

RE: Best Practices?

2004-05-13 Thread Galbreath, Mark A
I've been trying that route but have had no success yet. I'll try it again without using Struts. Mark -Original Message- From: Pridemore, Russell (MAN-Corporate) [mailto:[EMAIL PROTECTED] Sent: Thursday, May 13, 2004 2:09 PM To: '[EMAIL PROTECTED]' Subject: RE: Be

RE: Best Practices?

2004-05-13 Thread Pridemore, Russell (MAN-Corporate)
Title: RE: Best Practices? I've seen this question come up before on this list, but don't quite follow the reasoning. AFAIK, Mozilla is the only browser that can natively consume SOAP, and then only with fairly recent builds and there are several restrictions.  Web services, i

Re: Best Practices?

2004-05-13 Thread Richard Martin
Best Practices? Luciano, If you send it to me (point me to it) I'd be happy to read and review it. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: 13 May 2004 15:49 To: [EMAIL PROTECTED] Subject: RE: Best Practices? Hi Andrew, I started to write a tutor

RE: Best Practices?

2004-05-13 Thread luciano.fiandesio
Title: RE: Best Practices? Sure, I will put it on my web site and then we can move it to the Axis Wiki page. I need something like 5 days more, because I'm actually moving around Europe. My web site: www.lucianofiandesio.com   L -Original Message-From: Galbreath, M

RE: Best Practices?

2004-05-13 Thread Galbreath, Mark A
ditto! I'd be willing to work through the tutorial and give you feedback before publication. Mark -Original Message- From: Andrew Premdas [mailto:[EMAIL PROTECTED] Sent: Thursday, May 13, 2004 11:05 AM To: [EMAIL PROTECTED] Subject: RE: Best Practices? Luciano, If you send it

RE: Best Practices?

2004-05-13 Thread Andrew Premdas
Title: RE: Best Practices? Luciano,   What format is it in? (Web, Document) Would you be willing to contribute it to the wiki?   If you send it to me (point me to it) I'd be happy to read and review it.   all best   Andrew -Original Message-From: [EMAIL PROTECTED] [m

RE: Best Practices?

2004-05-13 Thread luciano.fiandesio
Title: RE: Best Practices? The tutorial I'm writing should cover this part. It actually depicts how to generate a WSDL from a Java interface, create the stubs and deploy the web service. It does not cover more complicated stuff, such custom handlers, but it should be interestin

RE: Best Practices?

2004-05-13 Thread Galbreath, Mark A
PROTECTED] Subject: RE: Best Practices? Hi Andrew, I started to write a tutorial on how to create a web service using Axis and Ant. The tutorial is also taking in consideration attachments and I believe it would fit into a Axis beginners page. Luciano -Original Message- From: Andrew

RE: Best Practices?

2004-05-13 Thread luciano.fiandesio
Title: RE: Best Practices? Hi Andrew, I started to write a tutorial on how to create a web service using Axis and Ant. The tutorial is also taking in consideration attachments and I believe it would fit into a Axis beginners page. Luciano -Original Message- From: Andrew

Re: Best Practices?

2004-05-13 Thread Joe Plautz
Will do! - Original Message - From: "Davanum Srinivas" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Thursday, May 13, 2004 8:45 AM Subject: Re: Best Practices? Well, you can use the wiki to refine the content and then we can integrate it into the documentat

RE: Best Practices?

2004-05-13 Thread Andrew Premdas
start from there. Comments? -Original Message- From: Davanum Srinivas [mailto:[EMAIL PROTECTED] Sent: 13 May 2004 14:06 To: [EMAIL PROTECTED] Subject: Re: Best Practices? Next question: Are u willing to help? As u know all committers have day jobs :) thanks, dims On Thu, 13 May 200

Re: Best Practices?

2004-05-13 Thread Davanum Srinivas
of both techniques and present them as a beginers > guide. > > Joe > > > > - Original Message - > From: "Davanum Srinivas" <[EMAIL PROTECTED]> > To: <[EMAIL PROTECTED]> > Sent: Thursday, May 13, 2004 8:05 AM > Subject: Re: B

Re: Best Practices?

2004-05-13 Thread Joe Plautz
guide. Joe - Original Message - From: "Davanum Srinivas" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Thursday, May 13, 2004 8:05 AM Subject: Re: Best Practices? Next question: Are u willing to help? As u know all committers have day jobs :) thanks, dims On Thu,

Re: Best Practices?

2004-05-13 Thread Davanum Srinivas
; All best > > Andy > > Andrew Premdas > Student Systems Developer > Manchester University > > -Original Message- > From: Davanum Srinivas [mailto:[EMAIL PROTECTED] > Sent: Wednesday, May 12, 2004 1:14 PM > To: [EMAIL PROTECTED] > Subject: Re: Best P

RE: Best Practices?

2004-05-13 Thread Andrew Premdas
essage- From: Davanum Srinivas [mailto:[EMAIL PROTECTED] Sent: Wednesday, May 12, 2004 1:14 PM To: [EMAIL PROTECTED] Subject: Re: Best Practices? Let's twist this discussion on its head - Is there a list of bugs hiding in there somewhere? (bug reports) - What would you do if you were to wr

RE: Best Practices?

2004-05-12 Thread Anderson Jonathan
wrong, and reinvent itself as quickly as SOAP technology has. -Jon -Original Message- From: Davanum Srinivas [mailto:[EMAIL PROTECTED] Sent: Wednesday, May 12, 2004 1:14 PM To: [EMAIL PROTECTED] Subject: Re: Best Practices? Let's twist this discussion on its head - Is there a lis

RE: Best Practices?

2004-05-12 Thread Anderson Jonathan
editing and modeling tool. Anne -Original Message- From: Miller, Janet [mailto:[EMAIL PROTECTED] Sent: Wednesday, May 12, 2004 1:58 PM To: [EMAIL PROTECTED] Subject: RE: Best Practices? But many people already have a service in use internally that they would like to expose to the outside

RE: Best Practices?

2004-05-12 Thread Yakulis, Ross (Ross)
al Message- From: Miller, Janet [mailto:[EMAIL PROTECTED] Sent: Wednesday, May 12, 2004 1:58 PM To: [EMAIL PROTECTED] Subject: RE: Best Practices? But many people already have a service in use internally that they would like to expose to the outside world. They have already decided what that ser

Re: Best Practices?

2004-05-12 Thread Jim Murphy
asons are more personal preferrance then need. But, I can take my DAO and put it behind something else with little changing except creating a new broker. -Joe - Original Message - From: "Anderson Jonathan" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Wednesda

RE: Best Practices?

2004-05-12 Thread Anne Thomas Manes
: Miller, Janet [mailto:[EMAIL PROTECTED] Sent: Wednesday, May 12, 2004 1:58 PM To: [EMAIL PROTECTED] Subject: RE: Best Practices? But many people already have a service in use internally that they would like to expose to the outside world. They have already decided what that service was supposed to

RE: Best Practices?

2004-05-12 Thread Anne Thomas Manes
: Miller, Janet [mailto:[EMAIL PROTECTED] Sent: Wednesday, May 12, 2004 1:58 PM To: [EMAIL PROTECTED] Subject: RE: Best Practices? But many people already have a service in use internally that they would like to expose to the outside world. They have already decided what that service was supposed to

Re: Best Practices?

2004-05-12 Thread Davanum Srinivas
r simplicity. If all services could work > >>>>like them, plus using user defined objects/type with little to no > >>>>configuration. The world would be a fabulous place. > >>>> > >>>>I too have been not tying my service layer to my DAO la

Re: Best Practices?

2004-05-12 Thread Jim Murphy
EMAIL PROTECTED]> Sent: Wednesday, May 12, 2004 10:03 AM Subject: RE: Best Practices? I would venture to say that 80% of the complications and frustrations implementing interoperable (WS-I compliant Doc/Literal) SOAP web services on Java platforms stem from the XML datatype to Java datatype bind

Re: Best Practices?

2004-05-12 Thread Davanum Srinivas
> work > > > >>like them, plus using user defined objects/type with little to no > > > >>configuration. The world would be a fabulous place. > > > >> > > > >>I too have been not tying my service layer to my DAO layer. My > r

RE: Best Practices?

2004-05-12 Thread Keith Bohnenberger
; From: Davanum Srinivas [mailto:[EMAIL PROTECTED] > Sent: Wednesday, May 12, 2004 2:26 PM > To: [EMAIL PROTECTED] > Subject: Re: Best Practices? > > Jim, > > JAX-RPC 2.0 mandates JAXB > > -- dims > > On Wed, 12 May 2004 13:58:50 -0400, Jim Murphy <[EMAIL PROTECTE

Re: Best Practices?

2004-05-12 Thread Davanum Srinivas
> much better that their predecessors. > > Ross > > > > -Original Message- > From: Davanum Srinivas [mailto:[EMAIL PROTECTED] > Sent: Wednesday, May 12, 2004 10:14 AM > To: [EMAIL PROTECTED] > Subject: Re: Best Practices? > > Let's twist this discu

Re: Best Practices?

2004-05-12 Thread Davanum Srinivas
layer. My reasons are > >>more personal preferrance then need. But, I can take my DAO and put it > >>behind something else with little changing except creating a new broker. > >> > >>-Joe > >> > >> > >> > >>- Original Message - &

RE: Best Practices?

2004-05-12 Thread Pridemore, Russell (MAN-Corporate)
ssage- From: Miller, Janet [mailto:[EMAIL PROTECTED] Sent: Wednesday, May 12, 2004 1:58 PM To: [EMAIL PROTECTED] Subject: RE: Best Practices? But many people already have a service in use internally that they would like to expose to the outside world. They have already decided what that servic

Re: Best Practices?

2004-05-12 Thread Jim Murphy
broker. -Joe - Original Message - From: "Anderson Jonathan" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Wednesday, May 12, 2004 10:03 AM Subject: RE: Best Practices? I would venture to say that 80% of the complications and frustrations implementing interopera

RE: Best Practices?

2004-05-12 Thread Miller, Janet
: Pridemore, Russell (MAN-Corporate) [mailto:[EMAIL PROTECTED] Sent: Wednesday, May 12, 2004 1:39 PM To: '[EMAIL PROTECTED]' Subject: RE: Best Practices? I'm fairly new to web-services (and axis), but am a seasoned programmer. Comparing web-services to other technologies, CORBA for insta

RE: Best Practices?

2004-05-12 Thread Pridemore, Russell (MAN-Corporate)
s a burden to work with, that's not a criticism of Axis. My $.02, Russ -Original Message- From: Yakulis, Ross (Ross) [mailto:[EMAIL PROTECTED] Sent: Wednesday, May 12, 2004 1:30 PM To: [EMAIL PROTECTED]; [EMAIL PROTECTED] Subject: RE: Best Practices? Exactly, that is why Jonathan

RE: Best Practices?

2004-05-12 Thread Yakulis, Ross (Ross)
:[EMAIL PROTECTED] Sent: Wednesday, May 12, 2004 10:14 AM To: [EMAIL PROTECTED] Subject: Re: Best Practices? Let's twist this discussion on its head - Is there a list of bugs hiding in there somewhere? (bug reports) - What would you do if you were to write/re-write parts of axis? (enhance

Re: Best Practices?

2004-05-12 Thread Davanum Srinivas
> -Joe > > > > - Original Message - > From: "Anderson Jonathan" <[EMAIL PROTECTED]> > To: <[EMAIL PROTECTED]> > Sent: Wednesday, May 12, 2004 10:03 AM > Subject: RE: Best Practices? > > > I would venture to say that 80% of the

Re: Best Practices?

2004-05-12 Thread Joe Plautz
ith little changing except creating a new broker. -Joe - Original Message - From: "Anderson Jonathan" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Wednesday, May 12, 2004 10:03 AM Subject: RE: Best Practices? > I would venture to say that 80% of the complicati

RE: Best Practices?

2004-05-12 Thread Nicholas Remy
Cape Clear's WSDL/Schema editor is free?  I was under the impression that it was only available as a component of their Cape Clear 4 product. I evaluated CC awhile back, and was impressed with Cape Clear Studio...but found it cost prohibitive.  Although we eventually chose a different SOAP soluti

RE: Best Practices?

2004-05-12 Thread Anne Thomas Manes
+1!!! -Original Message- From: Anderson Jonathan [mailto:[EMAIL PROTECTED] Sent: Wednesday, May 12, 2004 11:03 AM To: [EMAIL PROTECTED] Subject: RE: Best Practices? I would venture to say that 80% of the complications and frustrations implementing interoperable (WS-I compliant Doc

RE: Best Practices?

2004-05-12 Thread Anne Thomas Manes
+1!!! -Original Message- From: Anderson Jonathan [mailto:[EMAIL PROTECTED] Sent: Wednesday, May 12, 2004 11:03 AM To: [EMAIL PROTECTED] Subject: RE: Best Practices? I would venture to say that 80% of the complications and frustrations implementing interoperable (WS-I compliant Doc

RE: Best Practices?

2004-05-12 Thread Anne Thomas Manes
dl by hand Tomi -Ursprüngliche Nachricht- Von: David Cunningham [mailto:[EMAIL PROTECTED] Gesendet: Mittwoch, 12. Mai 2004 13:14 An: [EMAIL PROTECTED] Betreff: RE: Best Practices? I disagree, the right way is to start with your WSDL and schema files. If you want any hope of being WS-I co

RE: Best Practices?

2004-05-12 Thread Anne Thomas Manes
dl by hand Tomi -Ursprüngliche Nachricht- Von: David Cunningham [mailto:[EMAIL PROTECTED] Gesendet: Mittwoch, 12. Mai 2004 13:14 An: [EMAIL PROTECTED] Betreff: RE: Best Practices? I disagree, the right way is to start with your WSDL and schema files. If you want any hope of being WS-I co

RE: Best Practices?

2004-05-12 Thread Anderson Jonathan
sage- From: Joe Plautz [mailto:[EMAIL PROTECTED] Sent: Wednesday, May 12, 2004 10:02 AM To: [EMAIL PROTECTED] Subject: Re: Best Practices? My first attemps have started with a WSDL/Schema then I generate everything. I was able to find an example at W3.org and I just manipulate it to the way I nee

Re: Best Practices?

2004-05-12 Thread Joe Plautz
how it looks with complex datatypes! Do you all write your own wsdl by hand Tomi -Ursprüngliche Nachricht- Von: David Cunningham [mailto:[EMAIL PROTECTED] Gesendet: Mittwoch, 12. Mai 2004 13:14 An: [EMAIL PROTECTED] Betreff: RE: Best Practices? I disagree, the right way is t

RE: Best Practices?

2004-05-12 Thread David Cunningham
I disagree, the right way is to start with your WSDL and schema files. If you want any hope of being WS-I compliant or using doc/literal this is your best bet. As soon as you start with an interface, you start dealing Java types that do not correlate to schema types very well. For example, if you u

RE: Best Practices?

2004-05-12 Thread Andrew Premdas
If instead of writing an interface you write a class then java2wsdl will include your parameter definitions in the generated wsdl e.g. instead of public String getFoo(String myParam); public String getFoo(String myParam) return null; All best Andy P -Original Message- From: Dorner Tho

Re: Best Practices?

2004-05-11 Thread Joe Plautz
> To: <[EMAIL PROTECTED]> Sent: Tuesday, May 11, 2004 12:57 PM Subject: RE: Best Practices? My personal opinion and I know some will disagree, but here goes. Start witha Java class and use Java2WSDL then WSDL2Java to generate the service. have the style be Wrapped for the best interoperability

RE: Best Practices?

2004-05-11 Thread Yakulis, Ross (Ross)
My personal opinion and I know some will disagree, but here goes. Start witha Java class and use Java2WSDL then WSDL2Java to generate the service. have the style be Wrapped for the best interoperability. Keep the interface as simple as possible. Ross -Original Message- From: Joe Plautz

RE: Best practices question

2003-06-02 Thread Davanum Srinivas
ny volunteers? > > Anne > > - Original Message - > From: "Mark Galbreath" <[EMAIL PROTECTED]> > To: <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]> > Sent: Saturday, May 31, 2003 10:43 AM > Subject: RE: Best practices question > > > >

RE: Best practices question

2003-06-02 Thread Bhanu Pabreja
[mailto:[EMAIL PROTECTED] Sent: Saturday, May 31, 2003 12:18 PM To: [EMAIL PROTECTED]; [EMAIL PROTECTED] Subject: Re: Best practices question Many of the commercial Java implementations (WASP, GLUE, Cape Clear, XMLBus) autogenerate the schema, WSDL, and UDDI documents for you also. There'

Re: Best practices question

2003-06-01 Thread Anne Thomas Manes
t;[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]> Sent: Saturday, May 31, 2003 10:43 AM Subject: RE: Best practices question > What really needs to happen is the availability of tools that auto-generate > the XML schema, WSDL, and UDDI documents so developers don'

RE: Best practices question

2003-06-01 Thread Mark Galbreath
What really needs to happen is the availability of tools that auto-generate the XML schema, WSDL, and UDDI documents so developers don't have to waste time learning and implementing a technology that does not return benefit relative to amount of effort. These documents are tedious to produce at be

RE: Best practices question

2003-06-01 Thread Ted Neward
IL PROTECTED] > Subject: RE: Best practices question > > Hi Jim, > > << > It does seem to complicate the 'set up' of the call from the client side > when you use doc/literal. Doesn't the client have to manually construct > the > XML message to be p

RE: Best practices question

2003-05-31 Thread Jim Poulsen
Message- From: Stu Halloway (DevelopMentor) [mailto:[EMAIL PROTECTED] Sent: Friday, May 30, 2003 1:04 PM To: [EMAIL PROTECTED] Subject: RE: Best practices question Hi Jim, << It does seem to complicate the 'set up' of the call from the client side when you use doc/literal. Do

RE: Best practices question

2003-05-31 Thread Stu Halloway \(DevelopMentor\)
Hi Jim, << It does seem to complicate the 'set up' of the call from the client side when you use doc/literal. Doesn't the client have to manually construct the XML message to be passed to the server in the case of a doc/literal service call (when the xsd types required by the doc/literal service

Re: Best practices for Lists and Maps

2003-02-18 Thread Jess Sightler
Hi Naresh, I tend to prefer the first approach. And the Java APIs can make it fairly easy: Eg: public List getBooks () { return books; } public Book[] getBookArray () { return (Book[])gooks.toArray(new Book[0]); } I'd also add that many of these will get much easier once Java a

RE: Best Practices w/n Using Axis?

2002-10-21 Thread Volkmann, Mark
Title: RE: Best Practices w/n Using Axis? I don't personally like this approach.  I prefer to implement my services in a "normal" Java class, not an EJB or a web service.  Then I write a web service and a session bean that are essentially pass-throughs to the real service imple

Re: "Best practices" with existing server AND client code

2002-07-25 Thread J Hodrien
On Thu, 25 Jul 2002, Rathert Jonas (Platinion) wrote: > What I already have is > > - an interface which contains all java.rmi-specific stuff, > - a java bean which I want to "transfer" using a WebService, >which also has a method "foo()" that I want to call on the >client, > - the serv