You are viewing a plain text version of this content. The canonical link for it is here.
Posted to soap-user@ws.apache.org by Neha Srivastava <ne...@wipro.com> on 2002/08/30 05:24:43 UTC

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

Re: how to see the XML content.

Posted by Neha Srivastava <ne...@wipro.com>.
u can try the following links-

http://xml.apache.org/soap/index.html
http://www.scottnichol.com/soap.htm

Regards
neha

----- Original Message -----
From: "bheemesh" <bh...@snb.psi.soft.net>
To: "'Neha Srivastava'" <ne...@wipro.com>;
<so...@xml.apache.org>
Sent: Tuesday, September 24, 2002 10:33 AM
Subject: RE: how to see the XML content.


> Hi Neha,
>
> Thanks. I'm able to see the SOAP Messages.
>
> Can you please suggest me any Good Tutorials on Apache SOAP.
>
>
> thanks and regards,
> Bheem.
>
> -----Original Message-----
> From: Neha Srivastava [mailto:neha.srivastava@wipro.com]
> Sent: Monday, September 23, 2002 10:16 AM
> To: soap-user@xml.apache.org; bheemesh@snb.psi.soft.net
> Subject: Re: how to see the XML content.
>
>
> hi,
>
> u can use TcpTunnelGui for this
> to launch the command is-
> java org.apache.soap.util.net.TcpTunnelGui 80  localhost 8080
>
> Your client should connect to the port which u have used for tunnel gui.
>
> Regards
> neha
>
> ----- Original Message -----
> From: "bheemesh" <bh...@snb.psi.soft.net>
> To: <so...@xml.apache.org>
> Sent: Tuesday, September 24, 2002 10:12 AM
> Subject: how to see the XML content.
>
>
> > Hi,
> >
> > How to see the SOAP messages in Call and Response objects?
> >
> > thanks and regards,
> > Bheem.
> >
> > --
> > To unsubscribe, e-mail:   <ma...@xml.apache.org>
> > For additional commands, e-mail: <ma...@xml.apache.org>
> >
>
>
>
> --
> To unsubscribe, e-mail:   <ma...@xml.apache.org>
> For additional commands, e-mail: <ma...@xml.apache.org>
>


Re: how to see the XML content.

Posted by Neha Srivastava <ne...@wipro.com>.
u can try the following links-

http://xml.apache.org/soap/index.html
http://www.scottnichol.com/soap.htm

Regards
neha

----- Original Message -----
From: "bheemesh" <bh...@snb.psi.soft.net>
To: "'Neha Srivastava'" <ne...@wipro.com>;
<so...@xml.apache.org>
Sent: Tuesday, September 24, 2002 10:33 AM
Subject: RE: how to see the XML content.


> Hi Neha,
>
> Thanks. I'm able to see the SOAP Messages.
>
> Can you please suggest me any Good Tutorials on Apache SOAP.
>
>
> thanks and regards,
> Bheem.
>
> -----Original Message-----
> From: Neha Srivastava [mailto:neha.srivastava@wipro.com]
> Sent: Monday, September 23, 2002 10:16 AM
> To: soap-user@xml.apache.org; bheemesh@snb.psi.soft.net
> Subject: Re: how to see the XML content.
>
>
> hi,
>
> u can use TcpTunnelGui for this
> to launch the command is-
> java org.apache.soap.util.net.TcpTunnelGui 80  localhost 8080
>
> Your client should connect to the port which u have used for tunnel gui.
>
> Regards
> neha
>
> ----- Original Message -----
> From: "bheemesh" <bh...@snb.psi.soft.net>
> To: <so...@xml.apache.org>
> Sent: Tuesday, September 24, 2002 10:12 AM
> Subject: how to see the XML content.
>
>
> > Hi,
> >
> > How to see the SOAP messages in Call and Response objects?
> >
> > thanks and regards,
> > Bheem.
> >
> > --
> > To unsubscribe, e-mail:   <ma...@xml.apache.org>
> > For additional commands, e-mail: <ma...@xml.apache.org>
> >
>
>
>
> --
> To unsubscribe, e-mail:   <ma...@xml.apache.org>
> For additional commands, e-mail: <ma...@xml.apache.org>
>


RE: how to see the XML content.

Posted by bheemesh <bh...@snb.psi.soft.net>.
Hi Neha,

Thanks. I'm able to see the SOAP Messages.

Can you please suggest me any Good Tutorials on Apache SOAP.


thanks and regards,
Bheem.

-----Original Message-----
From: Neha Srivastava [mailto:neha.srivastava@wipro.com]
Sent: Monday, September 23, 2002 10:16 AM
To: soap-user@xml.apache.org; bheemesh@snb.psi.soft.net
Subject: Re: how to see the XML content.


hi,

u can use TcpTunnelGui for this
to launch the command is-
java org.apache.soap.util.net.TcpTunnelGui 80  localhost 8080 
 
Your client should connect to the port which u have used for tunnel gui.

Regards
neha

----- Original Message ----- 
From: "bheemesh" <bh...@snb.psi.soft.net>
To: <so...@xml.apache.org>
Sent: Tuesday, September 24, 2002 10:12 AM
Subject: how to see the XML content.


> Hi,
> 
> How to see the SOAP messages in Call and Response objects?
> 
> thanks and regards,
> Bheem.
> 
> --
> To unsubscribe, e-mail:   <ma...@xml.apache.org>
> For additional commands, e-mail: <ma...@xml.apache.org>
> 



--
To unsubscribe, e-mail:   <ma...@xml.apache.org>
For additional commands, e-mail: <ma...@xml.apache.org>


RE: how to see the XML content.

Posted by bheemesh <bh...@snb.psi.soft.net>.
Hi Neha,

Thanks. I'm able to see the SOAP Messages.

Can you please suggest me any Good Tutorials on Apache SOAP.


thanks and regards,
Bheem.

-----Original Message-----
From: Neha Srivastava [mailto:neha.srivastava@wipro.com]
Sent: Monday, September 23, 2002 10:16 AM
To: soap-user@xml.apache.org; bheemesh@snb.psi.soft.net
Subject: Re: how to see the XML content.


hi,

u can use TcpTunnelGui for this
to launch the command is-
java org.apache.soap.util.net.TcpTunnelGui 80  localhost 8080 
 
Your client should connect to the port which u have used for tunnel gui.

Regards
neha

----- Original Message ----- 
From: "bheemesh" <bh...@snb.psi.soft.net>
To: <so...@xml.apache.org>
Sent: Tuesday, September 24, 2002 10:12 AM
Subject: how to see the XML content.


> Hi,
> 
> How to see the SOAP messages in Call and Response objects?
> 
> thanks and regards,
> Bheem.
> 
> --
> To unsubscribe, e-mail:   <ma...@xml.apache.org>
> For additional commands, e-mail: <ma...@xml.apache.org>
> 



Re: how to see the XML content.

Posted by Neha Srivastava <ne...@wipro.com>.
hi,

u can use TcpTunnelGui for this
to launch the command is-
java org.apache.soap.util.net.TcpTunnelGui 80  localhost 8080 
 
Your client should connect to the port which u have used for tunnel gui.

Regards
neha

----- Original Message ----- 
From: "bheemesh" <bh...@snb.psi.soft.net>
To: <so...@xml.apache.org>
Sent: Tuesday, September 24, 2002 10:12 AM
Subject: how to see the XML content.


> Hi,
> 
> How to see the SOAP messages in Call and Response objects?
> 
> thanks and regards,
> Bheem.
> 
> --
> To unsubscribe, e-mail:   <ma...@xml.apache.org>
> For additional commands, e-mail: <ma...@xml.apache.org>
> 


Re: how to see the XML content.

Posted by Neha Srivastava <ne...@wipro.com>.
hi,

u can use TcpTunnelGui for this
to launch the command is-
java org.apache.soap.util.net.TcpTunnelGui 80  localhost 8080 
 
Your client should connect to the port which u have used for tunnel gui.

Regards
neha

----- Original Message ----- 
From: "bheemesh" <bh...@snb.psi.soft.net>
To: <so...@xml.apache.org>
Sent: Tuesday, September 24, 2002 10:12 AM
Subject: how to see the XML content.


> Hi,
> 
> How to see the SOAP messages in Call and Response objects?
> 
> thanks and regards,
> Bheem.
> 
> --
> To unsubscribe, e-mail:   <ma...@xml.apache.org>
> For additional commands, e-mail: <ma...@xml.apache.org>
> 


how to see the XML content.

Posted by bheemesh <bh...@snb.psi.soft.net>.
Hi,

How to see the SOAP messages in Call and Response objects?

thanks and regards,
Bheem.

how to see the XML content.

Posted by bheemesh <bh...@snb.psi.soft.net>.
Hi,

How to see the SOAP messages in Call and Response objects?

thanks and regards,
Bheem.

--
To unsubscribe, e-mail:   <ma...@xml.apache.org>
For additional commands, e-mail: <ma...@xml.apache.org>


Re: web service with Gui

Posted by Neha Srivastava <ne...@wipro.com>.
hi scott,

 I was wondering why i couldn't observe this.
Thanks for your help.

Regards
neha




----- Original Message -----
From: "Scott Nichol" <sn...@scottnichol.com>
To: <so...@xml.apache.org>
Sent: Thursday, September 19, 2002 7:40 PM
Subject: Re: web service with Gui


> If you point your browser at 80, it is going through TcpTunnelGui to the
> server, so it will show messages from the browser to server in addition to
> those from the SOAP call.  If you point it at 8080, it is going directly
to
> the server, and TcpTunnelGui will only show messages from the SOAP call
from
> the servlet.
>
> Scott Nichol
>
> ----- Original Message -----
> From: "Neha Srivastava" <ne...@wipro.com>
> To: <so...@xml.apache.org>
> Sent: Thursday, September 19, 2002 7:21 AM
> Subject: Re: web service with Gui
>
>
> > hi,
> >
> > I am able to see the soap messages now. Thanks.
> > I am pointing my browser
> > http://localhost:80/sclient/servlet/rpcrouter and
> > http://localhost:8080/sclient/servlet/rpcrouter
> >
> > both ways it is working -why?
> >
> > Regards
> > neha
> >
> >
> > ----- Original Message -----
> > From: "Scott Nichol" <sn...@scottnichol.com>
> > To: <so...@xml.apache.org>
> > Sent: Wednesday, September 18, 2002 7:33 PM
> > Subject: Re: web service with Gui
> >
> >
> > > > But TcpTunnelGui is still not wrkng with my servlet client.
> > > > it is wrkng with simple client.
> > > >
> > > > I have used the same command-
> > > >
> > > > java org.apache.soap.util.net.TcpTunnelGui 80 localhost 8080
> > > >
> > > > I am able to see the Windows but not the messages.
> > > > I have given endpoint url in the client as
> > > >
> > > > http://localhost:80/soap/servlet/rpcrouter.
> > >
> > > Are you certain the servlet code is actually executing call.invoke?
Is
> > > there any chance it has an error before that, or in call.invoke itself
> > > before the request is written?
> > >
> > > Scott Nichol
> > >
> > >
> > >
> > > --
> > > To unsubscribe, e-mail:
<ma...@xml.apache.org>
> > > For additional commands, e-mail:
<ma...@xml.apache.org>
> > >
> >
> >
>
>
> --------------------------------------------------------------------------
--
> ----
>
>
> > --
> > To unsubscribe, e-mail:   <ma...@xml.apache.org>
> > For additional commands, e-mail: <ma...@xml.apache.org>
>
>
> --
> To unsubscribe, e-mail:   <ma...@xml.apache.org>
> For additional commands, e-mail: <ma...@xml.apache.org>
>


Re: web service with Gui

Posted by Neha Srivastava <ne...@wipro.com>.
hi scott,

 I was wondering why i couldn't observe this.
Thanks for your help.

Regards
neha




----- Original Message -----
From: "Scott Nichol" <sn...@scottnichol.com>
To: <so...@xml.apache.org>
Sent: Thursday, September 19, 2002 7:40 PM
Subject: Re: web service with Gui


> If you point your browser at 80, it is going through TcpTunnelGui to the
> server, so it will show messages from the browser to server in addition to
> those from the SOAP call.  If you point it at 8080, it is going directly
to
> the server, and TcpTunnelGui will only show messages from the SOAP call
from
> the servlet.
>
> Scott Nichol
>
> ----- Original Message -----
> From: "Neha Srivastava" <ne...@wipro.com>
> To: <so...@xml.apache.org>
> Sent: Thursday, September 19, 2002 7:21 AM
> Subject: Re: web service with Gui
>
>
> > hi,
> >
> > I am able to see the soap messages now. Thanks.
> > I am pointing my browser
> > http://localhost:80/sclient/servlet/rpcrouter and
> > http://localhost:8080/sclient/servlet/rpcrouter
> >
> > both ways it is working -why?
> >
> > Regards
> > neha
> >
> >
> > ----- Original Message -----
> > From: "Scott Nichol" <sn...@scottnichol.com>
> > To: <so...@xml.apache.org>
> > Sent: Wednesday, September 18, 2002 7:33 PM
> > Subject: Re: web service with Gui
> >
> >
> > > > But TcpTunnelGui is still not wrkng with my servlet client.
> > > > it is wrkng with simple client.
> > > >
> > > > I have used the same command-
> > > >
> > > > java org.apache.soap.util.net.TcpTunnelGui 80 localhost 8080
> > > >
> > > > I am able to see the Windows but not the messages.
> > > > I have given endpoint url in the client as
> > > >
> > > > http://localhost:80/soap/servlet/rpcrouter.
> > >
> > > Are you certain the servlet code is actually executing call.invoke?
Is
> > > there any chance it has an error before that, or in call.invoke itself
> > > before the request is written?
> > >
> > > Scott Nichol
> > >
> > >
> > >
> > > --
> > > To unsubscribe, e-mail:
<ma...@xml.apache.org>
> > > For additional commands, e-mail:
<ma...@xml.apache.org>
> > >
> >
> >
>
>
> --------------------------------------------------------------------------
--
> ----
>
>
> > --
> > To unsubscribe, e-mail:   <ma...@xml.apache.org>
> > For additional commands, e-mail: <ma...@xml.apache.org>
>
>
> --
> To unsubscribe, e-mail:   <ma...@xml.apache.org>
> For additional commands, e-mail: <ma...@xml.apache.org>
>


Re: web service with Gui

Posted by Scott Nichol <sn...@scottnichol.com>.
If you point your browser at 80, it is going through TcpTunnelGui to the
server, so it will show messages from the browser to server in addition to
those from the SOAP call.  If you point it at 8080, it is going directly to
the server, and TcpTunnelGui will only show messages from the SOAP call from
the servlet.

Scott Nichol

----- Original Message -----
From: "Neha Srivastava" <ne...@wipro.com>
To: <so...@xml.apache.org>
Sent: Thursday, September 19, 2002 7:21 AM
Subject: Re: web service with Gui


> hi,
>
> I am able to see the soap messages now. Thanks.
> I am pointing my browser
> http://localhost:80/sclient/servlet/rpcrouter and
> http://localhost:8080/sclient/servlet/rpcrouter
>
> both ways it is working -why?
>
> Regards
> neha
>
>
> ----- Original Message -----
> From: "Scott Nichol" <sn...@scottnichol.com>
> To: <so...@xml.apache.org>
> Sent: Wednesday, September 18, 2002 7:33 PM
> Subject: Re: web service with Gui
>
>
> > > But TcpTunnelGui is still not wrkng with my servlet client.
> > > it is wrkng with simple client.
> > >
> > > I have used the same command-
> > >
> > > java org.apache.soap.util.net.TcpTunnelGui 80 localhost 8080
> > >
> > > I am able to see the Windows but not the messages.
> > > I have given endpoint url in the client as
> > >
> > > http://localhost:80/soap/servlet/rpcrouter.
> >
> > Are you certain the servlet code is actually executing call.invoke?  Is
> > there any chance it has an error before that, or in call.invoke itself
> > before the request is written?
> >
> > Scott Nichol
> >
> >
> >
> > --
> > To unsubscribe, e-mail:   <ma...@xml.apache.org>
> > For additional commands, e-mail: <ma...@xml.apache.org>
> >
>
>


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


> --
> To unsubscribe, e-mail:   <ma...@xml.apache.org>
> For additional commands, e-mail: <ma...@xml.apache.org>


--
To unsubscribe, e-mail:   <ma...@xml.apache.org>
For additional commands, e-mail: <ma...@xml.apache.org>


Re: web service with Gui

Posted by Scott Nichol <sn...@scottnichol.com>.
If you point your browser at 80, it is going through TcpTunnelGui to the
server, so it will show messages from the browser to server in addition to
those from the SOAP call.  If you point it at 8080, it is going directly to
the server, and TcpTunnelGui will only show messages from the SOAP call from
the servlet.

Scott Nichol

----- Original Message -----
From: "Neha Srivastava" <ne...@wipro.com>
To: <so...@xml.apache.org>
Sent: Thursday, September 19, 2002 7:21 AM
Subject: Re: web service with Gui


> hi,
>
> I am able to see the soap messages now. Thanks.
> I am pointing my browser
> http://localhost:80/sclient/servlet/rpcrouter and
> http://localhost:8080/sclient/servlet/rpcrouter
>
> both ways it is working -why?
>
> Regards
> neha
>
>
> ----- Original Message -----
> From: "Scott Nichol" <sn...@scottnichol.com>
> To: <so...@xml.apache.org>
> Sent: Wednesday, September 18, 2002 7:33 PM
> Subject: Re: web service with Gui
>
>
> > > But TcpTunnelGui is still not wrkng with my servlet client.
> > > it is wrkng with simple client.
> > >
> > > I have used the same command-
> > >
> > > java org.apache.soap.util.net.TcpTunnelGui 80 localhost 8080
> > >
> > > I am able to see the Windows but not the messages.
> > > I have given endpoint url in the client as
> > >
> > > http://localhost:80/soap/servlet/rpcrouter.
> >
> > Are you certain the servlet code is actually executing call.invoke?  Is
> > there any chance it has an error before that, or in call.invoke itself
> > before the request is written?
> >
> > Scott Nichol
> >
> >
> >
> > --
> > To unsubscribe, e-mail:   <ma...@xml.apache.org>
> > For additional commands, e-mail: <ma...@xml.apache.org>
> >
>
>


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


> --
> To unsubscribe, e-mail:   <ma...@xml.apache.org>
> For additional commands, e-mail: <ma...@xml.apache.org>


Re: web service with Gui

Posted by Neha Srivastava <ne...@wipro.com>.
hi,

I am able to see the soap messages now. Thanks.
I am pointing my browser 
http://localhost:80/sclient/servlet/rpcrouter and 
http://localhost:8080/sclient/servlet/rpcrouter

both ways it is working -why?

Regards
neha


----- Original Message ----- 
From: "Scott Nichol" <sn...@scottnichol.com>
To: <so...@xml.apache.org>
Sent: Wednesday, September 18, 2002 7:33 PM
Subject: Re: web service with Gui


> > But TcpTunnelGui is still not wrkng with my servlet client.
> > it is wrkng with simple client.
> >
> > I have used the same command-
> >
> > java org.apache.soap.util.net.TcpTunnelGui 80 localhost 8080
> >
> > I am able to see the Windows but not the messages.
> > I have given endpoint url in the client as
> >
> > http://localhost:80/soap/servlet/rpcrouter.
> 
> Are you certain the servlet code is actually executing call.invoke?  Is
> there any chance it has an error before that, or in call.invoke itself
> before the request is written?
> 
> Scott Nichol
> 
> 
> 
> --
> To unsubscribe, e-mail:   <ma...@xml.apache.org>
> For additional commands, e-mail: <ma...@xml.apache.org>
> 


Re: web service with Gui

Posted by Scott Nichol <sn...@scottnichol.com>.
What is the error you are seeing?  This has been a long thread.  I only
recall that the call works from a standalone client, but not from a servlet
client.  What is it about the servlet client that is not working?  Do you
see an error message, or do you get a bad result?

Scott Nichol

----- Original Message -----
From: "Neha Srivastava" <ne...@wipro.com>
To: <so...@xml.apache.org>
Sent: Wednesday, September 18, 2002 11:48 PM
Subject: Re: web service with Gui


> hi,
>
> But if call.invoke was not executing - how could i get the result-returned
> values.
> that means-
>
> response.getReturnValue is executing.
>
> Everything is wrkng fine i am getting the results also but i am not able
to
> see the soap messages.
>
> regards
> neha
>
>
> ----- Original Message -----
> From: "Scott Nichol" <sn...@scottnichol.com>
> To: <so...@xml.apache.org>
> Sent: Wednesday, September 18, 2002 7:33 PM
> Subject: Re: web service with Gui
>
>
> > > But TcpTunnelGui is still not wrkng with my servlet client.
> > > it is wrkng with simple client.
> > >
> > > I have used the same command-
> > >
> > > java org.apache.soap.util.net.TcpTunnelGui 80 localhost 8080
> > >
> > > I am able to see the Windows but not the messages.
> > > I have given endpoint url in the client as
> > >
> > > http://localhost:80/soap/servlet/rpcrouter.
> >
> > Are you certain the servlet code is actually executing call.invoke?  Is
> > there any chance it has an error before that, or in call.invoke itself
> > before the request is written?
> >
> > Scott Nichol
> >
> >
> >
> > --
> > To unsubscribe, e-mail:   <ma...@xml.apache.org>
> > For additional commands, e-mail: <ma...@xml.apache.org>
> >
>
>


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


> --
> To unsubscribe, e-mail:   <ma...@xml.apache.org>
> For additional commands, e-mail: <ma...@xml.apache.org>


--
To unsubscribe, e-mail:   <ma...@xml.apache.org>
For additional commands, e-mail: <ma...@xml.apache.org>


Re: web service with Gui

Posted by Neha Srivastava <ne...@wipro.com>.
hi,

I am able to see the soap messages now. Thanks.
I am pointing my browser 
http://localhost:80/sclient/servlet/rpcrouter and 
http://localhost:8080/sclient/servlet/rpcrouter

both ways it is working -why?

Regards
neha


----- Original Message ----- 
From: "Scott Nichol" <sn...@scottnichol.com>
To: <so...@xml.apache.org>
Sent: Wednesday, September 18, 2002 7:33 PM
Subject: Re: web service with Gui


> > But TcpTunnelGui is still not wrkng with my servlet client.
> > it is wrkng with simple client.
> >
> > I have used the same command-
> >
> > java org.apache.soap.util.net.TcpTunnelGui 80 localhost 8080
> >
> > I am able to see the Windows but not the messages.
> > I have given endpoint url in the client as
> >
> > http://localhost:80/soap/servlet/rpcrouter.
> 
> Are you certain the servlet code is actually executing call.invoke?  Is
> there any chance it has an error before that, or in call.invoke itself
> before the request is written?
> 
> Scott Nichol
> 
> 
> 
> --
> To unsubscribe, e-mail:   <ma...@xml.apache.org>
> For additional commands, e-mail: <ma...@xml.apache.org>
> 


Re: web service with Gui

Posted by Scott Nichol <sn...@scottnichol.com>.
What is the error you are seeing?  This has been a long thread.  I only
recall that the call works from a standalone client, but not from a servlet
client.  What is it about the servlet client that is not working?  Do you
see an error message, or do you get a bad result?

Scott Nichol

----- Original Message -----
From: "Neha Srivastava" <ne...@wipro.com>
To: <so...@xml.apache.org>
Sent: Wednesday, September 18, 2002 11:48 PM
Subject: Re: web service with Gui


> hi,
>
> But if call.invoke was not executing - how could i get the result-returned
> values.
> that means-
>
> response.getReturnValue is executing.
>
> Everything is wrkng fine i am getting the results also but i am not able
to
> see the soap messages.
>
> regards
> neha
>
>
> ----- Original Message -----
> From: "Scott Nichol" <sn...@scottnichol.com>
> To: <so...@xml.apache.org>
> Sent: Wednesday, September 18, 2002 7:33 PM
> Subject: Re: web service with Gui
>
>
> > > But TcpTunnelGui is still not wrkng with my servlet client.
> > > it is wrkng with simple client.
> > >
> > > I have used the same command-
> > >
> > > java org.apache.soap.util.net.TcpTunnelGui 80 localhost 8080
> > >
> > > I am able to see the Windows but not the messages.
> > > I have given endpoint url in the client as
> > >
> > > http://localhost:80/soap/servlet/rpcrouter.
> >
> > Are you certain the servlet code is actually executing call.invoke?  Is
> > there any chance it has an error before that, or in call.invoke itself
> > before the request is written?
> >
> > Scott Nichol
> >
> >
> >
> > --
> > To unsubscribe, e-mail:   <ma...@xml.apache.org>
> > For additional commands, e-mail: <ma...@xml.apache.org>
> >
>
>


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


> --
> To unsubscribe, e-mail:   <ma...@xml.apache.org>
> For additional commands, e-mail: <ma...@xml.apache.org>


Re: web service with Gui

Posted by Neha Srivastava <ne...@wipro.com>.
hi,

But if call.invoke was not executing - how could i get the result-returned
values.
that means-

response.getReturnValue is executing.

Everything is wrkng fine i am getting the results also but i am not able to
see the soap messages.

regards
neha


----- Original Message -----
From: "Scott Nichol" <sn...@scottnichol.com>
To: <so...@xml.apache.org>
Sent: Wednesday, September 18, 2002 7:33 PM
Subject: Re: web service with Gui


> > But TcpTunnelGui is still not wrkng with my servlet client.
> > it is wrkng with simple client.
> >
> > I have used the same command-
> >
> > java org.apache.soap.util.net.TcpTunnelGui 80 localhost 8080
> >
> > I am able to see the Windows but not the messages.
> > I have given endpoint url in the client as
> >
> > http://localhost:80/soap/servlet/rpcrouter.
>
> Are you certain the servlet code is actually executing call.invoke?  Is
> there any chance it has an error before that, or in call.invoke itself
> before the request is written?
>
> Scott Nichol
>
>
>
> --
> To unsubscribe, e-mail:   <ma...@xml.apache.org>
> For additional commands, e-mail: <ma...@xml.apache.org>
>


Re: web service with Gui

Posted by Neha Srivastava <ne...@wipro.com>.
hi,

But if call.invoke was not executing - how could i get the result-returned
values.
that means-

response.getReturnValue is executing.

Everything is wrkng fine i am getting the results also but i am not able to
see the soap messages.

regards
neha


----- Original Message -----
From: "Scott Nichol" <sn...@scottnichol.com>
To: <so...@xml.apache.org>
Sent: Wednesday, September 18, 2002 7:33 PM
Subject: Re: web service with Gui


> > But TcpTunnelGui is still not wrkng with my servlet client.
> > it is wrkng with simple client.
> >
> > I have used the same command-
> >
> > java org.apache.soap.util.net.TcpTunnelGui 80 localhost 8080
> >
> > I am able to see the Windows but not the messages.
> > I have given endpoint url in the client as
> >
> > http://localhost:80/soap/servlet/rpcrouter.
>
> Are you certain the servlet code is actually executing call.invoke?  Is
> there any chance it has an error before that, or in call.invoke itself
> before the request is written?
>
> Scott Nichol
>
>
>
> --
> To unsubscribe, e-mail:   <ma...@xml.apache.org>
> For additional commands, e-mail: <ma...@xml.apache.org>
>


Re: web service with Gui

Posted by Scott Nichol <sn...@scottnichol.com>.
> But TcpTunnelGui is still not wrkng with my servlet client.
> it is wrkng with simple client.
>
> I have used the same command-
>
> java org.apache.soap.util.net.TcpTunnelGui 80 localhost 8080
>
> I am able to see the Windows but not the messages.
> I have given endpoint url in the client as
>
> http://localhost:80/soap/servlet/rpcrouter.

Are you certain the servlet code is actually executing call.invoke?  Is
there any chance it has an error before that, or in call.invoke itself
before the request is written?

Scott Nichol



--
To unsubscribe, e-mail:   <ma...@xml.apache.org>
For additional commands, e-mail: <ma...@xml.apache.org>


Re: web service with Gui

Posted by Scott Nichol <sn...@scottnichol.com>.
> why do we give defaultEndpointURL in getInitParameter.?
>
> url = getServletConfig().getInitParameter("defaultEndpointURL");

This just provides a default value if the user does not enter a URL.  The
other code is:


    String url = req.getParameter("endpointURL");
    if (url == null || url.length() == 0)
      url = getServletConfig().getInitParameter("defaultEndpointURL");

Scott Nichol




Re: web service with Gui

Posted by Scott Nichol <sn...@scottnichol.com>.
> why do we give defaultEndpointURL in getInitParameter.?
>
> url = getServletConfig().getInitParameter("defaultEndpointURL");

This just provides a default value if the user does not enter a URL.  The
other code is:


    String url = req.getParameter("endpointURL");
    if (url == null || url.length() == 0)
      url = getServletConfig().getInitParameter("defaultEndpointURL");

Scott Nichol




--
To unsubscribe, e-mail:   <ma...@xml.apache.org>
For additional commands, e-mail: <ma...@xml.apache.org>


Re: web service with Gui

Posted by Scott Nichol <sn...@scottnichol.com>.
> But TcpTunnelGui is still not wrkng with my servlet client.
> it is wrkng with simple client.
>
> I have used the same command-
>
> java org.apache.soap.util.net.TcpTunnelGui 80 localhost 8080
>
> I am able to see the Windows but not the messages.
> I have given endpoint url in the client as
>
> http://localhost:80/soap/servlet/rpcrouter.

Are you certain the servlet code is actually executing call.invoke?  Is
there any chance it has an error before that, or in call.invoke itself
before the request is written?

Scott Nichol



Re: web service with Gui

Posted by Neha Srivastava <ne...@wipro.com>.
hi,
Thanx, Now i Got it.
But TcpTunnelGui is still not wrkng with my servlet client.
it is wrkng with simple client.

I have used the same command-

java org.apache.soap.util.net.TcpTunnelGui 80 localhost 8080

I am able to see the Windows but not the messages.
I have given endpoint url in the client as

http://localhost:80/soap/servlet/rpcrouter.

why do we give defaultEndpointURL in getInitParameter.?

url = getServletConfig().getInitParameter("defaultEndpointURL");

Thanks and Regards
Neha


----- Original Message -----
From: "Scott Nichol" <sn...@scottnichol.com>
To: <so...@xml.apache.org>
Sent: Tuesday, September 17, 2002 6:29 PM
Subject: Re: web service with Gui


> Your command line for TcpTunnelGui would be
>
>     java org.apache.soap.util.net.TcpTunnelGui 80 localhost 8080
>
> The client connects to localhost:80, which is the port where TcpTunnelGui
is
> listening.  TcpTunnelGui is a circuit level relay, meaning it will connect
> to localhost:8080.  Everything it reads from localhost:80 it will write to
> localhost:8080, and everything it reads from localhost:8080 it will write
to
> localhost:80.  Therefore, except for the Host header in the HTTP request,
> the server listening on localhost:8080 does not see anything different
than
> if the client connected to it directly.
>
> Scott Nichol
>
> ----- Original Message -----
> From: "Neha Srivastava" <ne...@wipro.com>
> To: <so...@xml.apache.org>
> Sent: Tuesday, September 17, 2002 12:02 AM
> Subject: Re: web service with Gui
>
>
> > if my TcpTunnelGui is listening on port 80- i should change my servlet
> > client to connect to port 80  But my service is deployed on port 8080
then
> > how does it work?
> > I am a bit confused.
> >
> > Thanks and Regards
> > neha
> > ----- Original Message -----
> > From: "Scott Nichol" <sn...@scottnichol.com>
> > To: <so...@xml.apache.org>
> > Sent: Monday, September 16, 2002 6:54 PM
> > Subject: Re: web service with Gui
> >
> >
> > > Have you changed the URL to which the servlet client connects?  For
> > example,
> > > if the servlet client normally connects to
> > > http://localhost:8080/soap/servlet/rpcrouter, and you have
TcpTunnelGui
> > > listening on port 81 (i.e. you have run java
> > > org.apache.soap.util.net.TcpTunnelGui 81 localhost 8080), then you
must
> > > change your servlet client to connect to
> > > http://localhost:81/soap/servlet/rpcrouter.  TcpTunnelGui is a
> > circuit-level
> > > relay, not a monitor that graps packets from a network driver.
> > >
> > > Scott Nichol
> > >
> > > ----- Original Message -----
> > > From: "Neha Srivastava" <ne...@wipro.com>
> > > To: <so...@xml.apache.org>
> > > Sent: Monday, September 16, 2002 5:31 AM
> > > Subject: Re: web service with Gui
> > >
> > >
> > > hi,
> > >
> > > The error is solved.  but  the TcpTunnelGui tool is not wrkng with
> servlet
> > > client..why?
> > >
> > > Thanks and Regards
> > > neha
> > >
> > >
> > > ----- Original Message -----
> > > From: "Scott Nichol" <sn...@scottnichol.com>
> > > To: <so...@xml.apache.org>
> > > Sent: Friday, September 13, 2002 10:49 AM
> > > Subject: Re: web service with Gui
> > >
> > >
> > > > The error says the client has called getValues("some string"), but
> there
> > > is
> > > > no getValues(String s) method on samples.helloworld.account.  For
help
> > > > beyond this, you would probably need to post the code for client and
> > > server
> > > > and deployment descriptor for the server.
> > > >
> > > > Scott Nichol
> > > >
> > > > ----- Original Message -----
> > > > From: "Neha Srivastava" <ne...@wipro.com>
> > > > To: <so...@xml.apache.org>
> > > > Sent: Friday, September 13, 2002 12:27 AM
> > > > Subject: Re: web service with Gui
> > > >
> > > >
> > > >
> > > > Hi Scott,
> > > >
> > > > Thanks for giving continuous help.
> > > >
> > > > Now  My servlet and service both are deployed but when i give the
> accno
> > > and
> > > > the url and click Get.
> > > >
> > > > I get the following error-
> > > >
> > > >
> > > > SOAP call generated a fault: [Attributes={}]
> [faultCode=SOAP-ENV:Server]
> > > > [faultString=Exception while handling service request:
> > > > samples.helloworld.account.getValues(java.lang.String) -- no
signature
> > > > match] [faultActorURI=/soap/servlet/rpcrouter] [DetailEntries=
> > > > [(0)=java.lang.NoSuchMethodException:
> > > > samples.helloworld.account.getValues(java.lang.String) -- no
signature
> > > match
> > > > at
> org.apache.soap.util.MethodUtils.getEntryPoint(MethodUtils.java:194)
> > at
> > > > org.apache.soap.util.MethodUtils.getMethod(MethodUtils.java:548) at
> > > > org.apache.soap.util.MethodUtils.getMethod(MethodUtils.java:528) at
> > > > org.apache.soap.server.RPCRouter.invoke(RPCRouter.java:114) at
> > > >
> >
org.apache.soap.providers.RPCJavaProvider.invoke(RPCJavaProvider.java:129)
> > > > at
> > > >
> > >
> >
>
org.apache.soap.server.http.RPCRouterServlet.doPost(RPCRouterServlet.java:35
> > > > 4) at javax.servlet.http.HttpServlet.service(HttpServlet.java:760)
at
> > > > javax.servlet.http.HttpServlet.service(HttpServlet.java:853) at
> > > >
> > >
> >
>
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Application
> > > > FilterChain.java:247) at
> > > >
> > >
> >
>
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterCh
> > > > ain.java:193) at ....
> > > >
> > > > Thanks and Regards
> > > > Neha
> > > >
> > > > ----- Original Message -----
> > > > From: "Scott Nichol" <sn...@scottnichol.com>
> > > > To: <so...@xml.apache.org>
> > > > Sent: Wednesday, September 11, 2002 6:40 PM
> > > > Subject: Re: web service with Gui
> > > >
> > > >
> > > > > Sorry.  The target name for that is buildwar, so you run "ant
> > buildwar".
> > > > >
> > > > > Scott Nichol
> > > > >
> > > > > ----- Original Message -----
> > > > > From: "Neha Srivastava" <ne...@wipro.com>
> > > > > To: <so...@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" <sn...@scottnichol.com>
> > > > > To: <so...@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" <ne...@wipro.com>
> > > > > > To: <so...@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" <sn...@scottnichol.com>
> > > > > > To: <so...@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" <ne...@wipro.com>
> > > > > > > To: <so...@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" <sn...@scottnichol.com>
> > > > > > > To: <so...@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" <ne...@wipro.com>
> > > > > > > > To: <so...@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" <sn...@scottnichol.com>
> > > > > > > > To: <so...@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" <sn...@scottnichol.com>
> > > > > > > > > To: <so...@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" <sn...@scottnichol.com>
> > > > > > > > > To: <so...@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" <ne...@wipro.com>
> > > > > > > > > To: <so...@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" <sn...@scottnichol.com>
> > > > > > > > > To: <so...@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" <ne...@wipro.com>
> > > > > > > > > > To: <so...@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:
> > > > > > > <ma...@xml.apache.org>
> > > > > > > > > > For additional commands, e-mail:
> > > > > > > <ma...@xml.apache.org>
> > > > > > > > > >
> > > > > > > > > >
> > > > > > > > > > --
> > > > > > > > > > To unsubscribe, e-mail:
> > > > > > > <ma...@xml.apache.org>
> > > > > > > > > > For additional commands, e-mail:
> > > > > > > <ma...@xml.apache.org>
> > > > > > > > > >
> > > > > > > > >
> > > > > > > > >
> > > > > > > > >
> > > > > > > > >
> > > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
>
> --------------------------------------------------------------------------
> > > > > > > > --
> > > > > > > > > ----
> > > > > > > > >
> > > > > > > > >
> > > > > > > > > --
> > > > > > > > > To unsubscribe, e-mail:
> > > > > > <ma...@xml.apache.org>
> > > > > > > > > For additional commands, e-mail:
> > > > > > <ma...@xml.apache.org>
> > > > > > > > >
> > > > > > > > >
> > > > > > > > > --
> > > > > > > > > To unsubscribe, e-mail:
> > > > > > <ma...@xml.apache.org>
> > > > > > > > > For additional commands, e-mail:
> > > > > > <ma...@xml.apache.org>
> > > > > > > > >
> > > > > > > > >
> > > > > > > > >
> > > > > > > > >
> > > > > > > > >
> > > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
>
> --------------------------------------------------------------------------
> > > > > > >
> > > > > > > > --
> > > > > > > > > ----
> > > > > > > > >
> > > > > > > > >
> > > > > > > > > --
> > > > > > > > > To unsubscribe, e-mail:
> > > > > > <ma...@xml.apache.org>
> > > > > > > > > For additional commands, e-mail:
> > > > > > <ma...@xml.apache.org>
> > > > > > > > >
> > > > > > > > >
> > > > > > > > > --
> > > > > > > > > To unsubscribe, e-mail:
> > > > > > <ma...@xml.apache.org>
> > > > > > > > > For additional commands, e-mail:
> > > > > > <ma...@xml.apache.org>
> > > > > > > > >
> > > > > > > >
> > > > > > > > ----- Original Message -----
> > > > > > > > From: "Scott Nichol" <sn...@scottnichol.com>
> > > > > > > > To: <so...@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" <sn...@scottnichol.com>
> > > > > > > > > To: <so...@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" <sn...@scottnichol.com>
> > > > > > > > > To: <so...@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" <ne...@wipro.com>
> > > > > > > > > To: <so...@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" <sn...@scottnichol.com>
> > > > > > > > > To: <so...@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" <ne...@wipro.com>
> > > > > > > > > > To: <so...@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:
> > > > > > > <ma...@xml.apache.org>
> > > > > > > > > > For additional commands, e-mail:
> > > > > > > <ma...@xml.apache.org>
> > > > > > > > > >
> > > > > > > > > >
> > > > > > > > > > --
> > > > > > > > > > To unsubscribe, e-mail:
> > > > > > > <ma...@xml.apache.org>
> > > > > > > > > > For additional commands, e-mail:
> > > > > > > <ma...@xml.apache.org>
> > > > > > > > > >
> > > > > > > > >
> > > > > > > > >
> > > > > > > > >
> > > > > > > > >
> > > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
>
> --------------------------------------------------------------------------
> > > > > > > > --
> > > > > > > > > ----
> > > > > > > > >
> > > > > > > > >
> > > > > > > > > --
> > > > > > > > > To unsubscribe, e-mail:
> > > > > > <ma...@xml.apache.org>
> > > > > > > > > For additional commands, e-mail:
> > > > > > <ma...@xml.apache.org>
> > > > > > > > >
> > > > > > > > >
> > > > > > > > > --
> > > > > > > > > To unsubscribe, e-mail:
> > > > > > <ma...@xml.apache.org>
> > > > > > > > > For additional commands, e-mail:
> > > > > > <ma...@xml.apache.org>
> > > > > > > > >
> > > > > > > > >
> > > > > > > > >
> > > > > > > > >
> > > > > > > > >
> > > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
>
> --------------------------------------------------------------------------
> > > > > > > > --
> > > > > > > > > ----
> > > > > > > > >
> > > > > > > > >
> > > > > > > > > --
> > > > > > > > > To unsubscribe, e-mail:
> > > > > > <ma...@xml.apache.org>
> > > > > > > > > For additional commands, e-mail:
> > > > > > <ma...@xml.apache.org>
> > > > > > > > >
> > > > > > > > >
> > > > > > > > > --
> > > > > > > > > To unsubscribe, e-mail:
> > > > > > <ma...@xml.apache.org>
> > > > > > > > > For additional commands, e-mail:
> > > > > > <ma...@xml.apache.org>
> > > > > > > > >
> > > > > > > >
> > > > > > > >
> > > > > > > >
> > > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
>
> --------------------------------------------------------------------------
> > > > > > > --
> > > > > > > > ----
> > > > > > > >
> > > > > > > >
> > > > > > > > --
> > > > > > > > To unsubscribe, e-mail:
> > > > > <ma...@xml.apache.org>
> > > > > > > > For additional commands, e-mail:
> > > > > <ma...@xml.apache.org>
> > > > > > > >
> > > > > > > >
> > > > > > > > --
> > > > > > > > To unsubscribe, e-mail:
> > > > > <ma...@xml.apache.org>
> > > > > > > > For additional commands, e-mail:
> > > > > <ma...@xml.apache.org>
> > > > > > > >
> > > > > > >
> > > > > > >
> > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
>
> --------------------------------------------------------------------------
> > > > > > --
> > > > > > > ----
> > > > > > >
> > > > > > >
> > > > > > > --
> > > > > > > To unsubscribe, e-mail:
> > > > <ma...@xml.apache.org>
> > > > > > > For additional commands, e-mail:
> > > > <ma...@xml.apache.org>
> > > > > > >
> > > > > > >
> > > > > > > --
> > > > > > > To unsubscribe, e-mail:
> > > > <ma...@xml.apache.org>
> > > > > > > For additional commands, e-mail:
> > > > <ma...@xml.apache.org>
> > > > > > >
> > > > > >
> > > > > >
> > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
>
> --------------------------------------------------------------------------
> > > > > --
> > > > > > ----
> > > > > >
> > > > > >
> > > > > > --
> > > > > > To unsubscribe, e-mail:
> > > <ma...@xml.apache.org>
> > > > > > For additional commands, e-mail:
> > > <ma...@xml.apache.org>
> > > > > >
> > > > > >
> > > > > > --
> > > > > > To unsubscribe, e-mail:
> > > <ma...@xml.apache.org>
> > > > > > For additional commands, e-mail:
> > > <ma...@xml.apache.org>
> > > > > >
> > > > >
> > > > >
> > > > >
> > > > >
> > > >
> > >
> >
>
> --------------------------------------------------------------------------
> > > > --
> > > > > ----
> > > > >
> > > > >
> > > > > --
> > > > > To unsubscribe, e-mail:
> > <ma...@xml.apache.org>
> > > > > For additional commands, e-mail:
> > <ma...@xml.apache.org>
> > > > >
> > > > >
> > > > > --
> > > > > To unsubscribe, e-mail:
> > <ma...@xml.apache.org>
> > > > > For additional commands, e-mail:
> > <ma...@xml.apache.org>
> > > > >
> > > >
> > > >
> > > >
> > > >
> > >
> >
>
> --------------------------------------------------------------------------
> > > --
> > > > ----
> > > >
> > > >
> > > > --
> > > > To unsubscribe, e-mail:
> <ma...@xml.apache.org>
> > > > For additional commands, e-mail:
> <ma...@xml.apache.org>
> > > >
> > > >
> > > > --
> > > > To unsubscribe, e-mail:
> <ma...@xml.apache.org>
> > > > For additional commands, e-mail:
> <ma...@xml.apache.org>
> > > >
> > >
> > >
> > >
> > >
> >
>
> --------------------------------------------------------------------------
> > --
> > > ----
> > >
> > >
> > > --
> > > To unsubscribe, e-mail:
<ma...@xml.apache.org>
> > > For additional commands, e-mail:
<ma...@xml.apache.org>
> > >
> > >
> > > --
> > > To unsubscribe, e-mail:
<ma...@xml.apache.org>
> > > For additional commands, e-mail:
<ma...@xml.apache.org>
> > >
> >
> >
>
>
> --------------------------------------------------------------------------
--
> ----
>
>
> > --
> > To unsubscribe, e-mail:   <ma...@xml.apache.org>
> > For additional commands, e-mail: <ma...@xml.apache.org>
>
>
> --
> To unsubscribe, e-mail:   <ma...@xml.apache.org>
> For additional commands, e-mail: <ma...@xml.apache.org>
>


Re: web service with Gui

Posted by Neha Srivastava <ne...@wipro.com>.
hi,
Thanx, Now i Got it.
But TcpTunnelGui is still not wrkng with my servlet client.
it is wrkng with simple client.

I have used the same command-

java org.apache.soap.util.net.TcpTunnelGui 80 localhost 8080

I am able to see the Windows but not the messages.
I have given endpoint url in the client as

http://localhost:80/soap/servlet/rpcrouter.

why do we give defaultEndpointURL in getInitParameter.?

url = getServletConfig().getInitParameter("defaultEndpointURL");

Thanks and Regards
Neha


----- Original Message -----
From: "Scott Nichol" <sn...@scottnichol.com>
To: <so...@xml.apache.org>
Sent: Tuesday, September 17, 2002 6:29 PM
Subject: Re: web service with Gui


> Your command line for TcpTunnelGui would be
>
>     java org.apache.soap.util.net.TcpTunnelGui 80 localhost 8080
>
> The client connects to localhost:80, which is the port where TcpTunnelGui
is
> listening.  TcpTunnelGui is a circuit level relay, meaning it will connect
> to localhost:8080.  Everything it reads from localhost:80 it will write to
> localhost:8080, and everything it reads from localhost:8080 it will write
to
> localhost:80.  Therefore, except for the Host header in the HTTP request,
> the server listening on localhost:8080 does not see anything different
than
> if the client connected to it directly.
>
> Scott Nichol
>
> ----- Original Message -----
> From: "Neha Srivastava" <ne...@wipro.com>
> To: <so...@xml.apache.org>
> Sent: Tuesday, September 17, 2002 12:02 AM
> Subject: Re: web service with Gui
>
>
> > if my TcpTunnelGui is listening on port 80- i should change my servlet
> > client to connect to port 80  But my service is deployed on port 8080
then
> > how does it work?
> > I am a bit confused.
> >
> > Thanks and Regards
> > neha
> > ----- Original Message -----
> > From: "Scott Nichol" <sn...@scottnichol.com>
> > To: <so...@xml.apache.org>
> > Sent: Monday, September 16, 2002 6:54 PM
> > Subject: Re: web service with Gui
> >
> >
> > > Have you changed the URL to which the servlet client connects?  For
> > example,
> > > if the servlet client normally connects to
> > > http://localhost:8080/soap/servlet/rpcrouter, and you have
TcpTunnelGui
> > > listening on port 81 (i.e. you have run java
> > > org.apache.soap.util.net.TcpTunnelGui 81 localhost 8080), then you
must
> > > change your servlet client to connect to
> > > http://localhost:81/soap/servlet/rpcrouter.  TcpTunnelGui is a
> > circuit-level
> > > relay, not a monitor that graps packets from a network driver.
> > >
> > > Scott Nichol
> > >
> > > ----- Original Message -----
> > > From: "Neha Srivastava" <ne...@wipro.com>
> > > To: <so...@xml.apache.org>
> > > Sent: Monday, September 16, 2002 5:31 AM
> > > Subject: Re: web service with Gui
> > >
> > >
> > > hi,
> > >
> > > The error is solved.  but  the TcpTunnelGui tool is not wrkng with
> servlet
> > > client..why?
> > >
> > > Thanks and Regards
> > > neha
> > >
> > >
> > > ----- Original Message -----
> > > From: "Scott Nichol" <sn...@scottnichol.com>
> > > To: <so...@xml.apache.org>
> > > Sent: Friday, September 13, 2002 10:49 AM
> > > Subject: Re: web service with Gui
> > >
> > >
> > > > The error says the client has called getValues("some string"), but
> there
> > > is
> > > > no getValues(String s) method on samples.helloworld.account.  For
help
> > > > beyond this, you would probably need to post the code for client and
> > > server
> > > > and deployment descriptor for the server.
> > > >
> > > > Scott Nichol
> > > >
> > > > ----- Original Message -----
> > > > From: "Neha Srivastava" <ne...@wipro.com>
> > > > To: <so...@xml.apache.org>
> > > > Sent: Friday, September 13, 2002 12:27 AM
> > > > Subject: Re: web service with Gui
> > > >
> > > >
> > > >
> > > > Hi Scott,
> > > >
> > > > Thanks for giving continuous help.
> > > >
> > > > Now  My servlet and service both are deployed but when i give the
> accno
> > > and
> > > > the url and click Get.
> > > >
> > > > I get the following error-
> > > >
> > > >
> > > > SOAP call generated a fault: [Attributes={}]
> [faultCode=SOAP-ENV:Server]
> > > > [faultString=Exception while handling service request:
> > > > samples.helloworld.account.getValues(java.lang.String) -- no
signature
> > > > match] [faultActorURI=/soap/servlet/rpcrouter] [DetailEntries=
> > > > [(0)=java.lang.NoSuchMethodException:
> > > > samples.helloworld.account.getValues(java.lang.String) -- no
signature
> > > match
> > > > at
> org.apache.soap.util.MethodUtils.getEntryPoint(MethodUtils.java:194)
> > at
> > > > org.apache.soap.util.MethodUtils.getMethod(MethodUtils.java:548) at
> > > > org.apache.soap.util.MethodUtils.getMethod(MethodUtils.java:528) at
> > > > org.apache.soap.server.RPCRouter.invoke(RPCRouter.java:114) at
> > > >
> >
org.apache.soap.providers.RPCJavaProvider.invoke(RPCJavaProvider.java:129)
> > > > at
> > > >
> > >
> >
>
org.apache.soap.server.http.RPCRouterServlet.doPost(RPCRouterServlet.java:35
> > > > 4) at javax.servlet.http.HttpServlet.service(HttpServlet.java:760)
at
> > > > javax.servlet.http.HttpServlet.service(HttpServlet.java:853) at
> > > >
> > >
> >
>
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Application
> > > > FilterChain.java:247) at
> > > >
> > >
> >
>
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterCh
> > > > ain.java:193) at ....
> > > >
> > > > Thanks and Regards
> > > > Neha
> > > >
> > > > ----- Original Message -----
> > > > From: "Scott Nichol" <sn...@scottnichol.com>
> > > > To: <so...@xml.apache.org>
> > > > Sent: Wednesday, September 11, 2002 6:40 PM
> > > > Subject: Re: web service with Gui
> > > >
> > > >
> > > > > Sorry.  The target name for that is buildwar, so you run "ant
> > buildwar".
> > > > >
> > > > > Scott Nichol
> > > > >
> > > > > ----- Original Message -----
> > > > > From: "Neha Srivastava" <ne...@wipro.com>
> > > > > To: <so...@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" <sn...@scottnichol.com>
> > > > > To: <so...@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" <ne...@wipro.com>
> > > > > > To: <so...@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" <sn...@scottnichol.com>
> > > > > > To: <so...@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" <ne...@wipro.com>
> > > > > > > To: <so...@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" <sn...@scottnichol.com>
> > > > > > > To: <so...@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" <ne...@wipro.com>
> > > > > > > > To: <so...@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" <sn...@scottnichol.com>
> > > > > > > > To: <so...@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" <sn...@scottnichol.com>
> > > > > > > > > To: <so...@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" <sn...@scottnichol.com>
> > > > > > > > > To: <so...@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" <ne...@wipro.com>
> > > > > > > > > To: <so...@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" <sn...@scottnichol.com>
> > > > > > > > > To: <so...@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" <ne...@wipro.com>
> > > > > > > > > > To: <so...@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:
> > > > > > > <ma...@xml.apache.org>
> > > > > > > > > > For additional commands, e-mail:
> > > > > > > <ma...@xml.apache.org>
> > > > > > > > > >
> > > > > > > > > >
> > > > > > > > > > --
> > > > > > > > > > To unsubscribe, e-mail:
> > > > > > > <ma...@xml.apache.org>
> > > > > > > > > > For additional commands, e-mail:
> > > > > > > <ma...@xml.apache.org>
> > > > > > > > > >
> > > > > > > > >
> > > > > > > > >
> > > > > > > > >
> > > > > > > > >
> > > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
>
> --------------------------------------------------------------------------
> > > > > > > > --
> > > > > > > > > ----
> > > > > > > > >
> > > > > > > > >
> > > > > > > > > --
> > > > > > > > > To unsubscribe, e-mail:
> > > > > > <ma...@xml.apache.org>
> > > > > > > > > For additional commands, e-mail:
> > > > > > <ma...@xml.apache.org>
> > > > > > > > >
> > > > > > > > >
> > > > > > > > > --
> > > > > > > > > To unsubscribe, e-mail:
> > > > > > <ma...@xml.apache.org>
> > > > > > > > > For additional commands, e-mail:
> > > > > > <ma...@xml.apache.org>
> > > > > > > > >
> > > > > > > > >
> > > > > > > > >
> > > > > > > > >
> > > > > > > > >
> > > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
>
> --------------------------------------------------------------------------
> > > > > > >
> > > > > > > > --
> > > > > > > > > ----
> > > > > > > > >
> > > > > > > > >
> > > > > > > > > --
> > > > > > > > > To unsubscribe, e-mail:
> > > > > > <ma...@xml.apache.org>
> > > > > > > > > For additional commands, e-mail:
> > > > > > <ma...@xml.apache.org>
> > > > > > > > >
> > > > > > > > >
> > > > > > > > > --
> > > > > > > > > To unsubscribe, e-mail:
> > > > > > <ma...@xml.apache.org>
> > > > > > > > > For additional commands, e-mail:
> > > > > > <ma...@xml.apache.org>
> > > > > > > > >
> > > > > > > >
> > > > > > > > ----- Original Message -----
> > > > > > > > From: "Scott Nichol" <sn...@scottnichol.com>
> > > > > > > > To: <so...@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" <sn...@scottnichol.com>
> > > > > > > > > To: <so...@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" <sn...@scottnichol.com>
> > > > > > > > > To: <so...@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" <ne...@wipro.com>
> > > > > > > > > To: <so...@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" <sn...@scottnichol.com>
> > > > > > > > > To: <so...@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" <ne...@wipro.com>
> > > > > > > > > > To: <so...@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:
> > > > > > > <ma...@xml.apache.org>
> > > > > > > > > > For additional commands, e-mail:
> > > > > > > <ma...@xml.apache.org>
> > > > > > > > > >
> > > > > > > > > >
> > > > > > > > > > --
> > > > > > > > > > To unsubscribe, e-mail:
> > > > > > > <ma...@xml.apache.org>
> > > > > > > > > > For additional commands, e-mail:
> > > > > > > <ma...@xml.apache.org>
> > > > > > > > > >
> > > > > > > > >
> > > > > > > > >
> > > > > > > > >
> > > > > > > > >
> > > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
>
> --------------------------------------------------------------------------
> > > > > > > > --
> > > > > > > > > ----
> > > > > > > > >
> > > > > > > > >
> > > > > > > > > --
> > > > > > > > > To unsubscribe, e-mail:
> > > > > > <ma...@xml.apache.org>
> > > > > > > > > For additional commands, e-mail:
> > > > > > <ma...@xml.apache.org>
> > > > > > > > >
> > > > > > > > >
> > > > > > > > > --
> > > > > > > > > To unsubscribe, e-mail:
> > > > > > <ma...@xml.apache.org>
> > > > > > > > > For additional commands, e-mail:
> > > > > > <ma...@xml.apache.org>
> > > > > > > > >
> > > > > > > > >
> > > > > > > > >
> > > > > > > > >
> > > > > > > > >
> > > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
>
> --------------------------------------------------------------------------
> > > > > > > > --
> > > > > > > > > ----
> > > > > > > > >
> > > > > > > > >
> > > > > > > > > --
> > > > > > > > > To unsubscribe, e-mail:
> > > > > > <ma...@xml.apache.org>
> > > > > > > > > For additional commands, e-mail:
> > > > > > <ma...@xml.apache.org>
> > > > > > > > >
> > > > > > > > >
> > > > > > > > > --
> > > > > > > > > To unsubscribe, e-mail:
> > > > > > <ma...@xml.apache.org>
> > > > > > > > > For additional commands, e-mail:
> > > > > > <ma...@xml.apache.org>
> > > > > > > > >
> > > > > > > >
> > > > > > > >
> > > > > > > >
> > > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
>
> --------------------------------------------------------------------------
> > > > > > > --
> > > > > > > > ----
> > > > > > > >
> > > > > > > >
> > > > > > > > --
> > > > > > > > To unsubscribe, e-mail:
> > > > > <ma...@xml.apache.org>
> > > > > > > > For additional commands, e-mail:
> > > > > <ma...@xml.apache.org>
> > > > > > > >
> > > > > > > >
> > > > > > > > --
> > > > > > > > To unsubscribe, e-mail:
> > > > > <ma...@xml.apache.org>
> > > > > > > > For additional commands, e-mail:
> > > > > <ma...@xml.apache.org>
> > > > > > > >
> > > > > > >
> > > > > > >
> > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
>
> --------------------------------------------------------------------------
> > > > > > --
> > > > > > > ----
> > > > > > >
> > > > > > >
> > > > > > > --
> > > > > > > To unsubscribe, e-mail:
> > > > <ma...@xml.apache.org>
> > > > > > > For additional commands, e-mail:
> > > > <ma...@xml.apache.org>
> > > > > > >
> > > > > > >
> > > > > > > --
> > > > > > > To unsubscribe, e-mail:
> > > > <ma...@xml.apache.org>
> > > > > > > For additional commands, e-mail:
> > > > <ma...@xml.apache.org>
> > > > > > >
> > > > > >
> > > > > >
> > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
>
> --------------------------------------------------------------------------
> > > > > --
> > > > > > ----
> > > > > >
> > > > > >
> > > > > > --
> > > > > > To unsubscribe, e-mail:
> > > <ma...@xml.apache.org>
> > > > > > For additional commands, e-mail:
> > > <ma...@xml.apache.org>
> > > > > >
> > > > > >
> > > > > > --
> > > > > > To unsubscribe, e-mail:
> > > <ma...@xml.apache.org>
> > > > > > For additional commands, e-mail:
> > > <ma...@xml.apache.org>
> > > > > >
> > > > >
> > > > >
> > > > >
> > > > >
> > > >
> > >
> >
>
> --------------------------------------------------------------------------
> > > > --
> > > > > ----
> > > > >
> > > > >
> > > > > --
> > > > > To unsubscribe, e-mail:
> > <ma...@xml.apache.org>
> > > > > For additional commands, e-mail:
> > <ma...@xml.apache.org>
> > > > >
> > > > >
> > > > > --
> > > > > To unsubscribe, e-mail:
> > <ma...@xml.apache.org>
> > > > > For additional commands, e-mail:
> > <ma...@xml.apache.org>
> > > > >
> > > >
> > > >
> > > >
> > > >
> > >
> >
>
> --------------------------------------------------------------------------
> > > --
> > > > ----
> > > >
> > > >
> > > > --
> > > > To unsubscribe, e-mail:
> <ma...@xml.apache.org>
> > > > For additional commands, e-mail:
> <ma...@xml.apache.org>
> > > >
> > > >
> > > > --
> > > > To unsubscribe, e-mail:
> <ma...@xml.apache.org>
> > > > For additional commands, e-mail:
> <ma...@xml.apache.org>
> > > >
> > >
> > >
> > >
> > >
> >
>
> --------------------------------------------------------------------------
> > --
> > > ----
> > >
> > >
> > > --
> > > To unsubscribe, e-mail:
<ma...@xml.apache.org>
> > > For additional commands, e-mail:
<ma...@xml.apache.org>
> > >
> > >
> > > --
> > > To unsubscribe, e-mail:
<ma...@xml.apache.org>
> > > For additional commands, e-mail:
<ma...@xml.apache.org>
> > >
> >
> >
>
>
> --------------------------------------------------------------------------
--
> ----
>
>
> > --
> > To unsubscribe, e-mail:   <ma...@xml.apache.org>
> > For additional commands, e-mail: <ma...@xml.apache.org>
>
>
> --
> To unsubscribe, e-mail:   <ma...@xml.apache.org>
> For additional commands, e-mail: <ma...@xml.apache.org>
>


Re: web service with Gui

Posted by Scott Nichol <sn...@scottnichol.com>.
Your command line for TcpTunnelGui would be

    java org.apache.soap.util.net.TcpTunnelGui 80 localhost 8080

The client connects to localhost:80, which is the port where TcpTunnelGui is
listening.  TcpTunnelGui is a circuit level relay, meaning it will connect
to localhost:8080.  Everything it reads from localhost:80 it will write to
localhost:8080, and everything it reads from localhost:8080 it will write to
localhost:80.  Therefore, except for the Host header in the HTTP request,
the server listening on localhost:8080 does not see anything different than
if the client connected to it directly.

Scott Nichol

----- Original Message -----
From: "Neha Srivastava" <ne...@wipro.com>
To: <so...@xml.apache.org>
Sent: Tuesday, September 17, 2002 12:02 AM
Subject: Re: web service with Gui


> if my TcpTunnelGui is listening on port 80- i should change my servlet
> client to connect to port 80  But my service is deployed on port 8080 then
> how does it work?
> I am a bit confused.
>
> Thanks and Regards
> neha
> ----- Original Message -----
> From: "Scott Nichol" <sn...@scottnichol.com>
> To: <so...@xml.apache.org>
> Sent: Monday, September 16, 2002 6:54 PM
> Subject: Re: web service with Gui
>
>
> > Have you changed the URL to which the servlet client connects?  For
> example,
> > if the servlet client normally connects to
> > http://localhost:8080/soap/servlet/rpcrouter, and you have TcpTunnelGui
> > listening on port 81 (i.e. you have run java
> > org.apache.soap.util.net.TcpTunnelGui 81 localhost 8080), then you must
> > change your servlet client to connect to
> > http://localhost:81/soap/servlet/rpcrouter.  TcpTunnelGui is a
> circuit-level
> > relay, not a monitor that graps packets from a network driver.
> >
> > Scott Nichol
> >
> > ----- Original Message -----
> > From: "Neha Srivastava" <ne...@wipro.com>
> > To: <so...@xml.apache.org>
> > Sent: Monday, September 16, 2002 5:31 AM
> > Subject: Re: web service with Gui
> >
> >
> > hi,
> >
> > The error is solved.  but  the TcpTunnelGui tool is not wrkng with
servlet
> > client..why?
> >
> > Thanks and Regards
> > neha
> >
> >
> > ----- Original Message -----
> > From: "Scott Nichol" <sn...@scottnichol.com>
> > To: <so...@xml.apache.org>
> > Sent: Friday, September 13, 2002 10:49 AM
> > Subject: Re: web service with Gui
> >
> >
> > > The error says the client has called getValues("some string"), but
there
> > is
> > > no getValues(String s) method on samples.helloworld.account.  For help
> > > beyond this, you would probably need to post the code for client and
> > server
> > > and deployment descriptor for the server.
> > >
> > > Scott Nichol
> > >
> > > ----- Original Message -----
> > > From: "Neha Srivastava" <ne...@wipro.com>
> > > To: <so...@xml.apache.org>
> > > Sent: Friday, September 13, 2002 12:27 AM
> > > Subject: Re: web service with Gui
> > >
> > >
> > >
> > > Hi Scott,
> > >
> > > Thanks for giving continuous help.
> > >
> > > Now  My servlet and service both are deployed but when i give the
accno
> > and
> > > the url and click Get.
> > >
> > > I get the following error-
> > >
> > >
> > > SOAP call generated a fault: [Attributes={}]
[faultCode=SOAP-ENV:Server]
> > > [faultString=Exception while handling service request:
> > > samples.helloworld.account.getValues(java.lang.String) -- no signature
> > > match] [faultActorURI=/soap/servlet/rpcrouter] [DetailEntries=
> > > [(0)=java.lang.NoSuchMethodException:
> > > samples.helloworld.account.getValues(java.lang.String) -- no signature
> > match
> > > at
org.apache.soap.util.MethodUtils.getEntryPoint(MethodUtils.java:194)
> at
> > > org.apache.soap.util.MethodUtils.getMethod(MethodUtils.java:548) at
> > > org.apache.soap.util.MethodUtils.getMethod(MethodUtils.java:528) at
> > > org.apache.soap.server.RPCRouter.invoke(RPCRouter.java:114) at
> > >
> org.apache.soap.providers.RPCJavaProvider.invoke(RPCJavaProvider.java:129)
> > > at
> > >
> >
>
org.apache.soap.server.http.RPCRouterServlet.doPost(RPCRouterServlet.java:35
> > > 4) at javax.servlet.http.HttpServlet.service(HttpServlet.java:760) at
> > > javax.servlet.http.HttpServlet.service(HttpServlet.java:853) at
> > >
> >
>
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Application
> > > FilterChain.java:247) at
> > >
> >
>
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterCh
> > > ain.java:193) at ....
> > >
> > > Thanks and Regards
> > > Neha
> > >
> > > ----- Original Message -----
> > > From: "Scott Nichol" <sn...@scottnichol.com>
> > > To: <so...@xml.apache.org>
> > > Sent: Wednesday, September 11, 2002 6:40 PM
> > > Subject: Re: web service with Gui
> > >
> > >
> > > > Sorry.  The target name for that is buildwar, so you run "ant
> buildwar".
> > > >
> > > > Scott Nichol
> > > >
> > > > ----- Original Message -----
> > > > From: "Neha Srivastava" <ne...@wipro.com>
> > > > To: <so...@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" <sn...@scottnichol.com>
> > > > To: <so...@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" <ne...@wipro.com>
> > > > > To: <so...@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" <sn...@scottnichol.com>
> > > > > To: <so...@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" <ne...@wipro.com>
> > > > > > To: <so...@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" <sn...@scottnichol.com>
> > > > > > To: <so...@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" <ne...@wipro.com>
> > > > > > > To: <so...@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" <sn...@scottnichol.com>
> > > > > > > To: <so...@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" <sn...@scottnichol.com>
> > > > > > > > To: <so...@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" <sn...@scottnichol.com>
> > > > > > > > To: <so...@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" <ne...@wipro.com>
> > > > > > > > To: <so...@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" <sn...@scottnichol.com>
> > > > > > > > To: <so...@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" <ne...@wipro.com>
> > > > > > > > > To: <so...@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:
> > > > > > <ma...@xml.apache.org>
> > > > > > > > > For additional commands, e-mail:
> > > > > > <ma...@xml.apache.org>
> > > > > > > > >
> > > > > > > > >
> > > > > > > > > --
> > > > > > > > > To unsubscribe, e-mail:
> > > > > > <ma...@xml.apache.org>
> > > > > > > > > For additional commands, e-mail:
> > > > > > <ma...@xml.apache.org>
> > > > > > > > >
> > > > > > > >
> > > > > > > >
> > > > > > > >
> > > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
>
> --------------------------------------------------------------------------
> > > > > > > --
> > > > > > > > ----
> > > > > > > >
> > > > > > > >
> > > > > > > > --
> > > > > > > > To unsubscribe, e-mail:
> > > > > <ma...@xml.apache.org>
> > > > > > > > For additional commands, e-mail:
> > > > > <ma...@xml.apache.org>
> > > > > > > >
> > > > > > > >
> > > > > > > > --
> > > > > > > > To unsubscribe, e-mail:
> > > > > <ma...@xml.apache.org>
> > > > > > > > For additional commands, e-mail:
> > > > > <ma...@xml.apache.org>
> > > > > > > >
> > > > > > > >
> > > > > > > >
> > > > > > > >
> > > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
>
> --------------------------------------------------------------------------
> > > > > >
> > > > > > > --
> > > > > > > > ----
> > > > > > > >
> > > > > > > >
> > > > > > > > --
> > > > > > > > To unsubscribe, e-mail:
> > > > > <ma...@xml.apache.org>
> > > > > > > > For additional commands, e-mail:
> > > > > <ma...@xml.apache.org>
> > > > > > > >
> > > > > > > >
> > > > > > > > --
> > > > > > > > To unsubscribe, e-mail:
> > > > > <ma...@xml.apache.org>
> > > > > > > > For additional commands, e-mail:
> > > > > <ma...@xml.apache.org>
> > > > > > > >
> > > > > > >
> > > > > > > ----- Original Message -----
> > > > > > > From: "Scott Nichol" <sn...@scottnichol.com>
> > > > > > > To: <so...@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" <sn...@scottnichol.com>
> > > > > > > > To: <so...@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" <sn...@scottnichol.com>
> > > > > > > > To: <so...@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" <ne...@wipro.com>
> > > > > > > > To: <so...@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" <sn...@scottnichol.com>
> > > > > > > > To: <so...@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" <ne...@wipro.com>
> > > > > > > > > To: <so...@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:
> > > > > > <ma...@xml.apache.org>
> > > > > > > > > For additional commands, e-mail:
> > > > > > <ma...@xml.apache.org>
> > > > > > > > >
> > > > > > > > >
> > > > > > > > > --
> > > > > > > > > To unsubscribe, e-mail:
> > > > > > <ma...@xml.apache.org>
> > > > > > > > > For additional commands, e-mail:
> > > > > > <ma...@xml.apache.org>
> > > > > > > > >
> > > > > > > >
> > > > > > > >
> > > > > > > >
> > > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
>
> --------------------------------------------------------------------------
> > > > > > > --
> > > > > > > > ----
> > > > > > > >
> > > > > > > >
> > > > > > > > --
> > > > > > > > To unsubscribe, e-mail:
> > > > > <ma...@xml.apache.org>
> > > > > > > > For additional commands, e-mail:
> > > > > <ma...@xml.apache.org>
> > > > > > > >
> > > > > > > >
> > > > > > > > --
> > > > > > > > To unsubscribe, e-mail:
> > > > > <ma...@xml.apache.org>
> > > > > > > > For additional commands, e-mail:
> > > > > <ma...@xml.apache.org>
> > > > > > > >
> > > > > > > >
> > > > > > > >
> > > > > > > >
> > > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
>
> --------------------------------------------------------------------------
> > > > > > > --
> > > > > > > > ----
> > > > > > > >
> > > > > > > >
> > > > > > > > --
> > > > > > > > To unsubscribe, e-mail:
> > > > > <ma...@xml.apache.org>
> > > > > > > > For additional commands, e-mail:
> > > > > <ma...@xml.apache.org>
> > > > > > > >
> > > > > > > >
> > > > > > > > --
> > > > > > > > To unsubscribe, e-mail:
> > > > > <ma...@xml.apache.org>
> > > > > > > > For additional commands, e-mail:
> > > > > <ma...@xml.apache.org>
> > > > > > > >
> > > > > > >
> > > > > > >
> > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
>
> --------------------------------------------------------------------------
> > > > > > --
> > > > > > > ----
> > > > > > >
> > > > > > >
> > > > > > > --
> > > > > > > To unsubscribe, e-mail:
> > > > <ma...@xml.apache.org>
> > > > > > > For additional commands, e-mail:
> > > > <ma...@xml.apache.org>
> > > > > > >
> > > > > > >
> > > > > > > --
> > > > > > > To unsubscribe, e-mail:
> > > > <ma...@xml.apache.org>
> > > > > > > For additional commands, e-mail:
> > > > <ma...@xml.apache.org>
> > > > > > >
> > > > > >
> > > > > >
> > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
>
> --------------------------------------------------------------------------
> > > > > --
> > > > > > ----
> > > > > >
> > > > > >
> > > > > > --
> > > > > > To unsubscribe, e-mail:
> > > <ma...@xml.apache.org>
> > > > > > For additional commands, e-mail:
> > > <ma...@xml.apache.org>
> > > > > >
> > > > > >
> > > > > > --
> > > > > > To unsubscribe, e-mail:
> > > <ma...@xml.apache.org>
> > > > > > For additional commands, e-mail:
> > > <ma...@xml.apache.org>
> > > > > >
> > > > >
> > > > >
> > > > >
> > > > >
> > > >
> > >
> >
>
> --------------------------------------------------------------------------
> > > > --
> > > > > ----
> > > > >
> > > > >
> > > > > --
> > > > > To unsubscribe, e-mail:
> > <ma...@xml.apache.org>
> > > > > For additional commands, e-mail:
> > <ma...@xml.apache.org>
> > > > >
> > > > >
> > > > > --
> > > > > To unsubscribe, e-mail:
> > <ma...@xml.apache.org>
> > > > > For additional commands, e-mail:
> > <ma...@xml.apache.org>
> > > > >
> > > >
> > > >
> > > >
> > > >
> > >
> >
>
> --------------------------------------------------------------------------
> > > --
> > > > ----
> > > >
> > > >
> > > > --
> > > > To unsubscribe, e-mail:
> <ma...@xml.apache.org>
> > > > For additional commands, e-mail:
> <ma...@xml.apache.org>
> > > >
> > > >
> > > > --
> > > > To unsubscribe, e-mail:
> <ma...@xml.apache.org>
> > > > For additional commands, e-mail:
> <ma...@xml.apache.org>
> > > >
> > >
> > >
> > >
> > >
> >
>
> --------------------------------------------------------------------------
> > --
> > > ----
> > >
> > >
> > > --
> > > To unsubscribe, e-mail:
<ma...@xml.apache.org>
> > > For additional commands, e-mail:
<ma...@xml.apache.org>
> > >
> > >
> > > --
> > > To unsubscribe, e-mail:
<ma...@xml.apache.org>
> > > For additional commands, e-mail:
<ma...@xml.apache.org>
> > >
> >
> >
> >
> >
>
> --------------------------------------------------------------------------
> --
> > ----
> >
> >
> > --
> > To unsubscribe, e-mail:   <ma...@xml.apache.org>
> > For additional commands, e-mail: <ma...@xml.apache.org>
> >
> >
> > --
> > To unsubscribe, e-mail:   <ma...@xml.apache.org>
> > For additional commands, e-mail: <ma...@xml.apache.org>
> >
>
>


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


> --
> To unsubscribe, e-mail:   <ma...@xml.apache.org>
> For additional commands, e-mail: <ma...@xml.apache.org>


--
To unsubscribe, e-mail:   <ma...@xml.apache.org>
For additional commands, e-mail: <ma...@xml.apache.org>


Re: web service with Gui

Posted by Scott Nichol <sn...@scottnichol.com>.
Your command line for TcpTunnelGui would be

    java org.apache.soap.util.net.TcpTunnelGui 80 localhost 8080

The client connects to localhost:80, which is the port where TcpTunnelGui is
listening.  TcpTunnelGui is a circuit level relay, meaning it will connect
to localhost:8080.  Everything it reads from localhost:80 it will write to
localhost:8080, and everything it reads from localhost:8080 it will write to
localhost:80.  Therefore, except for the Host header in the HTTP request,
the server listening on localhost:8080 does not see anything different than
if the client connected to it directly.

Scott Nichol

----- Original Message -----
From: "Neha Srivastava" <ne...@wipro.com>
To: <so...@xml.apache.org>
Sent: Tuesday, September 17, 2002 12:02 AM
Subject: Re: web service with Gui


> if my TcpTunnelGui is listening on port 80- i should change my servlet
> client to connect to port 80  But my service is deployed on port 8080 then
> how does it work?
> I am a bit confused.
>
> Thanks and Regards
> neha
> ----- Original Message -----
> From: "Scott Nichol" <sn...@scottnichol.com>
> To: <so...@xml.apache.org>
> Sent: Monday, September 16, 2002 6:54 PM
> Subject: Re: web service with Gui
>
>
> > Have you changed the URL to which the servlet client connects?  For
> example,
> > if the servlet client normally connects to
> > http://localhost:8080/soap/servlet/rpcrouter, and you have TcpTunnelGui
> > listening on port 81 (i.e. you have run java
> > org.apache.soap.util.net.TcpTunnelGui 81 localhost 8080), then you must
> > change your servlet client to connect to
> > http://localhost:81/soap/servlet/rpcrouter.  TcpTunnelGui is a
> circuit-level
> > relay, not a monitor that graps packets from a network driver.
> >
> > Scott Nichol
> >
> > ----- Original Message -----
> > From: "Neha Srivastava" <ne...@wipro.com>
> > To: <so...@xml.apache.org>
> > Sent: Monday, September 16, 2002 5:31 AM
> > Subject: Re: web service with Gui
> >
> >
> > hi,
> >
> > The error is solved.  but  the TcpTunnelGui tool is not wrkng with
servlet
> > client..why?
> >
> > Thanks and Regards
> > neha
> >
> >
> > ----- Original Message -----
> > From: "Scott Nichol" <sn...@scottnichol.com>
> > To: <so...@xml.apache.org>
> > Sent: Friday, September 13, 2002 10:49 AM
> > Subject: Re: web service with Gui
> >
> >
> > > The error says the client has called getValues("some string"), but
there
> > is
> > > no getValues(String s) method on samples.helloworld.account.  For help
> > > beyond this, you would probably need to post the code for client and
> > server
> > > and deployment descriptor for the server.
> > >
> > > Scott Nichol
> > >
> > > ----- Original Message -----
> > > From: "Neha Srivastava" <ne...@wipro.com>
> > > To: <so...@xml.apache.org>
> > > Sent: Friday, September 13, 2002 12:27 AM
> > > Subject: Re: web service with Gui
> > >
> > >
> > >
> > > Hi Scott,
> > >
> > > Thanks for giving continuous help.
> > >
> > > Now  My servlet and service both are deployed but when i give the
accno
> > and
> > > the url and click Get.
> > >
> > > I get the following error-
> > >
> > >
> > > SOAP call generated a fault: [Attributes={}]
[faultCode=SOAP-ENV:Server]
> > > [faultString=Exception while handling service request:
> > > samples.helloworld.account.getValues(java.lang.String) -- no signature
> > > match] [faultActorURI=/soap/servlet/rpcrouter] [DetailEntries=
> > > [(0)=java.lang.NoSuchMethodException:
> > > samples.helloworld.account.getValues(java.lang.String) -- no signature
> > match
> > > at
org.apache.soap.util.MethodUtils.getEntryPoint(MethodUtils.java:194)
> at
> > > org.apache.soap.util.MethodUtils.getMethod(MethodUtils.java:548) at
> > > org.apache.soap.util.MethodUtils.getMethod(MethodUtils.java:528) at
> > > org.apache.soap.server.RPCRouter.invoke(RPCRouter.java:114) at
> > >
> org.apache.soap.providers.RPCJavaProvider.invoke(RPCJavaProvider.java:129)
> > > at
> > >
> >
>
org.apache.soap.server.http.RPCRouterServlet.doPost(RPCRouterServlet.java:35
> > > 4) at javax.servlet.http.HttpServlet.service(HttpServlet.java:760) at
> > > javax.servlet.http.HttpServlet.service(HttpServlet.java:853) at
> > >
> >
>
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Application
> > > FilterChain.java:247) at
> > >
> >
>
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterCh
> > > ain.java:193) at ....
> > >
> > > Thanks and Regards
> > > Neha
> > >
> > > ----- Original Message -----
> > > From: "Scott Nichol" <sn...@scottnichol.com>
> > > To: <so...@xml.apache.org>
> > > Sent: Wednesday, September 11, 2002 6:40 PM
> > > Subject: Re: web service with Gui
> > >
> > >
> > > > Sorry.  The target name for that is buildwar, so you run "ant
> buildwar".
> > > >
> > > > Scott Nichol
> > > >
> > > > ----- Original Message -----
> > > > From: "Neha Srivastava" <ne...@wipro.com>
> > > > To: <so...@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" <sn...@scottnichol.com>
> > > > To: <so...@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" <ne...@wipro.com>
> > > > > To: <so...@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" <sn...@scottnichol.com>
> > > > > To: <so...@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" <ne...@wipro.com>
> > > > > > To: <so...@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" <sn...@scottnichol.com>
> > > > > > To: <so...@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" <ne...@wipro.com>
> > > > > > > To: <so...@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" <sn...@scottnichol.com>
> > > > > > > To: <so...@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" <sn...@scottnichol.com>
> > > > > > > > To: <so...@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" <sn...@scottnichol.com>
> > > > > > > > To: <so...@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" <ne...@wipro.com>
> > > > > > > > To: <so...@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" <sn...@scottnichol.com>
> > > > > > > > To: <so...@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" <ne...@wipro.com>
> > > > > > > > > To: <so...@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:
> > > > > > <ma...@xml.apache.org>
> > > > > > > > > For additional commands, e-mail:
> > > > > > <ma...@xml.apache.org>
> > > > > > > > >
> > > > > > > > >
> > > > > > > > > --
> > > > > > > > > To unsubscribe, e-mail:
> > > > > > <ma...@xml.apache.org>
> > > > > > > > > For additional commands, e-mail:
> > > > > > <ma...@xml.apache.org>
> > > > > > > > >
> > > > > > > >
> > > > > > > >
> > > > > > > >
> > > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
>
> --------------------------------------------------------------------------
> > > > > > > --
> > > > > > > > ----
> > > > > > > >
> > > > > > > >
> > > > > > > > --
> > > > > > > > To unsubscribe, e-mail:
> > > > > <ma...@xml.apache.org>
> > > > > > > > For additional commands, e-mail:
> > > > > <ma...@xml.apache.org>
> > > > > > > >
> > > > > > > >
> > > > > > > > --
> > > > > > > > To unsubscribe, e-mail:
> > > > > <ma...@xml.apache.org>
> > > > > > > > For additional commands, e-mail:
> > > > > <ma...@xml.apache.org>
> > > > > > > >
> > > > > > > >
> > > > > > > >
> > > > > > > >
> > > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
>
> --------------------------------------------------------------------------
> > > > > >
> > > > > > > --
> > > > > > > > ----
> > > > > > > >
> > > > > > > >
> > > > > > > > --
> > > > > > > > To unsubscribe, e-mail:
> > > > > <ma...@xml.apache.org>
> > > > > > > > For additional commands, e-mail:
> > > > > <ma...@xml.apache.org>
> > > > > > > >
> > > > > > > >
> > > > > > > > --
> > > > > > > > To unsubscribe, e-mail:
> > > > > <ma...@xml.apache.org>
> > > > > > > > For additional commands, e-mail:
> > > > > <ma...@xml.apache.org>
> > > > > > > >
> > > > > > >
> > > > > > > ----- Original Message -----
> > > > > > > From: "Scott Nichol" <sn...@scottnichol.com>
> > > > > > > To: <so...@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" <sn...@scottnichol.com>
> > > > > > > > To: <so...@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" <sn...@scottnichol.com>
> > > > > > > > To: <so...@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" <ne...@wipro.com>
> > > > > > > > To: <so...@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" <sn...@scottnichol.com>
> > > > > > > > To: <so...@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" <ne...@wipro.com>
> > > > > > > > > To: <so...@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:
> > > > > > <ma...@xml.apache.org>
> > > > > > > > > For additional commands, e-mail:
> > > > > > <ma...@xml.apache.org>
> > > > > > > > >
> > > > > > > > >
> > > > > > > > > --
> > > > > > > > > To unsubscribe, e-mail:
> > > > > > <ma...@xml.apache.org>
> > > > > > > > > For additional commands, e-mail:
> > > > > > <ma...@xml.apache.org>
> > > > > > > > >
> > > > > > > >
> > > > > > > >
> > > > > > > >
> > > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
>
> --------------------------------------------------------------------------
> > > > > > > --
> > > > > > > > ----
> > > > > > > >
> > > > > > > >
> > > > > > > > --
> > > > > > > > To unsubscribe, e-mail:
> > > > > <ma...@xml.apache.org>
> > > > > > > > For additional commands, e-mail:
> > > > > <ma...@xml.apache.org>
> > > > > > > >
> > > > > > > >
> > > > > > > > --
> > > > > > > > To unsubscribe, e-mail:
> > > > > <ma...@xml.apache.org>
> > > > > > > > For additional commands, e-mail:
> > > > > <ma...@xml.apache.org>
> > > > > > > >
> > > > > > > >
> > > > > > > >
> > > > > > > >
> > > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
>
> --------------------------------------------------------------------------
> > > > > > > --
> > > > > > > > ----
> > > > > > > >
> > > > > > > >
> > > > > > > > --
> > > > > > > > To unsubscribe, e-mail:
> > > > > <ma...@xml.apache.org>
> > > > > > > > For additional commands, e-mail:
> > > > > <ma...@xml.apache.org>
> > > > > > > >
> > > > > > > >
> > > > > > > > --
> > > > > > > > To unsubscribe, e-mail:
> > > > > <ma...@xml.apache.org>
> > > > > > > > For additional commands, e-mail:
> > > > > <ma...@xml.apache.org>
> > > > > > > >
> > > > > > >
> > > > > > >
> > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
>
> --------------------------------------------------------------------------
> > > > > > --
> > > > > > > ----
> > > > > > >
> > > > > > >
> > > > > > > --
> > > > > > > To unsubscribe, e-mail:
> > > > <ma...@xml.apache.org>
> > > > > > > For additional commands, e-mail:
> > > > <ma...@xml.apache.org>
> > > > > > >
> > > > > > >
> > > > > > > --
> > > > > > > To unsubscribe, e-mail:
> > > > <ma...@xml.apache.org>
> > > > > > > For additional commands, e-mail:
> > > > <ma...@xml.apache.org>
> > > > > > >
> > > > > >
> > > > > >
> > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
>
> --------------------------------------------------------------------------
> > > > > --
> > > > > > ----
> > > > > >
> > > > > >
> > > > > > --
> > > > > > To unsubscribe, e-mail:
> > > <ma...@xml.apache.org>
> > > > > > For additional commands, e-mail:
> > > <ma...@xml.apache.org>
> > > > > >
> > > > > >
> > > > > > --
> > > > > > To unsubscribe, e-mail:
> > > <ma...@xml.apache.org>
> > > > > > For additional commands, e-mail:
> > > <ma...@xml.apache.org>
> > > > > >
> > > > >
> > > > >
> > > > >
> > > > >
> > > >
> > >
> >
>
> --------------------------------------------------------------------------
> > > > --
> > > > > ----
> > > > >
> > > > >
> > > > > --
> > > > > To unsubscribe, e-mail:
> > <ma...@xml.apache.org>
> > > > > For additional commands, e-mail:
> > <ma...@xml.apache.org>
> > > > >
> > > > >
> > > > > --
> > > > > To unsubscribe, e-mail:
> > <ma...@xml.apache.org>
> > > > > For additional commands, e-mail:
> > <ma...@xml.apache.org>
> > > > >
> > > >
> > > >
> > > >
> > > >
> > >
> >
>
> --------------------------------------------------------------------------
> > > --
> > > > ----
> > > >
> > > >
> > > > --
> > > > To unsubscribe, e-mail:
> <ma...@xml.apache.org>
> > > > For additional commands, e-mail:
> <ma...@xml.apache.org>
> > > >
> > > >
> > > > --
> > > > To unsubscribe, e-mail:
> <ma...@xml.apache.org>
> > > > For additional commands, e-mail:
> <ma...@xml.apache.org>
> > > >
> > >
> > >
> > >
> > >
> >
>
> --------------------------------------------------------------------------
> > --
> > > ----
> > >
> > >
> > > --
> > > To unsubscribe, e-mail:
<ma...@xml.apache.org>
> > > For additional commands, e-mail:
<ma...@xml.apache.org>
> > >
> > >
> > > --
> > > To unsubscribe, e-mail:
<ma...@xml.apache.org>
> > > For additional commands, e-mail:
<ma...@xml.apache.org>
> > >
> >
> >
> >
> >
>
> --------------------------------------------------------------------------
> --
> > ----
> >
> >
> > --
> > To unsubscribe, e-mail:   <ma...@xml.apache.org>
> > For additional commands, e-mail: <ma...@xml.apache.org>
> >
> >
> > --
> > To unsubscribe, e-mail:   <ma...@xml.apache.org>
> > For additional commands, e-mail: <ma...@xml.apache.org>
> >
>
>


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


> --
> To unsubscribe, e-mail:   <ma...@xml.apache.org>
> For additional commands, e-mail: <ma...@xml.apache.org>


Re: web service with Gui

Posted by Neha Srivastava <ne...@wipro.com>.
if my TcpTunnelGui is listening on port 80- i should change my servlet
client to connect to port 80  But my service is deployed on port 8080 then
how does it work?
I am a bit confused.

Thanks and Regards
neha
----- Original Message -----
From: "Scott Nichol" <sn...@scottnichol.com>
To: <so...@xml.apache.org>
Sent: Monday, September 16, 2002 6:54 PM
Subject: Re: web service with Gui


> Have you changed the URL to which the servlet client connects?  For
example,
> if the servlet client normally connects to
> http://localhost:8080/soap/servlet/rpcrouter, and you have TcpTunnelGui
> listening on port 81 (i.e. you have run java
> org.apache.soap.util.net.TcpTunnelGui 81 localhost 8080), then you must
> change your servlet client to connect to
> http://localhost:81/soap/servlet/rpcrouter.  TcpTunnelGui is a
circuit-level
> relay, not a monitor that graps packets from a network driver.
>
> Scott Nichol
>
> ----- Original Message -----
> From: "Neha Srivastava" <ne...@wipro.com>
> To: <so...@xml.apache.org>
> Sent: Monday, September 16, 2002 5:31 AM
> Subject: Re: web service with Gui
>
>
> hi,
>
> The error is solved.  but  the TcpTunnelGui tool is not wrkng with servlet
> client..why?
>
> Thanks and Regards
> neha
>
>
> ----- Original Message -----
> From: "Scott Nichol" <sn...@scottnichol.com>
> To: <so...@xml.apache.org>
> Sent: Friday, September 13, 2002 10:49 AM
> Subject: Re: web service with Gui
>
>
> > The error says the client has called getValues("some string"), but there
> is
> > no getValues(String s) method on samples.helloworld.account.  For help
> > beyond this, you would probably need to post the code for client and
> server
> > and deployment descriptor for the server.
> >
> > Scott Nichol
> >
> > ----- Original Message -----
> > From: "Neha Srivastava" <ne...@wipro.com>
> > To: <so...@xml.apache.org>
> > Sent: Friday, September 13, 2002 12:27 AM
> > Subject: Re: web service with Gui
> >
> >
> >
> > Hi Scott,
> >
> > Thanks for giving continuous help.
> >
> > Now  My servlet and service both are deployed but when i give the  accno
> and
> > the url and click Get.
> >
> > I get the following error-
> >
> >
> > SOAP call generated a fault: [Attributes={}] [faultCode=SOAP-ENV:Server]
> > [faultString=Exception while handling service request:
> > samples.helloworld.account.getValues(java.lang.String) -- no signature
> > match] [faultActorURI=/soap/servlet/rpcrouter] [DetailEntries=
> > [(0)=java.lang.NoSuchMethodException:
> > samples.helloworld.account.getValues(java.lang.String) -- no signature
> match
> > at org.apache.soap.util.MethodUtils.getEntryPoint(MethodUtils.java:194)
at
> > org.apache.soap.util.MethodUtils.getMethod(MethodUtils.java:548) at
> > org.apache.soap.util.MethodUtils.getMethod(MethodUtils.java:528) at
> > org.apache.soap.server.RPCRouter.invoke(RPCRouter.java:114) at
> >
org.apache.soap.providers.RPCJavaProvider.invoke(RPCJavaProvider.java:129)
> > at
> >
>
org.apache.soap.server.http.RPCRouterServlet.doPost(RPCRouterServlet.java:35
> > 4) at javax.servlet.http.HttpServlet.service(HttpServlet.java:760) at
> > javax.servlet.http.HttpServlet.service(HttpServlet.java:853) at
> >
>
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Application
> > FilterChain.java:247) at
> >
>
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterCh
> > ain.java:193) at ....
> >
> > Thanks and Regards
> > Neha
> >
> > ----- Original Message -----
> > From: "Scott Nichol" <sn...@scottnichol.com>
> > To: <so...@xml.apache.org>
> > Sent: Wednesday, September 11, 2002 6:40 PM
> > Subject: Re: web service with Gui
> >
> >
> > > Sorry.  The target name for that is buildwar, so you run "ant
buildwar".
> > >
> > > Scott Nichol
> > >
> > > ----- Original Message -----
> > > From: "Neha Srivastava" <ne...@wipro.com>
> > > To: <so...@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" <sn...@scottnichol.com>
> > > To: <so...@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" <ne...@wipro.com>
> > > > To: <so...@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" <sn...@scottnichol.com>
> > > > To: <so...@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" <ne...@wipro.com>
> > > > > To: <so...@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" <sn...@scottnichol.com>
> > > > > To: <so...@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" <ne...@wipro.com>
> > > > > > To: <so...@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" <sn...@scottnichol.com>
> > > > > > To: <so...@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" <sn...@scottnichol.com>
> > > > > > > To: <so...@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" <sn...@scottnichol.com>
> > > > > > > To: <so...@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" <ne...@wipro.com>
> > > > > > > To: <so...@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" <sn...@scottnichol.com>
> > > > > > > To: <so...@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" <ne...@wipro.com>
> > > > > > > > To: <so...@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:
> > > > > <ma...@xml.apache.org>
> > > > > > > > For additional commands, e-mail:
> > > > > <ma...@xml.apache.org>
> > > > > > > >
> > > > > > > >
> > > > > > > > --
> > > > > > > > To unsubscribe, e-mail:
> > > > > <ma...@xml.apache.org>
> > > > > > > > For additional commands, e-mail:
> > > > > <ma...@xml.apache.org>
> > > > > > > >
> > > > > > >
> > > > > > >
> > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
>
> --------------------------------------------------------------------------
> > > > > > --
> > > > > > > ----
> > > > > > >
> > > > > > >
> > > > > > > --
> > > > > > > To unsubscribe, e-mail:
> > > > <ma...@xml.apache.org>
> > > > > > > For additional commands, e-mail:
> > > > <ma...@xml.apache.org>
> > > > > > >
> > > > > > >
> > > > > > > --
> > > > > > > To unsubscribe, e-mail:
> > > > <ma...@xml.apache.org>
> > > > > > > For additional commands, e-mail:
> > > > <ma...@xml.apache.org>
> > > > > > >
> > > > > > >
> > > > > > >
> > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
>
> --------------------------------------------------------------------------
> > > > >
> > > > > > --
> > > > > > > ----
> > > > > > >
> > > > > > >
> > > > > > > --
> > > > > > > To unsubscribe, e-mail:
> > > > <ma...@xml.apache.org>
> > > > > > > For additional commands, e-mail:
> > > > <ma...@xml.apache.org>
> > > > > > >
> > > > > > >
> > > > > > > --
> > > > > > > To unsubscribe, e-mail:
> > > > <ma...@xml.apache.org>
> > > > > > > For additional commands, e-mail:
> > > > <ma...@xml.apache.org>
> > > > > > >
> > > > > >
> > > > > > ----- Original Message -----
> > > > > > From: "Scott Nichol" <sn...@scottnichol.com>
> > > > > > To: <so...@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" <sn...@scottnichol.com>
> > > > > > > To: <so...@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" <sn...@scottnichol.com>
> > > > > > > To: <so...@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" <ne...@wipro.com>
> > > > > > > To: <so...@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" <sn...@scottnichol.com>
> > > > > > > To: <so...@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" <ne...@wipro.com>
> > > > > > > > To: <so...@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:
> > > > > <ma...@xml.apache.org>
> > > > > > > > For additional commands, e-mail:
> > > > > <ma...@xml.apache.org>
> > > > > > > >
> > > > > > > >
> > > > > > > > --
> > > > > > > > To unsubscribe, e-mail:
> > > > > <ma...@xml.apache.org>
> > > > > > > > For additional commands, e-mail:
> > > > > <ma...@xml.apache.org>
> > > > > > > >
> > > > > > >
> > > > > > >
> > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
>
> --------------------------------------------------------------------------
> > > > > > --
> > > > > > > ----
> > > > > > >
> > > > > > >
> > > > > > > --
> > > > > > > To unsubscribe, e-mail:
> > > > <ma...@xml.apache.org>
> > > > > > > For additional commands, e-mail:
> > > > <ma...@xml.apache.org>
> > > > > > >
> > > > > > >
> > > > > > > --
> > > > > > > To unsubscribe, e-mail:
> > > > <ma...@xml.apache.org>
> > > > > > > For additional commands, e-mail:
> > > > <ma...@xml.apache.org>
> > > > > > >
> > > > > > >
> > > > > > >
> > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
>
> --------------------------------------------------------------------------
> > > > > > --
> > > > > > > ----
> > > > > > >
> > > > > > >
> > > > > > > --
> > > > > > > To unsubscribe, e-mail:
> > > > <ma...@xml.apache.org>
> > > > > > > For additional commands, e-mail:
> > > > <ma...@xml.apache.org>
> > > > > > >
> > > > > > >
> > > > > > > --
> > > > > > > To unsubscribe, e-mail:
> > > > <ma...@xml.apache.org>
> > > > > > > For additional commands, e-mail:
> > > > <ma...@xml.apache.org>
> > > > > > >
> > > > > >
> > > > > >
> > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
>
> --------------------------------------------------------------------------
> > > > > --
> > > > > > ----
> > > > > >
> > > > > >
> > > > > > --
> > > > > > To unsubscribe, e-mail:
> > > <ma...@xml.apache.org>
> > > > > > For additional commands, e-mail:
> > > <ma...@xml.apache.org>
> > > > > >
> > > > > >
> > > > > > --
> > > > > > To unsubscribe, e-mail:
> > > <ma...@xml.apache.org>
> > > > > > For additional commands, e-mail:
> > > <ma...@xml.apache.org>
> > > > > >
> > > > >
> > > > >
> > > > >
> > > > >
> > > >
> > >
> >
>
> --------------------------------------------------------------------------
> > > > --
> > > > > ----
> > > > >
> > > > >
> > > > > --
> > > > > To unsubscribe, e-mail:
> > <ma...@xml.apache.org>
> > > > > For additional commands, e-mail:
> > <ma...@xml.apache.org>
> > > > >
> > > > >
> > > > > --
> > > > > To unsubscribe, e-mail:
> > <ma...@xml.apache.org>
> > > > > For additional commands, e-mail:
> > <ma...@xml.apache.org>
> > > > >
> > > >
> > > >
> > > >
> > > >
> > >
> >
>
> --------------------------------------------------------------------------
> > > --
> > > > ----
> > > >
> > > >
> > > > --
> > > > To unsubscribe, e-mail:
> <ma...@xml.apache.org>
> > > > For additional commands, e-mail:
> <ma...@xml.apache.org>
> > > >
> > > >
> > > > --
> > > > To unsubscribe, e-mail:
> <ma...@xml.apache.org>
> > > > For additional commands, e-mail:
> <ma...@xml.apache.org>
> > > >
> > >
> > >
> > >
> > >
> >
>
> --------------------------------------------------------------------------
> > --
> > > ----
> > >
> > >
> > > --
> > > To unsubscribe, e-mail:
<ma...@xml.apache.org>
> > > For additional commands, e-mail:
<ma...@xml.apache.org>
> > >
> > >
> > > --
> > > To unsubscribe, e-mail:
<ma...@xml.apache.org>
> > > For additional commands, e-mail:
<ma...@xml.apache.org>
> > >
> >
> >
> >
> >
>
> --------------------------------------------------------------------------
> --
> > ----
> >
> >
> > --
> > To unsubscribe, e-mail:   <ma...@xml.apache.org>
> > For additional commands, e-mail: <ma...@xml.apache.org>
> >
> >
> > --
> > To unsubscribe, e-mail:   <ma...@xml.apache.org>
> > For additional commands, e-mail: <ma...@xml.apache.org>
> >
>
>
>
>
> --------------------------------------------------------------------------
--
> ----
>
>
> --
> To unsubscribe, e-mail:   <ma...@xml.apache.org>
> For additional commands, e-mail: <ma...@xml.apache.org>
>
>
> --
> To unsubscribe, e-mail:   <ma...@xml.apache.org>
> For additional commands, e-mail: <ma...@xml.apache.org>
>


Re: web service with Gui

Posted by Neha Srivastava <ne...@wipro.com>.
Yes i did change the url in the servlet client. its working with the simple
client .The port i am using is 80.
and  connecting to  http://localhost:80/soap/servlet/rpcrouter.

One thing more i wanted to ask --Everytime i change my servlet i have to
restart the server.  What can i do to avoid this?

Thanks and Regards
Neha
----- Original Message -----
From: "Scott Nichol" <sn...@scottnichol.com>
To: <so...@xml.apache.org>
Sent: Monday, September 16, 2002 6:54 PM
Subject: Re: web service with Gui


> Have you changed the URL to which the servlet client connects?  For
example,
> if the servlet client normally connects to
> http://localhost:8080/soap/servlet/rpcrouter, and you have TcpTunnelGui
> listening on port 81 (i.e. you have run java
> org.apache.soap.util.net.TcpTunnelGui 81 localhost 8080), then you must
> change your servlet client to connect to
> http://localhost:81/soap/servlet/rpcrouter.  TcpTunnelGui is a
circuit-level
> relay, not a monitor that graps packets from a network driver.
>
> Scott Nichol
>
> ----- Original Message -----
> From: "Neha Srivastava" <ne...@wipro.com>
> To: <so...@xml.apache.org>
> Sent: Monday, September 16, 2002 5:31 AM
> Subject: Re: web service with Gui
>
>
> hi,
>
> The error is solved.  but  the TcpTunnelGui tool is not wrkng with servlet
> client..why?
>
> Thanks and Regards
> neha
>
>
> ----- Original Message -----
> From: "Scott Nichol" <sn...@scottnichol.com>
> To: <so...@xml.apache.org>
> Sent: Friday, September 13, 2002 10:49 AM
> Subject: Re: web service with Gui
>
>
> > The error says the client has called getValues("some string"), but there
> is
> > no getValues(String s) method on samples.helloworld.account.  For help
> > beyond this, you would probably need to post the code for client and
> server
> > and deployment descriptor for the server.
> >
> > Scott Nichol
> >
> > ----- Original Message -----
> > From: "Neha Srivastava" <ne...@wipro.com>
> > To: <so...@xml.apache.org>
> > Sent: Friday, September 13, 2002 12:27 AM
> > Subject: Re: web service with Gui
> >
> >
> >
> > Hi Scott,
> >
> > Thanks for giving continuous help.
> >
> > Now  My servlet and service both are deployed but when i give the  accno
> and
> > the url and click Get.
> >
> > I get the following error-
> >
> >
> > SOAP call generated a fault: [Attributes={}] [faultCode=SOAP-ENV:Server]
> > [faultString=Exception while handling service request:
> > samples.helloworld.account.getValues(java.lang.String) -- no signature
> > match] [faultActorURI=/soap/servlet/rpcrouter] [DetailEntries=
> > [(0)=java.lang.NoSuchMethodException:
> > samples.helloworld.account.getValues(java.lang.String) -- no signature
> match
> > at org.apache.soap.util.MethodUtils.getEntryPoint(MethodUtils.java:194)
at
> > org.apache.soap.util.MethodUtils.getMethod(MethodUtils.java:548) at
> > org.apache.soap.util.MethodUtils.getMethod(MethodUtils.java:528) at
> > org.apache.soap.server.RPCRouter.invoke(RPCRouter.java:114) at
> >
org.apache.soap.providers.RPCJavaProvider.invoke(RPCJavaProvider.java:129)
> > at
> >
>
org.apache.soap.server.http.RPCRouterServlet.doPost(RPCRouterServlet.java:35
> > 4) at javax.servlet.http.HttpServlet.service(HttpServlet.java:760) at
> > javax.servlet.http.HttpServlet.service(HttpServlet.java:853) at
> >
>
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Application
> > FilterChain.java:247) at
> >
>
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterCh
> > ain.java:193) at ....
> >
> > Thanks and Regards
> > Neha
> >
> > ----- Original Message -----
> > From: "Scott Nichol" <sn...@scottnichol.com>
> > To: <so...@xml.apache.org>
> > Sent: Wednesday, September 11, 2002 6:40 PM
> > Subject: Re: web service with Gui
> >
> >
> > > Sorry.  The target name for that is buildwar, so you run "ant
buildwar".
> > >
> > > Scott Nichol
> > >
> > > ----- Original Message -----
> > > From: "Neha Srivastava" <ne...@wipro.com>
> > > To: <so...@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" <sn...@scottnichol.com>
> > > To: <so...@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" <ne...@wipro.com>
> > > > To: <so...@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" <sn...@scottnichol.com>
> > > > To: <so...@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" <ne...@wipro.com>
> > > > > To: <so...@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" <sn...@scottnichol.com>
> > > > > To: <so...@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" <ne...@wipro.com>
> > > > > > To: <so...@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" <sn...@scottnichol.com>
> > > > > > To: <so...@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" <sn...@scottnichol.com>
> > > > > > > To: <so...@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" <sn...@scottnichol.com>
> > > > > > > To: <so...@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" <ne...@wipro.com>
> > > > > > > To: <so...@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" <sn...@scottnichol.com>
> > > > > > > To: <so...@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" <ne...@wipro.com>
> > > > > > > > To: <so...@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:
> > > > > <ma...@xml.apache.org>
> > > > > > > > For additional commands, e-mail:
> > > > > <ma...@xml.apache.org>
> > > > > > > >
> > > > > > > >
> > > > > > > > --
> > > > > > > > To unsubscribe, e-mail:
> > > > > <ma...@xml.apache.org>
> > > > > > > > For additional commands, e-mail:
> > > > > <ma...@xml.apache.org>
> > > > > > > >
> > > > > > >
> > > > > > >
> > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
>
> --------------------------------------------------------------------------
> > > > > > --
> > > > > > > ----
> > > > > > >
> > > > > > >
> > > > > > > --
> > > > > > > To unsubscribe, e-mail:
> > > > <ma...@xml.apache.org>
> > > > > > > For additional commands, e-mail:
> > > > <ma...@xml.apache.org>
> > > > > > >
> > > > > > >
> > > > > > > --
> > > > > > > To unsubscribe, e-mail:
> > > > <ma...@xml.apache.org>
> > > > > > > For additional commands, e-mail:
> > > > <ma...@xml.apache.org>
> > > > > > >
> > > > > > >
> > > > > > >
> > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
>
> --------------------------------------------------------------------------
> > > > >
> > > > > > --
> > > > > > > ----
> > > > > > >
> > > > > > >
> > > > > > > --
> > > > > > > To unsubscribe, e-mail:
> > > > <ma...@xml.apache.org>
> > > > > > > For additional commands, e-mail:
> > > > <ma...@xml.apache.org>
> > > > > > >
> > > > > > >
> > > > > > > --
> > > > > > > To unsubscribe, e-mail:
> > > > <ma...@xml.apache.org>
> > > > > > > For additional commands, e-mail:
> > > > <ma...@xml.apache.org>
> > > > > > >
> > > > > >
> > > > > > ----- Original Message -----
> > > > > > From: "Scott Nichol" <sn...@scottnichol.com>
> > > > > > To: <so...@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" <sn...@scottnichol.com>
> > > > > > > To: <so...@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" <sn...@scottnichol.com>
> > > > > > > To: <so...@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" <ne...@wipro.com>
> > > > > > > To: <so...@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" <sn...@scottnichol.com>
> > > > > > > To: <so...@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" <ne...@wipro.com>
> > > > > > > > To: <so...@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:
> > > > > <ma...@xml.apache.org>
> > > > > > > > For additional commands, e-mail:
> > > > > <ma...@xml.apache.org>
> > > > > > > >
> > > > > > > >
> > > > > > > > --
> > > > > > > > To unsubscribe, e-mail:
> > > > > <ma...@xml.apache.org>
> > > > > > > > For additional commands, e-mail:
> > > > > <ma...@xml.apache.org>
> > > > > > > >
> > > > > > >
> > > > > > >
> > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
>
> --------------------------------------------------------------------------
> > > > > > --
> > > > > > > ----
> > > > > > >
> > > > > > >
> > > > > > > --
> > > > > > > To unsubscribe, e-mail:
> > > > <ma...@xml.apache.org>
> > > > > > > For additional commands, e-mail:
> > > > <ma...@xml.apache.org>
> > > > > > >
> > > > > > >
> > > > > > > --
> > > > > > > To unsubscribe, e-mail:
> > > > <ma...@xml.apache.org>
> > > > > > > For additional commands, e-mail:
> > > > <ma...@xml.apache.org>
> > > > > > >
> > > > > > >
> > > > > > >
> > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
>
> --------------------------------------------------------------------------
> > > > > > --
> > > > > > > ----
> > > > > > >
> > > > > > >
> > > > > > > --
> > > > > > > To unsubscribe, e-mail:
> > > > <ma...@xml.apache.org>
> > > > > > > For additional commands, e-mail:
> > > > <ma...@xml.apache.org>
> > > > > > >
> > > > > > >
> > > > > > > --
> > > > > > > To unsubscribe, e-mail:
> > > > <ma...@xml.apache.org>
> > > > > > > For additional commands, e-mail:
> > > > <ma...@xml.apache.org>
> > > > > > >
> > > > > >
> > > > > >
> > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
>
> --------------------------------------------------------------------------
> > > > > --
> > > > > > ----
> > > > > >
> > > > > >
> > > > > > --
> > > > > > To unsubscribe, e-mail:
> > > <ma...@xml.apache.org>
> > > > > > For additional commands, e-mail:
> > > <ma...@xml.apache.org>
> > > > > >
> > > > > >
> > > > > > --
> > > > > > To unsubscribe, e-mail:
> > > <ma...@xml.apache.org>
> > > > > > For additional commands, e-mail:
> > > <ma...@xml.apache.org>
> > > > > >
> > > > >
> > > > >
> > > > >
> > > > >
> > > >
> > >
> >
>
> --------------------------------------------------------------------------
> > > > --
> > > > > ----
> > > > >
> > > > >
> > > > > --
> > > > > To unsubscribe, e-mail:
> > <ma...@xml.apache.org>
> > > > > For additional commands, e-mail:
> > <ma...@xml.apache.org>
> > > > >
> > > > >
> > > > > --
> > > > > To unsubscribe, e-mail:
> > <ma...@xml.apache.org>
> > > > > For additional commands, e-mail:
> > <ma...@xml.apache.org>
> > > > >
> > > >
> > > >
> > > >
> > > >
> > >
> >
>
> --------------------------------------------------------------------------
> > > --
> > > > ----
> > > >
> > > >
> > > > --
> > > > To unsubscribe, e-mail:
> <ma...@xml.apache.org>
> > > > For additional commands, e-mail:
> <ma...@xml.apache.org>
> > > >
> > > >
> > > > --
> > > > To unsubscribe, e-mail:
> <ma...@xml.apache.org>
> > > > For additional commands, e-mail:
> <ma...@xml.apache.org>
> > > >
> > >
> > >
> > >
> > >
> >
>
> --------------------------------------------------------------------------
> > --
> > > ----
> > >
> > >
> > > --
> > > To unsubscribe, e-mail:
<ma...@xml.apache.org>
> > > For additional commands, e-mail:
<ma...@xml.apache.org>
> > >
> > >
> > > --
> > > To unsubscribe, e-mail:
<ma...@xml.apache.org>
> > > For additional commands, e-mail:
<ma...@xml.apache.org>
> > >
> >
> >
> >
> >
>
> --------------------------------------------------------------------------
> --
> > ----
> >
> >
> > --
> > To unsubscribe, e-mail:   <ma...@xml.apache.org>
> > For additional commands, e-mail: <ma...@xml.apache.org>
> >
> >
> > --
> > To unsubscribe, e-mail:   <ma...@xml.apache.org>
> > For additional commands, e-mail: <ma...@xml.apache.org>
> >
>
>
>
>
> --------------------------------------------------------------------------
--
> ----
>
>
> --
> To unsubscribe, e-mail:   <ma...@xml.apache.org>
> For additional commands, e-mail: <ma...@xml.apache.org>
>
>
> --
> To unsubscribe, e-mail:   <ma...@xml.apache.org>
> For additional commands, e-mail: <ma...@xml.apache.org>
>


Re: web service with Gui

Posted by Neha Srivastava <ne...@wipro.com>.
Yes i did change the url in the servlet client. its working with the simple
client .The port i am using is 80.
and  connecting to  http://localhost:80/soap/servlet/rpcrouter.

One thing more i wanted to ask --Everytime i change my servlet i have to
restart the server.  What can i do to avoid this?

Thanks and Regards
Neha
----- Original Message -----
From: "Scott Nichol" <sn...@scottnichol.com>
To: <so...@xml.apache.org>
Sent: Monday, September 16, 2002 6:54 PM
Subject: Re: web service with Gui


> Have you changed the URL to which the servlet client connects?  For
example,
> if the servlet client normally connects to
> http://localhost:8080/soap/servlet/rpcrouter, and you have TcpTunnelGui
> listening on port 81 (i.e. you have run java
> org.apache.soap.util.net.TcpTunnelGui 81 localhost 8080), then you must
> change your servlet client to connect to
> http://localhost:81/soap/servlet/rpcrouter.  TcpTunnelGui is a
circuit-level
> relay, not a monitor that graps packets from a network driver.
>
> Scott Nichol
>
> ----- Original Message -----
> From: "Neha Srivastava" <ne...@wipro.com>
> To: <so...@xml.apache.org>
> Sent: Monday, September 16, 2002 5:31 AM
> Subject: Re: web service with Gui
>
>
> hi,
>
> The error is solved.  but  the TcpTunnelGui tool is not wrkng with servlet
> client..why?
>
> Thanks and Regards
> neha
>
>
> ----- Original Message -----
> From: "Scott Nichol" <sn...@scottnichol.com>
> To: <so...@xml.apache.org>
> Sent: Friday, September 13, 2002 10:49 AM
> Subject: Re: web service with Gui
>
>
> > The error says the client has called getValues("some string"), but there
> is
> > no getValues(String s) method on samples.helloworld.account.  For help
> > beyond this, you would probably need to post the code for client and
> server
> > and deployment descriptor for the server.
> >
> > Scott Nichol
> >
> > ----- Original Message -----
> > From: "Neha Srivastava" <ne...@wipro.com>
> > To: <so...@xml.apache.org>
> > Sent: Friday, September 13, 2002 12:27 AM
> > Subject: Re: web service with Gui
> >
> >
> >
> > Hi Scott,
> >
> > Thanks for giving continuous help.
> >
> > Now  My servlet and service both are deployed but when i give the  accno
> and
> > the url and click Get.
> >
> > I get the following error-
> >
> >
> > SOAP call generated a fault: [Attributes={}] [faultCode=SOAP-ENV:Server]
> > [faultString=Exception while handling service request:
> > samples.helloworld.account.getValues(java.lang.String) -- no signature
> > match] [faultActorURI=/soap/servlet/rpcrouter] [DetailEntries=
> > [(0)=java.lang.NoSuchMethodException:
> > samples.helloworld.account.getValues(java.lang.String) -- no signature
> match
> > at org.apache.soap.util.MethodUtils.getEntryPoint(MethodUtils.java:194)
at
> > org.apache.soap.util.MethodUtils.getMethod(MethodUtils.java:548) at
> > org.apache.soap.util.MethodUtils.getMethod(MethodUtils.java:528) at
> > org.apache.soap.server.RPCRouter.invoke(RPCRouter.java:114) at
> >
org.apache.soap.providers.RPCJavaProvider.invoke(RPCJavaProvider.java:129)
> > at
> >
>
org.apache.soap.server.http.RPCRouterServlet.doPost(RPCRouterServlet.java:35
> > 4) at javax.servlet.http.HttpServlet.service(HttpServlet.java:760) at
> > javax.servlet.http.HttpServlet.service(HttpServlet.java:853) at
> >
>
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Application
> > FilterChain.java:247) at
> >
>
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterCh
> > ain.java:193) at ....
> >
> > Thanks and Regards
> > Neha
> >
> > ----- Original Message -----
> > From: "Scott Nichol" <sn...@scottnichol.com>
> > To: <so...@xml.apache.org>
> > Sent: Wednesday, September 11, 2002 6:40 PM
> > Subject: Re: web service with Gui
> >
> >
> > > Sorry.  The target name for that is buildwar, so you run "ant
buildwar".
> > >
> > > Scott Nichol
> > >
> > > ----- Original Message -----
> > > From: "Neha Srivastava" <ne...@wipro.com>
> > > To: <so...@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" <sn...@scottnichol.com>
> > > To: <so...@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" <ne...@wipro.com>
> > > > To: <so...@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" <sn...@scottnichol.com>
> > > > To: <so...@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" <ne...@wipro.com>
> > > > > To: <so...@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" <sn...@scottnichol.com>
> > > > > To: <so...@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" <ne...@wipro.com>
> > > > > > To: <so...@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" <sn...@scottnichol.com>
> > > > > > To: <so...@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" <sn...@scottnichol.com>
> > > > > > > To: <so...@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" <sn...@scottnichol.com>
> > > > > > > To: <so...@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" <ne...@wipro.com>
> > > > > > > To: <so...@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" <sn...@scottnichol.com>
> > > > > > > To: <so...@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" <ne...@wipro.com>
> > > > > > > > To: <so...@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:
> > > > > <ma...@xml.apache.org>
> > > > > > > > For additional commands, e-mail:
> > > > > <ma...@xml.apache.org>
> > > > > > > >
> > > > > > > >
> > > > > > > > --
> > > > > > > > To unsubscribe, e-mail:
> > > > > <ma...@xml.apache.org>
> > > > > > > > For additional commands, e-mail:
> > > > > <ma...@xml.apache.org>
> > > > > > > >
> > > > > > >
> > > > > > >
> > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
>
> --------------------------------------------------------------------------
> > > > > > --
> > > > > > > ----
> > > > > > >
> > > > > > >
> > > > > > > --
> > > > > > > To unsubscribe, e-mail:
> > > > <ma...@xml.apache.org>
> > > > > > > For additional commands, e-mail:
> > > > <ma...@xml.apache.org>
> > > > > > >
> > > > > > >
> > > > > > > --
> > > > > > > To unsubscribe, e-mail:
> > > > <ma...@xml.apache.org>
> > > > > > > For additional commands, e-mail:
> > > > <ma...@xml.apache.org>
> > > > > > >
> > > > > > >
> > > > > > >
> > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
>
> --------------------------------------------------------------------------
> > > > >
> > > > > > --
> > > > > > > ----
> > > > > > >
> > > > > > >
> > > > > > > --
> > > > > > > To unsubscribe, e-mail:
> > > > <ma...@xml.apache.org>
> > > > > > > For additional commands, e-mail:
> > > > <ma...@xml.apache.org>
> > > > > > >
> > > > > > >
> > > > > > > --
> > > > > > > To unsubscribe, e-mail:
> > > > <ma...@xml.apache.org>
> > > > > > > For additional commands, e-mail:
> > > > <ma...@xml.apache.org>
> > > > > > >
> > > > > >
> > > > > > ----- Original Message -----
> > > > > > From: "Scott Nichol" <sn...@scottnichol.com>
> > > > > > To: <so...@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" <sn...@scottnichol.com>
> > > > > > > To: <so...@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" <sn...@scottnichol.com>
> > > > > > > To: <so...@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" <ne...@wipro.com>
> > > > > > > To: <so...@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" <sn...@scottnichol.com>
> > > > > > > To: <so...@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" <ne...@wipro.com>
> > > > > > > > To: <so...@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:
> > > > > <ma...@xml.apache.org>
> > > > > > > > For additional commands, e-mail:
> > > > > <ma...@xml.apache.org>
> > > > > > > >
> > > > > > > >
> > > > > > > > --
> > > > > > > > To unsubscribe, e-mail:
> > > > > <ma...@xml.apache.org>
> > > > > > > > For additional commands, e-mail:
> > > > > <ma...@xml.apache.org>
> > > > > > > >
> > > > > > >
> > > > > > >
> > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
>
> --------------------------------------------------------------------------
> > > > > > --
> > > > > > > ----
> > > > > > >
> > > > > > >
> > > > > > > --
> > > > > > > To unsubscribe, e-mail:
> > > > <ma...@xml.apache.org>
> > > > > > > For additional commands, e-mail:
> > > > <ma...@xml.apache.org>
> > > > > > >
> > > > > > >
> > > > > > > --
> > > > > > > To unsubscribe, e-mail:
> > > > <ma...@xml.apache.org>
> > > > > > > For additional commands, e-mail:
> > > > <ma...@xml.apache.org>
> > > > > > >
> > > > > > >
> > > > > > >
> > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
>
> --------------------------------------------------------------------------
> > > > > > --
> > > > > > > ----
> > > > > > >
> > > > > > >
> > > > > > > --
> > > > > > > To unsubscribe, e-mail:
> > > > <ma...@xml.apache.org>
> > > > > > > For additional commands, e-mail:
> > > > <ma...@xml.apache.org>
> > > > > > >
> > > > > > >
> > > > > > > --
> > > > > > > To unsubscribe, e-mail:
> > > > <ma...@xml.apache.org>
> > > > > > > For additional commands, e-mail:
> > > > <ma...@xml.apache.org>
> > > > > > >
> > > > > >
> > > > > >
> > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
>
> --------------------------------------------------------------------------
> > > > > --
> > > > > > ----
> > > > > >
> > > > > >
> > > > > > --
> > > > > > To unsubscribe, e-mail:
> > > <ma...@xml.apache.org>
> > > > > > For additional commands, e-mail:
> > > <ma...@xml.apache.org>
> > > > > >
> > > > > >
> > > > > > --
> > > > > > To unsubscribe, e-mail:
> > > <ma...@xml.apache.org>
> > > > > > For additional commands, e-mail:
> > > <ma...@xml.apache.org>
> > > > > >
> > > > >
> > > > >
> > > > >
> > > > >
> > > >
> > >
> >
>
> --------------------------------------------------------------------------
> > > > --
> > > > > ----
> > > > >
> > > > >
> > > > > --
> > > > > To unsubscribe, e-mail:
> > <ma...@xml.apache.org>
> > > > > For additional commands, e-mail:
> > <ma...@xml.apache.org>
> > > > >
> > > > >
> > > > > --
> > > > > To unsubscribe, e-mail:
> > <ma...@xml.apache.org>
> > > > > For additional commands, e-mail:
> > <ma...@xml.apache.org>
> > > > >
> > > >
> > > >
> > > >
> > > >
> > >
> >
>
> --------------------------------------------------------------------------
> > > --
> > > > ----
> > > >
> > > >
> > > > --
> > > > To unsubscribe, e-mail:
> <ma...@xml.apache.org>
> > > > For additional commands, e-mail:
> <ma...@xml.apache.org>
> > > >
> > > >
> > > > --
> > > > To unsubscribe, e-mail:
> <ma...@xml.apache.org>
> > > > For additional commands, e-mail:
> <ma...@xml.apache.org>
> > > >
> > >
> > >
> > >
> > >
> >
>
> --------------------------------------------------------------------------
> > --
> > > ----
> > >
> > >
> > > --
> > > To unsubscribe, e-mail:
<ma...@xml.apache.org>
> > > For additional commands, e-mail:
<ma...@xml.apache.org>
> > >
> > >
> > > --
> > > To unsubscribe, e-mail:
<ma...@xml.apache.org>
> > > For additional commands, e-mail:
<ma...@xml.apache.org>
> > >
> >
> >
> >
> >
>
> --------------------------------------------------------------------------
> --
> > ----
> >
> >
> > --
> > To unsubscribe, e-mail:   <ma...@xml.apache.org>
> > For additional commands, e-mail: <ma...@xml.apache.org>
> >
> >
> > --
> > To unsubscribe, e-mail:   <ma...@xml.apache.org>
> > For additional commands, e-mail: <ma...@xml.apache.org>
> >
>
>
>
>
> --------------------------------------------------------------------------
--
> ----
>
>
> --
> To unsubscribe, e-mail:   <ma...@xml.apache.org>
> For additional commands, e-mail: <ma...@xml.apache.org>
>
>
> --
> To unsubscribe, e-mail:   <ma...@xml.apache.org>
> For additional commands, e-mail: <ma...@xml.apache.org>
>


Re: web service with Gui

Posted by Neha Srivastava <ne...@wipro.com>.
if my TcpTunnelGui is listening on port 80- i should change my servlet
client to connect to port 80  But my service is deployed on port 8080 then
how does it work?
I am a bit confused.

Thanks and Regards
neha
----- Original Message -----
From: "Scott Nichol" <sn...@scottnichol.com>
To: <so...@xml.apache.org>
Sent: Monday, September 16, 2002 6:54 PM
Subject: Re: web service with Gui


> Have you changed the URL to which the servlet client connects?  For
example,
> if the servlet client normally connects to
> http://localhost:8080/soap/servlet/rpcrouter, and you have TcpTunnelGui
> listening on port 81 (i.e. you have run java
> org.apache.soap.util.net.TcpTunnelGui 81 localhost 8080), then you must
> change your servlet client to connect to
> http://localhost:81/soap/servlet/rpcrouter.  TcpTunnelGui is a
circuit-level
> relay, not a monitor that graps packets from a network driver.
>
> Scott Nichol
>
> ----- Original Message -----
> From: "Neha Srivastava" <ne...@wipro.com>
> To: <so...@xml.apache.org>
> Sent: Monday, September 16, 2002 5:31 AM
> Subject: Re: web service with Gui
>
>
> hi,
>
> The error is solved.  but  the TcpTunnelGui tool is not wrkng with servlet
> client..why?
>
> Thanks and Regards
> neha
>
>
> ----- Original Message -----
> From: "Scott Nichol" <sn...@scottnichol.com>
> To: <so...@xml.apache.org>
> Sent: Friday, September 13, 2002 10:49 AM
> Subject: Re: web service with Gui
>
>
> > The error says the client has called getValues("some string"), but there
> is
> > no getValues(String s) method on samples.helloworld.account.  For help
> > beyond this, you would probably need to post the code for client and
> server
> > and deployment descriptor for the server.
> >
> > Scott Nichol
> >
> > ----- Original Message -----
> > From: "Neha Srivastava" <ne...@wipro.com>
> > To: <so...@xml.apache.org>
> > Sent: Friday, September 13, 2002 12:27 AM
> > Subject: Re: web service with Gui
> >
> >
> >
> > Hi Scott,
> >
> > Thanks for giving continuous help.
> >
> > Now  My servlet and service both are deployed but when i give the  accno
> and
> > the url and click Get.
> >
> > I get the following error-
> >
> >
> > SOAP call generated a fault: [Attributes={}] [faultCode=SOAP-ENV:Server]
> > [faultString=Exception while handling service request:
> > samples.helloworld.account.getValues(java.lang.String) -- no signature
> > match] [faultActorURI=/soap/servlet/rpcrouter] [DetailEntries=
> > [(0)=java.lang.NoSuchMethodException:
> > samples.helloworld.account.getValues(java.lang.String) -- no signature
> match
> > at org.apache.soap.util.MethodUtils.getEntryPoint(MethodUtils.java:194)
at
> > org.apache.soap.util.MethodUtils.getMethod(MethodUtils.java:548) at
> > org.apache.soap.util.MethodUtils.getMethod(MethodUtils.java:528) at
> > org.apache.soap.server.RPCRouter.invoke(RPCRouter.java:114) at
> >
org.apache.soap.providers.RPCJavaProvider.invoke(RPCJavaProvider.java:129)
> > at
> >
>
org.apache.soap.server.http.RPCRouterServlet.doPost(RPCRouterServlet.java:35
> > 4) at javax.servlet.http.HttpServlet.service(HttpServlet.java:760) at
> > javax.servlet.http.HttpServlet.service(HttpServlet.java:853) at
> >
>
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Application
> > FilterChain.java:247) at
> >
>
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterCh
> > ain.java:193) at ....
> >
> > Thanks and Regards
> > Neha
> >
> > ----- Original Message -----
> > From: "Scott Nichol" <sn...@scottnichol.com>
> > To: <so...@xml.apache.org>
> > Sent: Wednesday, September 11, 2002 6:40 PM
> > Subject: Re: web service with Gui
> >
> >
> > > Sorry.  The target name for that is buildwar, so you run "ant
buildwar".
> > >
> > > Scott Nichol
> > >
> > > ----- Original Message -----
> > > From: "Neha Srivastava" <ne...@wipro.com>
> > > To: <so...@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" <sn...@scottnichol.com>
> > > To: <so...@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" <ne...@wipro.com>
> > > > To: <so...@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" <sn...@scottnichol.com>
> > > > To: <so...@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" <ne...@wipro.com>
> > > > > To: <so...@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" <sn...@scottnichol.com>
> > > > > To: <so...@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" <ne...@wipro.com>
> > > > > > To: <so...@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" <sn...@scottnichol.com>
> > > > > > To: <so...@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" <sn...@scottnichol.com>
> > > > > > > To: <so...@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" <sn...@scottnichol.com>
> > > > > > > To: <so...@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" <ne...@wipro.com>
> > > > > > > To: <so...@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" <sn...@scottnichol.com>
> > > > > > > To: <so...@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" <ne...@wipro.com>
> > > > > > > > To: <so...@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:
> > > > > <ma...@xml.apache.org>
> > > > > > > > For additional commands, e-mail:
> > > > > <ma...@xml.apache.org>
> > > > > > > >
> > > > > > > >
> > > > > > > > --
> > > > > > > > To unsubscribe, e-mail:
> > > > > <ma...@xml.apache.org>
> > > > > > > > For additional commands, e-mail:
> > > > > <ma...@xml.apache.org>
> > > > > > > >
> > > > > > >
> > > > > > >
> > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
>
> --------------------------------------------------------------------------
> > > > > > --
> > > > > > > ----
> > > > > > >
> > > > > > >
> > > > > > > --
> > > > > > > To unsubscribe, e-mail:
> > > > <ma...@xml.apache.org>
> > > > > > > For additional commands, e-mail:
> > > > <ma...@xml.apache.org>
> > > > > > >
> > > > > > >
> > > > > > > --
> > > > > > > To unsubscribe, e-mail:
> > > > <ma...@xml.apache.org>
> > > > > > > For additional commands, e-mail:
> > > > <ma...@xml.apache.org>
> > > > > > >
> > > > > > >
> > > > > > >
> > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
>
> --------------------------------------------------------------------------
> > > > >
> > > > > > --
> > > > > > > ----
> > > > > > >
> > > > > > >
> > > > > > > --
> > > > > > > To unsubscribe, e-mail:
> > > > <ma...@xml.apache.org>
> > > > > > > For additional commands, e-mail:
> > > > <ma...@xml.apache.org>
> > > > > > >
> > > > > > >
> > > > > > > --
> > > > > > > To unsubscribe, e-mail:
> > > > <ma...@xml.apache.org>
> > > > > > > For additional commands, e-mail:
> > > > <ma...@xml.apache.org>
> > > > > > >
> > > > > >
> > > > > > ----- Original Message -----
> > > > > > From: "Scott Nichol" <sn...@scottnichol.com>
> > > > > > To: <so...@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" <sn...@scottnichol.com>
> > > > > > > To: <so...@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" <sn...@scottnichol.com>
> > > > > > > To: <so...@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" <ne...@wipro.com>
> > > > > > > To: <so...@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" <sn...@scottnichol.com>
> > > > > > > To: <so...@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" <ne...@wipro.com>
> > > > > > > > To: <so...@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:
> > > > > <ma...@xml.apache.org>
> > > > > > > > For additional commands, e-mail:
> > > > > <ma...@xml.apache.org>
> > > > > > > >
> > > > > > > >
> > > > > > > > --
> > > > > > > > To unsubscribe, e-mail:
> > > > > <ma...@xml.apache.org>
> > > > > > > > For additional commands, e-mail:
> > > > > <ma...@xml.apache.org>
> > > > > > > >
> > > > > > >
> > > > > > >
> > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
>
> --------------------------------------------------------------------------
> > > > > > --
> > > > > > > ----
> > > > > > >
> > > > > > >
> > > > > > > --
> > > > > > > To unsubscribe, e-mail:
> > > > <ma...@xml.apache.org>
> > > > > > > For additional commands, e-mail:
> > > > <ma...@xml.apache.org>
> > > > > > >
> > > > > > >
> > > > > > > --
> > > > > > > To unsubscribe, e-mail:
> > > > <ma...@xml.apache.org>
> > > > > > > For additional commands, e-mail:
> > > > <ma...@xml.apache.org>
> > > > > > >
> > > > > > >
> > > > > > >
> > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
>
> --------------------------------------------------------------------------
> > > > > > --
> > > > > > > ----
> > > > > > >
> > > > > > >
> > > > > > > --
> > > > > > > To unsubscribe, e-mail:
> > > > <ma...@xml.apache.org>
> > > > > > > For additional commands, e-mail:
> > > > <ma...@xml.apache.org>
> > > > > > >
> > > > > > >
> > > > > > > --
> > > > > > > To unsubscribe, e-mail:
> > > > <ma...@xml.apache.org>
> > > > > > > For additional commands, e-mail:
> > > > <ma...@xml.apache.org>
> > > > > > >
> > > > > >
> > > > > >
> > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
>
> --------------------------------------------------------------------------
> > > > > --
> > > > > > ----
> > > > > >
> > > > > >
> > > > > > --
> > > > > > To unsubscribe, e-mail:
> > > <ma...@xml.apache.org>
> > > > > > For additional commands, e-mail:
> > > <ma...@xml.apache.org>
> > > > > >
> > > > > >
> > > > > > --
> > > > > > To unsubscribe, e-mail:
> > > <ma...@xml.apache.org>
> > > > > > For additional commands, e-mail:
> > > <ma...@xml.apache.org>
> > > > > >
> > > > >
> > > > >
> > > > >
> > > > >
> > > >
> > >
> >
>
> --------------------------------------------------------------------------
> > > > --
> > > > > ----
> > > > >
> > > > >
> > > > > --
> > > > > To unsubscribe, e-mail:
> > <ma...@xml.apache.org>
> > > > > For additional commands, e-mail:
> > <ma...@xml.apache.org>
> > > > >
> > > > >
> > > > > --
> > > > > To unsubscribe, e-mail:
> > <ma...@xml.apache.org>
> > > > > For additional commands, e-mail:
> > <ma...@xml.apache.org>
> > > > >
> > > >
> > > >
> > > >
> > > >
> > >
> >
>
> --------------------------------------------------------------------------
> > > --
> > > > ----
> > > >
> > > >
> > > > --
> > > > To unsubscribe, e-mail:
> <ma...@xml.apache.org>
> > > > For additional commands, e-mail:
> <ma...@xml.apache.org>
> > > >
> > > >
> > > > --
> > > > To unsubscribe, e-mail:
> <ma...@xml.apache.org>
> > > > For additional commands, e-mail:
> <ma...@xml.apache.org>
> > > >
> > >
> > >
> > >
> > >
> >
>
> --------------------------------------------------------------------------
> > --
> > > ----
> > >
> > >
> > > --
> > > To unsubscribe, e-mail:
<ma...@xml.apache.org>
> > > For additional commands, e-mail:
<ma...@xml.apache.org>
> > >
> > >
> > > --
> > > To unsubscribe, e-mail:
<ma...@xml.apache.org>
> > > For additional commands, e-mail:
<ma...@xml.apache.org>
> > >
> >
> >
> >
> >
>
> --------------------------------------------------------------------------
> --
> > ----
> >
> >
> > --
> > To unsubscribe, e-mail:   <ma...@xml.apache.org>
> > For additional commands, e-mail: <ma...@xml.apache.org>
> >
> >
> > --
> > To unsubscribe, e-mail:   <ma...@xml.apache.org>
> > For additional commands, e-mail: <ma...@xml.apache.org>
> >
>
>
>
>
> --------------------------------------------------------------------------
--
> ----
>
>
> --
> To unsubscribe, e-mail:   <ma...@xml.apache.org>
> For additional commands, e-mail: <ma...@xml.apache.org>
>
>
> --
> To unsubscribe, e-mail:   <ma...@xml.apache.org>
> For additional commands, e-mail: <ma...@xml.apache.org>
>


Re: web service with Gui

Posted by Scott Nichol <sn...@scottnichol.com>.
Have you changed the URL to which the servlet client connects?  For example,
if the servlet client normally connects to
http://localhost:8080/soap/servlet/rpcrouter, and you have TcpTunnelGui
listening on port 81 (i.e. you have run java
org.apache.soap.util.net.TcpTunnelGui 81 localhost 8080), then you must
change your servlet client to connect to
http://localhost:81/soap/servlet/rpcrouter.  TcpTunnelGui is a circuit-level
relay, not a monitor that graps packets from a network driver.

Scott Nichol

----- Original Message -----
From: "Neha Srivastava" <ne...@wipro.com>
To: <so...@xml.apache.org>
Sent: Monday, September 16, 2002 5:31 AM
Subject: Re: web service with Gui


hi,

The error is solved.  but  the TcpTunnelGui tool is not wrkng with servlet
client..why?

Thanks and Regards
neha


----- Original Message -----
From: "Scott Nichol" <sn...@scottnichol.com>
To: <so...@xml.apache.org>
Sent: Friday, September 13, 2002 10:49 AM
Subject: Re: web service with Gui


> The error says the client has called getValues("some string"), but there
is
> no getValues(String s) method on samples.helloworld.account.  For help
> beyond this, you would probably need to post the code for client and
server
> and deployment descriptor for the server.
>
> Scott Nichol
>
> ----- Original Message -----
> From: "Neha Srivastava" <ne...@wipro.com>
> To: <so...@xml.apache.org>
> Sent: Friday, September 13, 2002 12:27 AM
> Subject: Re: web service with Gui
>
>
>
> Hi Scott,
>
> Thanks for giving continuous help.
>
> Now  My servlet and service both are deployed but when i give the  accno
and
> the url and click Get.
>
> I get the following error-
>
>
> SOAP call generated a fault: [Attributes={}] [faultCode=SOAP-ENV:Server]
> [faultString=Exception while handling service request:
> samples.helloworld.account.getValues(java.lang.String) -- no signature
> match] [faultActorURI=/soap/servlet/rpcrouter] [DetailEntries=
> [(0)=java.lang.NoSuchMethodException:
> samples.helloworld.account.getValues(java.lang.String) -- no signature
match
> at org.apache.soap.util.MethodUtils.getEntryPoint(MethodUtils.java:194) at
> org.apache.soap.util.MethodUtils.getMethod(MethodUtils.java:548) at
> org.apache.soap.util.MethodUtils.getMethod(MethodUtils.java:528) at
> org.apache.soap.server.RPCRouter.invoke(RPCRouter.java:114) at
> org.apache.soap.providers.RPCJavaProvider.invoke(RPCJavaProvider.java:129)
> at
>
org.apache.soap.server.http.RPCRouterServlet.doPost(RPCRouterServlet.java:35
> 4) at javax.servlet.http.HttpServlet.service(HttpServlet.java:760) at
> javax.servlet.http.HttpServlet.service(HttpServlet.java:853) at
>
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Application
> FilterChain.java:247) at
>
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterCh
> ain.java:193) at ....
>
> Thanks and Regards
> Neha
>
> ----- Original Message -----
> From: "Scott Nichol" <sn...@scottnichol.com>
> To: <so...@xml.apache.org>
> Sent: Wednesday, September 11, 2002 6:40 PM
> Subject: Re: web service with Gui
>
>
> > Sorry.  The target name for that is buildwar, so you run "ant buildwar".
> >
> > Scott Nichol
> >
> > ----- Original Message -----
> > From: "Neha Srivastava" <ne...@wipro.com>
> > To: <so...@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" <sn...@scottnichol.com>
> > To: <so...@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" <ne...@wipro.com>
> > > To: <so...@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" <sn...@scottnichol.com>
> > > To: <so...@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" <ne...@wipro.com>
> > > > To: <so...@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" <sn...@scottnichol.com>
> > > > To: <so...@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" <ne...@wipro.com>
> > > > > To: <so...@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" <sn...@scottnichol.com>
> > > > > To: <so...@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" <sn...@scottnichol.com>
> > > > > > To: <so...@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" <sn...@scottnichol.com>
> > > > > > To: <so...@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" <ne...@wipro.com>
> > > > > > To: <so...@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" <sn...@scottnichol.com>
> > > > > > To: <so...@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" <ne...@wipro.com>
> > > > > > > To: <so...@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:
> > > > <ma...@xml.apache.org>
> > > > > > > For additional commands, e-mail:
> > > > <ma...@xml.apache.org>
> > > > > > >
> > > > > > >
> > > > > > > --
> > > > > > > To unsubscribe, e-mail:
> > > > <ma...@xml.apache.org>
> > > > > > > For additional commands, e-mail:
> > > > <ma...@xml.apache.org>
> > > > > > >
> > > > > >
> > > > > >
> > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
>
> --------------------------------------------------------------------------
> > > > > --
> > > > > > ----
> > > > > >
> > > > > >
> > > > > > --
> > > > > > To unsubscribe, e-mail:
> > > <ma...@xml.apache.org>
> > > > > > For additional commands, e-mail:
> > > <ma...@xml.apache.org>
> > > > > >
> > > > > >
> > > > > > --
> > > > > > To unsubscribe, e-mail:
> > > <ma...@xml.apache.org>
> > > > > > For additional commands, e-mail:
> > > <ma...@xml.apache.org>
> > > > > >
> > > > > >
> > > > > >
> > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
>
> --------------------------------------------------------------------------
> > > >
> > > > > --
> > > > > > ----
> > > > > >
> > > > > >
> > > > > > --
> > > > > > To unsubscribe, e-mail:
> > > <ma...@xml.apache.org>
> > > > > > For additional commands, e-mail:
> > > <ma...@xml.apache.org>
> > > > > >
> > > > > >
> > > > > > --
> > > > > > To unsubscribe, e-mail:
> > > <ma...@xml.apache.org>
> > > > > > For additional commands, e-mail:
> > > <ma...@xml.apache.org>
> > > > > >
> > > > >
> > > > > ----- Original Message -----
> > > > > From: "Scott Nichol" <sn...@scottnichol.com>
> > > > > To: <so...@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" <sn...@scottnichol.com>
> > > > > > To: <so...@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" <sn...@scottnichol.com>
> > > > > > To: <so...@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" <ne...@wipro.com>
> > > > > > To: <so...@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" <sn...@scottnichol.com>
> > > > > > To: <so...@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" <ne...@wipro.com>
> > > > > > > To: <so...@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:
> > > > <ma...@xml.apache.org>
> > > > > > > For additional commands, e-mail:
> > > > <ma...@xml.apache.org>
> > > > > > >
> > > > > > >
> > > > > > > --
> > > > > > > To unsubscribe, e-mail:
> > > > <ma...@xml.apache.org>
> > > > > > > For additional commands, e-mail:
> > > > <ma...@xml.apache.org>
> > > > > > >
> > > > > >
> > > > > >
> > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
>
> --------------------------------------------------------------------------
> > > > > --
> > > > > > ----
> > > > > >
> > > > > >
> > > > > > --
> > > > > > To unsubscribe, e-mail:
> > > <ma...@xml.apache.org>
> > > > > > For additional commands, e-mail:
> > > <ma...@xml.apache.org>
> > > > > >
> > > > > >
> > > > > > --
> > > > > > To unsubscribe, e-mail:
> > > <ma...@xml.apache.org>
> > > > > > For additional commands, e-mail:
> > > <ma...@xml.apache.org>
> > > > > >
> > > > > >
> > > > > >
> > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
>
> --------------------------------------------------------------------------
> > > > > --
> > > > > > ----
> > > > > >
> > > > > >
> > > > > > --
> > > > > > To unsubscribe, e-mail:
> > > <ma...@xml.apache.org>
> > > > > > For additional commands, e-mail:
> > > <ma...@xml.apache.org>
> > > > > >
> > > > > >
> > > > > > --
> > > > > > To unsubscribe, e-mail:
> > > <ma...@xml.apache.org>
> > > > > > For additional commands, e-mail:
> > > <ma...@xml.apache.org>
> > > > > >
> > > > >
> > > > >
> > > > >
> > > > >
> > > >
> > >
> >
>
> --------------------------------------------------------------------------
> > > > --
> > > > > ----
> > > > >
> > > > >
> > > > > --
> > > > > To unsubscribe, e-mail:
> > <ma...@xml.apache.org>
> > > > > For additional commands, e-mail:
> > <ma...@xml.apache.org>
> > > > >
> > > > >
> > > > > --
> > > > > To unsubscribe, e-mail:
> > <ma...@xml.apache.org>
> > > > > For additional commands, e-mail:
> > <ma...@xml.apache.org>
> > > > >
> > > >
> > > >
> > > >
> > > >
> > >
> >
>
> --------------------------------------------------------------------------
> > > --
> > > > ----
> > > >
> > > >
> > > > --
> > > > To unsubscribe, e-mail:
> <ma...@xml.apache.org>
> > > > For additional commands, e-mail:
> <ma...@xml.apache.org>
> > > >
> > > >
> > > > --
> > > > To unsubscribe, e-mail:
> <ma...@xml.apache.org>
> > > > For additional commands, e-mail:
> <ma...@xml.apache.org>
> > > >
> > >
> > >
> > >
> > >
> >
>
> --------------------------------------------------------------------------
> > --
> > > ----
> > >
> > >
> > > --
> > > To unsubscribe, e-mail:
<ma...@xml.apache.org>
> > > For additional commands, e-mail:
<ma...@xml.apache.org>
> > >
> > >
> > > --
> > > To unsubscribe, e-mail:
<ma...@xml.apache.org>
> > > For additional commands, e-mail:
<ma...@xml.apache.org>
> > >
> >
> >
> >
> >
>
> --------------------------------------------------------------------------
> --
> > ----
> >
> >
> > --
> > To unsubscribe, e-mail:   <ma...@xml.apache.org>
> > For additional commands, e-mail: <ma...@xml.apache.org>
> >
> >
> > --
> > To unsubscribe, e-mail:   <ma...@xml.apache.org>
> > For additional commands, e-mail: <ma...@xml.apache.org>
> >
>
>
>
>
> --------------------------------------------------------------------------
--
> ----
>
>
> --
> To unsubscribe, e-mail:   <ma...@xml.apache.org>
> For additional commands, e-mail: <ma...@xml.apache.org>
>
>
> --
> To unsubscribe, e-mail:   <ma...@xml.apache.org>
> For additional commands, e-mail: <ma...@xml.apache.org>
>




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


--
To unsubscribe, e-mail:   <ma...@xml.apache.org>
For additional commands, e-mail: <ma...@xml.apache.org>


--
To unsubscribe, e-mail:   <ma...@xml.apache.org>
For additional commands, e-mail: <ma...@xml.apache.org>


Re: web service with Gui

Posted by Scott Nichol <sn...@scottnichol.com>.
Have you changed the URL to which the servlet client connects?  For example,
if the servlet client normally connects to
http://localhost:8080/soap/servlet/rpcrouter, and you have TcpTunnelGui
listening on port 81 (i.e. you have run java
org.apache.soap.util.net.TcpTunnelGui 81 localhost 8080), then you must
change your servlet client to connect to
http://localhost:81/soap/servlet/rpcrouter.  TcpTunnelGui is a circuit-level
relay, not a monitor that graps packets from a network driver.

Scott Nichol

----- Original Message -----
From: "Neha Srivastava" <ne...@wipro.com>
To: <so...@xml.apache.org>
Sent: Monday, September 16, 2002 5:31 AM
Subject: Re: web service with Gui


hi,

The error is solved.  but  the TcpTunnelGui tool is not wrkng with servlet
client..why?

Thanks and Regards
neha


----- Original Message -----
From: "Scott Nichol" <sn...@scottnichol.com>
To: <so...@xml.apache.org>
Sent: Friday, September 13, 2002 10:49 AM
Subject: Re: web service with Gui


> The error says the client has called getValues("some string"), but there
is
> no getValues(String s) method on samples.helloworld.account.  For help
> beyond this, you would probably need to post the code for client and
server
> and deployment descriptor for the server.
>
> Scott Nichol
>
> ----- Original Message -----
> From: "Neha Srivastava" <ne...@wipro.com>
> To: <so...@xml.apache.org>
> Sent: Friday, September 13, 2002 12:27 AM
> Subject: Re: web service with Gui
>
>
>
> Hi Scott,
>
> Thanks for giving continuous help.
>
> Now  My servlet and service both are deployed but when i give the  accno
and
> the url and click Get.
>
> I get the following error-
>
>
> SOAP call generated a fault: [Attributes={}] [faultCode=SOAP-ENV:Server]
> [faultString=Exception while handling service request:
> samples.helloworld.account.getValues(java.lang.String) -- no signature
> match] [faultActorURI=/soap/servlet/rpcrouter] [DetailEntries=
> [(0)=java.lang.NoSuchMethodException:
> samples.helloworld.account.getValues(java.lang.String) -- no signature
match
> at org.apache.soap.util.MethodUtils.getEntryPoint(MethodUtils.java:194) at
> org.apache.soap.util.MethodUtils.getMethod(MethodUtils.java:548) at
> org.apache.soap.util.MethodUtils.getMethod(MethodUtils.java:528) at
> org.apache.soap.server.RPCRouter.invoke(RPCRouter.java:114) at
> org.apache.soap.providers.RPCJavaProvider.invoke(RPCJavaProvider.java:129)
> at
>
org.apache.soap.server.http.RPCRouterServlet.doPost(RPCRouterServlet.java:35
> 4) at javax.servlet.http.HttpServlet.service(HttpServlet.java:760) at
> javax.servlet.http.HttpServlet.service(HttpServlet.java:853) at
>
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Application
> FilterChain.java:247) at
>
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterCh
> ain.java:193) at ....
>
> Thanks and Regards
> Neha
>
> ----- Original Message -----
> From: "Scott Nichol" <sn...@scottnichol.com>
> To: <so...@xml.apache.org>
> Sent: Wednesday, September 11, 2002 6:40 PM
> Subject: Re: web service with Gui
>
>
> > Sorry.  The target name for that is buildwar, so you run "ant buildwar".
> >
> > Scott Nichol
> >
> > ----- Original Message -----
> > From: "Neha Srivastava" <ne...@wipro.com>
> > To: <so...@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" <sn...@scottnichol.com>
> > To: <so...@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" <ne...@wipro.com>
> > > To: <so...@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" <sn...@scottnichol.com>
> > > To: <so...@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" <ne...@wipro.com>
> > > > To: <so...@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" <sn...@scottnichol.com>
> > > > To: <so...@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" <ne...@wipro.com>
> > > > > To: <so...@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" <sn...@scottnichol.com>
> > > > > To: <so...@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" <sn...@scottnichol.com>
> > > > > > To: <so...@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" <sn...@scottnichol.com>
> > > > > > To: <so...@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" <ne...@wipro.com>
> > > > > > To: <so...@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" <sn...@scottnichol.com>
> > > > > > To: <so...@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" <ne...@wipro.com>
> > > > > > > To: <so...@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:
> > > > <ma...@xml.apache.org>
> > > > > > > For additional commands, e-mail:
> > > > <ma...@xml.apache.org>
> > > > > > >
> > > > > > >
> > > > > > > --
> > > > > > > To unsubscribe, e-mail:
> > > > <ma...@xml.apache.org>
> > > > > > > For additional commands, e-mail:
> > > > <ma...@xml.apache.org>
> > > > > > >
> > > > > >
> > > > > >
> > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
>
> --------------------------------------------------------------------------
> > > > > --
> > > > > > ----
> > > > > >
> > > > > >
> > > > > > --
> > > > > > To unsubscribe, e-mail:
> > > <ma...@xml.apache.org>
> > > > > > For additional commands, e-mail:
> > > <ma...@xml.apache.org>
> > > > > >
> > > > > >
> > > > > > --
> > > > > > To unsubscribe, e-mail:
> > > <ma...@xml.apache.org>
> > > > > > For additional commands, e-mail:
> > > <ma...@xml.apache.org>
> > > > > >
> > > > > >
> > > > > >
> > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
>
> --------------------------------------------------------------------------
> > > >
> > > > > --
> > > > > > ----
> > > > > >
> > > > > >
> > > > > > --
> > > > > > To unsubscribe, e-mail:
> > > <ma...@xml.apache.org>
> > > > > > For additional commands, e-mail:
> > > <ma...@xml.apache.org>
> > > > > >
> > > > > >
> > > > > > --
> > > > > > To unsubscribe, e-mail:
> > > <ma...@xml.apache.org>
> > > > > > For additional commands, e-mail:
> > > <ma...@xml.apache.org>
> > > > > >
> > > > >
> > > > > ----- Original Message -----
> > > > > From: "Scott Nichol" <sn...@scottnichol.com>
> > > > > To: <so...@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" <sn...@scottnichol.com>
> > > > > > To: <so...@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" <sn...@scottnichol.com>
> > > > > > To: <so...@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" <ne...@wipro.com>
> > > > > > To: <so...@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" <sn...@scottnichol.com>
> > > > > > To: <so...@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" <ne...@wipro.com>
> > > > > > > To: <so...@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:
> > > > <ma...@xml.apache.org>
> > > > > > > For additional commands, e-mail:
> > > > <ma...@xml.apache.org>
> > > > > > >
> > > > > > >
> > > > > > > --
> > > > > > > To unsubscribe, e-mail:
> > > > <ma...@xml.apache.org>
> > > > > > > For additional commands, e-mail:
> > > > <ma...@xml.apache.org>
> > > > > > >
> > > > > >
> > > > > >
> > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
>
> --------------------------------------------------------------------------
> > > > > --
> > > > > > ----
> > > > > >
> > > > > >
> > > > > > --
> > > > > > To unsubscribe, e-mail:
> > > <ma...@xml.apache.org>
> > > > > > For additional commands, e-mail:
> > > <ma...@xml.apache.org>
> > > > > >
> > > > > >
> > > > > > --
> > > > > > To unsubscribe, e-mail:
> > > <ma...@xml.apache.org>
> > > > > > For additional commands, e-mail:
> > > <ma...@xml.apache.org>
> > > > > >
> > > > > >
> > > > > >
> > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
>
> --------------------------------------------------------------------------
> > > > > --
> > > > > > ----
> > > > > >
> > > > > >
> > > > > > --
> > > > > > To unsubscribe, e-mail:
> > > <ma...@xml.apache.org>
> > > > > > For additional commands, e-mail:
> > > <ma...@xml.apache.org>
> > > > > >
> > > > > >
> > > > > > --
> > > > > > To unsubscribe, e-mail:
> > > <ma...@xml.apache.org>
> > > > > > For additional commands, e-mail:
> > > <ma...@xml.apache.org>
> > > > > >
> > > > >
> > > > >
> > > > >
> > > > >
> > > >
> > >
> >
>
> --------------------------------------------------------------------------
> > > > --
> > > > > ----
> > > > >
> > > > >
> > > > > --
> > > > > To unsubscribe, e-mail:
> > <ma...@xml.apache.org>
> > > > > For additional commands, e-mail:
> > <ma...@xml.apache.org>
> > > > >
> > > > >
> > > > > --
> > > > > To unsubscribe, e-mail:
> > <ma...@xml.apache.org>
> > > > > For additional commands, e-mail:
> > <ma...@xml.apache.org>
> > > > >
> > > >
> > > >
> > > >
> > > >
> > >
> >
>
> --------------------------------------------------------------------------
> > > --
> > > > ----
> > > >
> > > >
> > > > --
> > > > To unsubscribe, e-mail:
> <ma...@xml.apache.org>
> > > > For additional commands, e-mail:
> <ma...@xml.apache.org>
> > > >
> > > >
> > > > --
> > > > To unsubscribe, e-mail:
> <ma...@xml.apache.org>
> > > > For additional commands, e-mail:
> <ma...@xml.apache.org>
> > > >
> > >
> > >
> > >
> > >
> >
>
> --------------------------------------------------------------------------
> > --
> > > ----
> > >
> > >
> > > --
> > > To unsubscribe, e-mail:
<ma...@xml.apache.org>
> > > For additional commands, e-mail:
<ma...@xml.apache.org>
> > >
> > >
> > > --
> > > To unsubscribe, e-mail:
<ma...@xml.apache.org>
> > > For additional commands, e-mail:
<ma...@xml.apache.org>
> > >
> >
> >
> >
> >
>
> --------------------------------------------------------------------------
> --
> > ----
> >
> >
> > --
> > To unsubscribe, e-mail:   <ma...@xml.apache.org>
> > For additional commands, e-mail: <ma...@xml.apache.org>
> >
> >
> > --
> > To unsubscribe, e-mail:   <ma...@xml.apache.org>
> > For additional commands, e-mail: <ma...@xml.apache.org>
> >
>
>
>
>
> --------------------------------------------------------------------------
--
> ----
>
>
> --
> To unsubscribe, e-mail:   <ma...@xml.apache.org>
> For additional commands, e-mail: <ma...@xml.apache.org>
>
>
> --
> To unsubscribe, e-mail:   <ma...@xml.apache.org>
> For additional commands, e-mail: <ma...@xml.apache.org>
>




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


--
To unsubscribe, e-mail:   <ma...@xml.apache.org>
For additional commands, e-mail: <ma...@xml.apache.org>


Re: web service with Gui

Posted by Neha Srivastava <ne...@wipro.com>.
hi,

The error is solved.  but  the TcpTunnelGui tool is not wrkng with servlet
client..why?

Thanks and Regards
neha


----- Original Message -----
From: "Scott Nichol" <sn...@scottnichol.com>
To: <so...@xml.apache.org>
Sent: Friday, September 13, 2002 10:49 AM
Subject: Re: web service with Gui


> The error says the client has called getValues("some string"), but there
is
> no getValues(String s) method on samples.helloworld.account.  For help
> beyond this, you would probably need to post the code for client and
server
> and deployment descriptor for the server.
>
> Scott Nichol
>
> ----- Original Message -----
> From: "Neha Srivastava" <ne...@wipro.com>
> To: <so...@xml.apache.org>
> Sent: Friday, September 13, 2002 12:27 AM
> Subject: Re: web service with Gui
>
>
>
> Hi Scott,
>
> Thanks for giving continuous help.
>
> Now  My servlet and service both are deployed but when i give the  accno
and
> the url and click Get.
>
> I get the following error-
>
>
> SOAP call generated a fault: [Attributes={}] [faultCode=SOAP-ENV:Server]
> [faultString=Exception while handling service request:
> samples.helloworld.account.getValues(java.lang.String) -- no signature
> match] [faultActorURI=/soap/servlet/rpcrouter] [DetailEntries=
> [(0)=java.lang.NoSuchMethodException:
> samples.helloworld.account.getValues(java.lang.String) -- no signature
match
> at org.apache.soap.util.MethodUtils.getEntryPoint(MethodUtils.java:194) at
> org.apache.soap.util.MethodUtils.getMethod(MethodUtils.java:548) at
> org.apache.soap.util.MethodUtils.getMethod(MethodUtils.java:528) at
> org.apache.soap.server.RPCRouter.invoke(RPCRouter.java:114) at
> org.apache.soap.providers.RPCJavaProvider.invoke(RPCJavaProvider.java:129)
> at
>
org.apache.soap.server.http.RPCRouterServlet.doPost(RPCRouterServlet.java:35
> 4) at javax.servlet.http.HttpServlet.service(HttpServlet.java:760) at
> javax.servlet.http.HttpServlet.service(HttpServlet.java:853) at
>
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Application
> FilterChain.java:247) at
>
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterCh
> ain.java:193) at ....
>
> Thanks and Regards
> Neha
>
> ----- Original Message -----
> From: "Scott Nichol" <sn...@scottnichol.com>
> To: <so...@xml.apache.org>
> Sent: Wednesday, September 11, 2002 6:40 PM
> Subject: Re: web service with Gui
>
>
> > Sorry.  The target name for that is buildwar, so you run "ant buildwar".
> >
> > Scott Nichol
> >
> > ----- Original Message -----
> > From: "Neha Srivastava" <ne...@wipro.com>
> > To: <so...@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" <sn...@scottnichol.com>
> > To: <so...@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" <ne...@wipro.com>
> > > To: <so...@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" <sn...@scottnichol.com>
> > > To: <so...@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" <ne...@wipro.com>
> > > > To: <so...@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" <sn...@scottnichol.com>
> > > > To: <so...@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" <ne...@wipro.com>
> > > > > To: <so...@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" <sn...@scottnichol.com>
> > > > > To: <so...@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" <sn...@scottnichol.com>
> > > > > > To: <so...@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" <sn...@scottnichol.com>
> > > > > > To: <so...@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" <ne...@wipro.com>
> > > > > > To: <so...@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" <sn...@scottnichol.com>
> > > > > > To: <so...@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" <ne...@wipro.com>
> > > > > > > To: <so...@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:
> > > > <ma...@xml.apache.org>
> > > > > > > For additional commands, e-mail:
> > > > <ma...@xml.apache.org>
> > > > > > >
> > > > > > >
> > > > > > > --
> > > > > > > To unsubscribe, e-mail:
> > > > <ma...@xml.apache.org>
> > > > > > > For additional commands, e-mail:
> > > > <ma...@xml.apache.org>
> > > > > > >
> > > > > >
> > > > > >
> > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
>
> --------------------------------------------------------------------------
> > > > > --
> > > > > > ----
> > > > > >
> > > > > >
> > > > > > --
> > > > > > To unsubscribe, e-mail:
> > > <ma...@xml.apache.org>
> > > > > > For additional commands, e-mail:
> > > <ma...@xml.apache.org>
> > > > > >
> > > > > >
> > > > > > --
> > > > > > To unsubscribe, e-mail:
> > > <ma...@xml.apache.org>
> > > > > > For additional commands, e-mail:
> > > <ma...@xml.apache.org>
> > > > > >
> > > > > >
> > > > > >
> > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
>
> --------------------------------------------------------------------------
> > > >
> > > > > --
> > > > > > ----
> > > > > >
> > > > > >
> > > > > > --
> > > > > > To unsubscribe, e-mail:
> > > <ma...@xml.apache.org>
> > > > > > For additional commands, e-mail:
> > > <ma...@xml.apache.org>
> > > > > >
> > > > > >
> > > > > > --
> > > > > > To unsubscribe, e-mail:
> > > <ma...@xml.apache.org>
> > > > > > For additional commands, e-mail:
> > > <ma...@xml.apache.org>
> > > > > >
> > > > >
> > > > > ----- Original Message -----
> > > > > From: "Scott Nichol" <sn...@scottnichol.com>
> > > > > To: <so...@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" <sn...@scottnichol.com>
> > > > > > To: <so...@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" <sn...@scottnichol.com>
> > > > > > To: <so...@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" <ne...@wipro.com>
> > > > > > To: <so...@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" <sn...@scottnichol.com>
> > > > > > To: <so...@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" <ne...@wipro.com>
> > > > > > > To: <so...@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:
> > > > <ma...@xml.apache.org>
> > > > > > > For additional commands, e-mail:
> > > > <ma...@xml.apache.org>
> > > > > > >
> > > > > > >
> > > > > > > --
> > > > > > > To unsubscribe, e-mail:
> > > > <ma...@xml.apache.org>
> > > > > > > For additional commands, e-mail:
> > > > <ma...@xml.apache.org>
> > > > > > >
> > > > > >
> > > > > >
> > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
>
> --------------------------------------------------------------------------
> > > > > --
> > > > > > ----
> > > > > >
> > > > > >
> > > > > > --
> > > > > > To unsubscribe, e-mail:
> > > <ma...@xml.apache.org>
> > > > > > For additional commands, e-mail:
> > > <ma...@xml.apache.org>
> > > > > >
> > > > > >
> > > > > > --
> > > > > > To unsubscribe, e-mail:
> > > <ma...@xml.apache.org>
> > > > > > For additional commands, e-mail:
> > > <ma...@xml.apache.org>
> > > > > >
> > > > > >
> > > > > >
> > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
>
> --------------------------------------------------------------------------
> > > > > --
> > > > > > ----
> > > > > >
> > > > > >
> > > > > > --
> > > > > > To unsubscribe, e-mail:
> > > <ma...@xml.apache.org>
> > > > > > For additional commands, e-mail:
> > > <ma...@xml.apache.org>
> > > > > >
> > > > > >
> > > > > > --
> > > > > > To unsubscribe, e-mail:
> > > <ma...@xml.apache.org>
> > > > > > For additional commands, e-mail:
> > > <ma...@xml.apache.org>
> > > > > >
> > > > >
> > > > >
> > > > >
> > > > >
> > > >
> > >
> >
>
> --------------------------------------------------------------------------
> > > > --
> > > > > ----
> > > > >
> > > > >
> > > > > --
> > > > > To unsubscribe, e-mail:
> > <ma...@xml.apache.org>
> > > > > For additional commands, e-mail:
> > <ma...@xml.apache.org>
> > > > >
> > > > >
> > > > > --
> > > > > To unsubscribe, e-mail:
> > <ma...@xml.apache.org>
> > > > > For additional commands, e-mail:
> > <ma...@xml.apache.org>
> > > > >
> > > >
> > > >
> > > >
> > > >
> > >
> >
>
> --------------------------------------------------------------------------
> > > --
> > > > ----
> > > >
> > > >
> > > > --
> > > > To unsubscribe, e-mail:
> <ma...@xml.apache.org>
> > > > For additional commands, e-mail:
> <ma...@xml.apache.org>
> > > >
> > > >
> > > > --
> > > > To unsubscribe, e-mail:
> <ma...@xml.apache.org>
> > > > For additional commands, e-mail:
> <ma...@xml.apache.org>
> > > >
> > >
> > >
> > >
> > >
> >
>
> --------------------------------------------------------------------------
> > --
> > > ----
> > >
> > >
> > > --
> > > To unsubscribe, e-mail:
<ma...@xml.apache.org>
> > > For additional commands, e-mail:
<ma...@xml.apache.org>
> > >
> > >
> > > --
> > > To unsubscribe, e-mail:
<ma...@xml.apache.org>
> > > For additional commands, e-mail:
<ma...@xml.apache.org>
> > >
> >
> >
> >
> >
>
> --------------------------------------------------------------------------
> --
> > ----
> >
> >
> > --
> > To unsubscribe, e-mail:   <ma...@xml.apache.org>
> > For additional commands, e-mail: <ma...@xml.apache.org>
> >
> >
> > --
> > To unsubscribe, e-mail:   <ma...@xml.apache.org>
> > For additional commands, e-mail: <ma...@xml.apache.org>
> >
>
>
>
>
> --------------------------------------------------------------------------
--
> ----
>
>
> --
> To unsubscribe, e-mail:   <ma...@xml.apache.org>
> For additional commands, e-mail: <ma...@xml.apache.org>
>
>
> --
> To unsubscribe, e-mail:   <ma...@xml.apache.org>
> For additional commands, e-mail: <ma...@xml.apache.org>
>


Re: web service with Gui

Posted by Neha Srivastava <ne...@wipro.com>.
hi,

The error is solved.  but  the TcpTunnelGui tool is not wrkng with servlet
client..why?

Thanks and Regards
neha


----- Original Message -----
From: "Scott Nichol" <sn...@scottnichol.com>
To: <so...@xml.apache.org>
Sent: Friday, September 13, 2002 10:49 AM
Subject: Re: web service with Gui


> The error says the client has called getValues("some string"), but there
is
> no getValues(String s) method on samples.helloworld.account.  For help
> beyond this, you would probably need to post the code for client and
server
> and deployment descriptor for the server.
>
> Scott Nichol
>
> ----- Original Message -----
> From: "Neha Srivastava" <ne...@wipro.com>
> To: <so...@xml.apache.org>
> Sent: Friday, September 13, 2002 12:27 AM
> Subject: Re: web service with Gui
>
>
>
> Hi Scott,
>
> Thanks for giving continuous help.
>
> Now  My servlet and service both are deployed but when i give the  accno
and
> the url and click Get.
>
> I get the following error-
>
>
> SOAP call generated a fault: [Attributes={}] [faultCode=SOAP-ENV:Server]
> [faultString=Exception while handling service request:
> samples.helloworld.account.getValues(java.lang.String) -- no signature
> match] [faultActorURI=/soap/servlet/rpcrouter] [DetailEntries=
> [(0)=java.lang.NoSuchMethodException:
> samples.helloworld.account.getValues(java.lang.String) -- no signature
match
> at org.apache.soap.util.MethodUtils.getEntryPoint(MethodUtils.java:194) at
> org.apache.soap.util.MethodUtils.getMethod(MethodUtils.java:548) at
> org.apache.soap.util.MethodUtils.getMethod(MethodUtils.java:528) at
> org.apache.soap.server.RPCRouter.invoke(RPCRouter.java:114) at
> org.apache.soap.providers.RPCJavaProvider.invoke(RPCJavaProvider.java:129)
> at
>
org.apache.soap.server.http.RPCRouterServlet.doPost(RPCRouterServlet.java:35
> 4) at javax.servlet.http.HttpServlet.service(HttpServlet.java:760) at
> javax.servlet.http.HttpServlet.service(HttpServlet.java:853) at
>
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Application
> FilterChain.java:247) at
>
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterCh
> ain.java:193) at ....
>
> Thanks and Regards
> Neha
>
> ----- Original Message -----
> From: "Scott Nichol" <sn...@scottnichol.com>
> To: <so...@xml.apache.org>
> Sent: Wednesday, September 11, 2002 6:40 PM
> Subject: Re: web service with Gui
>
>
> > Sorry.  The target name for that is buildwar, so you run "ant buildwar".
> >
> > Scott Nichol
> >
> > ----- Original Message -----
> > From: "Neha Srivastava" <ne...@wipro.com>
> > To: <so...@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" <sn...@scottnichol.com>
> > To: <so...@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" <ne...@wipro.com>
> > > To: <so...@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" <sn...@scottnichol.com>
> > > To: <so...@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" <ne...@wipro.com>
> > > > To: <so...@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" <sn...@scottnichol.com>
> > > > To: <so...@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" <ne...@wipro.com>
> > > > > To: <so...@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" <sn...@scottnichol.com>
> > > > > To: <so...@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" <sn...@scottnichol.com>
> > > > > > To: <so...@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" <sn...@scottnichol.com>
> > > > > > To: <so...@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" <ne...@wipro.com>
> > > > > > To: <so...@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" <sn...@scottnichol.com>
> > > > > > To: <so...@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" <ne...@wipro.com>
> > > > > > > To: <so...@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:
> > > > <ma...@xml.apache.org>
> > > > > > > For additional commands, e-mail:
> > > > <ma...@xml.apache.org>
> > > > > > >
> > > > > > >
> > > > > > > --
> > > > > > > To unsubscribe, e-mail:
> > > > <ma...@xml.apache.org>
> > > > > > > For additional commands, e-mail:
> > > > <ma...@xml.apache.org>
> > > > > > >
> > > > > >
> > > > > >
> > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
>
> --------------------------------------------------------------------------
> > > > > --
> > > > > > ----
> > > > > >
> > > > > >
> > > > > > --
> > > > > > To unsubscribe, e-mail:
> > > <ma...@xml.apache.org>
> > > > > > For additional commands, e-mail:
> > > <ma...@xml.apache.org>
> > > > > >
> > > > > >
> > > > > > --
> > > > > > To unsubscribe, e-mail:
> > > <ma...@xml.apache.org>
> > > > > > For additional commands, e-mail:
> > > <ma...@xml.apache.org>
> > > > > >
> > > > > >
> > > > > >
> > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
>
> --------------------------------------------------------------------------
> > > >
> > > > > --
> > > > > > ----
> > > > > >
> > > > > >
> > > > > > --
> > > > > > To unsubscribe, e-mail:
> > > <ma...@xml.apache.org>
> > > > > > For additional commands, e-mail:
> > > <ma...@xml.apache.org>
> > > > > >
> > > > > >
> > > > > > --
> > > > > > To unsubscribe, e-mail:
> > > <ma...@xml.apache.org>
> > > > > > For additional commands, e-mail:
> > > <ma...@xml.apache.org>
> > > > > >
> > > > >
> > > > > ----- Original Message -----
> > > > > From: "Scott Nichol" <sn...@scottnichol.com>
> > > > > To: <so...@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" <sn...@scottnichol.com>
> > > > > > To: <so...@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" <sn...@scottnichol.com>
> > > > > > To: <so...@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" <ne...@wipro.com>
> > > > > > To: <so...@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" <sn...@scottnichol.com>
> > > > > > To: <so...@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" <ne...@wipro.com>
> > > > > > > To: <so...@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:
> > > > <ma...@xml.apache.org>
> > > > > > > For additional commands, e-mail:
> > > > <ma...@xml.apache.org>
> > > > > > >
> > > > > > >
> > > > > > > --
> > > > > > > To unsubscribe, e-mail:
> > > > <ma...@xml.apache.org>
> > > > > > > For additional commands, e-mail:
> > > > <ma...@xml.apache.org>
> > > > > > >
> > > > > >
> > > > > >
> > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
>
> --------------------------------------------------------------------------
> > > > > --
> > > > > > ----
> > > > > >
> > > > > >
> > > > > > --
> > > > > > To unsubscribe, e-mail:
> > > <ma...@xml.apache.org>
> > > > > > For additional commands, e-mail:
> > > <ma...@xml.apache.org>
> > > > > >
> > > > > >
> > > > > > --
> > > > > > To unsubscribe, e-mail:
> > > <ma...@xml.apache.org>
> > > > > > For additional commands, e-mail:
> > > <ma...@xml.apache.org>
> > > > > >
> > > > > >
> > > > > >
> > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
>
> --------------------------------------------------------------------------
> > > > > --
> > > > > > ----
> > > > > >
> > > > > >
> > > > > > --
> > > > > > To unsubscribe, e-mail:
> > > <ma...@xml.apache.org>
> > > > > > For additional commands, e-mail:
> > > <ma...@xml.apache.org>
> > > > > >
> > > > > >
> > > > > > --
> > > > > > To unsubscribe, e-mail:
> > > <ma...@xml.apache.org>
> > > > > > For additional commands, e-mail:
> > > <ma...@xml.apache.org>
> > > > > >
> > > > >
> > > > >
> > > > >
> > > > >
> > > >
> > >
> >
>
> --------------------------------------------------------------------------
> > > > --
> > > > > ----
> > > > >
> > > > >
> > > > > --
> > > > > To unsubscribe, e-mail:
> > <ma...@xml.apache.org>
> > > > > For additional commands, e-mail:
> > <ma...@xml.apache.org>
> > > > >
> > > > >
> > > > > --
> > > > > To unsubscribe, e-mail:
> > <ma...@xml.apache.org>
> > > > > For additional commands, e-mail:
> > <ma...@xml.apache.org>
> > > > >
> > > >
> > > >
> > > >
> > > >
> > >
> >
>
> --------------------------------------------------------------------------
> > > --
> > > > ----
> > > >
> > > >
> > > > --
> > > > To unsubscribe, e-mail:
> <ma...@xml.apache.org>
> > > > For additional commands, e-mail:
> <ma...@xml.apache.org>
> > > >
> > > >
> > > > --
> > > > To unsubscribe, e-mail:
> <ma...@xml.apache.org>
> > > > For additional commands, e-mail:
> <ma...@xml.apache.org>
> > > >
> > >
> > >
> > >
> > >
> >
>
> --------------------------------------------------------------------------
> > --
> > > ----
> > >
> > >
> > > --
> > > To unsubscribe, e-mail:
<ma...@xml.apache.org>
> > > For additional commands, e-mail:
<ma...@xml.apache.org>
> > >
> > >
> > > --
> > > To unsubscribe, e-mail:
<ma...@xml.apache.org>
> > > For additional commands, e-mail:
<ma...@xml.apache.org>
> > >
> >
> >
> >
> >
>
> --------------------------------------------------------------------------
> --
> > ----
> >
> >
> > --
> > To unsubscribe, e-mail:   <ma...@xml.apache.org>
> > For additional commands, e-mail: <ma...@xml.apache.org>
> >
> >
> > --
> > To unsubscribe, e-mail:   <ma...@xml.apache.org>
> > For additional commands, e-mail: <ma...@xml.apache.org>
> >
>
>
>
>
> --------------------------------------------------------------------------
--
> ----
>
>
> --
> To unsubscribe, e-mail:   <ma...@xml.apache.org>
> For additional commands, e-mail: <ma...@xml.apache.org>
>
>
> --
> To unsubscribe, e-mail:   <ma...@xml.apache.org>
> For additional commands, e-mail: <ma...@xml.apache.org>
>


Re: web service with Gui

Posted by Scott Nichol <sn...@scottnichol.com>.
The error says the client has called getValues("some string"), but there is
no getValues(String s) method on samples.helloworld.account.  For help
beyond this, you would probably need to post the code for client and server
and deployment descriptor for the server.

Scott Nichol

----- Original Message -----
From: "Neha Srivastava" <ne...@wipro.com>
To: <so...@xml.apache.org>
Sent: Friday, September 13, 2002 12:27 AM
Subject: Re: web service with Gui



Hi Scott,

Thanks for giving continuous help.

Now  My servlet and service both are deployed but when i give the  accno and
the url and click Get.

I get the following error-


SOAP call generated a fault: [Attributes={}] [faultCode=SOAP-ENV:Server]
[faultString=Exception while handling service request:
samples.helloworld.account.getValues(java.lang.String) -- no signature
match] [faultActorURI=/soap/servlet/rpcrouter] [DetailEntries=
[(0)=java.lang.NoSuchMethodException:
samples.helloworld.account.getValues(java.lang.String) -- no signature match
at org.apache.soap.util.MethodUtils.getEntryPoint(MethodUtils.java:194) at
org.apache.soap.util.MethodUtils.getMethod(MethodUtils.java:548) at
org.apache.soap.util.MethodUtils.getMethod(MethodUtils.java:528) at
org.apache.soap.server.RPCRouter.invoke(RPCRouter.java:114) at
org.apache.soap.providers.RPCJavaProvider.invoke(RPCJavaProvider.java:129)
at
org.apache.soap.server.http.RPCRouterServlet.doPost(RPCRouterServlet.java:35
4) at javax.servlet.http.HttpServlet.service(HttpServlet.java:760) at
javax.servlet.http.HttpServlet.service(HttpServlet.java:853) at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Application
FilterChain.java:247) at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterCh
ain.java:193) at ....

Thanks and Regards
Neha

----- Original Message -----
From: "Scott Nichol" <sn...@scottnichol.com>
To: <so...@xml.apache.org>
Sent: Wednesday, September 11, 2002 6:40 PM
Subject: Re: web service with Gui


> Sorry.  The target name for that is buildwar, so you run "ant buildwar".
>
> Scott Nichol
>
> ----- Original Message -----
> From: "Neha Srivastava" <ne...@wipro.com>
> To: <so...@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" <sn...@scottnichol.com>
> To: <so...@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" <ne...@wipro.com>
> > To: <so...@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" <sn...@scottnichol.com>
> > To: <so...@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" <ne...@wipro.com>
> > > To: <so...@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" <sn...@scottnichol.com>
> > > To: <so...@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" <ne...@wipro.com>
> > > > To: <so...@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" <sn...@scottnichol.com>
> > > > To: <so...@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" <sn...@scottnichol.com>
> > > > > To: <so...@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" <sn...@scottnichol.com>
> > > > > To: <so...@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" <ne...@wipro.com>
> > > > > To: <so...@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" <sn...@scottnichol.com>
> > > > > To: <so...@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" <ne...@wipro.com>
> > > > > > To: <so...@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:
> > > <ma...@xml.apache.org>
> > > > > > For additional commands, e-mail:
> > > <ma...@xml.apache.org>
> > > > > >
> > > > > >
> > > > > > --
> > > > > > To unsubscribe, e-mail:
> > > <ma...@xml.apache.org>
> > > > > > For additional commands, e-mail:
> > > <ma...@xml.apache.org>
> > > > > >
> > > > >
> > > > >
> > > > >
> > > > >
> > > >
> > >
> >
>
> --------------------------------------------------------------------------
> > > > --
> > > > > ----
> > > > >
> > > > >
> > > > > --
> > > > > To unsubscribe, e-mail:
> > <ma...@xml.apache.org>
> > > > > For additional commands, e-mail:
> > <ma...@xml.apache.org>
> > > > >
> > > > >
> > > > > --
> > > > > To unsubscribe, e-mail:
> > <ma...@xml.apache.org>
> > > > > For additional commands, e-mail:
> > <ma...@xml.apache.org>
> > > > >
> > > > >
> > > > >
> > > > >
> > > > >
> > > >
> > >
> >
>
> --------------------------------------------------------------------------
> > >
> > > > --
> > > > > ----
> > > > >
> > > > >
> > > > > --
> > > > > To unsubscribe, e-mail:
> > <ma...@xml.apache.org>
> > > > > For additional commands, e-mail:
> > <ma...@xml.apache.org>
> > > > >
> > > > >
> > > > > --
> > > > > To unsubscribe, e-mail:
> > <ma...@xml.apache.org>
> > > > > For additional commands, e-mail:
> > <ma...@xml.apache.org>
> > > > >
> > > >
> > > > ----- Original Message -----
> > > > From: "Scott Nichol" <sn...@scottnichol.com>
> > > > To: <so...@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" <sn...@scottnichol.com>
> > > > > To: <so...@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" <sn...@scottnichol.com>
> > > > > To: <so...@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" <ne...@wipro.com>
> > > > > To: <so...@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" <sn...@scottnichol.com>
> > > > > To: <so...@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" <ne...@wipro.com>
> > > > > > To: <so...@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:
> > > <ma...@xml.apache.org>
> > > > > > For additional commands, e-mail:
> > > <ma...@xml.apache.org>
> > > > > >
> > > > > >
> > > > > > --
> > > > > > To unsubscribe, e-mail:
> > > <ma...@xml.apache.org>
> > > > > > For additional commands, e-mail:
> > > <ma...@xml.apache.org>
> > > > > >
> > > > >
> > > > >
> > > > >
> > > > >
> > > >
> > >
> >
>
> --------------------------------------------------------------------------
> > > > --
> > > > > ----
> > > > >
> > > > >
> > > > > --
> > > > > To unsubscribe, e-mail:
> > <ma...@xml.apache.org>
> > > > > For additional commands, e-mail:
> > <ma...@xml.apache.org>
> > > > >
> > > > >
> > > > > --
> > > > > To unsubscribe, e-mail:
> > <ma...@xml.apache.org>
> > > > > For additional commands, e-mail:
> > <ma...@xml.apache.org>
> > > > >
> > > > >
> > > > >
> > > > >
> > > > >
> > > >
> > >
> >
>
> --------------------------------------------------------------------------
> > > > --
> > > > > ----
> > > > >
> > > > >
> > > > > --
> > > > > To unsubscribe, e-mail:
> > <ma...@xml.apache.org>
> > > > > For additional commands, e-mail:
> > <ma...@xml.apache.org>
> > > > >
> > > > >
> > > > > --
> > > > > To unsubscribe, e-mail:
> > <ma...@xml.apache.org>
> > > > > For additional commands, e-mail:
> > <ma...@xml.apache.org>
> > > > >
> > > >
> > > >
> > > >
> > > >
> > >
> >
>
> --------------------------------------------------------------------------
> > > --
> > > > ----
> > > >
> > > >
> > > > --
> > > > To unsubscribe, e-mail:
> <ma...@xml.apache.org>
> > > > For additional commands, e-mail:
> <ma...@xml.apache.org>
> > > >
> > > >
> > > > --
> > > > To unsubscribe, e-mail:
> <ma...@xml.apache.org>
> > > > For additional commands, e-mail:
> <ma...@xml.apache.org>
> > > >
> > >
> > >
> > >
> > >
> >
>
> --------------------------------------------------------------------------
> > --
> > > ----
> > >
> > >
> > > --
> > > To unsubscribe, e-mail:
<ma...@xml.apache.org>
> > > For additional commands, e-mail:
<ma...@xml.apache.org>
> > >
> > >
> > > --
> > > To unsubscribe, e-mail:
<ma...@xml.apache.org>
> > > For additional commands, e-mail:
<ma...@xml.apache.org>
> > >
> >
> >
> >
> >
>
> --------------------------------------------------------------------------
> --
> > ----
> >
> >
> > --
> > To unsubscribe, e-mail:   <ma...@xml.apache.org>
> > For additional commands, e-mail: <ma...@xml.apache.org>
> >
> >
> > --
> > To unsubscribe, e-mail:   <ma...@xml.apache.org>
> > For additional commands, e-mail: <ma...@xml.apache.org>
> >
>
>
>
>
> --------------------------------------------------------------------------
--
> ----
>
>
> --
> To unsubscribe, e-mail:   <ma...@xml.apache.org>
> For additional commands, e-mail: <ma...@xml.apache.org>
>
>
> --
> To unsubscribe, e-mail:   <ma...@xml.apache.org>
> For additional commands, e-mail: <ma...@xml.apache.org>
>




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


--
To unsubscribe, e-mail:   <ma...@xml.apache.org>
For additional commands, e-mail: <ma...@xml.apache.org>


--
To unsubscribe, e-mail:   <ma...@xml.apache.org>
For additional commands, e-mail: <ma...@xml.apache.org>


Re: web service with Gui

Posted by Scott Nichol <sn...@scottnichol.com>.
The error says the client has called getValues("some string"), but there is
no getValues(String s) method on samples.helloworld.account.  For help
beyond this, you would probably need to post the code for client and server
and deployment descriptor for the server.

Scott Nichol

----- Original Message -----
From: "Neha Srivastava" <ne...@wipro.com>
To: <so...@xml.apache.org>
Sent: Friday, September 13, 2002 12:27 AM
Subject: Re: web service with Gui



Hi Scott,

Thanks for giving continuous help.

Now  My servlet and service both are deployed but when i give the  accno and
the url and click Get.

I get the following error-


SOAP call generated a fault: [Attributes={}] [faultCode=SOAP-ENV:Server]
[faultString=Exception while handling service request:
samples.helloworld.account.getValues(java.lang.String) -- no signature
match] [faultActorURI=/soap/servlet/rpcrouter] [DetailEntries=
[(0)=java.lang.NoSuchMethodException:
samples.helloworld.account.getValues(java.lang.String) -- no signature match
at org.apache.soap.util.MethodUtils.getEntryPoint(MethodUtils.java:194) at
org.apache.soap.util.MethodUtils.getMethod(MethodUtils.java:548) at
org.apache.soap.util.MethodUtils.getMethod(MethodUtils.java:528) at
org.apache.soap.server.RPCRouter.invoke(RPCRouter.java:114) at
org.apache.soap.providers.RPCJavaProvider.invoke(RPCJavaProvider.java:129)
at
org.apache.soap.server.http.RPCRouterServlet.doPost(RPCRouterServlet.java:35
4) at javax.servlet.http.HttpServlet.service(HttpServlet.java:760) at
javax.servlet.http.HttpServlet.service(HttpServlet.java:853) at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Application
FilterChain.java:247) at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterCh
ain.java:193) at ....

Thanks and Regards
Neha

----- Original Message -----
From: "Scott Nichol" <sn...@scottnichol.com>
To: <so...@xml.apache.org>
Sent: Wednesday, September 11, 2002 6:40 PM
Subject: Re: web service with Gui


> Sorry.  The target name for that is buildwar, so you run "ant buildwar".
>
> Scott Nichol
>
> ----- Original Message -----
> From: "Neha Srivastava" <ne...@wipro.com>
> To: <so...@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" <sn...@scottnichol.com>
> To: <so...@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" <ne...@wipro.com>
> > To: <so...@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" <sn...@scottnichol.com>
> > To: <so...@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" <ne...@wipro.com>
> > > To: <so...@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" <sn...@scottnichol.com>
> > > To: <so...@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" <ne...@wipro.com>
> > > > To: <so...@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" <sn...@scottnichol.com>
> > > > To: <so...@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" <sn...@scottnichol.com>
> > > > > To: <so...@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" <sn...@scottnichol.com>
> > > > > To: <so...@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" <ne...@wipro.com>
> > > > > To: <so...@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" <sn...@scottnichol.com>
> > > > > To: <so...@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" <ne...@wipro.com>
> > > > > > To: <so...@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:
> > > <ma...@xml.apache.org>
> > > > > > For additional commands, e-mail:
> > > <ma...@xml.apache.org>
> > > > > >
> > > > > >
> > > > > > --
> > > > > > To unsubscribe, e-mail:
> > > <ma...@xml.apache.org>
> > > > > > For additional commands, e-mail:
> > > <ma...@xml.apache.org>
> > > > > >
> > > > >
> > > > >
> > > > >
> > > > >
> > > >
> > >
> >
>
> --------------------------------------------------------------------------
> > > > --
> > > > > ----
> > > > >
> > > > >
> > > > > --
> > > > > To unsubscribe, e-mail:
> > <ma...@xml.apache.org>
> > > > > For additional commands, e-mail:
> > <ma...@xml.apache.org>
> > > > >
> > > > >
> > > > > --
> > > > > To unsubscribe, e-mail:
> > <ma...@xml.apache.org>
> > > > > For additional commands, e-mail:
> > <ma...@xml.apache.org>
> > > > >
> > > > >
> > > > >
> > > > >
> > > > >
> > > >
> > >
> >
>
> --------------------------------------------------------------------------
> > >
> > > > --
> > > > > ----
> > > > >
> > > > >
> > > > > --
> > > > > To unsubscribe, e-mail:
> > <ma...@xml.apache.org>
> > > > > For additional commands, e-mail:
> > <ma...@xml.apache.org>
> > > > >
> > > > >
> > > > > --
> > > > > To unsubscribe, e-mail:
> > <ma...@xml.apache.org>
> > > > > For additional commands, e-mail:
> > <ma...@xml.apache.org>
> > > > >
> > > >
> > > > ----- Original Message -----
> > > > From: "Scott Nichol" <sn...@scottnichol.com>
> > > > To: <so...@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" <sn...@scottnichol.com>
> > > > > To: <so...@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" <sn...@scottnichol.com>
> > > > > To: <so...@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" <ne...@wipro.com>
> > > > > To: <so...@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" <sn...@scottnichol.com>
> > > > > To: <so...@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" <ne...@wipro.com>
> > > > > > To: <so...@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:
> > > <ma...@xml.apache.org>
> > > > > > For additional commands, e-mail:
> > > <ma...@xml.apache.org>
> > > > > >
> > > > > >
> > > > > > --
> > > > > > To unsubscribe, e-mail:
> > > <ma...@xml.apache.org>
> > > > > > For additional commands, e-mail:
> > > <ma...@xml.apache.org>
> > > > > >
> > > > >
> > > > >
> > > > >
> > > > >
> > > >
> > >
> >
>
> --------------------------------------------------------------------------
> > > > --
> > > > > ----
> > > > >
> > > > >
> > > > > --
> > > > > To unsubscribe, e-mail:
> > <ma...@xml.apache.org>
> > > > > For additional commands, e-mail:
> > <ma...@xml.apache.org>
> > > > >
> > > > >
> > > > > --
> > > > > To unsubscribe, e-mail:
> > <ma...@xml.apache.org>
> > > > > For additional commands, e-mail:
> > <ma...@xml.apache.org>
> > > > >
> > > > >
> > > > >
> > > > >
> > > > >
> > > >
> > >
> >
>
> --------------------------------------------------------------------------
> > > > --
> > > > > ----
> > > > >
> > > > >
> > > > > --
> > > > > To unsubscribe, e-mail:
> > <ma...@xml.apache.org>
> > > > > For additional commands, e-mail:
> > <ma...@xml.apache.org>
> > > > >
> > > > >
> > > > > --
> > > > > To unsubscribe, e-mail:
> > <ma...@xml.apache.org>
> > > > > For additional commands, e-mail:
> > <ma...@xml.apache.org>
> > > > >
> > > >
> > > >
> > > >
> > > >
> > >
> >
>
> --------------------------------------------------------------------------
> > > --
> > > > ----
> > > >
> > > >
> > > > --
> > > > To unsubscribe, e-mail:
> <ma...@xml.apache.org>
> > > > For additional commands, e-mail:
> <ma...@xml.apache.org>
> > > >
> > > >
> > > > --
> > > > To unsubscribe, e-mail:
> <ma...@xml.apache.org>
> > > > For additional commands, e-mail:
> <ma...@xml.apache.org>
> > > >
> > >
> > >
> > >
> > >
> >
>
> --------------------------------------------------------------------------
> > --
> > > ----
> > >
> > >
> > > --
> > > To unsubscribe, e-mail:
<ma...@xml.apache.org>
> > > For additional commands, e-mail:
<ma...@xml.apache.org>
> > >
> > >
> > > --
> > > To unsubscribe, e-mail:
<ma...@xml.apache.org>
> > > For additional commands, e-mail:
<ma...@xml.apache.org>
> > >
> >
> >
> >
> >
>
> --------------------------------------------------------------------------
> --
> > ----
> >
> >
> > --
> > To unsubscribe, e-mail:   <ma...@xml.apache.org>
> > For additional commands, e-mail: <ma...@xml.apache.org>
> >
> >
> > --
> > To unsubscribe, e-mail:   <ma...@xml.apache.org>
> > For additional commands, e-mail: <ma...@xml.apache.org>
> >
>
>
>
>
> --------------------------------------------------------------------------
--
> ----
>
>
> --
> To unsubscribe, e-mail:   <ma...@xml.apache.org>
> For additional commands, e-mail: <ma...@xml.apache.org>
>
>
> --
> To unsubscribe, e-mail:   <ma...@xml.apache.org>
> For additional commands, e-mail: <ma...@xml.apache.org>
>




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


--
To unsubscribe, e-mail:   <ma...@xml.apache.org>
For additional commands, e-mail: <ma...@xml.apache.org>


Re: web service with Gui

Posted by Neha Srivastava <ne...@wipro.com>.
Hi Scott,

Thanks for giving continuous help.

Now  My servlet and service both are deployed but when i give the  accno and
the url and click Get.

I get the following error-


SOAP call generated a fault: [Attributes={}] [faultCode=SOAP-ENV:Server]
[faultString=Exception while handling service request:
samples.helloworld.account.getValues(java.lang.String) -- no signature
match] [faultActorURI=/soap/servlet/rpcrouter] [DetailEntries=
[(0)=java.lang.NoSuchMethodException:
samples.helloworld.account.getValues(java.lang.String) -- no signature match
at org.apache.soap.util.MethodUtils.getEntryPoint(MethodUtils.java:194) at
org.apache.soap.util.MethodUtils.getMethod(MethodUtils.java:548) at
org.apache.soap.util.MethodUtils.getMethod(MethodUtils.java:528) at
org.apache.soap.server.RPCRouter.invoke(RPCRouter.java:114) at
org.apache.soap.providers.RPCJavaProvider.invoke(RPCJavaProvider.java:129)
at
org.apache.soap.server.http.RPCRouterServlet.doPost(RPCRouterServlet.java:35
4) at javax.servlet.http.HttpServlet.service(HttpServlet.java:760) at
javax.servlet.http.HttpServlet.service(HttpServlet.java:853) at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Application
FilterChain.java:247) at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterCh
ain.java:193) at ....

Thanks and Regards
Neha

----- Original Message -----
From: "Scott Nichol" <sn...@scottnichol.com>
To: <so...@xml.apache.org>
Sent: Wednesday, September 11, 2002 6:40 PM
Subject: Re: web service with Gui


> Sorry.  The target name for that is buildwar, so you run "ant buildwar".
>
> Scott Nichol
>
> ----- Original Message -----
> From: "Neha Srivastava" <ne...@wipro.com>
> To: <so...@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" <sn...@scottnichol.com>
> To: <so...@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" <ne...@wipro.com>
> > To: <so...@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" <sn...@scottnichol.com>
> > To: <so...@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" <ne...@wipro.com>
> > > To: <so...@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" <sn...@scottnichol.com>
> > > To: <so...@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" <ne...@wipro.com>
> > > > To: <so...@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" <sn...@scottnichol.com>
> > > > To: <so...@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" <sn...@scottnichol.com>
> > > > > To: <so...@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" <sn...@scottnichol.com>
> > > > > To: <so...@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" <ne...@wipro.com>
> > > > > To: <so...@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" <sn...@scottnichol.com>
> > > > > To: <so...@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" <ne...@wipro.com>
> > > > > > To: <so...@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:
> > > <ma...@xml.apache.org>
> > > > > > For additional commands, e-mail:
> > > <ma...@xml.apache.org>
> > > > > >
> > > > > >
> > > > > > --
> > > > > > To unsubscribe, e-mail:
> > > <ma...@xml.apache.org>
> > > > > > For additional commands, e-mail:
> > > <ma...@xml.apache.org>
> > > > > >
> > > > >
> > > > >
> > > > >
> > > > >
> > > >
> > >
> >
>
> --------------------------------------------------------------------------
> > > > --
> > > > > ----
> > > > >
> > > > >
> > > > > --
> > > > > To unsubscribe, e-mail:
> > <ma...@xml.apache.org>
> > > > > For additional commands, e-mail:
> > <ma...@xml.apache.org>
> > > > >
> > > > >
> > > > > --
> > > > > To unsubscribe, e-mail:
> > <ma...@xml.apache.org>
> > > > > For additional commands, e-mail:
> > <ma...@xml.apache.org>
> > > > >
> > > > >
> > > > >
> > > > >
> > > > >
> > > >
> > >
> >
>
> --------------------------------------------------------------------------
> > >
> > > > --
> > > > > ----
> > > > >
> > > > >
> > > > > --
> > > > > To unsubscribe, e-mail:
> > <ma...@xml.apache.org>
> > > > > For additional commands, e-mail:
> > <ma...@xml.apache.org>
> > > > >
> > > > >
> > > > > --
> > > > > To unsubscribe, e-mail:
> > <ma...@xml.apache.org>
> > > > > For additional commands, e-mail:
> > <ma...@xml.apache.org>
> > > > >
> > > >
> > > > ----- Original Message -----
> > > > From: "Scott Nichol" <sn...@scottnichol.com>
> > > > To: <so...@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" <sn...@scottnichol.com>
> > > > > To: <so...@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" <sn...@scottnichol.com>
> > > > > To: <so...@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" <ne...@wipro.com>
> > > > > To: <so...@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" <sn...@scottnichol.com>
> > > > > To: <so...@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" <ne...@wipro.com>
> > > > > > To: <so...@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:
> > > <ma...@xml.apache.org>
> > > > > > For additional commands, e-mail:
> > > <ma...@xml.apache.org>
> > > > > >
> > > > > >
> > > > > > --
> > > > > > To unsubscribe, e-mail:
> > > <ma...@xml.apache.org>
> > > > > > For additional commands, e-mail:
> > > <ma...@xml.apache.org>
> > > > > >
> > > > >
> > > > >
> > > > >
> > > > >
> > > >
> > >
> >
>
> --------------------------------------------------------------------------
> > > > --
> > > > > ----
> > > > >
> > > > >
> > > > > --
> > > > > To unsubscribe, e-mail:
> > <ma...@xml.apache.org>
> > > > > For additional commands, e-mail:
> > <ma...@xml.apache.org>
> > > > >
> > > > >
> > > > > --
> > > > > To unsubscribe, e-mail:
> > <ma...@xml.apache.org>
> > > > > For additional commands, e-mail:
> > <ma...@xml.apache.org>
> > > > >
> > > > >
> > > > >
> > > > >
> > > > >
> > > >
> > >
> >
>
> --------------------------------------------------------------------------
> > > > --
> > > > > ----
> > > > >
> > > > >
> > > > > --
> > > > > To unsubscribe, e-mail:
> > <ma...@xml.apache.org>
> > > > > For additional commands, e-mail:
> > <ma...@xml.apache.org>
> > > > >
> > > > >
> > > > > --
> > > > > To unsubscribe, e-mail:
> > <ma...@xml.apache.org>
> > > > > For additional commands, e-mail:
> > <ma...@xml.apache.org>
> > > > >
> > > >
> > > >
> > > >
> > > >
> > >
> >
>
> --------------------------------------------------------------------------
> > > --
> > > > ----
> > > >
> > > >
> > > > --
> > > > To unsubscribe, e-mail:
> <ma...@xml.apache.org>
> > > > For additional commands, e-mail:
> <ma...@xml.apache.org>
> > > >
> > > >
> > > > --
> > > > To unsubscribe, e-mail:
> <ma...@xml.apache.org>
> > > > For additional commands, e-mail:
> <ma...@xml.apache.org>
> > > >
> > >
> > >
> > >
> > >
> >
>
> --------------------------------------------------------------------------
> > --
> > > ----
> > >
> > >
> > > --
> > > To unsubscribe, e-mail:
<ma...@xml.apache.org>
> > > For additional commands, e-mail:
<ma...@xml.apache.org>
> > >
> > >
> > > --
> > > To unsubscribe, e-mail:
<ma...@xml.apache.org>
> > > For additional commands, e-mail:
<ma...@xml.apache.org>
> > >
> >
> >
> >
> >
>
> --------------------------------------------------------------------------
> --
> > ----
> >
> >
> > --
> > To unsubscribe, e-mail:   <ma...@xml.apache.org>
> > For additional commands, e-mail: <ma...@xml.apache.org>
> >
> >
> > --
> > To unsubscribe, e-mail:   <ma...@xml.apache.org>
> > For additional commands, e-mail: <ma...@xml.apache.org>
> >
>
>
>
>
> --------------------------------------------------------------------------
--
> ----
>
>
> --
> To unsubscribe, e-mail:   <ma...@xml.apache.org>
> For additional commands, e-mail: <ma...@xml.apache.org>
>
>
> --
> To unsubscribe, e-mail:   <ma...@xml.apache.org>
> For additional commands, e-mail: <ma...@xml.apache.org>
>


Re: web service with Gui

Posted by Neha Srivastava <ne...@wipro.com>.
Hi Scott,

Thanks for giving continuous help.

Now  My servlet and service both are deployed but when i give the  accno and
the url and click Get.

I get the following error-


SOAP call generated a fault: [Attributes={}] [faultCode=SOAP-ENV:Server]
[faultString=Exception while handling service request:
samples.helloworld.account.getValues(java.lang.String) -- no signature
match] [faultActorURI=/soap/servlet/rpcrouter] [DetailEntries=
[(0)=java.lang.NoSuchMethodException:
samples.helloworld.account.getValues(java.lang.String) -- no signature match
at org.apache.soap.util.MethodUtils.getEntryPoint(MethodUtils.java:194) at
org.apache.soap.util.MethodUtils.getMethod(MethodUtils.java:548) at
org.apache.soap.util.MethodUtils.getMethod(MethodUtils.java:528) at
org.apache.soap.server.RPCRouter.invoke(RPCRouter.java:114) at
org.apache.soap.providers.RPCJavaProvider.invoke(RPCJavaProvider.java:129)
at
org.apache.soap.server.http.RPCRouterServlet.doPost(RPCRouterServlet.java:35
4) at javax.servlet.http.HttpServlet.service(HttpServlet.java:760) at
javax.servlet.http.HttpServlet.service(HttpServlet.java:853) at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Application
FilterChain.java:247) at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterCh
ain.java:193) at ....

Thanks and Regards
Neha

----- Original Message -----
From: "Scott Nichol" <sn...@scottnichol.com>
To: <so...@xml.apache.org>
Sent: Wednesday, September 11, 2002 6:40 PM
Subject: Re: web service with Gui


> Sorry.  The target name for that is buildwar, so you run "ant buildwar".
>
> Scott Nichol
>
> ----- Original Message -----
> From: "Neha Srivastava" <ne...@wipro.com>
> To: <so...@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" <sn...@scottnichol.com>
> To: <so...@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" <ne...@wipro.com>
> > To: <so...@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" <sn...@scottnichol.com>
> > To: <so...@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" <ne...@wipro.com>
> > > To: <so...@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" <sn...@scottnichol.com>
> > > To: <so...@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" <ne...@wipro.com>
> > > > To: <so...@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" <sn...@scottnichol.com>
> > > > To: <so...@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" <sn...@scottnichol.com>
> > > > > To: <so...@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" <sn...@scottnichol.com>
> > > > > To: <so...@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" <ne...@wipro.com>
> > > > > To: <so...@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" <sn...@scottnichol.com>
> > > > > To: <so...@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" <ne...@wipro.com>
> > > > > > To: <so...@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:
> > > <ma...@xml.apache.org>
> > > > > > For additional commands, e-mail:
> > > <ma...@xml.apache.org>
> > > > > >
> > > > > >
> > > > > > --
> > > > > > To unsubscribe, e-mail:
> > > <ma...@xml.apache.org>
> > > > > > For additional commands, e-mail:
> > > <ma...@xml.apache.org>
> > > > > >
> > > > >
> > > > >
> > > > >
> > > > >
> > > >
> > >
> >
>
> --------------------------------------------------------------------------
> > > > --
> > > > > ----
> > > > >
> > > > >
> > > > > --
> > > > > To unsubscribe, e-mail:
> > <ma...@xml.apache.org>
> > > > > For additional commands, e-mail:
> > <ma...@xml.apache.org>
> > > > >
> > > > >
> > > > > --
> > > > > To unsubscribe, e-mail:
> > <ma...@xml.apache.org>
> > > > > For additional commands, e-mail:
> > <ma...@xml.apache.org>
> > > > >
> > > > >
> > > > >
> > > > >
> > > > >
> > > >
> > >
> >
>
> --------------------------------------------------------------------------
> > >
> > > > --
> > > > > ----
> > > > >
> > > > >
> > > > > --
> > > > > To unsubscribe, e-mail:
> > <ma...@xml.apache.org>
> > > > > For additional commands, e-mail:
> > <ma...@xml.apache.org>
> > > > >
> > > > >
> > > > > --
> > > > > To unsubscribe, e-mail:
> > <ma...@xml.apache.org>
> > > > > For additional commands, e-mail:
> > <ma...@xml.apache.org>
> > > > >
> > > >
> > > > ----- Original Message -----
> > > > From: "Scott Nichol" <sn...@scottnichol.com>
> > > > To: <so...@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" <sn...@scottnichol.com>
> > > > > To: <so...@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" <sn...@scottnichol.com>
> > > > > To: <so...@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" <ne...@wipro.com>
> > > > > To: <so...@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" <sn...@scottnichol.com>
> > > > > To: <so...@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" <ne...@wipro.com>
> > > > > > To: <so...@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:
> > > <ma...@xml.apache.org>
> > > > > > For additional commands, e-mail:
> > > <ma...@xml.apache.org>
> > > > > >
> > > > > >
> > > > > > --
> > > > > > To unsubscribe, e-mail:
> > > <ma...@xml.apache.org>
> > > > > > For additional commands, e-mail:
> > > <ma...@xml.apache.org>
> > > > > >
> > > > >
> > > > >
> > > > >
> > > > >
> > > >
> > >
> >
>
> --------------------------------------------------------------------------
> > > > --
> > > > > ----
> > > > >
> > > > >
> > > > > --
> > > > > To unsubscribe, e-mail:
> > <ma...@xml.apache.org>
> > > > > For additional commands, e-mail:
> > <ma...@xml.apache.org>
> > > > >
> > > > >
> > > > > --
> > > > > To unsubscribe, e-mail:
> > <ma...@xml.apache.org>
> > > > > For additional commands, e-mail:
> > <ma...@xml.apache.org>
> > > > >
> > > > >
> > > > >
> > > > >
> > > > >
> > > >
> > >
> >
>
> --------------------------------------------------------------------------
> > > > --
> > > > > ----
> > > > >
> > > > >
> > > > > --
> > > > > To unsubscribe, e-mail:
> > <ma...@xml.apache.org>
> > > > > For additional commands, e-mail:
> > <ma...@xml.apache.org>
> > > > >
> > > > >
> > > > > --
> > > > > To unsubscribe, e-mail:
> > <ma...@xml.apache.org>
> > > > > For additional commands, e-mail:
> > <ma...@xml.apache.org>
> > > > >
> > > >
> > > >
> > > >
> > > >
> > >
> >
>
> --------------------------------------------------------------------------
> > > --
> > > > ----
> > > >
> > > >
> > > > --
> > > > To unsubscribe, e-mail:
> <ma...@xml.apache.org>
> > > > For additional commands, e-mail:
> <ma...@xml.apache.org>
> > > >
> > > >
> > > > --
> > > > To unsubscribe, e-mail:
> <ma...@xml.apache.org>
> > > > For additional commands, e-mail:
> <ma...@xml.apache.org>
> > > >
> > >
> > >
> > >
> > >
> >
>
> --------------------------------------------------------------------------
> > --
> > > ----
> > >
> > >
> > > --
> > > To unsubscribe, e-mail:
<ma...@xml.apache.org>
> > > For additional commands, e-mail:
<ma...@xml.apache.org>
> > >
> > >
> > > --
> > > To unsubscribe, e-mail:
<ma...@xml.apache.org>
> > > For additional commands, e-mail:
<ma...@xml.apache.org>
> > >
> >
> >
> >
> >
>
> --------------------------------------------------------------------------
> --
> > ----
> >
> >
> > --
> > To unsubscribe, e-mail:   <ma...@xml.apache.org>
> > For additional commands, e-mail: <ma...@xml.apache.org>
> >
> >
> > --
> > To unsubscribe, e-mail:   <ma...@xml.apache.org>
> > For additional commands, e-mail: <ma...@xml.apache.org>
> >
>
>
>
>
> --------------------------------------------------------------------------
--
> ----
>
>
> --
> To unsubscribe, e-mail:   <ma...@xml.apache.org>
> For additional commands, e-mail: <ma...@xml.apache.org>
>
>
> --
> To unsubscribe, e-mail:   <ma...@xml.apache.org>
> For additional commands, e-mail: <ma...@xml.apache.org>
>


Re: web service with Gui

Posted by Scott Nichol <sn...@scottnichol.com>.
Sorry.  The target name for that is buildwar, so you run "ant buildwar".

Scott Nichol

----- Original Message -----
From: "Neha Srivastava" <ne...@wipro.com>
To: <so...@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" <sn...@scottnichol.com>
To: <so...@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" <ne...@wipro.com>
> To: <so...@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" <sn...@scottnichol.com>
> To: <so...@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" <ne...@wipro.com>
> > To: <so...@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" <sn...@scottnichol.com>
> > To: <so...@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" <ne...@wipro.com>
> > > To: <so...@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" <sn...@scottnichol.com>
> > > To: <so...@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" <sn...@scottnichol.com>
> > > > To: <so...@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" <sn...@scottnichol.com>
> > > > To: <so...@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" <ne...@wipro.com>
> > > > To: <so...@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" <sn...@scottnichol.com>
> > > > To: <so...@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" <ne...@wipro.com>
> > > > > To: <so...@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:
> > <ma...@xml.apache.org>
> > > > > For additional commands, e-mail:
> > <ma...@xml.apache.org>
> > > > >
> > > > >
> > > > > --
> > > > > To unsubscribe, e-mail:
> > <ma...@xml.apache.org>
> > > > > For additional commands, e-mail:
> > <ma...@xml.apache.org>
> > > > >
> > > >
> > > >
> > > >
> > > >
> > >
> >
>
> --------------------------------------------------------------------------
> > > --
> > > > ----
> > > >
> > > >
> > > > --
> > > > To unsubscribe, e-mail:
> <ma...@xml.apache.org>
> > > > For additional commands, e-mail:
> <ma...@xml.apache.org>
> > > >
> > > >
> > > > --
> > > > To unsubscribe, e-mail:
> <ma...@xml.apache.org>
> > > > For additional commands, e-mail:
> <ma...@xml.apache.org>
> > > >
> > > >
> > > >
> > > >
> > > >
> > >
> >
>
> --------------------------------------------------------------------------
> >
> > > --
> > > > ----
> > > >
> > > >
> > > > --
> > > > To unsubscribe, e-mail:
> <ma...@xml.apache.org>
> > > > For additional commands, e-mail:
> <ma...@xml.apache.org>
> > > >
> > > >
> > > > --
> > > > To unsubscribe, e-mail:
> <ma...@xml.apache.org>
> > > > For additional commands, e-mail:
> <ma...@xml.apache.org>
> > > >
> > >
> > > ----- Original Message -----
> > > From: "Scott Nichol" <sn...@scottnichol.com>
> > > To: <so...@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" <sn...@scottnichol.com>
> > > > To: <so...@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" <sn...@scottnichol.com>
> > > > To: <so...@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" <ne...@wipro.com>
> > > > To: <so...@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" <sn...@scottnichol.com>
> > > > To: <so...@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" <ne...@wipro.com>
> > > > > To: <so...@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:
> > <ma...@xml.apache.org>
> > > > > For additional commands, e-mail:
> > <ma...@xml.apache.org>
> > > > >
> > > > >
> > > > > --
> > > > > To unsubscribe, e-mail:
> > <ma...@xml.apache.org>
> > > > > For additional commands, e-mail:
> > <ma...@xml.apache.org>
> > > > >
> > > >
> > > >
> > > >
> > > >
> > >
> >
>
> --------------------------------------------------------------------------
> > > --
> > > > ----
> > > >
> > > >
> > > > --
> > > > To unsubscribe, e-mail:
> <ma...@xml.apache.org>
> > > > For additional commands, e-mail:
> <ma...@xml.apache.org>
> > > >
> > > >
> > > > --
> > > > To unsubscribe, e-mail:
> <ma...@xml.apache.org>
> > > > For additional commands, e-mail:
> <ma...@xml.apache.org>
> > > >
> > > >
> > > >
> > > >
> > > >
> > >
> >
>
> --------------------------------------------------------------------------
> > > --
> > > > ----
> > > >
> > > >
> > > > --
> > > > To unsubscribe, e-mail:
> <ma...@xml.apache.org>
> > > > For additional commands, e-mail:
> <ma...@xml.apache.org>
> > > >
> > > >
> > > > --
> > > > To unsubscribe, e-mail:
> <ma...@xml.apache.org>
> > > > For additional commands, e-mail:
> <ma...@xml.apache.org>
> > > >
> > >
> > >
> > >
> > >
> >
>
> --------------------------------------------------------------------------
> > --
> > > ----
> > >
> > >
> > > --
> > > To unsubscribe, e-mail:
<ma...@xml.apache.org>
> > > For additional commands, e-mail:
<ma...@xml.apache.org>
> > >
> > >
> > > --
> > > To unsubscribe, e-mail:
<ma...@xml.apache.org>
> > > For additional commands, e-mail:
<ma...@xml.apache.org>
> > >
> >
> >
> >
> >
>
> --------------------------------------------------------------------------
> --
> > ----
> >
> >
> > --
> > To unsubscribe, e-mail:   <ma...@xml.apache.org>
> > For additional commands, e-mail: <ma...@xml.apache.org>
> >
> >
> > --
> > To unsubscribe, e-mail:   <ma...@xml.apache.org>
> > For additional commands, e-mail: <ma...@xml.apache.org>
> >
>
>
>
>
> --------------------------------------------------------------------------
--
> ----
>
>
> --
> To unsubscribe, e-mail:   <ma...@xml.apache.org>
> For additional commands, e-mail: <ma...@xml.apache.org>
>
>
> --
> To unsubscribe, e-mail:   <ma...@xml.apache.org>
> For additional commands, e-mail: <ma...@xml.apache.org>
>




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


--
To unsubscribe, e-mail:   <ma...@xml.apache.org>
For additional commands, e-mail: <ma...@xml.apache.org>


--
To unsubscribe, e-mail:   <ma...@xml.apache.org>
For additional commands, e-mail: <ma...@xml.apache.org>


Re: web service with Gui

Posted by Scott Nichol <sn...@scottnichol.com>.
Sorry.  The target name for that is buildwar, so you run "ant buildwar".

Scott Nichol

----- Original Message -----
From: "Neha Srivastava" <ne...@wipro.com>
To: <so...@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" <sn...@scottnichol.com>
To: <so...@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" <ne...@wipro.com>
> To: <so...@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" <sn...@scottnichol.com>
> To: <so...@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" <ne...@wipro.com>
> > To: <so...@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" <sn...@scottnichol.com>
> > To: <so...@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" <ne...@wipro.com>
> > > To: <so...@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" <sn...@scottnichol.com>
> > > To: <so...@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" <sn...@scottnichol.com>
> > > > To: <so...@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" <sn...@scottnichol.com>
> > > > To: <so...@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" <ne...@wipro.com>
> > > > To: <so...@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" <sn...@scottnichol.com>
> > > > To: <so...@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" <ne...@wipro.com>
> > > > > To: <so...@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:
> > <ma...@xml.apache.org>
> > > > > For additional commands, e-mail:
> > <ma...@xml.apache.org>
> > > > >
> > > > >
> > > > > --
> > > > > To unsubscribe, e-mail:
> > <ma...@xml.apache.org>
> > > > > For additional commands, e-mail:
> > <ma...@xml.apache.org>
> > > > >
> > > >
> > > >
> > > >
> > > >
> > >
> >
>
> --------------------------------------------------------------------------
> > > --
> > > > ----
> > > >
> > > >
> > > > --
> > > > To unsubscribe, e-mail:
> <ma...@xml.apache.org>
> > > > For additional commands, e-mail:
> <ma...@xml.apache.org>
> > > >
> > > >
> > > > --
> > > > To unsubscribe, e-mail:
> <ma...@xml.apache.org>
> > > > For additional commands, e-mail:
> <ma...@xml.apache.org>
> > > >
> > > >
> > > >
> > > >
> > > >
> > >
> >
>
> --------------------------------------------------------------------------
> >
> > > --
> > > > ----
> > > >
> > > >
> > > > --
> > > > To unsubscribe, e-mail:
> <ma...@xml.apache.org>
> > > > For additional commands, e-mail:
> <ma...@xml.apache.org>
> > > >
> > > >
> > > > --
> > > > To unsubscribe, e-mail:
> <ma...@xml.apache.org>
> > > > For additional commands, e-mail:
> <ma...@xml.apache.org>
> > > >
> > >
> > > ----- Original Message -----
> > > From: "Scott Nichol" <sn...@scottnichol.com>
> > > To: <so...@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" <sn...@scottnichol.com>
> > > > To: <so...@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" <sn...@scottnichol.com>
> > > > To: <so...@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" <ne...@wipro.com>
> > > > To: <so...@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" <sn...@scottnichol.com>
> > > > To: <so...@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" <ne...@wipro.com>
> > > > > To: <so...@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:
> > <ma...@xml.apache.org>
> > > > > For additional commands, e-mail:
> > <ma...@xml.apache.org>
> > > > >
> > > > >
> > > > > --
> > > > > To unsubscribe, e-mail:
> > <ma...@xml.apache.org>
> > > > > For additional commands, e-mail:
> > <ma...@xml.apache.org>
> > > > >
> > > >
> > > >
> > > >
> > > >
> > >
> >
>
> --------------------------------------------------------------------------
> > > --
> > > > ----
> > > >
> > > >
> > > > --
> > > > To unsubscribe, e-mail:
> <ma...@xml.apache.org>
> > > > For additional commands, e-mail:
> <ma...@xml.apache.org>
> > > >
> > > >
> > > > --
> > > > To unsubscribe, e-mail:
> <ma...@xml.apache.org>
> > > > For additional commands, e-mail:
> <ma...@xml.apache.org>
> > > >
> > > >
> > > >
> > > >
> > > >
> > >
> >
>
> --------------------------------------------------------------------------
> > > --
> > > > ----
> > > >
> > > >
> > > > --
> > > > To unsubscribe, e-mail:
> <ma...@xml.apache.org>
> > > > For additional commands, e-mail:
> <ma...@xml.apache.org>
> > > >
> > > >
> > > > --
> > > > To unsubscribe, e-mail:
> <ma...@xml.apache.org>
> > > > For additional commands, e-mail:
> <ma...@xml.apache.org>
> > > >
> > >
> > >
> > >
> > >
> >
>
> --------------------------------------------------------------------------
> > --
> > > ----
> > >
> > >
> > > --
> > > To unsubscribe, e-mail:
<ma...@xml.apache.org>
> > > For additional commands, e-mail:
<ma...@xml.apache.org>
> > >
> > >
> > > --
> > > To unsubscribe, e-mail:
<ma...@xml.apache.org>
> > > For additional commands, e-mail:
<ma...@xml.apache.org>
> > >
> >
> >
> >
> >
>
> --------------------------------------------------------------------------
> --
> > ----
> >
> >
> > --
> > To unsubscribe, e-mail:   <ma...@xml.apache.org>
> > For additional commands, e-mail: <ma...@xml.apache.org>
> >
> >
> > --
> > To unsubscribe, e-mail:   <ma...@xml.apache.org>
> > For additional commands, e-mail: <ma...@xml.apache.org>
> >
>
>
>
>
> --------------------------------------------------------------------------
--
> ----
>
>
> --
> To unsubscribe, e-mail:   <ma...@xml.apache.org>
> For additional commands, e-mail: <ma...@xml.apache.org>
>
>
> --
> To unsubscribe, e-mail:   <ma...@xml.apache.org>
> For additional commands, e-mail: <ma...@xml.apache.org>
>




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


--
To unsubscribe, e-mail:   <ma...@xml.apache.org>
For additional commands, e-mail: <ma...@xml.apache.org>


Re: web service with Gui

Posted by Neha Srivastava <ne...@wipro.com>.

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

Thanks and regards
Neha

----- Original Message -----
From: "Scott Nichol" <sn...@scottnichol.com>
To: <so...@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" <ne...@wipro.com>
> To: <so...@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" <sn...@scottnichol.com>
> To: <so...@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" <ne...@wipro.com>
> > To: <so...@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" <sn...@scottnichol.com>
> > To: <so...@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" <ne...@wipro.com>
> > > To: <so...@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" <sn...@scottnichol.com>
> > > To: <so...@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" <sn...@scottnichol.com>
> > > > To: <so...@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" <sn...@scottnichol.com>
> > > > To: <so...@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" <ne...@wipro.com>
> > > > To: <so...@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" <sn...@scottnichol.com>
> > > > To: <so...@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" <ne...@wipro.com>
> > > > > To: <so...@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:
> > <ma...@xml.apache.org>
> > > > > For additional commands, e-mail:
> > <ma...@xml.apache.org>
> > > > >
> > > > >
> > > > > --
> > > > > To unsubscribe, e-mail:
> > <ma...@xml.apache.org>
> > > > > For additional commands, e-mail:
> > <ma...@xml.apache.org>
> > > > >
> > > >
> > > >
> > > >
> > > >
> > >
> >
>
> --------------------------------------------------------------------------
> > > --
> > > > ----
> > > >
> > > >
> > > > --
> > > > To unsubscribe, e-mail:
> <ma...@xml.apache.org>
> > > > For additional commands, e-mail:
> <ma...@xml.apache.org>
> > > >
> > > >
> > > > --
> > > > To unsubscribe, e-mail:
> <ma...@xml.apache.org>
> > > > For additional commands, e-mail:
> <ma...@xml.apache.org>
> > > >
> > > >
> > > >
> > > >
> > > >
> > >
> >
>
> --------------------------------------------------------------------------
> >
> > > --
> > > > ----
> > > >
> > > >
> > > > --
> > > > To unsubscribe, e-mail:
> <ma...@xml.apache.org>
> > > > For additional commands, e-mail:
> <ma...@xml.apache.org>
> > > >
> > > >
> > > > --
> > > > To unsubscribe, e-mail:
> <ma...@xml.apache.org>
> > > > For additional commands, e-mail:
> <ma...@xml.apache.org>
> > > >
> > >
> > > ----- Original Message -----
> > > From: "Scott Nichol" <sn...@scottnichol.com>
> > > To: <so...@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" <sn...@scottnichol.com>
> > > > To: <so...@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" <sn...@scottnichol.com>
> > > > To: <so...@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" <ne...@wipro.com>
> > > > To: <so...@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" <sn...@scottnichol.com>
> > > > To: <so...@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" <ne...@wipro.com>
> > > > > To: <so...@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:
> > <ma...@xml.apache.org>
> > > > > For additional commands, e-mail:
> > <ma...@xml.apache.org>
> > > > >
> > > > >
> > > > > --
> > > > > To unsubscribe, e-mail:
> > <ma...@xml.apache.org>
> > > > > For additional commands, e-mail:
> > <ma...@xml.apache.org>
> > > > >
> > > >
> > > >
> > > >
> > > >
> > >
> >
>
> --------------------------------------------------------------------------
> > > --
> > > > ----
> > > >
> > > >
> > > > --
> > > > To unsubscribe, e-mail:
> <ma...@xml.apache.org>
> > > > For additional commands, e-mail:
> <ma...@xml.apache.org>
> > > >
> > > >
> > > > --
> > > > To unsubscribe, e-mail:
> <ma...@xml.apache.org>
> > > > For additional commands, e-mail:
> <ma...@xml.apache.org>
> > > >
> > > >
> > > >
> > > >
> > > >
> > >
> >
>
> --------------------------------------------------------------------------
> > > --
> > > > ----
> > > >
> > > >
> > > > --
> > > > To unsubscribe, e-mail:
> <ma...@xml.apache.org>
> > > > For additional commands, e-mail:
> <ma...@xml.apache.org>
> > > >
> > > >
> > > > --
> > > > To unsubscribe, e-mail:
> <ma...@xml.apache.org>
> > > > For additional commands, e-mail:
> <ma...@xml.apache.org>
> > > >
> > >
> > >
> > >
> > >
> >
>
> --------------------------------------------------------------------------
> > --
> > > ----
> > >
> > >
> > > --
> > > To unsubscribe, e-mail:
<ma...@xml.apache.org>
> > > For additional commands, e-mail:
<ma...@xml.apache.org>
> > >
> > >
> > > --
> > > To unsubscribe, e-mail:
<ma...@xml.apache.org>
> > > For additional commands, e-mail:
<ma...@xml.apache.org>
> > >
> >
> >
> >
> >
>
> --------------------------------------------------------------------------
> --
> > ----
> >
> >
> > --
> > To unsubscribe, e-mail:   <ma...@xml.apache.org>
> > For additional commands, e-mail: <ma...@xml.apache.org>
> >
> >
> > --
> > To unsubscribe, e-mail:   <ma...@xml.apache.org>
> > For additional commands, e-mail: <ma...@xml.apache.org>
> >
>
>
>
>
> --------------------------------------------------------------------------
--
> ----
>
>
> --
> To unsubscribe, e-mail:   <ma...@xml.apache.org>
> For additional commands, e-mail: <ma...@xml.apache.org>
>
>
> --
> To unsubscribe, e-mail:   <ma...@xml.apache.org>
> For additional commands, e-mail: <ma...@xml.apache.org>
>


Re: web service with Gui

Posted by Neha Srivastava <ne...@wipro.com>.

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

Thanks and regards
Neha

----- Original Message -----
From: "Scott Nichol" <sn...@scottnichol.com>
To: <so...@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" <ne...@wipro.com>
> To: <so...@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" <sn...@scottnichol.com>
> To: <so...@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" <ne...@wipro.com>
> > To: <so...@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" <sn...@scottnichol.com>
> > To: <so...@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" <ne...@wipro.com>
> > > To: <so...@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" <sn...@scottnichol.com>
> > > To: <so...@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" <sn...@scottnichol.com>
> > > > To: <so...@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" <sn...@scottnichol.com>
> > > > To: <so...@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" <ne...@wipro.com>
> > > > To: <so...@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" <sn...@scottnichol.com>
> > > > To: <so...@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" <ne...@wipro.com>
> > > > > To: <so...@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:
> > <ma...@xml.apache.org>
> > > > > For additional commands, e-mail:
> > <ma...@xml.apache.org>
> > > > >
> > > > >
> > > > > --
> > > > > To unsubscribe, e-mail:
> > <ma...@xml.apache.org>
> > > > > For additional commands, e-mail:
> > <ma...@xml.apache.org>
> > > > >
> > > >
> > > >
> > > >
> > > >
> > >
> >
>
> --------------------------------------------------------------------------
> > > --
> > > > ----
> > > >
> > > >
> > > > --
> > > > To unsubscribe, e-mail:
> <ma...@xml.apache.org>
> > > > For additional commands, e-mail:
> <ma...@xml.apache.org>
> > > >
> > > >
> > > > --
> > > > To unsubscribe, e-mail:
> <ma...@xml.apache.org>
> > > > For additional commands, e-mail:
> <ma...@xml.apache.org>
> > > >
> > > >
> > > >
> > > >
> > > >
> > >
> >
>
> --------------------------------------------------------------------------
> >
> > > --
> > > > ----
> > > >
> > > >
> > > > --
> > > > To unsubscribe, e-mail:
> <ma...@xml.apache.org>
> > > > For additional commands, e-mail:
> <ma...@xml.apache.org>
> > > >
> > > >
> > > > --
> > > > To unsubscribe, e-mail:
> <ma...@xml.apache.org>
> > > > For additional commands, e-mail:
> <ma...@xml.apache.org>
> > > >
> > >
> > > ----- Original Message -----
> > > From: "Scott Nichol" <sn...@scottnichol.com>
> > > To: <so...@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" <sn...@scottnichol.com>
> > > > To: <so...@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" <sn...@scottnichol.com>
> > > > To: <so...@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" <ne...@wipro.com>
> > > > To: <so...@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" <sn...@scottnichol.com>
> > > > To: <so...@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" <ne...@wipro.com>
> > > > > To: <so...@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:
> > <ma...@xml.apache.org>
> > > > > For additional commands, e-mail:
> > <ma...@xml.apache.org>
> > > > >
> > > > >
> > > > > --
> > > > > To unsubscribe, e-mail:
> > <ma...@xml.apache.org>
> > > > > For additional commands, e-mail:
> > <ma...@xml.apache.org>
> > > > >
> > > >
> > > >
> > > >
> > > >
> > >
> >
>
> --------------------------------------------------------------------------
> > > --
> > > > ----
> > > >
> > > >
> > > > --
> > > > To unsubscribe, e-mail:
> <ma...@xml.apache.org>
> > > > For additional commands, e-mail:
> <ma...@xml.apache.org>
> > > >
> > > >
> > > > --
> > > > To unsubscribe, e-mail:
> <ma...@xml.apache.org>
> > > > For additional commands, e-mail:
> <ma...@xml.apache.org>
> > > >
> > > >
> > > >
> > > >
> > > >
> > >
> >
>
> --------------------------------------------------------------------------
> > > --
> > > > ----
> > > >
> > > >
> > > > --
> > > > To unsubscribe, e-mail:
> <ma...@xml.apache.org>
> > > > For additional commands, e-mail:
> <ma...@xml.apache.org>
> > > >
> > > >
> > > > --
> > > > To unsubscribe, e-mail:
> <ma...@xml.apache.org>
> > > > For additional commands, e-mail:
> <ma...@xml.apache.org>
> > > >
> > >
> > >
> > >
> > >
> >
>
> --------------------------------------------------------------------------
> > --
> > > ----
> > >
> > >
> > > --
> > > To unsubscribe, e-mail:
<ma...@xml.apache.org>
> > > For additional commands, e-mail:
<ma...@xml.apache.org>
> > >
> > >
> > > --
> > > To unsubscribe, e-mail:
<ma...@xml.apache.org>
> > > For additional commands, e-mail:
<ma...@xml.apache.org>
> > >
> >
> >
> >
> >
>
> --------------------------------------------------------------------------
> --
> > ----
> >
> >
> > --
> > To unsubscribe, e-mail:   <ma...@xml.apache.org>
> > For additional commands, e-mail: <ma...@xml.apache.org>
> >
> >
> > --
> > To unsubscribe, e-mail:   <ma...@xml.apache.org>
> > For additional commands, e-mail: <ma...@xml.apache.org>
> >
>
>
>
>
> --------------------------------------------------------------------------
--
> ----
>
>
> --
> To unsubscribe, e-mail:   <ma...@xml.apache.org>
> For additional commands, e-mail: <ma...@xml.apache.org>
>
>
> --
> To unsubscribe, e-mail:   <ma...@xml.apache.org>
> For additional commands, e-mail: <ma...@xml.apache.org>
>


Re: web service with Gui

Posted by Scott Nichol <sn...@scottnichol.com>.
You must do "ant dist" to create the soap.war file.

Scott Nichol

----- Original Message -----
From: "Neha Srivastava" <ne...@wipro.com>
To: <so...@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" <sn...@scottnichol.com>
To: <so...@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" <ne...@wipro.com>
> To: <so...@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" <sn...@scottnichol.com>
> To: <so...@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" <ne...@wipro.com>
> > To: <so...@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" <sn...@scottnichol.com>
> > To: <so...@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" <sn...@scottnichol.com>
> > > To: <so...@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" <sn...@scottnichol.com>
> > > To: <so...@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" <ne...@wipro.com>
> > > To: <so...@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" <sn...@scottnichol.com>
> > > To: <so...@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" <ne...@wipro.com>
> > > > To: <so...@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:
> <ma...@xml.apache.org>
> > > > For additional commands, e-mail:
> <ma...@xml.apache.org>
> > > >
> > > >
> > > > --
> > > > To unsubscribe, e-mail:
> <ma...@xml.apache.org>
> > > > For additional commands, e-mail:
> <ma...@xml.apache.org>
> > > >
> > >
> > >
> > >
> > >
> >
>
> --------------------------------------------------------------------------
> > --
> > > ----
> > >
> > >
> > > --
> > > To unsubscribe, e-mail:
<ma...@xml.apache.org>
> > > For additional commands, e-mail:
<ma...@xml.apache.org>
> > >
> > >
> > > --
> > > To unsubscribe, e-mail:
<ma...@xml.apache.org>
> > > For additional commands, e-mail:
<ma...@xml.apache.org>
> > >
> > >
> > >
> > >
> > >
> >
>
> --------------------------------------------------------------------------
>
> > --
> > > ----
> > >
> > >
> > > --
> > > To unsubscribe, e-mail:
<ma...@xml.apache.org>
> > > For additional commands, e-mail:
<ma...@xml.apache.org>
> > >
> > >
> > > --
> > > To unsubscribe, e-mail:
<ma...@xml.apache.org>
> > > For additional commands, e-mail:
<ma...@xml.apache.org>
> > >
> >
> > ----- Original Message -----
> > From: "Scott Nichol" <sn...@scottnichol.com>
> > To: <so...@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" <sn...@scottnichol.com>
> > > To: <so...@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" <sn...@scottnichol.com>
> > > To: <so...@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" <ne...@wipro.com>
> > > To: <so...@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" <sn...@scottnichol.com>
> > > To: <so...@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" <ne...@wipro.com>
> > > > To: <so...@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:
> <ma...@xml.apache.org>
> > > > For additional commands, e-mail:
> <ma...@xml.apache.org>
> > > >
> > > >
> > > > --
> > > > To unsubscribe, e-mail:
> <ma...@xml.apache.org>
> > > > For additional commands, e-mail:
> <ma...@xml.apache.org>
> > > >
> > >
> > >
> > >
> > >
> >
>
> --------------------------------------------------------------------------
> > --
> > > ----
> > >
> > >
> > > --
> > > To unsubscribe, e-mail:
<ma...@xml.apache.org>
> > > For additional commands, e-mail:
<ma...@xml.apache.org>
> > >
> > >
> > > --
> > > To unsubscribe, e-mail:
<ma...@xml.apache.org>
> > > For additional commands, e-mail:
<ma...@xml.apache.org>
> > >
> > >
> > >
> > >
> > >
> >
>
> --------------------------------------------------------------------------
> > --
> > > ----
> > >
> > >
> > > --
> > > To unsubscribe, e-mail:
<ma...@xml.apache.org>
> > > For additional commands, e-mail:
<ma...@xml.apache.org>
> > >
> > >
> > > --
> > > To unsubscribe, e-mail:
<ma...@xml.apache.org>
> > > For additional commands, e-mail:
<ma...@xml.apache.org>
> > >
> >
> >
> >
> >
>
> --------------------------------------------------------------------------
> --
> > ----
> >
> >
> > --
> > To unsubscribe, e-mail:   <ma...@xml.apache.org>
> > For additional commands, e-mail: <ma...@xml.apache.org>
> >
> >
> > --
> > To unsubscribe, e-mail:   <ma...@xml.apache.org>
> > For additional commands, e-mail: <ma...@xml.apache.org>
> >
>
>
>
>
> --------------------------------------------------------------------------
--
> ----
>
>
> --
> To unsubscribe, e-mail:   <ma...@xml.apache.org>
> For additional commands, e-mail: <ma...@xml.apache.org>
>
>
> --
> To unsubscribe, e-mail:   <ma...@xml.apache.org>
> For additional commands, e-mail: <ma...@xml.apache.org>
>




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


--
To unsubscribe, e-mail:   <ma...@xml.apache.org>
For additional commands, e-mail: <ma...@xml.apache.org>


Re: web service with Gui

Posted by Scott Nichol <sn...@scottnichol.com>.
You must do "ant dist" to create the soap.war file.

Scott Nichol

----- Original Message -----
From: "Neha Srivastava" <ne...@wipro.com>
To: <so...@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" <sn...@scottnichol.com>
To: <so...@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" <ne...@wipro.com>
> To: <so...@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" <sn...@scottnichol.com>
> To: <so...@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" <ne...@wipro.com>
> > To: <so...@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" <sn...@scottnichol.com>
> > To: <so...@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" <sn...@scottnichol.com>
> > > To: <so...@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" <sn...@scottnichol.com>
> > > To: <so...@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" <ne...@wipro.com>
> > > To: <so...@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" <sn...@scottnichol.com>
> > > To: <so...@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" <ne...@wipro.com>
> > > > To: <so...@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:
> <ma...@xml.apache.org>
> > > > For additional commands, e-mail:
> <ma...@xml.apache.org>
> > > >
> > > >
> > > > --
> > > > To unsubscribe, e-mail:
> <ma...@xml.apache.org>
> > > > For additional commands, e-mail:
> <ma...@xml.apache.org>
> > > >
> > >
> > >
> > >
> > >
> >
>
> --------------------------------------------------------------------------
> > --
> > > ----
> > >
> > >
> > > --
> > > To unsubscribe, e-mail:
<ma...@xml.apache.org>
> > > For additional commands, e-mail:
<ma...@xml.apache.org>
> > >
> > >
> > > --
> > > To unsubscribe, e-mail:
<ma...@xml.apache.org>
> > > For additional commands, e-mail:
<ma...@xml.apache.org>
> > >
> > >
> > >
> > >
> > >
> >
>
> --------------------------------------------------------------------------
>
> > --
> > > ----
> > >
> > >
> > > --
> > > To unsubscribe, e-mail:
<ma...@xml.apache.org>
> > > For additional commands, e-mail:
<ma...@xml.apache.org>
> > >
> > >
> > > --
> > > To unsubscribe, e-mail:
<ma...@xml.apache.org>
> > > For additional commands, e-mail:
<ma...@xml.apache.org>
> > >
> >
> > ----- Original Message -----
> > From: "Scott Nichol" <sn...@scottnichol.com>
> > To: <so...@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" <sn...@scottnichol.com>
> > > To: <so...@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" <sn...@scottnichol.com>
> > > To: <so...@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" <ne...@wipro.com>
> > > To: <so...@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" <sn...@scottnichol.com>
> > > To: <so...@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" <ne...@wipro.com>
> > > > To: <so...@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:
> <ma...@xml.apache.org>
> > > > For additional commands, e-mail:
> <ma...@xml.apache.org>
> > > >
> > > >
> > > > --
> > > > To unsubscribe, e-mail:
> <ma...@xml.apache.org>
> > > > For additional commands, e-mail:
> <ma...@xml.apache.org>
> > > >
> > >
> > >
> > >
> > >
> >
>
> --------------------------------------------------------------------------
> > --
> > > ----
> > >
> > >
> > > --
> > > To unsubscribe, e-mail:
<ma...@xml.apache.org>
> > > For additional commands, e-mail:
<ma...@xml.apache.org>
> > >
> > >
> > > --
> > > To unsubscribe, e-mail:
<ma...@xml.apache.org>
> > > For additional commands, e-mail:
<ma...@xml.apache.org>
> > >
> > >
> > >
> > >
> > >
> >
>
> --------------------------------------------------------------------------
> > --
> > > ----
> > >
> > >
> > > --
> > > To unsubscribe, e-mail:
<ma...@xml.apache.org>
> > > For additional commands, e-mail:
<ma...@xml.apache.org>
> > >
> > >
> > > --
> > > To unsubscribe, e-mail:
<ma...@xml.apache.org>
> > > For additional commands, e-mail:
<ma...@xml.apache.org>
> > >
> >
> >
> >
> >
>
> --------------------------------------------------------------------------
> --
> > ----
> >
> >
> > --
> > To unsubscribe, e-mail:   <ma...@xml.apache.org>
> > For additional commands, e-mail: <ma...@xml.apache.org>
> >
> >
> > --
> > To unsubscribe, e-mail:   <ma...@xml.apache.org>
> > For additional commands, e-mail: <ma...@xml.apache.org>
> >
>
>
>
>
> --------------------------------------------------------------------------
--
> ----
>
>
> --
> To unsubscribe, e-mail:   <ma...@xml.apache.org>
> For additional commands, e-mail: <ma...@xml.apache.org>
>
>
> --
> To unsubscribe, e-mail:   <ma...@xml.apache.org>
> For additional commands, e-mail: <ma...@xml.apache.org>
>




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


--
To unsubscribe, e-mail:   <ma...@xml.apache.org>
For additional commands, e-mail: <ma...@xml.apache.org>


--
To unsubscribe, e-mail:   <ma...@xml.apache.org>
For additional commands, e-mail: <ma...@xml.apache.org>


Re: web service with Gui

Posted by Neha Srivastava <ne...@wipro.com>.
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" <sn...@scottnichol.com>
To: <so...@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" <ne...@wipro.com>
> To: <so...@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" <sn...@scottnichol.com>
> To: <so...@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" <ne...@wipro.com>
> > To: <so...@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" <sn...@scottnichol.com>
> > To: <so...@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" <sn...@scottnichol.com>
> > > To: <so...@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" <sn...@scottnichol.com>
> > > To: <so...@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" <ne...@wipro.com>
> > > To: <so...@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" <sn...@scottnichol.com>
> > > To: <so...@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" <ne...@wipro.com>
> > > > To: <so...@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:
> <ma...@xml.apache.org>
> > > > For additional commands, e-mail:
> <ma...@xml.apache.org>
> > > >
> > > >
> > > > --
> > > > To unsubscribe, e-mail:
> <ma...@xml.apache.org>
> > > > For additional commands, e-mail:
> <ma...@xml.apache.org>
> > > >
> > >
> > >
> > >
> > >
> >
>
> --------------------------------------------------------------------------
> > --
> > > ----
> > >
> > >
> > > --
> > > To unsubscribe, e-mail:
<ma...@xml.apache.org>
> > > For additional commands, e-mail:
<ma...@xml.apache.org>
> > >
> > >
> > > --
> > > To unsubscribe, e-mail:
<ma...@xml.apache.org>
> > > For additional commands, e-mail:
<ma...@xml.apache.org>
> > >
> > >
> > >
> > >
> > >
> >
>
> --------------------------------------------------------------------------
>
> > --
> > > ----
> > >
> > >
> > > --
> > > To unsubscribe, e-mail:
<ma...@xml.apache.org>
> > > For additional commands, e-mail:
<ma...@xml.apache.org>
> > >
> > >
> > > --
> > > To unsubscribe, e-mail:
<ma...@xml.apache.org>
> > > For additional commands, e-mail:
<ma...@xml.apache.org>
> > >
> >
> > ----- Original Message -----
> > From: "Scott Nichol" <sn...@scottnichol.com>
> > To: <so...@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" <sn...@scottnichol.com>
> > > To: <so...@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" <sn...@scottnichol.com>
> > > To: <so...@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" <ne...@wipro.com>
> > > To: <so...@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" <sn...@scottnichol.com>
> > > To: <so...@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" <ne...@wipro.com>
> > > > To: <so...@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:
> <ma...@xml.apache.org>
> > > > For additional commands, e-mail:
> <ma...@xml.apache.org>
> > > >
> > > >
> > > > --
> > > > To unsubscribe, e-mail:
> <ma...@xml.apache.org>
> > > > For additional commands, e-mail:
> <ma...@xml.apache.org>
> > > >
> > >
> > >
> > >
> > >
> >
>
> --------------------------------------------------------------------------
> > --
> > > ----
> > >
> > >
> > > --
> > > To unsubscribe, e-mail:
<ma...@xml.apache.org>
> > > For additional commands, e-mail:
<ma...@xml.apache.org>
> > >
> > >
> > > --
> > > To unsubscribe, e-mail:
<ma...@xml.apache.org>
> > > For additional commands, e-mail:
<ma...@xml.apache.org>
> > >
> > >
> > >
> > >
> > >
> >
>
> --------------------------------------------------------------------------
> > --
> > > ----
> > >
> > >
> > > --
> > > To unsubscribe, e-mail:
<ma...@xml.apache.org>
> > > For additional commands, e-mail:
<ma...@xml.apache.org>
> > >
> > >
> > > --
> > > To unsubscribe, e-mail:
<ma...@xml.apache.org>
> > > For additional commands, e-mail:
<ma...@xml.apache.org>
> > >
> >
> >
> >
> >
>
> --------------------------------------------------------------------------
> --
> > ----
> >
> >
> > --
> > To unsubscribe, e-mail:   <ma...@xml.apache.org>
> > For additional commands, e-mail: <ma...@xml.apache.org>
> >
> >
> > --
> > To unsubscribe, e-mail:   <ma...@xml.apache.org>
> > For additional commands, e-mail: <ma...@xml.apache.org>
> >
>
>
>
>
> --------------------------------------------------------------------------
--
> ----
>
>
> --
> To unsubscribe, e-mail:   <ma...@xml.apache.org>
> For additional commands, e-mail: <ma...@xml.apache.org>
>
>
> --
> To unsubscribe, e-mail:   <ma...@xml.apache.org>
> For additional commands, e-mail: <ma...@xml.apache.org>
>


Re: web service with Gui

Posted by Neha Srivastava <ne...@wipro.com>.
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" <sn...@scottnichol.com>
To: <so...@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" <ne...@wipro.com>
> To: <so...@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" <sn...@scottnichol.com>
> To: <so...@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" <ne...@wipro.com>
> > To: <so...@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" <sn...@scottnichol.com>
> > To: <so...@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" <sn...@scottnichol.com>
> > > To: <so...@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" <sn...@scottnichol.com>
> > > To: <so...@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" <ne...@wipro.com>
> > > To: <so...@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" <sn...@scottnichol.com>
> > > To: <so...@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" <ne...@wipro.com>
> > > > To: <so...@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:
> <ma...@xml.apache.org>
> > > > For additional commands, e-mail:
> <ma...@xml.apache.org>
> > > >
> > > >
> > > > --
> > > > To unsubscribe, e-mail:
> <ma...@xml.apache.org>
> > > > For additional commands, e-mail:
> <ma...@xml.apache.org>
> > > >
> > >
> > >
> > >
> > >
> >
>
> --------------------------------------------------------------------------
> > --
> > > ----
> > >
> > >
> > > --
> > > To unsubscribe, e-mail:
<ma...@xml.apache.org>
> > > For additional commands, e-mail:
<ma...@xml.apache.org>
> > >
> > >
> > > --
> > > To unsubscribe, e-mail:
<ma...@xml.apache.org>
> > > For additional commands, e-mail:
<ma...@xml.apache.org>
> > >
> > >
> > >
> > >
> > >
> >
>
> --------------------------------------------------------------------------
>
> > --
> > > ----
> > >
> > >
> > > --
> > > To unsubscribe, e-mail:
<ma...@xml.apache.org>
> > > For additional commands, e-mail:
<ma...@xml.apache.org>
> > >
> > >
> > > --
> > > To unsubscribe, e-mail:
<ma...@xml.apache.org>
> > > For additional commands, e-mail:
<ma...@xml.apache.org>
> > >
> >
> > ----- Original Message -----
> > From: "Scott Nichol" <sn...@scottnichol.com>
> > To: <so...@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" <sn...@scottnichol.com>
> > > To: <so...@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" <sn...@scottnichol.com>
> > > To: <so...@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" <ne...@wipro.com>
> > > To: <so...@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" <sn...@scottnichol.com>
> > > To: <so...@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" <ne...@wipro.com>
> > > > To: <so...@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:
> <ma...@xml.apache.org>
> > > > For additional commands, e-mail:
> <ma...@xml.apache.org>
> > > >
> > > >
> > > > --
> > > > To unsubscribe, e-mail:
> <ma...@xml.apache.org>
> > > > For additional commands, e-mail:
> <ma...@xml.apache.org>
> > > >
> > >
> > >
> > >
> > >
> >
>
> --------------------------------------------------------------------------
> > --
> > > ----
> > >
> > >
> > > --
> > > To unsubscribe, e-mail:
<ma...@xml.apache.org>
> > > For additional commands, e-mail:
<ma...@xml.apache.org>
> > >
> > >
> > > --
> > > To unsubscribe, e-mail:
<ma...@xml.apache.org>
> > > For additional commands, e-mail:
<ma...@xml.apache.org>
> > >
> > >
> > >
> > >
> > >
> >
>
> --------------------------------------------------------------------------
> > --
> > > ----
> > >
> > >
> > > --
> > > To unsubscribe, e-mail:
<ma...@xml.apache.org>
> > > For additional commands, e-mail:
<ma...@xml.apache.org>
> > >
> > >
> > > --
> > > To unsubscribe, e-mail:
<ma...@xml.apache.org>
> > > For additional commands, e-mail:
<ma...@xml.apache.org>
> > >
> >
> >
> >
> >
>
> --------------------------------------------------------------------------
> --
> > ----
> >
> >
> > --
> > To unsubscribe, e-mail:   <ma...@xml.apache.org>
> > For additional commands, e-mail: <ma...@xml.apache.org>
> >
> >
> > --
> > To unsubscribe, e-mail:   <ma...@xml.apache.org>
> > For additional commands, e-mail: <ma...@xml.apache.org>
> >
>
>
>
>
> --------------------------------------------------------------------------
--
> ----
>
>
> --
> To unsubscribe, e-mail:   <ma...@xml.apache.org>
> For additional commands, e-mail: <ma...@xml.apache.org>
>
>
> --
> To unsubscribe, e-mail:   <ma...@xml.apache.org>
> For additional commands, e-mail: <ma...@xml.apache.org>
>


Re: web service with Gui

Posted by Scott Nichol <sn...@scottnichol.com>.
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" <ne...@wipro.com>
To: <so...@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" <sn...@scottnichol.com>
To: <so...@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" <ne...@wipro.com>
> To: <so...@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" <sn...@scottnichol.com>
> To: <so...@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" <sn...@scottnichol.com>
> > To: <so...@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" <sn...@scottnichol.com>
> > To: <so...@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" <ne...@wipro.com>
> > To: <so...@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" <sn...@scottnichol.com>
> > To: <so...@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" <ne...@wipro.com>
> > > To: <so...@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:
<ma...@xml.apache.org>
> > > For additional commands, e-mail:
<ma...@xml.apache.org>
> > >
> > >
> > > --
> > > To unsubscribe, e-mail:
<ma...@xml.apache.org>
> > > For additional commands, e-mail:
<ma...@xml.apache.org>
> > >
> >
> >
> >
> >
>
> --------------------------------------------------------------------------
> --
> > ----
> >
> >
> > --
> > To unsubscribe, e-mail:   <ma...@xml.apache.org>
> > For additional commands, e-mail: <ma...@xml.apache.org>
> >
> >
> > --
> > To unsubscribe, e-mail:   <ma...@xml.apache.org>
> > For additional commands, e-mail: <ma...@xml.apache.org>
> >
> >
> >
> >
> >
>
> --------------------------------------------------------------------------

> --
> > ----
> >
> >
> > --
> > To unsubscribe, e-mail:   <ma...@xml.apache.org>
> > For additional commands, e-mail: <ma...@xml.apache.org>
> >
> >
> > --
> > To unsubscribe, e-mail:   <ma...@xml.apache.org>
> > For additional commands, e-mail: <ma...@xml.apache.org>
> >
>
> ----- Original Message -----
> From: "Scott Nichol" <sn...@scottnichol.com>
> To: <so...@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" <sn...@scottnichol.com>
> > To: <so...@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" <sn...@scottnichol.com>
> > To: <so...@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" <ne...@wipro.com>
> > To: <so...@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" <sn...@scottnichol.com>
> > To: <so...@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" <ne...@wipro.com>
> > > To: <so...@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:
<ma...@xml.apache.org>
> > > For additional commands, e-mail:
<ma...@xml.apache.org>
> > >
> > >
> > > --
> > > To unsubscribe, e-mail:
<ma...@xml.apache.org>
> > > For additional commands, e-mail:
<ma...@xml.apache.org>
> > >
> >
> >
> >
> >
>
> --------------------------------------------------------------------------
> --
> > ----
> >
> >
> > --
> > To unsubscribe, e-mail:   <ma...@xml.apache.org>
> > For additional commands, e-mail: <ma...@xml.apache.org>
> >
> >
> > --
> > To unsubscribe, e-mail:   <ma...@xml.apache.org>
> > For additional commands, e-mail: <ma...@xml.apache.org>
> >
> >
> >
> >
> >
>
> --------------------------------------------------------------------------
> --
> > ----
> >
> >
> > --
> > To unsubscribe, e-mail:   <ma...@xml.apache.org>
> > For additional commands, e-mail: <ma...@xml.apache.org>
> >
> >
> > --
> > To unsubscribe, e-mail:   <ma...@xml.apache.org>
> > For additional commands, e-mail: <ma...@xml.apache.org>
> >
>
>
>
>
> --------------------------------------------------------------------------
--
> ----
>
>
> --
> To unsubscribe, e-mail:   <ma...@xml.apache.org>
> For additional commands, e-mail: <ma...@xml.apache.org>
>
>
> --
> To unsubscribe, e-mail:   <ma...@xml.apache.org>
> For additional commands, e-mail: <ma...@xml.apache.org>
>




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


--
To unsubscribe, e-mail:   <ma...@xml.apache.org>
For additional commands, e-mail: <ma...@xml.apache.org>


Re: web service with Gui

Posted by Scott Nichol <sn...@scottnichol.com>.
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" <ne...@wipro.com>
To: <so...@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" <sn...@scottnichol.com>
To: <so...@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" <ne...@wipro.com>
> To: <so...@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" <sn...@scottnichol.com>
> To: <so...@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" <sn...@scottnichol.com>
> > To: <so...@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" <sn...@scottnichol.com>
> > To: <so...@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" <ne...@wipro.com>
> > To: <so...@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" <sn...@scottnichol.com>
> > To: <so...@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" <ne...@wipro.com>
> > > To: <so...@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:
<ma...@xml.apache.org>
> > > For additional commands, e-mail:
<ma...@xml.apache.org>
> > >
> > >
> > > --
> > > To unsubscribe, e-mail:
<ma...@xml.apache.org>
> > > For additional commands, e-mail:
<ma...@xml.apache.org>
> > >
> >
> >
> >
> >
>
> --------------------------------------------------------------------------
> --
> > ----
> >
> >
> > --
> > To unsubscribe, e-mail:   <ma...@xml.apache.org>
> > For additional commands, e-mail: <ma...@xml.apache.org>
> >
> >
> > --
> > To unsubscribe, e-mail:   <ma...@xml.apache.org>
> > For additional commands, e-mail: <ma...@xml.apache.org>
> >
> >
> >
> >
> >
>
> --------------------------------------------------------------------------

> --
> > ----
> >
> >
> > --
> > To unsubscribe, e-mail:   <ma...@xml.apache.org>
> > For additional commands, e-mail: <ma...@xml.apache.org>
> >
> >
> > --
> > To unsubscribe, e-mail:   <ma...@xml.apache.org>
> > For additional commands, e-mail: <ma...@xml.apache.org>
> >
>
> ----- Original Message -----
> From: "Scott Nichol" <sn...@scottnichol.com>
> To: <so...@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" <sn...@scottnichol.com>
> > To: <so...@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" <sn...@scottnichol.com>
> > To: <so...@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" <ne...@wipro.com>
> > To: <so...@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" <sn...@scottnichol.com>
> > To: <so...@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" <ne...@wipro.com>
> > > To: <so...@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:
<ma...@xml.apache.org>
> > > For additional commands, e-mail:
<ma...@xml.apache.org>
> > >
> > >
> > > --
> > > To unsubscribe, e-mail:
<ma...@xml.apache.org>
> > > For additional commands, e-mail:
<ma...@xml.apache.org>
> > >
> >
> >
> >
> >
>
> --------------------------------------------------------------------------
> --
> > ----
> >
> >
> > --
> > To unsubscribe, e-mail:   <ma...@xml.apache.org>
> > For additional commands, e-mail: <ma...@xml.apache.org>
> >
> >
> > --
> > To unsubscribe, e-mail:   <ma...@xml.apache.org>
> > For additional commands, e-mail: <ma...@xml.apache.org>
> >
> >
> >
> >
> >
>
> --------------------------------------------------------------------------
> --
> > ----
> >
> >
> > --
> > To unsubscribe, e-mail:   <ma...@xml.apache.org>
> > For additional commands, e-mail: <ma...@xml.apache.org>
> >
> >
> > --
> > To unsubscribe, e-mail:   <ma...@xml.apache.org>
> > For additional commands, e-mail: <ma...@xml.apache.org>
> >
>
>
>
>
> --------------------------------------------------------------------------
--
> ----
>
>
> --
> To unsubscribe, e-mail:   <ma...@xml.apache.org>
> For additional commands, e-mail: <ma...@xml.apache.org>
>
>
> --
> To unsubscribe, e-mail:   <ma...@xml.apache.org>
> For additional commands, e-mail: <ma...@xml.apache.org>
>




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


--
To unsubscribe, e-mail:   <ma...@xml.apache.org>
For additional commands, e-mail: <ma...@xml.apache.org>


--
To unsubscribe, e-mail:   <ma...@xml.apache.org>
For additional commands, e-mail: <ma...@xml.apache.org>


Re: web service with Gui

Posted by Neha Srivastava <ne...@wipro.com>.
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" <sn...@scottnichol.com>
To: <so...@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" <ne...@wipro.com>
> To: <so...@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" <sn...@scottnichol.com>
> To: <so...@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" <sn...@scottnichol.com>
> > To: <so...@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" <sn...@scottnichol.com>
> > To: <so...@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" <ne...@wipro.com>
> > To: <so...@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" <sn...@scottnichol.com>
> > To: <so...@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" <ne...@wipro.com>
> > > To: <so...@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:
<ma...@xml.apache.org>
> > > For additional commands, e-mail:
<ma...@xml.apache.org>
> > >
> > >
> > > --
> > > To unsubscribe, e-mail:
<ma...@xml.apache.org>
> > > For additional commands, e-mail:
<ma...@xml.apache.org>
> > >
> >
> >
> >
> >
>
> --------------------------------------------------------------------------
> --
> > ----
> >
> >
> > --
> > To unsubscribe, e-mail:   <ma...@xml.apache.org>
> > For additional commands, e-mail: <ma...@xml.apache.org>
> >
> >
> > --
> > To unsubscribe, e-mail:   <ma...@xml.apache.org>
> > For additional commands, e-mail: <ma...@xml.apache.org>
> >
> >
> >
> >
> >
>
> --------------------------------------------------------------------------

> --
> > ----
> >
> >
> > --
> > To unsubscribe, e-mail:   <ma...@xml.apache.org>
> > For additional commands, e-mail: <ma...@xml.apache.org>
> >
> >
> > --
> > To unsubscribe, e-mail:   <ma...@xml.apache.org>
> > For additional commands, e-mail: <ma...@xml.apache.org>
> >
>
> ----- Original Message -----
> From: "Scott Nichol" <sn...@scottnichol.com>
> To: <so...@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" <sn...@scottnichol.com>
> > To: <so...@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" <sn...@scottnichol.com>
> > To: <so...@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" <ne...@wipro.com>
> > To: <so...@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" <sn...@scottnichol.com>
> > To: <so...@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" <ne...@wipro.com>
> > > To: <so...@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:
<ma...@xml.apache.org>
> > > For additional commands, e-mail:
<ma...@xml.apache.org>
> > >
> > >
> > > --
> > > To unsubscribe, e-mail:
<ma...@xml.apache.org>
> > > For additional commands, e-mail:
<ma...@xml.apache.org>
> > >
> >
> >
> >
> >
>
> --------------------------------------------------------------------------
> --
> > ----
> >
> >
> > --
> > To unsubscribe, e-mail:   <ma...@xml.apache.org>
> > For additional commands, e-mail: <ma...@xml.apache.org>
> >
> >
> > --
> > To unsubscribe, e-mail:   <ma...@xml.apache.org>
> > For additional commands, e-mail: <ma...@xml.apache.org>
> >
> >
> >
> >
> >
>
> --------------------------------------------------------------------------
> --
> > ----
> >
> >
> > --
> > To unsubscribe, e-mail:   <ma...@xml.apache.org>
> > For additional commands, e-mail: <ma...@xml.apache.org>
> >
> >
> > --
> > To unsubscribe, e-mail:   <ma...@xml.apache.org>
> > For additional commands, e-mail: <ma...@xml.apache.org>
> >
>
>
>
>
> --------------------------------------------------------------------------
--
> ----
>
>
> --
> To unsubscribe, e-mail:   <ma...@xml.apache.org>
> For additional commands, e-mail: <ma...@xml.apache.org>
>
>
> --
> To unsubscribe, e-mail:   <ma...@xml.apache.org>
> For additional commands, e-mail: <ma...@xml.apache.org>
>


Re: web service with Gui

Posted by Neha Srivastava <ne...@wipro.com>.
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" <sn...@scottnichol.com>
To: <so...@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" <ne...@wipro.com>
> To: <so...@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" <sn...@scottnichol.com>
> To: <so...@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" <sn...@scottnichol.com>
> > To: <so...@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" <sn...@scottnichol.com>
> > To: <so...@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" <ne...@wipro.com>
> > To: <so...@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" <sn...@scottnichol.com>
> > To: <so...@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" <ne...@wipro.com>
> > > To: <so...@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:
<ma...@xml.apache.org>
> > > For additional commands, e-mail:
<ma...@xml.apache.org>
> > >
> > >
> > > --
> > > To unsubscribe, e-mail:
<ma...@xml.apache.org>
> > > For additional commands, e-mail:
<ma...@xml.apache.org>
> > >
> >
> >
> >
> >
>
> --------------------------------------------------------------------------
> --
> > ----
> >
> >
> > --
> > To unsubscribe, e-mail:   <ma...@xml.apache.org>
> > For additional commands, e-mail: <ma...@xml.apache.org>
> >
> >
> > --
> > To unsubscribe, e-mail:   <ma...@xml.apache.org>
> > For additional commands, e-mail: <ma...@xml.apache.org>
> >
> >
> >
> >
> >
>
> --------------------------------------------------------------------------

> --
> > ----
> >
> >
> > --
> > To unsubscribe, e-mail:   <ma...@xml.apache.org>
> > For additional commands, e-mail: <ma...@xml.apache.org>
> >
> >
> > --
> > To unsubscribe, e-mail:   <ma...@xml.apache.org>
> > For additional commands, e-mail: <ma...@xml.apache.org>
> >
>
> ----- Original Message -----
> From: "Scott Nichol" <sn...@scottnichol.com>
> To: <so...@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" <sn...@scottnichol.com>
> > To: <so...@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" <sn...@scottnichol.com>
> > To: <so...@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" <ne...@wipro.com>
> > To: <so...@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" <sn...@scottnichol.com>
> > To: <so...@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" <ne...@wipro.com>
> > > To: <so...@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:
<ma...@xml.apache.org>
> > > For additional commands, e-mail:
<ma...@xml.apache.org>
> > >
> > >
> > > --
> > > To unsubscribe, e-mail:
<ma...@xml.apache.org>
> > > For additional commands, e-mail:
<ma...@xml.apache.org>
> > >
> >
> >
> >
> >
>
> --------------------------------------------------------------------------
> --
> > ----
> >
> >
> > --
> > To unsubscribe, e-mail:   <ma...@xml.apache.org>
> > For additional commands, e-mail: <ma...@xml.apache.org>
> >
> >
> > --
> > To unsubscribe, e-mail:   <ma...@xml.apache.org>
> > For additional commands, e-mail: <ma...@xml.apache.org>
> >
> >
> >
> >
> >
>
> --------------------------------------------------------------------------
> --
> > ----
> >
> >
> > --
> > To unsubscribe, e-mail:   <ma...@xml.apache.org>
> > For additional commands, e-mail: <ma...@xml.apache.org>
> >
> >
> > --
> > To unsubscribe, e-mail:   <ma...@xml.apache.org>
> > For additional commands, e-mail: <ma...@xml.apache.org>
> >
>
>
>
>
> --------------------------------------------------------------------------
--
> ----
>
>
> --
> To unsubscribe, e-mail:   <ma...@xml.apache.org>
> For additional commands, e-mail: <ma...@xml.apache.org>
>
>
> --
> To unsubscribe, e-mail:   <ma...@xml.apache.org>
> For additional commands, e-mail: <ma...@xml.apache.org>
>


Re: web service with Gui

Posted by Scott Nichol <sn...@scottnichol.com>.
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" <ne...@wipro.com>
To: <so...@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" <sn...@scottnichol.com>
To: <so...@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" <sn...@scottnichol.com>
> To: <so...@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" <sn...@scottnichol.com>
> To: <so...@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" <ne...@wipro.com>
> To: <so...@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" <sn...@scottnichol.com>
> To: <so...@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" <ne...@wipro.com>
> > To: <so...@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:   <ma...@xml.apache.org>
> > For additional commands, e-mail: <ma...@xml.apache.org>
> >
> >
> > --
> > To unsubscribe, e-mail:   <ma...@xml.apache.org>
> > For additional commands, e-mail: <ma...@xml.apache.org>
> >
>
>
>
>
> --------------------------------------------------------------------------
--
> ----
>
>
> --
> To unsubscribe, e-mail:   <ma...@xml.apache.org>
> For additional commands, e-mail: <ma...@xml.apache.org>
>
>
> --
> To unsubscribe, e-mail:   <ma...@xml.apache.org>
> For additional commands, e-mail: <ma...@xml.apache.org>
>
>
>
>
>
> --------------------------------------------------------------------------
--
> ----
>
>
> --
> To unsubscribe, e-mail:   <ma...@xml.apache.org>
> For additional commands, e-mail: <ma...@xml.apache.org>
>
>
> --
> To unsubscribe, e-mail:   <ma...@xml.apache.org>
> For additional commands, e-mail: <ma...@xml.apache.org>
>

----- Original Message -----
From: "Scott Nichol" <sn...@scottnichol.com>
To: <so...@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" <sn...@scottnichol.com>
> To: <so...@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" <sn...@scottnichol.com>
> To: <so...@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" <ne...@wipro.com>
> To: <so...@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" <sn...@scottnichol.com>
> To: <so...@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" <ne...@wipro.com>
> > To: <so...@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:   <ma...@xml.apache.org>
> > For additional commands, e-mail: <ma...@xml.apache.org>
> >
> >
> > --
> > To unsubscribe, e-mail:   <ma...@xml.apache.org>
> > For additional commands, e-mail: <ma...@xml.apache.org>
> >
>
>
>
>
> --------------------------------------------------------------------------
--
> ----
>
>
> --
> To unsubscribe, e-mail:   <ma...@xml.apache.org>
> For additional commands, e-mail: <ma...@xml.apache.org>
>
>
> --
> To unsubscribe, e-mail:   <ma...@xml.apache.org>
> For additional commands, e-mail: <ma...@xml.apache.org>
>
>
>
>
>
> --------------------------------------------------------------------------
--
> ----
>
>
> --
> To unsubscribe, e-mail:   <ma...@xml.apache.org>
> For additional commands, e-mail: <ma...@xml.apache.org>
>
>
> --
> To unsubscribe, e-mail:   <ma...@xml.apache.org>
> For additional commands, e-mail: <ma...@xml.apache.org>
>




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


--
To unsubscribe, e-mail:   <ma...@xml.apache.org>
For additional commands, e-mail: <ma...@xml.apache.org>


--
To unsubscribe, e-mail:   <ma...@xml.apache.org>
For additional commands, e-mail: <ma...@xml.apache.org>


Re: web service with Gui

Posted by Scott Nichol <sn...@scottnichol.com>.
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" <ne...@wipro.com>
To: <so...@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" <sn...@scottnichol.com>
To: <so...@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" <sn...@scottnichol.com>
> To: <so...@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" <sn...@scottnichol.com>
> To: <so...@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" <ne...@wipro.com>
> To: <so...@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" <sn...@scottnichol.com>
> To: <so...@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" <ne...@wipro.com>
> > To: <so...@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:   <ma...@xml.apache.org>
> > For additional commands, e-mail: <ma...@xml.apache.org>
> >
> >
> > --
> > To unsubscribe, e-mail:   <ma...@xml.apache.org>
> > For additional commands, e-mail: <ma...@xml.apache.org>
> >
>
>
>
>
> --------------------------------------------------------------------------
--
> ----
>
>
> --
> To unsubscribe, e-mail:   <ma...@xml.apache.org>
> For additional commands, e-mail: <ma...@xml.apache.org>
>
>
> --
> To unsubscribe, e-mail:   <ma...@xml.apache.org>
> For additional commands, e-mail: <ma...@xml.apache.org>
>
>
>
>
>
> --------------------------------------------------------------------------
--
> ----
>
>
> --
> To unsubscribe, e-mail:   <ma...@xml.apache.org>
> For additional commands, e-mail: <ma...@xml.apache.org>
>
>
> --
> To unsubscribe, e-mail:   <ma...@xml.apache.org>
> For additional commands, e-mail: <ma...@xml.apache.org>
>

----- Original Message -----
From: "Scott Nichol" <sn...@scottnichol.com>
To: <so...@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" <sn...@scottnichol.com>
> To: <so...@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" <sn...@scottnichol.com>
> To: <so...@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" <ne...@wipro.com>
> To: <so...@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" <sn...@scottnichol.com>
> To: <so...@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" <ne...@wipro.com>
> > To: <so...@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:   <ma...@xml.apache.org>
> > For additional commands, e-mail: <ma...@xml.apache.org>
> >
> >
> > --
> > To unsubscribe, e-mail:   <ma...@xml.apache.org>
> > For additional commands, e-mail: <ma...@xml.apache.org>
> >
>
>
>
>
> --------------------------------------------------------------------------
--
> ----
>
>
> --
> To unsubscribe, e-mail:   <ma...@xml.apache.org>
> For additional commands, e-mail: <ma...@xml.apache.org>
>
>
> --
> To unsubscribe, e-mail:   <ma...@xml.apache.org>
> For additional commands, e-mail: <ma...@xml.apache.org>
>
>
>
>
>
> --------------------------------------------------------------------------
--
> ----
>
>
> --
> To unsubscribe, e-mail:   <ma...@xml.apache.org>
> For additional commands, e-mail: <ma...@xml.apache.org>
>
>
> --
> To unsubscribe, e-mail:   <ma...@xml.apache.org>
> For additional commands, e-mail: <ma...@xml.apache.org>
>




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


--
To unsubscribe, e-mail:   <ma...@xml.apache.org>
For additional commands, e-mail: <ma...@xml.apache.org>


Re: web service with Gui

Posted by Neha Srivastava <ne...@wipro.com>.
hi,

Is this bcz of http proxy?
then why only stockquote service is not wrkng?

thanks and regards
neha




----- Original Message -----
From: "Scott Nichol" <sn...@scottnichol.com>
To: <so...@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" <sn...@scottnichol.com>
> To: <so...@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" <sn...@scottnichol.com>
> To: <so...@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" <ne...@wipro.com>
> To: <so...@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" <sn...@scottnichol.com>
> To: <so...@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" <ne...@wipro.com>
> > To: <so...@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:   <ma...@xml.apache.org>
> > For additional commands, e-mail: <ma...@xml.apache.org>
> >
> >
> > --
> > To unsubscribe, e-mail:   <ma...@xml.apache.org>
> > For additional commands, e-mail: <ma...@xml.apache.org>
> >
>
>
>
>
> --------------------------------------------------------------------------
--
> ----
>
>
> --
> To unsubscribe, e-mail:   <ma...@xml.apache.org>
> For additional commands, e-mail: <ma...@xml.apache.org>
>
>
> --
> To unsubscribe, e-mail:   <ma...@xml.apache.org>
> For additional commands, e-mail: <ma...@xml.apache.org>
>
>
>
>
>
> --------------------------------------------------------------------------
--
> ----
>
>
> --
> To unsubscribe, e-mail:   <ma...@xml.apache.org>
> For additional commands, e-mail: <ma...@xml.apache.org>
>
>
> --
> To unsubscribe, e-mail:   <ma...@xml.apache.org>
> For additional commands, e-mail: <ma...@xml.apache.org>
>

----- Original Message -----
From: "Scott Nichol" <sn...@scottnichol.com>
To: <so...@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" <sn...@scottnichol.com>
> To: <so...@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" <sn...@scottnichol.com>
> To: <so...@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" <ne...@wipro.com>
> To: <so...@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" <sn...@scottnichol.com>
> To: <so...@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" <ne...@wipro.com>
> > To: <so...@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:   <ma...@xml.apache.org>
> > For additional commands, e-mail: <ma...@xml.apache.org>
> >
> >
> > --
> > To unsubscribe, e-mail:   <ma...@xml.apache.org>
> > For additional commands, e-mail: <ma...@xml.apache.org>
> >
>
>
>
>
> --------------------------------------------------------------------------
--
> ----
>
>
> --
> To unsubscribe, e-mail:   <ma...@xml.apache.org>
> For additional commands, e-mail: <ma...@xml.apache.org>
>
>
> --
> To unsubscribe, e-mail:   <ma...@xml.apache.org>
> For additional commands, e-mail: <ma...@xml.apache.org>
>
>
>
>
>
> --------------------------------------------------------------------------
--
> ----
>
>
> --
> To unsubscribe, e-mail:   <ma...@xml.apache.org>
> For additional commands, e-mail: <ma...@xml.apache.org>
>
>
> --
> To unsubscribe, e-mail:   <ma...@xml.apache.org>
> For additional commands, e-mail: <ma...@xml.apache.org>
>


Re: web service with Gui

Posted by Neha Srivastava <ne...@wipro.com>.
hi,

Is this bcz of http proxy?
then why only stockquote service is not wrkng?

thanks and regards
neha




----- Original Message -----
From: "Scott Nichol" <sn...@scottnichol.com>
To: <so...@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" <sn...@scottnichol.com>
> To: <so...@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" <sn...@scottnichol.com>
> To: <so...@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" <ne...@wipro.com>
> To: <so...@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" <sn...@scottnichol.com>
> To: <so...@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" <ne...@wipro.com>
> > To: <so...@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:   <ma...@xml.apache.org>
> > For additional commands, e-mail: <ma...@xml.apache.org>
> >
> >
> > --
> > To unsubscribe, e-mail:   <ma...@xml.apache.org>
> > For additional commands, e-mail: <ma...@xml.apache.org>
> >
>
>
>
>
> --------------------------------------------------------------------------
--
> ----
>
>
> --
> To unsubscribe, e-mail:   <ma...@xml.apache.org>
> For additional commands, e-mail: <ma...@xml.apache.org>
>
>
> --
> To unsubscribe, e-mail:   <ma...@xml.apache.org>
> For additional commands, e-mail: <ma...@xml.apache.org>
>
>
>
>
>
> --------------------------------------------------------------------------
--
> ----
>
>
> --
> To unsubscribe, e-mail:   <ma...@xml.apache.org>
> For additional commands, e-mail: <ma...@xml.apache.org>
>
>
> --
> To unsubscribe, e-mail:   <ma...@xml.apache.org>
> For additional commands, e-mail: <ma...@xml.apache.org>
>

----- Original Message -----
From: "Scott Nichol" <sn...@scottnichol.com>
To: <so...@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" <sn...@scottnichol.com>
> To: <so...@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" <sn...@scottnichol.com>
> To: <so...@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" <ne...@wipro.com>
> To: <so...@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" <sn...@scottnichol.com>
> To: <so...@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" <ne...@wipro.com>
> > To: <so...@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:   <ma...@xml.apache.org>
> > For additional commands, e-mail: <ma...@xml.apache.org>
> >
> >
> > --
> > To unsubscribe, e-mail:   <ma...@xml.apache.org>
> > For additional commands, e-mail: <ma...@xml.apache.org>
> >
>
>
>
>
> --------------------------------------------------------------------------
--
> ----
>
>
> --
> To unsubscribe, e-mail:   <ma...@xml.apache.org>
> For additional commands, e-mail: <ma...@xml.apache.org>
>
>
> --
> To unsubscribe, e-mail:   <ma...@xml.apache.org>
> For additional commands, e-mail: <ma...@xml.apache.org>
>
>
>
>
>
> --------------------------------------------------------------------------
--
> ----
>
>
> --
> To unsubscribe, e-mail:   <ma...@xml.apache.org>
> For additional commands, e-mail: <ma...@xml.apache.org>
>
>
> --
> To unsubscribe, e-mail:   <ma...@xml.apache.org>
> For additional commands, e-mail: <ma...@xml.apache.org>
>


Re: web service with Gui

Posted by Neha Srivastava <ne...@wipro.com>.
hi,

thanx for all ur information.
now there is another problem -
To try stockquote servletclient my stockquote example should run..all other
examples are running except stockquote.

i am able to deploy it but gettiong errors while running.
Do i have to use ant build tool also for this.

thanks and regards
neha




----- Original Message -----
From: "Scott Nichol" <sn...@scottnichol.com>
To: <so...@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" <sn...@scottnichol.com>
> To: <so...@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" <sn...@scottnichol.com>
> To: <so...@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" <ne...@wipro.com>
> To: <so...@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" <sn...@scottnichol.com>
> To: <so...@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" <ne...@wipro.com>
> > To: <so...@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:   <ma...@xml.apache.org>
> > For additional commands, e-mail: <ma...@xml.apache.org>
> >
> >
> > --
> > To unsubscribe, e-mail:   <ma...@xml.apache.org>
> > For additional commands, e-mail: <ma...@xml.apache.org>
> >
>
>
>
>
> --------------------------------------------------------------------------
--
> ----
>
>
> --
> To unsubscribe, e-mail:   <ma...@xml.apache.org>
> For additional commands, e-mail: <ma...@xml.apache.org>
>
>
> --
> To unsubscribe, e-mail:   <ma...@xml.apache.org>
> For additional commands, e-mail: <ma...@xml.apache.org>
>
>
>
>
>
> --------------------------------------------------------------------------
--
> ----
>
>
> --
> To unsubscribe, e-mail:   <ma...@xml.apache.org>
> For additional commands, e-mail: <ma...@xml.apache.org>
>
>
> --
> To unsubscribe, e-mail:   <ma...@xml.apache.org>
> For additional commands, e-mail: <ma...@xml.apache.org>
>


Re: web service with Gui

Posted by Neha Srivastava <ne...@wipro.com>.
hi,

thanx for all ur information.
now there is another problem -
To try stockquote servletclient my stockquote example should run..all other
examples are running except stockquote.

i am able to deploy it but gettiong errors while running.
Do i have to use ant build tool also for this.

thanks and regards
neha




----- Original Message -----
From: "Scott Nichol" <sn...@scottnichol.com>
To: <so...@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" <sn...@scottnichol.com>
> To: <so...@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" <sn...@scottnichol.com>
> To: <so...@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" <ne...@wipro.com>
> To: <so...@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" <sn...@scottnichol.com>
> To: <so...@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" <ne...@wipro.com>
> > To: <so...@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:   <ma...@xml.apache.org>
> > For additional commands, e-mail: <ma...@xml.apache.org>
> >
> >
> > --
> > To unsubscribe, e-mail:   <ma...@xml.apache.org>
> > For additional commands, e-mail: <ma...@xml.apache.org>
> >
>
>
>
>
> --------------------------------------------------------------------------
--
> ----
>
>
> --
> To unsubscribe, e-mail:   <ma...@xml.apache.org>
> For additional commands, e-mail: <ma...@xml.apache.org>
>
>
> --
> To unsubscribe, e-mail:   <ma...@xml.apache.org>
> For additional commands, e-mail: <ma...@xml.apache.org>
>
>
>
>
>
> --------------------------------------------------------------------------
--
> ----
>
>
> --
> To unsubscribe, e-mail:   <ma...@xml.apache.org>
> For additional commands, e-mail: <ma...@xml.apache.org>
>
>
> --
> To unsubscribe, e-mail:   <ma...@xml.apache.org>
> For additional commands, e-mail: <ma...@xml.apache.org>
>


Re: web service with Gui

Posted by Scott Nichol <sn...@scottnichol.com>.
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" <sn...@scottnichol.com>
To: <so...@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" <sn...@scottnichol.com>
To: <so...@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" <ne...@wipro.com>
To: <so...@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" <sn...@scottnichol.com>
To: <so...@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" <ne...@wipro.com>
> To: <so...@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:   <ma...@xml.apache.org>
> For additional commands, e-mail: <ma...@xml.apache.org>
>
>
> --
> To unsubscribe, e-mail:   <ma...@xml.apache.org>
> For additional commands, e-mail: <ma...@xml.apache.org>
>




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


--
To unsubscribe, e-mail:   <ma...@xml.apache.org>
For additional commands, e-mail: <ma...@xml.apache.org>


--
To unsubscribe, e-mail:   <ma...@xml.apache.org>
For additional commands, e-mail: <ma...@xml.apache.org>





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


--
To unsubscribe, e-mail:   <ma...@xml.apache.org>
For additional commands, e-mail: <ma...@xml.apache.org>


Re: web service with Gui

Posted by Scott Nichol <sn...@scottnichol.com>.
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" <sn...@scottnichol.com>
To: <so...@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" <sn...@scottnichol.com>
To: <so...@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" <ne...@wipro.com>
To: <so...@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" <sn...@scottnichol.com>
To: <so...@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" <ne...@wipro.com>
> To: <so...@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:   <ma...@xml.apache.org>
> For additional commands, e-mail: <ma...@xml.apache.org>
>
>
> --
> To unsubscribe, e-mail:   <ma...@xml.apache.org>
> For additional commands, e-mail: <ma...@xml.apache.org>
>




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


--
To unsubscribe, e-mail:   <ma...@xml.apache.org>
For additional commands, e-mail: <ma...@xml.apache.org>


--
To unsubscribe, e-mail:   <ma...@xml.apache.org>
For additional commands, e-mail: <ma...@xml.apache.org>





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


--
To unsubscribe, e-mail:   <ma...@xml.apache.org>
For additional commands, e-mail: <ma...@xml.apache.org>


--
To unsubscribe, e-mail:   <ma...@xml.apache.org>
For additional commands, e-mail: <ma...@xml.apache.org>


Re: web service with Gui

Posted by Scott Nichol <sn...@scottnichol.com>.
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" <sn...@scottnichol.com>
To: <so...@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" <ne...@wipro.com>
To: <so...@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" <sn...@scottnichol.com>
To: <so...@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" <ne...@wipro.com>
> To: <so...@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:   <ma...@xml.apache.org>
> For additional commands, e-mail: <ma...@xml.apache.org>
>
>
> --
> To unsubscribe, e-mail:   <ma...@xml.apache.org>
> For additional commands, e-mail: <ma...@xml.apache.org>
>




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


--
To unsubscribe, e-mail:   <ma...@xml.apache.org>
For additional commands, e-mail: <ma...@xml.apache.org>


--
To unsubscribe, e-mail:   <ma...@xml.apache.org>
For additional commands, e-mail: <ma...@xml.apache.org>



Re: web service with Gui

Posted by Scott Nichol <sn...@scottnichol.com>.
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" <sn...@scottnichol.com>
To: <so...@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" <ne...@wipro.com>
To: <so...@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" <sn...@scottnichol.com>
To: <so...@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" <ne...@wipro.com>
> To: <so...@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:   <ma...@xml.apache.org>
> For additional commands, e-mail: <ma...@xml.apache.org>
>
>
> --
> To unsubscribe, e-mail:   <ma...@xml.apache.org>
> For additional commands, e-mail: <ma...@xml.apache.org>
>




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


--
To unsubscribe, e-mail:   <ma...@xml.apache.org>
For additional commands, e-mail: <ma...@xml.apache.org>


--
To unsubscribe, e-mail:   <ma...@xml.apache.org>
For additional commands, e-mail: <ma...@xml.apache.org>



Re: web service with Gui

Posted by Scott Nichol <sn...@scottnichol.com>.
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" <ne...@wipro.com>
To: <so...@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" <sn...@scottnichol.com>
To: <so...@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" <ne...@wipro.com>
> To: <so...@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:   <ma...@xml.apache.org>
> For additional commands, e-mail: <ma...@xml.apache.org>
>
>
> --
> To unsubscribe, e-mail:   <ma...@xml.apache.org>
> For additional commands, e-mail: <ma...@xml.apache.org>
>




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


--
To unsubscribe, e-mail:   <ma...@xml.apache.org>
For additional commands, e-mail: <ma...@xml.apache.org>


Re: web service with Gui

Posted by Scott Nichol <sn...@scottnichol.com>.
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" <ne...@wipro.com>
To: <so...@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" <sn...@scottnichol.com>
To: <so...@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" <ne...@wipro.com>
> To: <so...@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:   <ma...@xml.apache.org>
> For additional commands, e-mail: <ma...@xml.apache.org>
>
>
> --
> To unsubscribe, e-mail:   <ma...@xml.apache.org>
> For additional commands, e-mail: <ma...@xml.apache.org>
>




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


--
To unsubscribe, e-mail:   <ma...@xml.apache.org>
For additional commands, e-mail: <ma...@xml.apache.org>


--
To unsubscribe, e-mail:   <ma...@xml.apache.org>
For additional commands, e-mail: <ma...@xml.apache.org>


Re: web service with Gui

Posted by Scott Nichol <sn...@scottnichol.com>.
A proxy class is a nice way to wrap a SOAP object, but it is not a
requirement, nor do I see why it has to be bean-like.  Given where Neha
stands now, it might be best to skip the added step of creating the proxy.

Scott  Nichol

----- Original Message -----
From: "Bhushan Dongare" <bh...@iopsis.com>
To: <so...@xml.apache.org>
Sent: Friday, August 30, 2002 12:32 AM
Subject: RE: web service with Gui


See, What u need is a Proxy Class for Webservice,Which will be a Java Bean
kind of implementation
Now this can be used in any of your clients as Scott mentioned...




-----Original Message-----
From: Neha Srivastava [mailto:neha.srivastava@wipro.com]
Sent: Friday, August 30, 2002 9:12 AM
To: soap-user@xml.apache.org
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" <sn...@scottnichol.com>
To: <so...@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" <ne...@wipro.com>
> To: <so...@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:   <ma...@xml.apache.org>
> For additional commands, e-mail: <ma...@xml.apache.org>
>
>
> --
> To unsubscribe, e-mail:   <ma...@xml.apache.org>
> For additional commands, e-mail: <ma...@xml.apache.org>
>



--
To unsubscribe, e-mail:   <ma...@xml.apache.org>
For additional commands, e-mail: <ma...@xml.apache.org>




--
To unsubscribe, e-mail:   <ma...@xml.apache.org>
For additional commands, e-mail: <ma...@xml.apache.org>


Re: web service with Gui

Posted by Scott Nichol <sn...@scottnichol.com>.
A proxy class is a nice way to wrap a SOAP object, but it is not a
requirement, nor do I see why it has to be bean-like.  Given where Neha
stands now, it might be best to skip the added step of creating the proxy.

Scott  Nichol

----- Original Message -----
From: "Bhushan Dongare" <bh...@iopsis.com>
To: <so...@xml.apache.org>
Sent: Friday, August 30, 2002 12:32 AM
Subject: RE: web service with Gui


See, What u need is a Proxy Class for Webservice,Which will be a Java Bean
kind of implementation
Now this can be used in any of your clients as Scott mentioned...




-----Original Message-----
From: Neha Srivastava [mailto:neha.srivastava@wipro.com]
Sent: Friday, August 30, 2002 9:12 AM
To: soap-user@xml.apache.org
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" <sn...@scottnichol.com>
To: <so...@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" <ne...@wipro.com>
> To: <so...@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:   <ma...@xml.apache.org>
> For additional commands, e-mail: <ma...@xml.apache.org>
>
>
> --
> To unsubscribe, e-mail:   <ma...@xml.apache.org>
> For additional commands, e-mail: <ma...@xml.apache.org>
>



--
To unsubscribe, e-mail:   <ma...@xml.apache.org>
For additional commands, e-mail: <ma...@xml.apache.org>




Re: web service with Gui

Posted by Neha Srivastava <ne...@wipro.com>.
Hi,
See, i didn't get u properly...the reason behind i am learning java
simultaneously and have done only till servlets.
This ejb.class is your webservice client--right?
 wht is your servlet doing?
how do u run ur client..is it through command line tool only?
 and wht is there in your service implementation class?

sorry for the trouble.

Thanks and regards
neha

----- Original Message -----
From: "Bhushan Dongare" <bh...@iopsis.com>
To: <so...@xml.apache.org>
Sent: Friday, August 30, 2002 11:01 AM
Subject: RE: web service with Gui


> Hi
>
> It is not necessary that you follows all the specifications of Java Beans.
> Just create a Java class, That will have set/get methods and a default
> constructor.
> And arrange the code in proper business funcions (remove all code from
main
> of console based app)
> so that the class can be accessed via servlet/jsp /swing client..
> Here is a sample java bean, Which i have converted from a ejbtest sample
>
> Hope this will help you...
>
> Best of luck...
> Bhushan
>
> -----Original Message-----
> From: Neha Srivastava [mailto:neha.srivastava@wipro.com]
> Sent: Friday, August 30, 2002 10:16 AM
> To: soap-user@xml.apache.org; bhushan@iopsis.com
> Subject: Re: web service with Gui
>
>
>
> Is there any other alternative than using java bean? As i am not familiar
> with Java Beans much.
> or else can u please tell me in detail?
>
> Thanks and Regards
> neha
>
> ----- Original Message -----
> From: "Bhushan Dongare" <bh...@iopsis.com>
> To: <so...@xml.apache.org>
> Sent: Friday, August 30, 2002 10:02 AM
> Subject: RE: web service with Gui
>
>
> > See, What u need is a Proxy Class for Webservice,Which will be a Java
Bean
> > kind of implementation
> > Now this can be used in any of your clients as Scott mentioned...
> >
> >
> >
> >
> > -----Original Message-----
> > From: Neha Srivastava [mailto:neha.srivastava@wipro.com]
> > Sent: Friday, August 30, 2002 9:12 AM
> > To: soap-user@xml.apache.org
> > 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" <sn...@scottnichol.com>
> > To: <so...@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" <ne...@wipro.com>
> > > To: <so...@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:   <ma...@xml.apache.org>
> For additional commands, e-mail: <ma...@xml.apache.org>


Re: web service with Gui

Posted by Neha Srivastava <ne...@wipro.com>.
Hi,
See, i didn't get u properly...the reason behind i am learning java
simultaneously and have done only till servlets.
This ejb.class is your webservice client--right?
 wht is your servlet doing?
how do u run ur client..is it through command line tool only?
 and wht is there in your service implementation class?

sorry for the trouble.

Thanks and regards
neha

----- Original Message -----
From: "Bhushan Dongare" <bh...@iopsis.com>
To: <so...@xml.apache.org>
Sent: Friday, August 30, 2002 11:01 AM
Subject: RE: web service with Gui


> Hi
>
> It is not necessary that you follows all the specifications of Java Beans.
> Just create a Java class, That will have set/get methods and a default
> constructor.
> And arrange the code in proper business funcions (remove all code from
main
> of console based app)
> so that the class can be accessed via servlet/jsp /swing client..
> Here is a sample java bean, Which i have converted from a ejbtest sample
>
> Hope this will help you...
>
> Best of luck...
> Bhushan
>
> -----Original Message-----
> From: Neha Srivastava [mailto:neha.srivastava@wipro.com]
> Sent: Friday, August 30, 2002 10:16 AM
> To: soap-user@xml.apache.org; bhushan@iopsis.com
> Subject: Re: web service with Gui
>
>
>
> Is there any other alternative than using java bean? As i am not familiar
> with Java Beans much.
> or else can u please tell me in detail?
>
> Thanks and Regards
> neha
>
> ----- Original Message -----
> From: "Bhushan Dongare" <bh...@iopsis.com>
> To: <so...@xml.apache.org>
> Sent: Friday, August 30, 2002 10:02 AM
> Subject: RE: web service with Gui
>
>
> > See, What u need is a Proxy Class for Webservice,Which will be a Java
Bean
> > kind of implementation
> > Now this can be used in any of your clients as Scott mentioned...
> >
> >
> >
> >
> > -----Original Message-----
> > From: Neha Srivastava [mailto:neha.srivastava@wipro.com]
> > Sent: Friday, August 30, 2002 9:12 AM
> > To: soap-user@xml.apache.org
> > 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" <sn...@scottnichol.com>
> > To: <so...@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" <ne...@wipro.com>
> > > To: <so...@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:   <ma...@xml.apache.org>
> For additional commands, e-mail: <ma...@xml.apache.org>


Query on Weblogic 7.0

Posted by Bheemesh <bh...@snb.psi.soft.net>.
Hi,

Weblogic 7.0 provides a tool called 'Workshop' for Creating Web Services.
Has anyone tried that ?

regards,
Bheem


--
To unsubscribe, e-mail:   <ma...@xml.apache.org>
For additional commands, e-mail: <ma...@xml.apache.org>


Query on Weblogic 7.0

Posted by Bheemesh <bh...@snb.psi.soft.net>.
Hi,

Weblogic 7.0 provides a tool called 'Workshop' for Creating Web Services.
Has anyone tried that ?

regards,
Bheem


RE: web service with Gui

Posted by Bhushan Dongare <bh...@iopsis.com>.
Hi

It is not necessary that you follows all the specifications of Java Beans.
Just create a Java class, That will have set/get methods and a default
constructor.
And arrange the code in proper business funcions (remove all code from main
of console based app)
so that the class can be accessed via servlet/jsp /swing client..
Here is a sample java bean, Which i have converted from a ejbtest sample

Hope this will help you...

Best of luck...
Bhushan

-----Original Message-----
From: Neha Srivastava [mailto:neha.srivastava@wipro.com]
Sent: Friday, August 30, 2002 10:16 AM
To: soap-user@xml.apache.org; bhushan@iopsis.com
Subject: Re: web service with Gui



Is there any other alternative than using java bean? As i am not familiar
with Java Beans much.
or else can u please tell me in detail?

Thanks and Regards
neha

----- Original Message -----
From: "Bhushan Dongare" <bh...@iopsis.com>
To: <so...@xml.apache.org>
Sent: Friday, August 30, 2002 10:02 AM
Subject: RE: web service with Gui


> See, What u need is a Proxy Class for Webservice,Which will be a Java Bean
> kind of implementation
> Now this can be used in any of your clients as Scott mentioned...
>
>
>
>
> -----Original Message-----
> From: Neha Srivastava [mailto:neha.srivastava@wipro.com]
> Sent: Friday, August 30, 2002 9:12 AM
> To: soap-user@xml.apache.org
> 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" <sn...@scottnichol.com>
> To: <so...@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" <ne...@wipro.com>
> > To: <so...@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

RE: web service with Gui

Posted by Bhushan Dongare <bh...@iopsis.com>.
Hi

It is not necessary that you follows all the specifications of Java Beans.
Just create a Java class, That will have set/get methods and a default
constructor.
And arrange the code in proper business funcions (remove all code from main
of console based app)
so that the class can be accessed via servlet/jsp /swing client..
Here is a sample java bean, Which i have converted from a ejbtest sample

Hope this will help you...

Best of luck...
Bhushan

-----Original Message-----
From: Neha Srivastava [mailto:neha.srivastava@wipro.com]
Sent: Friday, August 30, 2002 10:16 AM
To: soap-user@xml.apache.org; bhushan@iopsis.com
Subject: Re: web service with Gui



Is there any other alternative than using java bean? As i am not familiar
with Java Beans much.
or else can u please tell me in detail?

Thanks and Regards
neha

----- Original Message -----
From: "Bhushan Dongare" <bh...@iopsis.com>
To: <so...@xml.apache.org>
Sent: Friday, August 30, 2002 10:02 AM
Subject: RE: web service with Gui


> See, What u need is a Proxy Class for Webservice,Which will be a Java Bean
> kind of implementation
> Now this can be used in any of your clients as Scott mentioned...
>
>
>
>
> -----Original Message-----
> From: Neha Srivastava [mailto:neha.srivastava@wipro.com]
> Sent: Friday, August 30, 2002 9:12 AM
> To: soap-user@xml.apache.org
> 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" <sn...@scottnichol.com>
> To: <so...@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" <ne...@wipro.com>
> > To: <so...@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

Re: web service with Gui

Posted by Neha Srivastava <ne...@wipro.com>.
Is there any other alternative than using java bean? As i am not familiar
with Java Beans much.
or else can u please tell me in detail?

Thanks and Regards
neha

----- Original Message -----
From: "Bhushan Dongare" <bh...@iopsis.com>
To: <so...@xml.apache.org>
Sent: Friday, August 30, 2002 10:02 AM
Subject: RE: web service with Gui


> See, What u need is a Proxy Class for Webservice,Which will be a Java Bean
> kind of implementation
> Now this can be used in any of your clients as Scott mentioned...
>
>
>
>
> -----Original Message-----
> From: Neha Srivastava [mailto:neha.srivastava@wipro.com]
> Sent: Friday, August 30, 2002 9:12 AM
> To: soap-user@xml.apache.org
> 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" <sn...@scottnichol.com>
> To: <so...@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" <ne...@wipro.com>
> > To: <so...@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:   <ma...@xml.apache.org>
> > For additional commands, e-mail: <ma...@xml.apache.org>
> >
> >
> > --
> > To unsubscribe, e-mail:   <ma...@xml.apache.org>
> > For additional commands, e-mail: <ma...@xml.apache.org>
> >
>
>
>
> --
> To unsubscribe, e-mail:   <ma...@xml.apache.org>
> For additional commands, e-mail: <ma...@xml.apache.org>
>


Re: web service with Gui

Posted by Neha Srivastava <ne...@wipro.com>.
Is there any other alternative than using java bean? As i am not familiar
with Java Beans much.
or else can u please tell me in detail?

Thanks and Regards
neha

----- Original Message -----
From: "Bhushan Dongare" <bh...@iopsis.com>
To: <so...@xml.apache.org>
Sent: Friday, August 30, 2002 10:02 AM
Subject: RE: web service with Gui


> See, What u need is a Proxy Class for Webservice,Which will be a Java Bean
> kind of implementation
> Now this can be used in any of your clients as Scott mentioned...
>
>
>
>
> -----Original Message-----
> From: Neha Srivastava [mailto:neha.srivastava@wipro.com]
> Sent: Friday, August 30, 2002 9:12 AM
> To: soap-user@xml.apache.org
> 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" <sn...@scottnichol.com>
> To: <so...@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" <ne...@wipro.com>
> > To: <so...@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:   <ma...@xml.apache.org>
> > For additional commands, e-mail: <ma...@xml.apache.org>
> >
> >
> > --
> > To unsubscribe, e-mail:   <ma...@xml.apache.org>
> > For additional commands, e-mail: <ma...@xml.apache.org>
> >
>
>
>
> --
> To unsubscribe, e-mail:   <ma...@xml.apache.org>
> For additional commands, e-mail: <ma...@xml.apache.org>
>


RE: web service with Gui

Posted by Bhushan Dongare <bh...@iopsis.com>.
See, What u need is a Proxy Class for Webservice,Which will be a Java Bean
kind of implementation
Now this can be used in any of your clients as Scott mentioned...




-----Original Message-----
From: Neha Srivastava [mailto:neha.srivastava@wipro.com]
Sent: Friday, August 30, 2002 9:12 AM
To: soap-user@xml.apache.org
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" <sn...@scottnichol.com>
To: <so...@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" <ne...@wipro.com>
> To: <so...@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:   <ma...@xml.apache.org>
> For additional commands, e-mail: <ma...@xml.apache.org>
>
>
> --
> To unsubscribe, e-mail:   <ma...@xml.apache.org>
> For additional commands, e-mail: <ma...@xml.apache.org>
>



--
To unsubscribe, e-mail:   <ma...@xml.apache.org>
For additional commands, e-mail: <ma...@xml.apache.org>


RE: web service with Gui

Posted by Bhushan Dongare <bh...@iopsis.com>.
See, What u need is a Proxy Class for Webservice,Which will be a Java Bean
kind of implementation
Now this can be used in any of your clients as Scott mentioned...




-----Original Message-----
From: Neha Srivastava [mailto:neha.srivastava@wipro.com]
Sent: Friday, August 30, 2002 9:12 AM
To: soap-user@xml.apache.org
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" <sn...@scottnichol.com>
To: <so...@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" <ne...@wipro.com>
> To: <so...@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:   <ma...@xml.apache.org>
> For additional commands, e-mail: <ma...@xml.apache.org>
>
>
> --
> To unsubscribe, e-mail:   <ma...@xml.apache.org>
> For additional commands, e-mail: <ma...@xml.apache.org>
>



Re: web service with Gui

Posted by Neha Srivastava <ne...@wipro.com>.
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" <sn...@scottnichol.com>
To: <so...@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" <ne...@wipro.com>
> To: <so...@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:   <ma...@xml.apache.org>
> For additional commands, e-mail: <ma...@xml.apache.org>
>
>
> --
> To unsubscribe, e-mail:   <ma...@xml.apache.org>
> For additional commands, e-mail: <ma...@xml.apache.org>
>


Re: web service with Gui

Posted by Neha Srivastava <ne...@wipro.com>.
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" <sn...@scottnichol.com>
To: <so...@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" <ne...@wipro.com>
> To: <so...@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:   <ma...@xml.apache.org>
> For additional commands, e-mail: <ma...@xml.apache.org>
>
>
> --
> To unsubscribe, e-mail:   <ma...@xml.apache.org>
> For additional commands, e-mail: <ma...@xml.apache.org>
>


Re: web service with Gui

Posted by Scott Nichol <sn...@scottnichol.com>.
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" <ne...@wipro.com>
To: <so...@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:   <ma...@xml.apache.org>
For additional commands, e-mail: <ma...@xml.apache.org>


--
To unsubscribe, e-mail:   <ma...@xml.apache.org>
For additional commands, e-mail: <ma...@xml.apache.org>


Re: web service with Gui

Posted by Scott Nichol <sn...@scottnichol.com>.
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" <ne...@wipro.com>
To: <so...@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:   <ma...@xml.apache.org>
For additional commands, e-mail: <ma...@xml.apache.org>