Chris Haddad wrote:
> Luoh - it might be.....   You need to post the <type> definition in the
> WSDL for typens:address for us to validate your premise.
> 
> /Chris
> 
> 
> -----Original Message-----
> From: Luoh Ren-Shan [mailto:[EMAIL PROTECTED]] 
> Sent: Friday, June 21, 2002 3:49 AM
> To: [EMAIL PROTECTED]
> Subject: Re: How to get the returning message in plain XML?
> 
> If I get the following WSDL,
>  <message name="AddEntryRequest">
>   <part name="name" type="xsd:string"/>
>   <part name="address" type="typens:address"/>
>  </message>
>  <operation name="addEntry">
>   <input message="tns:AddEntryRequest"/>
>  </operation>
> is it possible to generate Java code like this?
> 
>  public void addEntry(String name, Document address)
>  

Have you tried
<part name="address" type="typens:Element" 
xmlns:typens="http://xml.apache.org/xml-soap"/>

This is the type qname associated with the DOM Element serializer. It 
makes no sense to ask for a Document rather than an Element to be 
returned as the part will be a fragment of a doc (ie the whole SOAP 
message), not a whole document.

-Baz

Reply via email to