hi

i think i don't need to explain more about the wsdl prob.
ok i give some idea for ur 2nd question.As Shrikant metioned, Physical
location of the classes does not matter. but u have to add all the related
jar in ur classpath and configure your webserver (as u done axis.xml in
tomcat ). And don't forget to tell ur services in the serverconfig file.

regards
vtpavan

----- Original Message -----
From: "Ilja" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]>
Sent: Saturday, October 11, 2003 10:12 PM
Subject: Re: couple of questions


> On Wed, 8 Oct 2003 14:40:25 -0400, "[EMAIL PROTECTED]"
> <[EMAIL PROTECTED]> said:
> > Hi Ilja,
>
> Hi Shrikant,
>
> > If you already have java classes the why you have to regenerate those
> > from
> > WSDL?
>
> I thought I should, because of what vairamuthu thayapavan said:
>
> "hi u can't do any thing with having the wsdl file only. to deploy your
> webservice u have to generate server binding stubs using wsdl2java tool.
> those are discribed detaily in the axis userguide."
>
> > 2. Assume that you already have the Java classes and wants get the WSDL
> > for
> > your service. Here again you have two option:
> > a. deploy the service by copying the classes to webapps and then create
> > the
> > WSDD file deploy the service. Once the service is deployed, access the
> > services link. you will see the deployed services. click the
> > webservice_name link to get the WSDL file.
> > b. other way to get the WSDL is user Java2WSDL utility.
>
> This is my scenario. I've written a basic interface-class with a function
> that I want to make public through a webservice. So I created my
> wsdl-file with java2wsdl. However, now I don't know how to use it without
> deploying it in the webapps/axis folder. I want to incorporate and be
> able to distribute it embedded in my own application. So I've added
> axis.jar in my WEB-INF/lib folder, but now I only have my WSDL file and
> my interface-class. Guess that's not enough right?
>
> > >- Can you also publish your webservices in your own webapp, without
> > > deploying it in the axis webapp?
> >
> > Do you mean that without physically copying the classes into
> > <container_home>/webapps/axis folder?
>
> Yes, just embedding it in my own webapp
>
> > Physical location of the classes does not matter, but you will have to
> > configure your webserver for the same.
>
> How?
>
> > Hope this is helpful.
>
> VERY helpfull, allthough some things are still not clear to me. Thanks!
>
> Ilja
>
> > Shrikant...
> >
> > Optimyz Software, Inc.
> > email: [EMAIL PROTECTED]
> > www: www.optimyz.com
> >
> > For more information on WebServiceTester product visit:
> > http://www.optimyz.com
> >
> > Original Message:
> > -----------------
> > From: Ilja [EMAIL PROTECTED]
> > Date: Tue, 07 Oct 2003 21:09:45 +0200
> > To: [EMAIL PROTECTED]
> > Subject: Re: couple of questions
> >
> >
> > Ok thanks, so if I understand correctly, I first have to use java2wsdl
to
> > generate a wsdl file from my interface-class and then I have to run
> > wsdl2java to generate those classes from my wsdl file? Isn't there a
> > solution to do it in one step?
> >
> > Ilja
> >
> > On Tue, 7 Oct 2003 16:42:53 +0600, "vairamuthu thayapavan"
> > <[EMAIL PROTECTED]> said:
> > > hi
> > > u can't do any thing with having the wsdl file only. to deploy your
> > > webservice u have to generate server binding stubs using wsdl2java
tool.
> > > those are discribed detaily in the axis userguide.
> > >
> > > regards
> > > vtpavan
> > > ----- Original Message -----
> > > From: "Ilja" <[EMAIL PROTECTED]>
> > > To: <[EMAIL PROTECTED]>
> > > Sent: Tuesday, October 07, 2003 3:01 AM
> > > Subject: Axis: couple of questions
> > >
> > >
> > > Hi,
> > >
> > > I tried generating a wsdl file succesfully with my ant-build script
from
> > > an interface. However some things are not quite clear to me:
> > >
> > > - Can you also publish your webservices in your own webapp, without
> > > deploying it in the axis webapp?
> > > - Shouldn't more files be generated? eg like these?:
> > >
> > > WidgetPriceSoapBindingImpl.java : Java file containing      the
default
> > > server implementation of the WidgetPrice web service.
> > >
> > >
> > >    You will need to modify the *SoapBindingImpl file to add your
> > >    implementation    (see
> > >    ../samples/userguide/example6/WidgetPriceSoapBindingImpl.java    ).
> > >  WidgetPrice.java: New interface file that contains      the
appropriate
> > >  java.rmi.Remote usages.
> > >
> > >
> > >  WidgetPriceService.java: Java file containing the client      side
> > >  service interface.
> > >
> > >
> > >  WidgetPriceServiceLocator.java: Java file containing the      client
> > >  side service implementation class.
> > >
> > >
> > >  WidgetPriceSoapBindingSkeleton.java: Server side skeleton.
> > >
> > >
> > >  WidgetPriceSoapBindingStub.java: Client side stub
> > >
> > > - I now have only a wsdl file and I'm pretty sure that's not enough to
> > > publish my own webservices, more classes are needed right?
> > >
> > > Thanks,
> > >
> > > Ilja
> > >
> > >
> > >
> > >
> > >
> > >
> >
> > --------------------------------------------------------------------
> > mail2web - Check your email from the web at
> > http://mail2web.com/ .
> >
> >
> >
>
>
<Context path="/axis" docBase="D:\Program Files\axis-1_1\webapps\axis"
debug="0" privileged="true">
<Logger className="org.apache.catalina.logger.FileLogger"
prefix="axis_log." suffix=".txt" timestamp="false"/>
</Context>

Reply via email to