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
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
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
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
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
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
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
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
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
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
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
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
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
.
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
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
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
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
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
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
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
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
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
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
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
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?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
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
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
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
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
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
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
-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
]
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
-
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
-
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
+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
+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
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
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
]
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
:[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
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
: 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
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
-
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?
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
-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
: 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
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
, 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
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
]
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
]
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
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
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
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
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
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
]
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
[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
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
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
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
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
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
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
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
68 matches
Mail list logo