axis-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Koney, Satish" <Satish_Ko...@syntelinc.com>
Subject RE: what axis generated classes should i use?
Date Fri, 14 Jan 2005 15:08:02 GMT
I was asking about the server side classes..not on the client side...what
Axis generated classes should i use on the server side?
I mean when I run WSDL2Java I am getting Employee.java which has a lot of
code about serializer and deserializer.

Do I need to use that code on the server side? or can i just ignore
Employee.java created by axis and use my Employee.java
which does not have any code other than what my application needs.


> -----Original Message-----
> From:	Evandro Machado [SMTP:evandro_machado@ig.com.br]
> Sent:	Friday, January 14, 2005 8:28 PM
> To:	axis-user@ws.apache.org
> Subject:	Re: what axis generated classes should i use?
> 
> Hi Satish,
> 
> Your client class should instantiate the DummyServiceLocator and call the
> getDummy() method  from it, after this you should call the
> createEmproyee()
> method from this Dummy object.
> 
> []´s
> Evandro.
> 
> ----- Original Message ----- 
> From: "Koney, Satish" <Satish_Koney@syntelinc.com>
> To: <axis-user@ws.apache.org>
> Sent: Friday, January 14, 2005 12:42 PM
> Subject: what axis generated classes should i use?
> 
> 
> > Hello All,
> >
> > I have a web service interface (let us call it Dummy), which has
> > only one method with the following signature:
> >
> > public Employee createEmployee(int empNumber, String empName) throws
> > EmployeeException
> >
> > when I run the Java2WSDL and then WSDL2Java on the server side , Axis is
> > generating
> >
> > 1. Dummy.java
> > 2. DummyService.java
> > 3. DummyServiceLocator.java
> > 4. DummySoapBindingStub.java
> > 5. DummySoapBindingImpl.java
> > 6. Employee.java
> >
> > Now I implement my method in the generated Impl class. But my
> > question is, don't I need to use the Employee.java
> > generated by axis on the server side? What are all the "Axis generated
> > classes" that I have to use on the server side?
> > Can someone explain in detail?
> >
> >
> > Thanks,
> > SSSS.
> >
> >
> >
> > ____________________________________________
> > Confidential:  This electronic message and all contents contain 
> > information
> > from Syntel, Inc. which may be privileged, confidential or otherwise
> > protected from disclosure. The information is intended to be for the
> > addressee only. If you are not the addressee, any disclosure, copy,
> > distribution or use of the contents of this message is prohibited.  If
> you
> > have received this electronic message in error, please notify the sender
> > immediately and destroy the original message and all copies.
> >
> >
> >
> > -- 
> > No virus found in this incoming message.
> > Checked by AVG Anti-Virus.
> > Version: 7.0.300 / Virus Database: 265.6.11 - Release Date: 12/1/2005
> >
> > 
> 
> 
> 
> -- 
> No virus found in this outgoing message.
> Checked by AVG Anti-Virus.
> Version: 7.0.300 / Virus Database: 265.6.11 - Release Date: 12/1/2005
> 
____________________________________________
Confidential:  This electronic message and all contents contain information
from Syntel, Inc. which may be privileged, confidential or otherwise
protected from disclosure. The information is intended to be for the
addressee only. If you are not the addressee, any disclosure, copy,
distribution or use of the contents of this message is prohibited.  If you
have received this electronic message in error, please notify the sender
immediately and destroy the original message and all copies.

Mime
View raw message