-----Original Message-----
From: Yakulis, Ross (Ross)
Sent: Wednesday, April 07, 2004 4:34 PM
To: [EMAIL PROTECTED]
Subject: RE: How to view my Axis Java objects as XMLFor the benefit of the email list I have attached a conversation betweenGreg and my self.......so that others might also comment should they be inclined.---------------------------------------------------------Ross,Thanks for the reply. You're the only one that replied.Inside my wsdl file I have reference to another XML NS, basically a pretty huge xsd file. The WSDL seems to reference many objects in the xsd in the wsdl file at different places. As you might imagine when I run WSDL2Java a TON of objects are created, which seem to represent all of the different parameters available in this namespace.When I create these objects who's structure is defined in my xsd file, using these java objects, how do I know that they're going to create the xml formations that are valid against the xsd?The answer might be that the generated Java files aren't going to let me create anything invalid. But I want to see the xml formations I create using these objects, so I can verify they are what I intended to make.Make anymore sense?
-Gregg-----Original Message-----
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 XMLI 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
Title: How to view my Axis Java objects as XML
I am
inclined to say that the generated java files would not let you create anything
invalid. Though, I am not an expert here, rather an interested
observer. I hope others will comment.
Ross
- How to view my Axis Java objects as XML Gregg Pollack
- RE: How to view my Axis Java objects as XML Yakulis, Ross (Ross)
- RE: How to view my Axis Java objects as XML Yakulis, Ross (Ross)
- RE: How to view my Axis Java objects as XML David Cunningham
