Hi all,

 

How can I see the XML representation of an instantiated Axis object?

 

I.e. I have a value object generated by the wsdl2java task.

 

When I instantiate this like:

 

MyType type = new MyType();

type.setName(“test”);

 

and do something like this:

 

type.toString()

 

I get:

 

[EMAIL PROTECTED]

 

However, I would like to serialize to XML and see something like:

 

<test>

  <name>test</name>

</test>

 

Can you please help?

 

Regards,

 

Harm de Laat

 

Reply via email to