WSDL2Java classes to XML

From: J.Eddy (jceddy_at_cox.net)
Date: 11/05/03


Date: 5 Nov 2003 00:04:10 -0800

Does anyone know how to go from a WSDL2Java generated class to an XML
string of XML document. I know that there is some serialization here
but I don't know what classes to call to do the serialization. Can
anyone help?

Thanks

_someGenClass someClass = new _someGenClass();

// do I use this function or is there some XML serialize class that
// I can cast to?
someClass.getSerializer(/* some stuff here */);

// I want to get to this point or to a string
SOAPBodyElement
// or to a
org.w3c.dom.Document



Relevant Pages

  • Re: xmlns=> was not expected.
    ... > deserialization on this xml and get the results. ... It's not possible to serialize/deserialize this based on serialization ... This method needs to return an XML Schema ...
    (microsoft.public.dotnet.xml)
  • Re: dateTime in Web Services
    ... The Special Case of XML ... Simply because the XML encoding for a DateTime ... When we start with a local time, the result of serialization (encode to ...
    (microsoft.public.dotnet.languages.vb)
  • Re: Retain default attribute values after XSD Validation?
    ... >> when I serialize the resulting doc using its WriteContentTo method, ... >> the default attributes are NOT represented in the XML output stream. ... It could generate an XML serialization preserving as much of the ... I'll want to digitally sign the Account element to both ...
    (microsoft.public.dotnet.xml)
  • Re: lxml/ElementTree and .tail
    ... switching to well-understood XML subsets or other serialization ... formats, simpler and more flexible data models, simpler API:s, and ... At the serialization level, it's easy to think that CDATA sections are different from other text, that character references are different from ordinary characters, that you should ...
    (comp.lang.python)
  • Re: mfc to .NET
    ... Yes, our IDL system, and its precursor, the LG system, took pointer rebuilding as a key ... There are both "standard" extensions to XML, and ad hoc extensions to XML, that allow this ... The nested-vs.-flat notation was a boolean parameter of the writer; ... When I looked at MFC serialization, I saw it had all of the ...
    (microsoft.public.vc.mfc)