Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsWhite Papers
Discussion GroupsFirst AidDatabasesJavaBeansGUIJava 3DVirtual MachineCORBASecurityToolsGeneral
Java DirectoryOpen Source ProjectsSample Book ChaptersUser GroupsWeb Resources
Related Topics
Databases.NETMore Topics ...

Java Forum / General / May 2006

Tip: Looking for answers? Try searching our database.

Axis: Way to look into a call.invoke() xml code?

Thread view: 
Axel Bock - 10 May 2006 13:21 GMT
Hi all,

I am desperately trying to debug a web service call from axis. Problem
is: it is an SSL call, and I cannot look into the XML generated by axis
with a sniffer, and axis doesn't seem to provide an option to look into
this.

Does maybe anyone else know a way of doing this?

Greetings & thanks already,
Axel.
Thomas Weidenfeller - 10 May 2006 16:02 GMT
> I am desperately trying to debug a web service call from axis. Problem
> is: it is an SSL call

If you really need to look at the contents of the SSL connection, insert
an SSL proxy or similar into the connection. You will need to generate
(or buy) a certificate for the proxy, and install it (the public key) in
the client (the web browser).

/Thomas

Signature

The comp.lang.java.gui FAQ:
ftp://ftp.cs.uu.nl/pub/NEWS.ANSWERS/computer-lang/java/gui/faq
http://www.uni-giessen.de/faq/archiv/computer-lang.java.gui.faq/

Axel Bock - 16 May 2006 12:10 GMT
Well, that's one solution. I would like to see the XML code which Axis
sends to the HTTP layer. That would actually be the only thing which
helps me, cause I need this for logging purposes (later on), too :)

greetings & thanks,
Axel.
Thomas Kellerer - 16 May 2006 12:28 GMT
> Well, that's one solution. I would like to see the XML code which Axis
> sends to the HTTP layer. That would actually be the only thing which
> helps me, cause I need this for logging purposes (later on), too :)

Axis 1.3 includes a TCP Monitor which does exactly that.

Thomas

Signature

It's not a RootKit - it's a Sony

Axel Bock - 16 May 2006 13:11 GMT
yes, right, I know, BUT that's an _external_ solution. I want to see
the code from _within_ my program.
Also the TCP monitor cannot ever look into SSL connections.
paulstaylor@gmail.com - 19 May 2006 18:17 GMT
Try this:

Message msg = msgContext.getCurrentMessage();
            System.out.println("SOAP=>"+msg.getSOAPPartAsString());

> yes, right, I know, BUT that's an _external_ solution. I want to see
> the code from _within_ my program.
> Also the TCP monitor cannot ever look into SSL connections.
Axel Bock - 22 May 2006 07:50 GMT
ah, code :))

Thanks a lot, I'll try that soon. Right now we discovered a blocker in
the code which short-stopped development :(

I will be coming back to you if it worked or not.
Axel Bock - 23 May 2006 15:53 GMT
hm. well, It didn't work :)

I have a call object, and its getCurrentContext() does return
something, but the getCurrentMessage() of that one does return null,
alas. I don't know why.

any other ideas? :))

cheers & thanks,
Axel.


Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.