Use of attributes in Soap body elements beside namespace or type
0 posts in topic
Flat View  Flat View
TOPIC ACTIONS:
 

Posted By:   Avi_Grossbard
Posted On:   Monday, October 26, 2009 11:36 AM

I was asked by a collegue of mine whether it is possible to activate Web Services using Soap body attributes other then the namespace and type. For instance suppose I want to call to web service with the following signature: int myOpeartion(String aString, int aInt); But I don't want the Soap body to look like (namespaces & types nuked): Hi there 10 instead I want to use attributes syntax like: side questions: Is it possible to map this soap body to WSDL definition? If yes, WSDL example would be helpful. Is it supported by WSImport ?    More>>

I was asked by a collegue of mine whether it is possible to activate Web Services using Soap body attributes other then the namespace and type.


For instance suppose I want to call to web service with the following signature:


int myOpeartion(String aString, int aInt);


But I don't want the Soap body to look like (namespaces & types nuked):



Hi there
10




instead I want to use attributes syntax like:




side questions:


Is it possible to map this soap body to WSDL definition?


If yes, WSDL example would be helpful.

Is it supported by WSImport ?

   <<Less
About | Sitemap | Contact