xml-soap-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Scott Nichol <snicholn...@scottnichol.com>
Subject Re: web service with Gui
Date Wed, 11 Sep 2002 13:10:20 GMT
Sorry.  The target name for that is buildwar, so you run "ant buildwar".

Scott Nichol

----- Original Message -----
From: "Neha Srivastava" <neha.srivastava@wipro.com>
To: <soap-user@xml.apache.org>
Sent: Tuesday, September 10, 2002 11:13 PM
Subject: Re: web service with Gui




I have soap.war. I want to build servletclient.war as givwn in  ur
instructions.

Thanks and regards
Neha

----- Original Message -----
From: "Scott Nichol" <snicholnews@scottnichol.com>
To: <soap-user@xml.apache.org>
Sent: Tuesday, September 10, 2002 12:22 AM
Subject: Re: web service with Gui


> You must do "ant dist" to create the soap.war file.
>
> Scott Nichol
>
> ----- Original Message -----
> From: "Neha Srivastava" <neha.srivastava@wipro.com>
> To: <soap-user@xml.apache.org>
> Sent: Friday, September 06, 2002 12:13 AM
> Subject: Re: web service with Gui
>
>
> hi,
>
> I tried to build using ant ..the build is succesful but i am not able to
> find .war file.
>
> If i make .war file without the build tool -will it make any difference.
> i need to have soap.jar and the class file of the servlet in this
> war -right?
>
> Kindly revert back
> thanks and regards
> neha
>
>
>
>
>
> ----- Original Message -----
> From: "Scott Nichol" <snicholnews@scottnichol.com>
> To: <soap-user@xml.apache.org>
> Sent: Thursday, September 05, 2002 5:58 PM
> Subject: Re: web service with Gui
>
>
> > Sorry, my instructions are not complete.  If you download the source
from
> > the Web site, everything will work.  The source zip file has the
following
> > contents:
> >
> > H:\code\HOMEPAGE>unzip -l servletclient.zip
> > Archive:  servletclient.zip
> >  Length    Date    Time    Name
> >  ------    ----    ----    ----
> >    1680  08-30-02  12:36   build.xml
> >  213700  08-29-02  23:12   jar/soap.jar
> >    3040  08-30-02  12:47   src/GetQuote.java
> >     199  08-30-02  12:17   webapps/servletclient/index.html
> >     848  08-30-02  12:04   webapps/servletclient/WEB-INF/web.xml
> >  ------                    -------
> >  219467                    5
> >
> > As you can see, GetQuote.java is in the src directory.  Note also the
> > directories containing the other files, which must be there for the full
> > build to work.
> >
> > Scott Nichol
> >
> > ----- Original Message -----
> > From: "Neha Srivastava" <neha.srivastava@wipro.com>
> > To: <soap-user@xml.apache.org>
> > Sent: Wednesday, September 04, 2002 11:08 PM
> > Subject: Re: web service with Gui
> >
> >
> > I was trying to follow the instructions given for ServletClient. at the
> > following link-
> > http://www.scottnichol.com/apachesoapservletclient.htm.
> > I have downloaded Ant build tool and tried  building  but  it is giving
an
> > error as follows-
> >
> > Buildfile: build.xml
> >
> > init:
> >
> > compile:
> >
> > BUILD FAILED
> > file:C:/sclient/build.xml:25: srcdir "C:\sclient\src" does not exist!
> >
> >
> >
> >
> > Total time: 9 seconds
> > ----- Original Message -----
> > From: "Scott Nichol" <snicholnews@scottnichol.com>
> > To: <soap-user@xml.apache.org>
> > Sent: Thursday, September 05, 2002 12:48 AM
> > Subject: Re: web service with Gui
> >
> >
> > > If you have to go through an HTTP proxy to get to the Internet,
> stockquote
> > > won't work out of the box.  That is because the stockquote service
> itself
> > > gets data by opening an http URL.
> > >
> > > Scott Nichol
> > >
> > > ----- Original Message -----
> > > From: "Neha Srivastava" <neha.srivastava@wipro.com>
> > > To: <soap-user@xml.apache.org>
> > > Sent: Monday, September 02, 2002 12:40 AM
> > > Subject: Re: web service with Gui
> > >
> > >
> > > hi,
> > >
> > > Is this bcz of http proxy?
> > > then why only stockquote service is not wrkng?
> > >
> > > thanks and regards
> > > neha
> > >
> > >
> > >
> > >
> > > ----- Original Message -----
> > > From: "Scott Nichol" <snicholnews@scottnichol.com>
> > > To: <soap-user@xml.apache.org>
> > > Sent: Friday, August 30, 2002 11:14 PM
> > > Subject: Re: web service with Gui
> > >
> > >
> > > > The servlet source and a small amount of descriptive information are
> now
> > > > available at http://www.scottnichol.com/apachesoapservletclient.htm.
> > > >
> > > > Scott Nichol
> > > >
> > > > ----- Original Message -----
> > > > From: "Scott Nichol" <snicholnews@scottnichol.com>
> > > > To: <soap-user@xml.apache.org>
> > > > Sent: Friday, August 30, 2002 12:54 PM
> > > > Subject: Re: web service with Gui
> > > >
> > > >
> > > > The attached file is a servlet that calls the stockquote sample
> service.
> > > > YOu must deploy stockquote in order to use this servlet.  On GET,
the
> > > > servlet serves up a page to enter a ticker symbol (e.g. IBM) and a
URL
> > > (the
> > > > address of your SOAP router, e.g.
> > > > http://localhost:8080/soap/servlet/rpcrouter).  When you click GET,
> this
> > > is
> > > > POSTed.
> > > >
> > > > Note: if you have an HTTP proxy to get to the internet, the
stockquote
> > > > sample will not work.  Sorry about that.
> > > >
> > > > Scott Nichol
> > > >
> > > > ----- Original Message -----
> > > > From: "Scott Nichol" <snicholnews@scottnichol.com>
> > > > To: <soap-user@xml.apache.org>
> > > > Sent: Friday, August 30, 2002 10:43 AM
> > > > Subject: Re: web service with Gui
> > > >
> > > >
> > > > You currently have
> > > >
> > > > Browser --> servlet1 --> jdbc --> servlet1 --> browser
> > > >
> > > > To access a Web service from a browser, you would have
> > > >
> > > > Browser --> servlet2 --> webservice --> jdbc --> webservice
-->
> > > servlet2 -->
> > > > browser
> > > >
> > > > Basically, your servlet1 gets split into servlet2 and webservice.
The
> > > code
> > > > in servlet1 that makes the jdbc calls would go in the webservice.
The
> > > > servlet2 will take HTML form variables to create parameters for the
> > > > webservice method call, then take the webservice results to format
as
> > HTML
> > > > for the browser.  Roughly speaking, servlet2 is the controller and
> view,
> > > > while the webservice is the model in the MVC pattern.
> > > >
> > > > Scott Nichol
> > > >
> > > > ----- Original Message -----
> > > > From: "Neha Srivastava" <neha.srivastava@wipro.com>
> > > > To: <soap-user@xml.apache.org>
> > > > Sent: Thursday, August 29, 2002 11:42 PM
> > > > Subject: Re: web service with Gui
> > > >
> > > >
> > > > actually initially i made  the servlet which had all the jdbc code
and
> > an
> > > > html form to take the user input.
> > > >
> > > > when i populate the html form it calls the servlet which retrieves
> the
> > > > values and return them on another html form.
> > > >
> > > > but then what should i write in the serviceimplementation class?
> > > > the Client is command line then where will my htnl form go?
> > > >
> > > >
> > > > thanks and regards
> > > > neha
> > > >
> > > > ----- Original Message -----
> > > > From: "Scott Nichol" <snicholnews@scottnichol.com>
> > > > To: <soap-user@xml.apache.org>
> > > > Sent: Friday, August 30, 2002 8:59 AM
> > > > Subject: Re: web service with Gui
> > > >
> > > >
> > > > > You simply use the same logic from your console application in
> either
> > a
> > > > Java
> > > > > application that uses a GUI (AWT, Swing) or a JSP or servlet to
> > provide
> > > a
> > > > > browser-based GUI.
> > > > >
> > > > > Scott Nichol
> > > > >
> > > > > ----- Original Message -----
> > > > > From: "Neha Srivastava" <neha.srivastava@wipro.com>
> > > > > To: <soap-user@xml.apache.org>
> > > > > Sent: Thursday, August 29, 2002 11:24 PM
> > > > > Subject: web service with Gui
> > > > >
> > > > >
> > > > > hi all,
> > > > >
> > > > > I have made a webservice using apache soap where my client invokes
a
> > > > method
> > > > > getValues in my serviceimplementation class  which inturns get the
> > > values
> > > > > frm the excelsheet and return them to the client.
> > > > >
> > > > > But  all this  is console based, I want to have a Gui to invoke
the
> > > > service
> > > > > and get the result.
> > > > >
> > > > >
> > > > > can anybody please help me with this.
> > > > >
> > > > > Thanks and regards
> > > > > neha
> > > > >
> > > > >
> > > > >
> > > >
> > >
> >
>
> --------------------------------------------------------------------------
> > > > --
> > > > > ----
> > > > >
> > > > >
> > > > > --
> > > > > To unsubscribe, e-mail:
> > <mailto:soap-user-unsubscribe@xml.apache.org>
> > > > > For additional commands, e-mail:
> > <mailto:soap-user-help@xml.apache.org>
> > > > >
> > > > >
> > > > > --
> > > > > To unsubscribe, e-mail:
> > <mailto:soap-user-unsubscribe@xml.apache.org>
> > > > > For additional commands, e-mail:
> > <mailto:soap-user-help@xml.apache.org>
> > > > >
> > > >
> > > >
> > > >
> > > >
> > >
> >
>
> --------------------------------------------------------------------------
> > > --
> > > > ----
> > > >
> > > >
> > > > --
> > > > To unsubscribe, e-mail:
> <mailto:soap-user-unsubscribe@xml.apache.org>
> > > > For additional commands, e-mail:
> <mailto:soap-user-help@xml.apache.org>
> > > >
> > > >
> > > > --
> > > > To unsubscribe, e-mail:
> <mailto:soap-user-unsubscribe@xml.apache.org>
> > > > For additional commands, e-mail:
> <mailto:soap-user-help@xml.apache.org>
> > > >
> > > >
> > > >
> > > >
> > > >
> > >
> >
>
> --------------------------------------------------------------------------
> >
> > > --
> > > > ----
> > > >
> > > >
> > > > --
> > > > To unsubscribe, e-mail:
> <mailto:soap-user-unsubscribe@xml.apache.org>
> > > > For additional commands, e-mail:
> <mailto:soap-user-help@xml.apache.org>
> > > >
> > > >
> > > > --
> > > > To unsubscribe, e-mail:
> <mailto:soap-user-unsubscribe@xml.apache.org>
> > > > For additional commands, e-mail:
> <mailto:soap-user-help@xml.apache.org>
> > > >
> > >
> > > ----- Original Message -----
> > > From: "Scott Nichol" <snicholnews@scottnichol.com>
> > > To: <soap-user@xml.apache.org>
> > > Sent: Friday, August 30, 2002 11:14 PM
> > > Subject: Re: web service with Gui
> > >
> > >
> > > > The servlet source and a small amount of descriptive information are
> now
> > > > available at http://www.scottnichol.com/apachesoapservletclient.htm.
> > > >
> > > > Scott Nichol
> > > >
> > > > ----- Original Message -----
> > > > From: "Scott Nichol" <snicholnews@scottnichol.com>
> > > > To: <soap-user@xml.apache.org>
> > > > Sent: Friday, August 30, 2002 12:54 PM
> > > > Subject: Re: web service with Gui
> > > >
> > > >
> > > > The attached file is a servlet that calls the stockquote sample
> service.
> >
> > > > YOu must deploy stockquote in order to use this servlet.  On GET,
the
> > > > servlet serves up a page to enter a ticker symbol (e.g. IBM) and a
URL
> > > (the
> > > > address of your SOAP router, e.g.
> > > > http://localhost:8080/soap/servlet/rpcrouter).  When you click GET,
> this
> > > is
> > > > POSTed.
> > > >
> > > > Note: if you have an HTTP proxy to get to the internet, the
stockquote
> > > > sample will not work.  Sorry about that.
> > > >
> > > > Scott Nichol
> > > >
> > > > ----- Original Message -----
> > > > From: "Scott Nichol" <snicholnews@scottnichol.com>
> > > > To: <soap-user@xml.apache.org>
> > > > Sent: Friday, August 30, 2002 10:43 AM
> > > > Subject: Re: web service with Gui
> > > >
> > > >
> > > > You currently have
> > > >
> > > > Browser --> servlet1 --> jdbc --> servlet1 --> browser
> > > >
> > > > To access a Web service from a browser, you would have
> > > >
> > > > Browser --> servlet2 --> webservice --> jdbc --> webservice
-->
> > > servlet2 -->
> > > > browser
> > > >
> > > > Basically, your servlet1 gets split into servlet2 and webservice.
The
> > > code
> > > > in servlet1 that makes the jdbc calls would go in the webservice.
The
> > > > servlet2 will take HTML form variables to create parameters for the
> > > > webservice method call, then take the webservice results to format
as
> > HTML
> > > > for the browser.  Roughly speaking, servlet2 is the controller and
> view,
> > > > while the webservice is the model in the MVC pattern.
> > > >
> > > > Scott Nichol
> > > >
> > > > ----- Original Message -----
> > > > From: "Neha Srivastava" <neha.srivastava@wipro.com>
> > > > To: <soap-user@xml.apache.org>
> > > > Sent: Thursday, August 29, 2002 11:42 PM
> > > > Subject: Re: web service with Gui
> > > >
> > > >
> > > > actually initially i made  the servlet which had all the jdbc code
and
> > an
> > > > html form to take the user input.
> > > >
> > > > when i populate the html form it calls the servlet which retrieves
> the
> > > > values and return them on another html form.
> > > >
> > > > but then what should i write in the serviceimplementation class?
> > > > the Client is command line then where will my htnl form go?
> > > >
> > > >
> > > > thanks and regards
> > > > neha
> > > >
> > > > ----- Original Message -----
> > > > From: "Scott Nichol" <snicholnews@scottnichol.com>
> > > > To: <soap-user@xml.apache.org>
> > > > Sent: Friday, August 30, 2002 8:59 AM
> > > > Subject: Re: web service with Gui
> > > >
> > > >
> > > > > You simply use the same logic from your console application in
> either
> > a
> > > > Java
> > > > > application that uses a GUI (AWT, Swing) or a JSP or servlet to
> > provide
> > > a
> > > > > browser-based GUI.
> > > > >
> > > > > Scott Nichol
> > > > >
> > > > > ----- Original Message -----
> > > > > From: "Neha Srivastava" <neha.srivastava@wipro.com>
> > > > > To: <soap-user@xml.apache.org>
> > > > > Sent: Thursday, August 29, 2002 11:24 PM
> > > > > Subject: web service with Gui
> > > > >
> > > > >
> > > > > hi all,
> > > > >
> > > > > I have made a webservice using apache soap where my client invokes
a
> > > > method
> > > > > getValues in my serviceimplementation class  which inturns get the
> > > values
> > > > > frm the excelsheet and return them to the client.
> > > > >
> > > > > But  all this  is console based, I want to have a Gui to invoke
the
> > > > service
> > > > > and get the result.
> > > > >
> > > > >
> > > > > can anybody please help me with this.
> > > > >
> > > > > Thanks and regards
> > > > > neha
> > > > >
> > > > >
> > > > >
> > > >
> > >
> >
>
> --------------------------------------------------------------------------
> > > > --
> > > > > ----
> > > > >
> > > > >
> > > > > --
> > > > > To unsubscribe, e-mail:
> > <mailto:soap-user-unsubscribe@xml.apache.org>
> > > > > For additional commands, e-mail:
> > <mailto:soap-user-help@xml.apache.org>
> > > > >
> > > > >
> > > > > --
> > > > > To unsubscribe, e-mail:
> > <mailto:soap-user-unsubscribe@xml.apache.org>
> > > > > For additional commands, e-mail:
> > <mailto:soap-user-help@xml.apache.org>
> > > > >
> > > >
> > > >
> > > >
> > > >
> > >
> >
>
> --------------------------------------------------------------------------
> > > --
> > > > ----
> > > >
> > > >
> > > > --
> > > > To unsubscribe, e-mail:
> <mailto:soap-user-unsubscribe@xml.apache.org>
> > > > For additional commands, e-mail:
> <mailto:soap-user-help@xml.apache.org>
> > > >
> > > >
> > > > --
> > > > To unsubscribe, e-mail:
> <mailto:soap-user-unsubscribe@xml.apache.org>
> > > > For additional commands, e-mail:
> <mailto:soap-user-help@xml.apache.org>
> > > >
> > > >
> > > >
> > > >
> > > >
> > >
> >
>
> --------------------------------------------------------------------------
> > > --
> > > > ----
> > > >
> > > >
> > > > --
> > > > To unsubscribe, e-mail:
> <mailto:soap-user-unsubscribe@xml.apache.org>
> > > > For additional commands, e-mail:
> <mailto:soap-user-help@xml.apache.org>
> > > >
> > > >
> > > > --
> > > > To unsubscribe, e-mail:
> <mailto:soap-user-unsubscribe@xml.apache.org>
> > > > For additional commands, e-mail:
> <mailto:soap-user-help@xml.apache.org>
> > > >
> > >
> > >
> > >
> > >
> >
>
> --------------------------------------------------------------------------
> > --
> > > ----
> > >
> > >
> > > --
> > > To unsubscribe, e-mail:
<mailto:soap-user-unsubscribe@xml.apache.org>
> > > For additional commands, e-mail:
<mailto:soap-user-help@xml.apache.org>
> > >
> > >
> > > --
> > > To unsubscribe, e-mail:
<mailto:soap-user-unsubscribe@xml.apache.org>
> > > For additional commands, e-mail:
<mailto:soap-user-help@xml.apache.org>
> > >
> >
> >
> >
> >
>
> --------------------------------------------------------------------------
> --
> > ----
> >
> >
> > --
> > To unsubscribe, e-mail:   <mailto:soap-user-unsubscribe@xml.apache.org>
> > For additional commands, e-mail: <mailto:soap-user-help@xml.apache.org>
> >
> >
> > --
> > To unsubscribe, e-mail:   <mailto:soap-user-unsubscribe@xml.apache.org>
> > For additional commands, e-mail: <mailto:soap-user-help@xml.apache.org>
> >
>
>
>
>
> --------------------------------------------------------------------------
--
> ----
>
>
> --
> To unsubscribe, e-mail:   <mailto:soap-user-unsubscribe@xml.apache.org>
> For additional commands, e-mail: <mailto:soap-user-help@xml.apache.org>
>
>
> --
> To unsubscribe, e-mail:   <mailto:soap-user-unsubscribe@xml.apache.org>
> For additional commands, e-mail: <mailto:soap-user-help@xml.apache.org>
>




----------------------------------------------------------------------------
----


--
To unsubscribe, e-mail:   <mailto:soap-user-unsubscribe@xml.apache.org>
For additional commands, e-mail: <mailto:soap-user-help@xml.apache.org>


--
To unsubscribe, e-mail:   <mailto:soap-user-unsubscribe@xml.apache.org>
For additional commands, e-mail: <mailto:soap-user-help@xml.apache.org>


Mime
View raw message