I try to get results from a webservice in the following way.
List result = new Vector();
LibrarySearchRequest request = new LibrarySearchRequest(queryString)
Workaround for this problem:
Open your generated class(For this question it is librarysearch.soft.Book
). See the static code block which defines the properties(name, type, etc.) of fields.
You'll something like below:
elemField.setXmlName(new javax.xml.namespace.QName("", "book"));
change it by adding namespaceURI to it (use same namespameURI
which is used at setXmlType
call):
elemField.setXmlName(new javax.xml.namespace.QName("http://your.namespaceuri.here", "book"));