soapenv:Body> <soapenv:Fault> <faultcode>soapenv:Server.userException</faultcode> <faultstring>org.xml.sax.SAXParseException; lineNumber: 9; columnNumber: 12; Il tipo di elemento "urn:getState" deve terminare con la corrispondente tag finale "</urn:getState>".</faultstring> <detail> <ns1:hostname xmlns:ns1="http://xml.apache.org/axis/">fxxx.com</ns1:hostname> </detail> </soapenv:Fault> </soapenv:Body>
In your case 'id' is the xml element which is expected by definition of your webservice. XML elements usually have content wrapped inside them. It is the most obvious and we've seen it all. For example:
<id>This sample content</id>
Not uncommon but a little bit more complex is providing content in one or more attributes of respective element. For Example:
<id typeAttribute="Sample content of typeAttribute" anotherAttribute="Sample content of anotherAttribute">This is sample content</id>
At last we are getting to namespaces. You can see them in bold in your example bellow and they are basically saying attribute 'type' belongs to namespace (you can imagine namespace as a group or collection of elements) called 'xsi'. Attribute 'arrayType' belongs to 'soapenc' namespace. So namespaces are used to describe relation of element or attribute to certain group, which enables you in practice to distinguish among all the elements in xml file and crete pseudogroups for whatever purpose you may have.