Hi I'm trying to get my SOAP web service to run using mapped JSON instead of XML. Because it is not that obvious when moving to JSON, what works and what does not, I had to do some drilling down in to the code. I got a sample Service running based in an org.apache.axis2.receivers.RawXMLINOutMessageReceiver. But that's not the way to implement web services in these days. Basically, as AXIS is designed, we should be able to use databinding, as soon as we get the JSON stuff properly converted in to XML. This seams not to be the case at the moment (namespace mismatch)
So i though about writing a wrapper around my generated skeleton and adding the correct namespaces myself, based on the prefixes used in the mapped JSON. Now it is where i get confused. In the documentation is mentioned to us a full stop "." to separate namespace-pefix from element name. http://axis.apache.org/axis2/java/core/docs/json_support.html When i look at the code, I see, that there a colon ":" is expected to separate the prefix from the element name. See org.apache.axis2.json.AbstractJSONOMBuilder line 116 to 143 When I use a full stop "." I get an error, that the method is not found (Axis is looking for the howl thing, prefix and element name) When I use a colon ":" I get the an error in the data binding (this is ok, because of the mismatching namespace issue and when i get the prefixed matched to the correct namespaces this should be solved.) Before I try to work around the mismatching namespace issue I really would like to know, how this is supposed to work with prefix, how prefix and element-name are separated, what prefixes are used for and what axis does with them. Thanks for your help and best regards Matthias