-Gregg
From: Yakulis, Ross (Ross) [mailto:[EMAIL PROTECTED]
Sent: Wednesday, April 07, 2004 3:28 PM
To: Gregg Pollack
Subject: RE: How to view my Axis Java objects as XML
I thought your question was interesting, though I am not sure I quite understand it, and from the lack of responsesI would guess others did not understand it.If you have java objects that generate SOAP (via WSDL2Java), what XML are you referring to? The WSDL? If not, it would seem to me that the XML you search for does not exist since the java source represents that xml you seek.Ross
-----Original Message-----
From: Gregg Pollack [mailto:[EMAIL PROTECTED]
Sent: Tuesday, April 06, 2004 5:00 PM
To: [EMAIL PROTECTED]
Subject: How to view my Axis Java objects as XMLPlease Assist,
I've searched high and low for a solution for this, but alas, I've turned to the mailing list.
I was handed a project which uses WSDL2Java to create a bunch of Java objects for use with SOAP client/server communication. I am able to use tcpmon to view the SOAP communication back and forth. I have also located the file which constructs my client queries (using these created java objects). So my question is this:
How do I print out the XML that is represented by all these java objects before they're converted into SOAP? Do I use the Bean serializer somehow?
How else am I going to be able to verify that the java object code I'm writing is valid with my xsd?
Thanks in advance,
Gregg Pollack
