Passing Filters to NAV WebService Page

Hi,

we would like to connect NAV to an special android app for our salespersons.

We got the connection to NAV by the help of Ksoap2. Now we can load Page-Data to our local Database in NAV, but unfortunately we can’t pass a filter to the Page. How is it possible to connect to the NAV “ReadMultiple” Function of the WebService?

Look at my solution right know:

MyAsyncTask-Method →

----------------------------------MYCODE--------------------------------

  1. public void connectToNAV() {
  2. String namespace = “urn:microsoft-dynamics-schemas/page/orderheader”;
  3. String url = “”>172.16.1.15:7047/…/OrderHeader";
  4. String soap_action = “urn:microsoft-dynamics-schemas/page/orderheader:ReadMultiple”;
  5. String method_name = “ReadMultiple”;
  6. String great;
  7. try {
  8. SoapObject request = new SoapObject(namespace, method_name);
  9. SoapSerializationEnvelope envelope = new SoapSerializationEnvelope(SoapEnvelope.VER11);
  10. envelope.dotNet = true;
  11. envelope.setOutputSoapObject(request);
  12. NtlmTransport ntlm = new NtlmTransport();
  13. ntlm.debug = true;
  14. ntlm.setCredentials(url, “myuser”, “mypasswort”, “billy”, “”);
  15. ntlm.call(soap_action, envelope); // Receive Error here!
  16. SoapObject result = (SoapObject) envelope.getResponse();
  17. great = result.toString();
  18. System.out.println(great);
  19. } catch (Exception e) {
  20. e.printStackTrace();
  21. great = e.toString();
  22. System.out.println(great);
  23. }
  24. }

--------------------------- END ------------------------------

With this code I can call all the OrderLines, but I need only the ones of one salesperson. How to realize the filter?