Sorry, I was unclear. I have a String containing my xml. With the document
style I need to parse it into a DOM node tree and pass it to the stub. The
response is also a DOM node tree I'll need to convert to a String. I want
AXIS to step back, and just take my XML String and return an String
containing XML. But wsdl2jave is putting in place layers of code to consume
and generate DOM node object trees. As far as I can see, wsdl2java is doing
this because the WSDL file say style="document". The service may want to use
DOM node trees, but why should I?

>-----Original Message-----
>From: Philipp Leitner [mailto:[EMAIL PROTECTED] 
>Sent: 03 April 2007 20:36
>To: axis-user@ws.apache.org
>Subject: Re: AXIS style
>
>what do you mean with "turn my xml into DOM" ? The Document 
>Object Model 
>(if this the meaning of DOM that you are referring to, since 
>there are a 
>few different ones) is just one possibility to represent XML, 
>and afaik 
>not one used by Axis. I guess what you mean with "DOM" is 
>actually Axiom.
>
>If that's what you meant ... no, I don't think there's any way to make 
>Axis2 not use Axiom.
>
>/philipp
>
>Paul Mahoney schrieb:
>> I have used wsdl2java to generate stubs for a web service 
>that specifies
>> document style. Consequently the stubs want me to turn my 
>xml into DOM and I
>> need to turn the returned DOM back to XML :-(
>> 
>> Is there anyway I can tell wsdl2javs to use message style as 
>I want to work
>> with xml not DOM? Is does seem strange that the web service 
>appears to be
>> dictating the client use DOM.
>> 
>> 
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: [EMAIL PROTECTED]
>> For additional commands, e-mail: [EMAIL PROTECTED]
>
>---------------------------------------------------------------------
>To unsubscribe, e-mail: [EMAIL PROTECTED]
>For additional commands, e-mail: [EMAIL PROTECTED]
>
>


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to