You are viewing a plain text version of this content. The canonical link for it is here.
Posted to soap-dev@ws.apache.org by "Yang, Guang" <gy...@essex.ac.uk> on 2003/07/31 18:01:05 UTC

How to descibe Element in wsdl?

Dear all:

I got a soap service take org.w3c.dom.Element as parameter
And return org.w3c.dom.Element.

My question is: how to describe the parameter and return value in wsdl
of this service.

any response will be appriciated!

Sincerely,

Yang Guang

Keynes Tower 5/13
University of Essex
Wivenhoe Park
Colchester
Essex  CO4 3SQ

Tel: +44 (0)1206 535808
E-mail: gyang@essex.ac.uk 

Re: How to descibe Element in wsdl?

Posted by Scott Nichol <sn...@scottnichol.com>.
Did you write your own serializer or use literal XML encoding?  If you used the latter, to my knowledge, Apache SOAP is the only implementation that supports this, so there is no sense trying to write WSDL.

If you wrote your own serializer, you can write WSDL, although if you truly send arbitrary XML fragments, I am not sure how you would write the schema for that.

Scott Nichol

Do not send e-mail directly to this e-mail address,
because it is filtered to accept only mail from
specific mail lists.

----- Original Message ----- 
From: "Yang, Guang" <gy...@essex.ac.uk>
To: <so...@ws.apache.org>
Sent: Thursday, July 31, 2003 12:01 PM
Subject: How to descibe Element in wsdl?


Dear all:

I got a soap service take org.w3c.dom.Element as parameter
And return org.w3c.dom.Element.

My question is: how to describe the parameter and return value in wsdl
of this service.

any response will be appriciated!

Sincerely,

Yang Guang

Keynes Tower 5/13
University of Essex
Wivenhoe Park
Colchester
Essex  CO4 3SQ

Tel: +44 (0)1206 535808
E-mail: gyang@essex.ac.uk