Assuming that you are using Document style, the part definition must reference an element definition. The element should be defined either in the <types> section or in an external schema that you import into the <types> section. xsd:anytype is permitted, but if you do have the schema for the document structure, you should specify it. Just because your service prefers to work with the data in its DOM form doesn't mean that the client must also work with the DOM. If you define the schema, the client can map the structure to language types.
Anne
At 01:45 AM 3/16/2004, you wrote:
My service document return a DOM object.
Is it possible/correct to not specify a part for the request/response message in the WSDL (<wsdl:message name="Request"/>) or i must specify an element with a name and a type as xsd:anyType. If is it possible in mode document to specify an abstract type as xsd:anyType,why don't the same thing for the name of the root of the document xml ?
When i don't specify a part for the message, for example by default the tool i use (lomboz soap) generate a SOAP request with a tag with the name of the operation,and with a wsdd file with style='document' axis generate a wsdl with an element with a name too.
Yahoo! Mail : votre e-mail personnel et gratuit qui vous suit partout ! Créez votre Yahoo! Mail sur http://fr.benefits.yahoo.com/
Dialoguez en direct avec vos amis grâce à Yahoo! Messenger !Téléchargez Yahoo! Messenger sur http://fr.messenger.yahoo.com
~~~~~~~~~~~~~~~~~~
Anne Thomas Manes
VP & Research Director
Burton Group