Hi all,
I'm trying to execute a query via the webservice. I can excute the query using the client, it is visible and owned by my user and contains only one column ID.
I transfer the following SOAP using HTTP-post:
<SOAP-ENV:Envelope
xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/"
SOAP-ENV:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/">
<SOAP-ENV:Body>
<m:getItemsByNamedQuery xmlns:m="http://webservice.mks.com/2009/Integrity">
<arg0>
<Username>myuser</Username>
<Password>password</Password>
<InputField>ID</InputField>
<QueryName>testq</QueryName>
</arg0>
</m:getItemsByNamedQuery>
</SOAP-ENV:Body>
</SOAP-ENV:Envelope>
The answer of the server is a fault-message:
<env:Envelope xmlns:env='http://schemas.xmlsoap.org/soap/envelope/'><env:Header></env:Header>
<env:Body>
<env:Fault xmlns:env='http://schemas.xmlsoap.org/soap/envelope/'>
<faultcode>env:Server</faultcode>
<faultstring>Unable to retrieve items via query "null".
</faultstring>
<detail>
<ns1:MKSException class='java.lang.NullPointerException' implication='Unable to retrieve items via query "null".' xmlns:ns1='http://webservice.mks.com/2009/Integrity/fault'/>
</detail>
</env:Fault>
</env:Body>
</env:Envelope>
It seems that the server does not recognize my QueryName-tag. Do you have an idea? Is the request SOAP-message correct, or did I miss something there?
Any help would be highly appreciated,
kind regards
Matthias