axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Davanum Srinivas <dava...@gmail.com>
Subject Re: About JAX-RPC 1.1 compliance of JAXRPCException and ServiceException
Date Tue, 11 May 2004 10:18:55 GMT
Even better idea would be to add a
org.apache.axis.client.ServiceException with the overrides and throw
that exception instead.

-- dims

On Tue, 11 May 2004 06:03:33 -0400, Davanum Srinivas <davanum@gmail.com> wrote:
> 
> "commit changes of removing the incompatible methods" is ok.
> 
> -- dims
> 
> 
> On Tue, 11 May 2004 15:07:39 +0900, Ias <iasandcb@tmax.co.kr> wrote:
> >
> > > Hmm... I'm not sure I see the problem. Could you please
> > > explain? This commit did not add any new methods just
> > > modified inherited methods.
> > >
> >
> > Yes, actually what you did is overriding inherited methods, not declaring
> > new methods. However, for example, javax.xml.rpc.JAXRPCException in JAX-RPC
> > 1.1 API has no its own printStackTrace methods, which means you are required
> > to use the inherited printStackTrace methods from Throwable and not to
> > override them with your own implementations. If JAXRPCException can override
> > them, its API documentation states them explicitly.
> >
> > That's how Java standard APIs (java.* and javax.*) go. Implementing the APIs
> > needs to follow all the declarations specified in the spec exactly.
> >
> > Regards,
> >
> > Ias
> >
> >
> >
> > > Jarek
> > >
> > > > -----Original Message-----
> > > > From: Ias [mailto:iasandcb@tmax.co.kr]
> > > > Sent: Tuesday, May 11, 2004 1:29 AM
> > > > To: axis-dev@ws.apache.org
> > > > Subject: About JAX-RPC 1.1 compliance of JAXRPCException and
> > > > ServiceException
> > > >
> > > >
> > > > I found that commits recorded at
> > > http://marc.theaimsgroup.com/?l=axis-
> > > > dev&m=108422347730988&w=2 caused incompliance of JAX-RPC 1.1 APIs
> > > > described at
> > > http://java.sun.com/webservices/docs/1.3/api/index.html
> > > > while I was working on JAX-RPC 1.1 TCK signature test. I'd like to
> > > > recommend paying as much attention as possible to the
> > > standard API set
> > > > when handling
> > > > javax.xml.* packages.
> > > >
> > > > By the way, which do you think is better for resolving this
> > > problem,
> > > > rollback or commit changes of removing the incompatible methods?
> > > >
> > > > Thanks,
> > > >
> > > > Ias
> > > >
> > > > =========================================================
> > > > Lee, Changshin (Korean name)
> > > > Ias (International name)
> > > >                Company Web Site: http://www.tmax.co.kr
> > > >                Personal Web Site: http://www.iasandcb.pe.kr
> > > > ---------------------------------------------------------
> > > > JSR 201, 204, 222 and 224 Expert Group Member Apache Web Services
> > > > Project Member R&D Center Tmax Soft, Inc.
> > > > =========================================================
> > > >
> > > >
> > >
> >
> >
>

Mime
View raw message