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-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

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

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

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]' Subject: RE: Best

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]' Subject: RE: Best

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 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 [mailto:[EMAIL

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, Mark A [mailto

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 to me

Re: Best Practices?

2004-05-13 Thread Richard Martin
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 tutorial on how

RE: Best Practices?

2004-05-13 Thread Andrew Premdas
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 write/re-write parts of axis

Re: Best Practices?

2004-05-13 Thread Davanum Srinivas
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? (enhancements requests) If we can't create new bug reports

Re: Best Practices?

2004-05-13 Thread Joe Plautz
. 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, 13 May 2004 10:43:09 +0100

Re: Best Practices?

2004-05-13 Thread Davanum Srinivas
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, 13 May

RE: Best Practices?

2004-05-13 Thread Andrew Premdas
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 2004 10:43:09

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 documentation itself. Anyone can edit

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 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? 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 interesting

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] [mailto:[EMAIL

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, in general

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: Best Practices? I've

Re: Best Practices?

2004-05-13 Thread Joe Plautz
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] Sent: Thursday, May 13, 2004 2:09 PM To: '[EMAIL

RE: Best Practices?

2004-05-13 Thread Benjamin Tomasini
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 Practices? I've seen this question come up before on this list

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? I think

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 trying

RE: Best Practices?

2004-05-13 Thread Blake Dournaee
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 wish to access a Web service from a browser

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 only

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 only

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

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

Re: Best Practices?

2004-05-12 Thread Joe Plautz
-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 compliant or using

RE: Best Practices?

2004-05-12 Thread Anderson Jonathan
] 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 need it. I thought this to be the best way at the time because of interoperability. From what I've been finding thus

RE: Best Practices?

2004-05-12 Thread Anne Thomas Manes
- 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 compliant or using doc/literal this is your best bet

RE: Best Practices?

2004-05-12 Thread Anne Thomas Manes
- 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 compliant or using doc/literal this is your best bet

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 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

Re: Best Practices?

2004-05-12 Thread Joe Plautz
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 complications and frustrations implementing

Re: Best Practices?

2004-05-12 Thread Davanum Srinivas
] 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 interoperable (WS-I compliant Doc/Literal) SOAP web services on Java platforms stem from the XML datatype to Java

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? (enhancements

RE: Best Practices?

2004-05-12 Thread Pridemore, Russell (MAN-Corporate)
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 Anderson

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 instance, you always

Re: Best Practices?

2004-05-12 Thread Jim Murphy
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 interoperable (WS-I compliant Doc/Literal) SOAP web services on Java

RE: Best Practices?

2004-05-12 Thread Pridemore, Russell (MAN-Corporate)
- 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 service

Re: Best Practices?

2004-05-12 Thread Davanum Srinivas
: 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 binding problem. If you take the time to learn W3C XML

Re: Best Practices?

2004-05-12 Thread Davanum Srinivas
-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 discussion on its head - Is there a list of bugs hiding in there somewhere? (bug reports) - What would

RE: Best Practices?

2004-05-12 Thread Keith Bohnenberger
: 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 PROTECTED] wrote: I think factoring out the XML-Java

Re: Best Practices?

2004-05-12 Thread Davanum Srinivas
to plugin any JAXB implementation he wants or will Axis ship with a JAXB implementation that will have to be used? -Original Message- From: Davanum Srinivas [mailto:[EMAIL PROTECTED] Sent: Wednesday, May 12, 2004 2:26 PM To: [EMAIL PROTECTED] Subject: Re: Best Practices? Jim

Re: Best Practices?

2004-05-12 Thread Jim Murphy
, 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 need it. I thought this to be the best way at the time because

Re: Best Practices?

2004-05-12 Thread Davanum Srinivas
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 complications and frustrations implementing

RE: Best Practices?

2004-05-12 Thread Anne Thomas Manes
] 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 do, the arguments, etc before coding

RE: Best Practices?

2004-05-12 Thread Anne Thomas Manes
] 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 do, the arguments, etc before coding

Re: Best Practices?

2004-05-12 Thread Jim Murphy
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: Wednesday, May 12, 2004 10:03 AM Subject: RE: Best Practices? I would venture to say that 80

RE: Best Practices?

2004-05-12 Thread Yakulis, Ross (Ross)
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 do, the arguments, etc before coding

RE: Best Practices?

2004-05-12 Thread Anderson Jonathan
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 do, the arguments, etc before

RE: Best Practices?

2004-05-12 Thread Anderson Jonathan
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 list of bugs hiding in there somewhere

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

Re: Best Practices?

2004-05-11 Thread Joe Plautz
] 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. Keep the interface

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's

RE: Best practices question

2003-06-02 Thread Davanum Srinivas
guide me I can really work and put time to do the stuff you guys can explain me. Bhanu Pabreja -Original Message- From: Anne Thomas Manes [mailto:[EMAIL PROTECTED] Sent: Saturday, May 31, 2003 12:18 PM To: [EMAIL PROTECTED]; [EMAIL PROTECTED] Subject: Re: Best practices question

RE: Best practices question

2003-06-01 Thread Ted Neward
Neward Author, Instructor, Presenter: Java and .NET http://www.neward.net/ted/weblog http://www.javageeks.com http://www.clrgeeks.com -Original Message- From: Stu Halloway (DevelopMentor) [mailto:[EMAIL PROTECTED] Sent: Friday, May 30, 2003 11:04 AM To: [EMAIL PROTECTED] Subject: RE: Best

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

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 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. Doesn't the client

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 implementation. You can

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 server side