Welcome to the new platform of Programmers Heaven! We apologize for the inconvenience caused, if you visited us from a broken link of the previous version. The main reason to move to a new platform is to provide more effective and collaborative experience to you all. Please feel free to experience the new platform and use it's exciting features. Contact us for any issue that you need to get clarified. We are more than happy to help you.
Use of attributes in Soap body elements beside namespace or type
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:
Does this kind of conversion(from Soap with attributes as specified above)to the web service method where the Soap attributes are the method's arguments) is supported by any vendor?
Is it possible to map this Soap body to WSDL definition?
If yes, WSDL example would be helpful.
Is it supported by WSImport tool?