0 Replies Latest reply on Sep 10, 2013 11:49 AM by user12247971

    need help integrating the crm on demand in android


      HI i am trying to consume the Oracle CRM on demand web services in android

      I am doing this with ksoap android but confused with the urls to to declared

      right now i am using


      private final String NAMESPACE = "document/urn:crmondemand/ws/ecbs/account/10/2004" ;

        private final String URL = "https://secure-slsomxvka.crmondemand.com/Services/Account/Query" ;;

        private final String SOAP_ACTION = "document/urn:crmondemand/ws/ecbs/account/10/2004:AccountQueryPage";

        private final String METHOD_NAME = "AccountQueryPage";


      and for login

      public static final String ONDEMAND_WS_URL = "https://secure-slsomxvka.crmondemand.com/Services/Integration?command=login";


      i can log in and get get session but not sure about how to call the account info data or contact data


      SoapObject request = new SoapObject(NAMESPACE, METHOD_NAME);


        request.addProperty("Userid", "XXX");


        request.addProperty("ViewMode", "organization");

        request.addProperty("BookName", "");

        request.addProperty("jsessionid", JSESSIONID);

        SoapSerializationEnvelope envelope = new SoapSerializationEnvelope(



        HttpTransportSE androidHttpTransport = new HttpTransportSE(URL);

        try {

                androidHttpTransport.call(SOAP_ACTION, envelope);

                SoapPrimitive  response = (SoapPrimitive) envelope.getResponse();

      } catch (Exception e) {

      Log.e(TAG, "Error"+e)