weservice in apex which will be called by external system
I need to create a webservice in apex which will be called by external system. Everything seems to be very easy, but requirement is that we should use attribute in xml request. So for example
<tagName xmlns:attName="value"/>
How should we map attribute to class structure that salesforce use for webservice. Class for request looks like this:
global class tagName{
webservice String attName; }
This doesn't work, and value from attribute isn't put into class variable.
Is there a way how to get attribute from xml request into salesforce webservice?
Anyone? Can this be done?