You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-user@axis.apache.org by Soma Shekar <so...@nextlinx.com> on 2003/10/16 15:57:47 UTC
How to Print the SOAP Request and Response Soap XML in Axis
hi,
i am an toddler in Axis ,
i just want to print the request and response SOAP XML from Axis
any body help me in this .
Rgds
Soma Shekar
http://www.nextlinx.com
A minute's success pays the failure of years :).
----- Original Message -----
From: Yves Gerber
To: axis-user@ws.apache.org
Sent: Thursday, October 16, 2003 6:56 PM
Subject: RE: Axis on Java Web Services Developer pack
I have the axis folder in: C:\jwsdp-1.2\webapps\
and my lib for my environment variables is:
C:\jwsdp-1.2\webapps\axis\WEB-INF\lib
when I'm at the DOS prompt, what directory SHOULD I be at, and what directory should I start with when I do the "java " line?
Maybe if anyone using Win XP Pro can tell me exactly how they installed axis and everything from scratch, that'd help me know what step I may have skipped... http://localhost:8080/axis/index.html works, (the jsp pages don't but there is a server working there).
"Volkmann, Mark" <Ma...@AGEDWARDS.com> wrote:
I don't know what the specific problem is (obviously a classpath issue), but I can confirm that you can run Axis using the the version of Tomcat that ships with the JWSDP. I do that all the time.
> -----Original Message-----
> From: Yves Gerber [mailto:boxingstar@yahoo.com]
> Sent: Thursday, October 16, 2003 4:09 AM
> To: axis-user@ws.apache.org
> Subject: Axis on Java Web Services Developer pack.
>
> Hi, I have Sun's Java Web Services Developer pack 1.2, which includes
> Tomcat... I think 5. Anyway, I installed Axis 1.1 on it, and got the
> enviro variables
> set, but I go to run the example (as in the User's guide), or any other
> .java and I get basically the same error response:
>
> Exception in thread "main" java.lang.NoClassDefFoundError:
> samples/userguide/example1/TestClient
>
> I was using Tomcat 4.1, before it didn't work, so I thought I'd go with
> the JWSDP 1.2- same thing (only now Axis doesn't read .jsp pages, but
> that's another problem).
------------------------------------------------------------------------------------------
A.G. Edwards & Sons' outgoing and incoming e-mails are electronically
archived and subject to review and/or disclosure to someone other
than the recipient.
------------------------------------------------------------------------------------------
------------------------------------------------------------------------------
Do You Yahoo!? -- Une adresse @yahoo.fr gratuite et en français !
Testez le nouveau Yahoo! Mail
Re: How to Print the SOAP Request and Response Soap XML in Axis
Posted by Ben Souther <bs...@fwdco.com>.
You might also want to try running the tcpmon application that ships with Axis
On Thursday 16 October 2003 10:00 am, Stephen Gordon wrote:
> Make a handler (see samples/userguide/example4)
> In the handler do:
> msgContext.getCurrentMessage().writeTo(new
> FileOutputStream("message.log"));
>
> Then deploy your handler into the request/response flows.
>
> stephen
>
> Soma Shekar wrote:
> > hi,
> >
> > i am an toddler in Axis ,
> > i just want to print the request and response SOAP XML from Axis
> >
> > any body help me in this .
> >
> > Rgds
> > Soma Shekar
> > http://www.nextlinx.com
> >
> > A minute's success pays the failure of years :).
> >
> > ----- Original Message -----
> > *From:* Yves Gerber <ma...@yahoo.com>
> > *To:* axis-user@ws.apache.org <ma...@ws.apache.org>
> > *Sent:* Thursday, October 16, 2003 6:56 PM
> > *Subject:* RE: Axis on Java Web Services Developer pack
> >
> > I have the axis folder in: C:\jwsdp-1.2\webapps\
> > and my lib for my environment variables is:
> > C:\jwsdp-1.2\webapps\axis\WEB-INF\lib
> >
> > when I'm at the DOS prompt, what directory SHOULD I be at, and what
> > directory should I start with when I do the "java " line?
> > Maybe if anyone using Win XP Pro can tell me exactly how they
> > installed axis and everything from scratch, that'd help me know what
> > step I may have skipped... http://localhost:8080/axis/index.html
> > works, (the jsp pages don't but there is a server working there).
> >
> > */"Volkmann, Mark" <Ma...@AGEDWARDS.com>/* wrote:
> >
> > I don't know what the specific problem is (obviously a classpath
> > issue), but I can confirm that you can run Axis using the the
> > version of Tomcat that ships with the JWSDP. I do that all the
> > time.
> >
> > > -----Original Message-----
> > > From: Yves Gerber [mailto:boxingstar@yahoo.com]
> > > Sent: Thursday, October 16, 2003 4:09 AM
> > > To: axis-user@ws.apache.org
> > > Subject: Axis on Java Web Services Developer pack.
> > >
> > > Hi, I have Sun's Java Web Services Developer pack 1.2, which
> >
> > includes
> >
> > > Tomcat... I think 5. Anyway, I installed Axis 1.1 on it, and
> >
> > got the
> >
> > > enviro variables
> > > set, but I go to run the example (as in the User's guide), or
> >
> > any other
> >
> > > .java and I get basically the same error response:
> > >
> > > Exception in thread "main" java.lang.NoClassDefFoundError:
> > > samples/userguide/example1/TestClient
> > >
> > > I was using Tomcat 4.1, before it didn't work, so I thought
> >
> > I'd go with
> >
> > > the JWSDP 1.2- same thing (only now Axis doesn't read .jsp
> >
> > pages, but
> >
> > > that's another problem).
> >
> >
> > -------------------------------------------------------------------------
> >----------------- A.G. Edwards & Sons' outgoing and incoming e-mails are
> > electronically
> > archived and subject to review and/or disclosure to someone other
> > than the recipient.
> >
> >
> > -------------------------------------------------------------------------
> >-----------------
> >
> >
> >
> >
> > ------------------------------------------------------------------------
> > Do You Yahoo!? -- Une adresse @yahoo.fr gratuite et en français ! Testez
> > le nouveau Yahoo! Mail <http://fr.mail.yahoo.com>
--
Ben Souther
F.W. Davison & Company, Inc.
Re: How to Print the SOAP Request and Response Soap XML in Axis
Posted by Stephen Gordon <st...@student.usyd.edu.au>.
Make a handler (see samples/userguide/example4)
In the handler do:
msgContext.getCurrentMessage().writeTo(new FileOutputStream("message.log"));
Then deploy your handler into the request/response flows.
stephen
Soma Shekar wrote:
> hi,
>
> i am an toddler in Axis ,
> i just want to print the request and response SOAP XML from Axis
>
> any body help me in this .
>
> Rgds
> Soma Shekar
> http://www.nextlinx.com
>
> A minute's success pays the failure of years :).
>
> ----- Original Message -----
> *From:* Yves Gerber <ma...@yahoo.com>
> *To:* axis-user@ws.apache.org <ma...@ws.apache.org>
> *Sent:* Thursday, October 16, 2003 6:56 PM
> *Subject:* RE: Axis on Java Web Services Developer pack
>
> I have the axis folder in: C:\jwsdp-1.2\webapps\
> and my lib for my environment variables is:
> C:\jwsdp-1.2\webapps\axis\WEB-INF\lib
>
> when I'm at the DOS prompt, what directory SHOULD I be at, and what
> directory should I start with when I do the "java " line?
> Maybe if anyone using Win XP Pro can tell me exactly how they
> installed axis and everything from scratch, that'd help me know what
> step I may have skipped... http://localhost:8080/axis/index.html
> works, (the jsp pages don't but there is a server working there).
>
> */"Volkmann, Mark" <Ma...@AGEDWARDS.com>/* wrote:
>
> I don't know what the specific problem is (obviously a classpath
> issue), but I can confirm that you can run Axis using the the
> version of Tomcat that ships with the JWSDP. I do that all the time.
>
> > -----Original Message-----
> > From: Yves Gerber [mailto:boxingstar@yahoo.com]
> > Sent: Thursday, October 16, 2003 4:09 AM
> > To: axis-user@ws.apache.org
> > Subject: Axis on Java Web Services Developer pack.
> >
> > Hi, I have Sun's Java Web Services Developer pack 1.2, which
> includes
> > Tomcat... I think 5. Anyway, I installed Axis 1.1 on it, and
> got the
> > enviro variables
> > set, but I go to run the example (as in the User's guide), or
> any other
> > .java and I get basically the same error response:
> >
> > Exception in thread "main" java.lang.NoClassDefFoundError:
> > samples/userguide/example1/TestClient
> >
> > I was using Tomcat 4.1, before it didn't work, so I thought
> I'd go with
> > the JWSDP 1.2- same thing (only now Axis doesn't read .jsp
> pages, but
> > that's another problem).
>
> |
>
> ------------------------------------------------------------------------------------------
> A.G. Edwards & Sons' outgoing and incoming e-mails are
> electronically
> archived and subject to review and/or disclosure to someone other
> than the recipient.
>
> ------------------------------------------------------------------------------------------
> |
>
>
> ------------------------------------------------------------------------
> Do You Yahoo!? -- Une adresse @yahoo.fr gratuite et en français !
> Testez le nouveau Yahoo! Mail <http://fr.mail.yahoo.com>
Re: How to Print the SOAP Request and Response Soap XML in Axis
Posted by Leo de Blaauw <l....@chello.nl>.
Well,
We just use handlers on client and server side to log the request and response
messages, wich works great ! There are samples on handlers in the samples directory
Greetings
LEo
----- Original Message -----
From: Soma Shekar
To: axis-user@ws.apache.org
Sent: Thursday, October 16, 2003 3:57 PM
Subject: How to Print the SOAP Request and Response Soap XML in Axis
hi,
i am an toddler in Axis ,
i just want to print the request and response SOAP XML from Axis
any body help me in this .
Rgds
Soma Shekar
http://www.nextlinx.com
A minute's success pays the failure of years :).
----- Original Message -----
From: Yves Gerber
To: axis-user@ws.apache.org
Sent: Thursday, October 16, 2003 6:56 PM
Subject: RE: Axis on Java Web Services Developer pack
I have the axis folder in: C:\jwsdp-1.2\webapps\
and my lib for my environment variables is:
C:\jwsdp-1.2\webapps\axis\WEB-INF\lib
when I'm at the DOS prompt, what directory SHOULD I be at, and what directory should I start with when I do the "java " line?
Maybe if anyone using Win XP Pro can tell me exactly how they installed axis and everything from scratch, that'd help me know what step I may have skipped... http://localhost:8080/axis/index.html works, (the jsp pages don't but there is a server working there).
"Volkmann, Mark" <Ma...@AGEDWARDS.com> wrote:
I don't know what the specific problem is (obviously a classpath issue), but I can confirm that you can run Axis using the the version of Tomcat that ships with the JWSDP. I do that all the time.
> -----Original Message-----
> From: Yves Gerber [mailto:boxingstar@yahoo.com]
> Sent: Thursday, October 16, 2003 4:09 AM
> To: axis-user@ws.apache.org
> Subject: Axis on Java Web Services Developer pack.
>
> Hi, I have Sun's Java Web Services Developer pack 1.2, which includes
> Tomcat... I think 5. Anyway, I installed Axis 1.1 on it, and got the
> enviro variables
> set, but I go to run the example (as in the User's guide), or any other
> .java and I get basically the same error response:
>
> Exception in thread "main" java.lang.NoClassDefFoundError:
> samples/userguide/example1/TestClient
>
> I was using Tomcat 4.1, before it didn't work, so I thought I'd go with
> the JWSDP 1.2- same thing (only now Axis doesn't read .jsp pages, but
> that's another problem).
------------------------------------------------------------------------------------------
A.G. Edwards & Sons' outgoing and incoming e-mails are electronically
archived and subject to review and/or disclosure to someone other
than the recipient.
------------------------------------------------------------------------------------------
----------------------------------------------------------------------------
Do You Yahoo!? -- Une adresse @yahoo.fr gratuite et en français !
Testez le nouveau Yahoo! Mail