Click here to Skip to main content
15,890,741 members
Home / Discussions / Android
   

Android

 
GeneralRe: Android crash when app is high score menu opened Pin
Member 113605018-Jan-15 0:12
Member 113605018-Jan-15 0:12 
GeneralRe: Android crash when app is high score menu opened Pin
Richard MacCutchan8-Jan-15 0:36
mveRichard MacCutchan8-Jan-15 0:36 
GeneralRe: Android crash when app is high score menu opened Pin
Member 113605018-Jan-15 1:03
Member 113605018-Jan-15 1:03 
GeneralRe: Android crash when app is high score menu opened Pin
Gonzoox5-Mar-15 4:38
Gonzoox5-Mar-15 4:38 
AnswerRe: Android crash when app is high score menu opened Pin
David Crow8-Jan-15 3:34
David Crow8-Jan-15 3:34 
QuestionAndroid USB Mode Pin
Sarita S7-Jan-15 0:21
Sarita S7-Jan-15 0:21 
Questionksoap2: error call webservice Pin
nvpopovich1-Jan-15 23:20
nvpopovich1-Jan-15 23:20 
Hi and Happy New Year!Smile | :)

I'm using ksoap2 to call webservice's method and get exception when bilding envelope:

org.xmlpull.v1.XmlPullParserException: expected: START_TAG {http://schemas.xmlsoap.org/soap/envelope/}Envelope (position:START_TAG <definitions name="WebService" targetnamespace="http://93.174.51.130:7000/WebService">@10:58 in java.io.InputStreamReader@b3e83c10)

Name space in WSDL is "http://93.174.51.130:7000/WebService"

and namespace in code too, what problem, help me please!

I used search but can't find exactly answer

WSDL and code below, Thanks

WSDL: http://93.174.51.130:7000/db1c_rt-lt/ws/WebService.1cws?wsdl
private static final String SOAP_ACTION="http://93.174.51.130:7000/WebService#WebService:Authentication";
    private static final String SOAP_METHOD_NAME="Authentication";
    private static final String URL = "http://93.174.51.130:7000/db1c_rt-lt/ws/WebService.1cws?wsdl";
    private static final String NAMESPACE="http://93.174.51.130:7000/WebService";

    public void ExecuteRequest(){
        SoapObject Request = new SoapObject(NAMESPACE, SOAP_METHOD_NAME);

        // here you form body of your SOAP-request
        Request.addProperty("Login", "Test_User");
        Request.addProperty("Password", "ddI334_H23");
        Request.addProperty("appGUID", UUID.randomUUID().toString());

        SoapSerializationEnvelope soapEnvelope = new SoapSerializationEnvelope(SoapEnvelope.VER12);
        soapEnvelope.dotNet = false;

        soapEnvelope.setAddAdornments(false);
        soapEnvelope.encodingStyle = SoapSerializationEnvelope.ENC;
        soapEnvelope.env=SoapSerializationEnvelope.ENV;
        soapEnvelope.implicitTypes = true;

        // here you form additional header's data for your SOAP request
        /*soapEnvelope.headerOut = new Element[1];
        soapEnvelope.headerOut[0] = Form_Header(Security_Header);

        soapEnvelope.setOutputSoapObject(Request);*/

        HttpTransportSE aht = new HttpTransportSE(URL);
        //HttpTransportSE aht = new HttpTransportBasicAuthSE(URL, "WebUser", "1");
        aht.debug = true;

        try
        {
            aht.call(SOAP_ACTION, soapEnvelope);
            SoapPrimitive resultString = ( SoapPrimitive)soapEnvelope.getResponse();
            //TODO: appropriate parsing and processing routine for resultString
            Log.i("Check_Soap_Service", "resultString -  " + resultString);
        }
        catch (Exception e)
        {
            Log.i("Check_Soap_Service","Exception : "+e.toString());
        }
        finally
        {
            Log.i(getClass().getSimpleName(),"requestDump : "+aht.requestDump);
            Log.i(getClass().getSimpleName(),"responseDump : "+aht.responseDump);
        }
    }

QuestionAndroid USB Mode Pin
Sarita S25-Dec-14 23:21
Sarita S25-Dec-14 23:21 
AnswerRe: Android USB Mode Pin
Richard MacCutchan26-Dec-14 22:29
mveRichard MacCutchan26-Dec-14 22:29 
AnswerRe: Android USB Mode Pin
Sarita S30-Dec-14 23:50
Sarita S30-Dec-14 23:50 
AnswerRe: Android USB Mode Pin
Member 117320901-Jun-15 0:09
Member 117320901-Jun-15 0:09 
QuestionAndroid application Pin
APURBA RAM24-Dec-14 3:00
APURBA RAM24-Dec-14 3:00 
JokeRe: Android application Pin
APURBA RAM24-Dec-14 3:02
APURBA RAM24-Dec-14 3:02 
AnswerRe: Android application Pin
Peter Leow24-Dec-14 3:55
professionalPeter Leow24-Dec-14 3:55 
AnswerRe: Android application Pin
Dominic Burford30-Dec-14 5:55
professionalDominic Burford30-Dec-14 5:55 
Questionhow to Insert contacts get from vcf file directly to Phonebook in android Pin
vivek.chauhan200922-Dec-14 17:48
vivek.chauhan200922-Dec-14 17:48 
QuestionUSB Host Android Pin
Sarita S16-Dec-14 21:07
Sarita S16-Dec-14 21:07 
Questionhandler a textview and two button in listview in contactlist classe Pin
Member 1131532916-Dec-14 6:03
Member 1131532916-Dec-14 6:03 
QuestionRe: handler a textview and two button in listview in contactlist classe Pin
David Crow16-Dec-14 7:50
David Crow16-Dec-14 7:50 
Questionapplication of Continous wavelet transform to sound signals in android Pin
Member 1131095214-Dec-14 19:53
Member 1131095214-Dec-14 19:53 
AnswerRe: application of Continous wavelet transform to sound signals in android Pin
Richard MacCutchan14-Dec-14 22:25
mveRichard MacCutchan14-Dec-14 22:25 
QuestionGoogle's Android studio. Has anyone played with it yet? Pin
rnbergren12-Dec-14 7:37
rnbergren12-Dec-14 7:37 
AnswerRe: Google's Android studio. Has anyone played with it yet? Pin
Richard MacCutchan12-Dec-14 22:14
mveRichard MacCutchan12-Dec-14 22:14 
AnswerRe: Google's Android studio. Has anyone played with it yet? Pin
David Crow15-Dec-14 2:57
David Crow15-Dec-14 2:57 
AnswerRe: Google's Android studio. Has anyone played with it yet? Pin
M.FarrukhFaizy29-Dec-14 2:09
M.FarrukhFaizy29-Dec-14 2:09 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.