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 Octav Chipara <oc...@cse.unl.edu> on 2000/07/24 23:51:44 UTC

Problem ...



Hi,

This implementation of soap requires a type to be defined on every
element. IMHO, if you are going to use a schema there is no need of such a
thing. For instance, the following SOAP message should not need any
attribute to specify its type as long as the type is specified inside the
schema:

<SOAP-ENV:Envelope
xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:xsi="http://www.w3.org/1999/XMLSchema/instance/"
xmlns:xsd="http://www.w3.org/1999/XMLSchema/"> 
<SOAP-ENV:Body> 
	<m:getRecipe 
	xmlns:m="http://cse-mfayad.unl.edu/xml-soap/RecipeFetcher" 
	SOAP-ENV:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"
	xsi:schemaLocation="http://cse-mfayad2.unl.edu/~ochipara/Schema1
	http://cse-mfayad2.unl.edu/~ochipara/Schema1.xsd"
	>
	<Recipe>NachoDip</Recipe> 
	</m:getRecipe> 
</SOAP-ENV:Body> 
</SOAP-ENV:Envelope>


Any comments?

-Octav

******************************************************************************
e-mail:         ochipara@cse.unl.edu
phone:		(402)472-9492
web page:	www.cse.unl.edu/~ochipara
******************************************************************************