Replying to my own question

I think for doc/lit referring to element makes sure that a part will have only one child element, which is a requirement for doc/lit.

But still not sure why RPC/lit must refer to a type ?

 

regards

Sanjay

 

 

-----Original Message-----
From: sanjay [mailto:[EMAIL PROTECTED]
Sent:
Wednesday, July 07, 2004 4:25 PM
To: [EMAIL PROTECTED]
Subject: java2wsdl - Message element in WSDL for RPC/Lit and Doc/lit (wrapped)

 

Hi

 

I am trying out different styles of generating wsdl with Java2WSDL.

 

For RPC/lit types it generates the <wsd:part name=”” type=”” >

And for Doc /Lit types its <wsdl:part name=”” element=””>

 

WSDL1.1 specification section 2.3 says these are equivalent (http://www.w3.org/TR/wsdl#_message ), so it looks like a design issue, and it must be possible to represent it both ways.

is there some other specific reason why the tool generates references to element in doc/lit and type to RPC/lit.

 

regards

Sanjay

 

Reply via email to