Connecting to .NET web service from Android 27 MAY If you are having trouble using .NET Web Services with the Android Platform, you have probably reached to the solution here. I am here demonstrating the steps using which you can consume data from the .NET web service in your android app. In order to use .Net web Service from your android application you need to first download the ksoap2 android API. Follow the link to download ksoap2 API for android. After downloading the API, extract the zip file to the file system. Open your Android Project and navigate to the Project Properties. In the project properties go to Java Build Path and say Add External JARs. Add the reference to the extracted ksoap2-j2se-full-2.1.2.jar file from the downloaded API. You are now ready to use ksoap2 to connect to the .NET web service via Android. Let’s assume a .NET web service with two methods “Hello World” that returns a string and “Add” that accepts two numbers and returns t...
Posts
Showing posts from September, 2014
- Get link
- X
- Other Apps
ksoap2-android Introduction The ksoap2-android project provides a lightweight and efficient SOAP client library for the Android platform. It is a fork of the kSOAP2 library that is tested mostly on the Android platform, but should also work on other platforms using Java libraries. It is still using Java 1.3 so should work fine on JavaME, Blackberry and so on. ksoap2-android has been consistently enhanced and expanded with more features. It is actively maintained and we welcome bug fixes and contributions . Releases are done semi regularly with community contributions in the form of enhancements and more. Support For more information check out the pages and linked content of our wiki and join our mailing list . And for the impatient the jars are available in a maven repository here on google code or for download from there as a bundle. More on the How to Use Wiki page . License ksoap2-android is licensed...
ORACLE JOB-un yaradılması
- Get link
- X
- Other Apps
PlSQL-BLOCK tipində JOB-u yaradırıq. Bu JOB hər dəqiqə testProcedure() prosedurasını işə salmaq üçündür. ------------------------------------------------------------------------------------------------ BEGIN DBMS_SCHEDULER.CREATE_JOB ( job_name => 'EXAMPLE_JOB', job_type => 'PLSQL_BLOCK', job_action => 'BEGIN testProcedure(); END;', start_date => SYSTIMESTAMP, repeat_interval => 'FREQ=MINUTELY; INTERVAL=1; BYSECOND=0;', --repeat_interval => 'FREQ=secondly; ', end_date => NULL, enabled => FALSE, job_class ...
Oracle-da Java kodunun plsql vasitəsilə işlədilməsi
- Get link
- X
- Other Apps
Aşağıdakı kodlar vasitəsilə String qiyməti qaytaran java metodunun pl-sql vasitəsilə işlədilməsi addımları yerləşdirilmişdir. -----------------STEP-1----------------------------- CREATE OR REPLACE AND RESOLVE JAVA SOURCE NAMED returnString AS public class returnString { public static String testval() { String returnVal=""; returnVal="HELLO WORLD"; return returnVal; } } / ----------------------STEP-2----------------------------- CREATE OR REPLACE PACKAGE returnString AS FUNCTION testval RETURN VARCHAR2 AS LANGUAGE JAVA NAME 'returnString.testval () return java.lang.String'; END returnString; / SHOW ERRORS / -------------------STEP-3----------------------------------- declare ns varchar2(500); begin ns:=returnString.testval() ; dbms_output...