Click here to Skip to main content
14,691,039 members
Home » Discussions » Android
   

Android

 
GeneralRe: Android crash when app is high score menu opened Pin
Richard MacCutchan8-Jan-15 1:09
mveRichard MacCutchan8-Jan-15 1:09 
GeneralRe: Android crash when app is high score menu opened Pin
Member 113605018-Jan-15 1:12
MemberMember 113605018-Jan-15 1:12 
GeneralRe: Android crash when app is high score menu opened Pin
Richard MacCutchan8-Jan-15 1:36
mveRichard MacCutchan8-Jan-15 1:36 
GeneralRe: Android crash when app is high score menu opened Pin
Member 113605018-Jan-15 2:03
MemberMember 113605018-Jan-15 2:03 
GeneralRe: Android crash when app is high score menu opened Pin
Gonzoox5-Mar-15 5:38
MemberGonzoox5-Mar-15 5:38 
AnswerRe: Android crash when app is high score menu opened Pin
David Crow8-Jan-15 4:34
MemberDavid Crow8-Jan-15 4:34 
QuestionAndroid USB Mode Pin
Sarita S7-Jan-15 1:21
MemberSarita S7-Jan-15 1:21 
Questionksoap2: error call webservice Pin
nvpopovich2-Jan-15 0:20
Membernvpopovich2-Jan-15 0: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 S26-Dec-14 0:21
MemberSarita S26-Dec-14 0:21 
AnswerRe: Android USB Mode Pin
Richard MacCutchan26-Dec-14 23:29
mveRichard MacCutchan26-Dec-14 23:29 
AnswerRe: Android USB Mode Pin
Sarita S31-Dec-14 0:50
MemberSarita S31-Dec-14 0:50 
AnswerRe: Android USB Mode Pin
Member 117320901-Jun-15 1:09
MemberMember 117320901-Jun-15 1:09 
QuestionAndroid application Pin
APURBA RAM24-Dec-14 4:00
MemberAPURBA RAM24-Dec-14 4:00 
JokeRe: Android application Pin
APURBA RAM24-Dec-14 4:02
MemberAPURBA RAM24-Dec-14 4:02 
AnswerRe: Android application Pin
Peter Leow24-Dec-14 4:55
professionalPeter Leow24-Dec-14 4:55 
AnswerRe: Android application Pin
Dominic Burford30-Dec-14 6:55
professionalDominic Burford30-Dec-14 6:55 
Questionhow to Insert contacts get from vcf file directly to Phonebook in android Pin
vivek.chauhan200922-Dec-14 18:48
Membervivek.chauhan200922-Dec-14 18:48 
QuestionUSB Host Android Pin
Sarita S16-Dec-14 22:07
MemberSarita S16-Dec-14 22:07 
Questionhandler a textview and two button in listview in contactlist classe Pin
Member 1131532916-Dec-14 7:03
MemberMember 1131532916-Dec-14 7:03 
QuestionRe: handler a textview and two button in listview in contactlist classe Pin
David Crow16-Dec-14 8:50
MemberDavid Crow16-Dec-14 8:50 
Questionapplication of Continous wavelet transform to sound signals in android Pin
Member 1131095214-Dec-14 20:53
MemberMember 1131095214-Dec-14 20:53 
AnswerRe: application of Continous wavelet transform to sound signals in android Pin
Richard MacCutchan14-Dec-14 23:25
mveRichard MacCutchan14-Dec-14 23:25 
QuestionGoogle's Android studio. Has anyone played with it yet? Pin
rnbergren12-Dec-14 8:37
Memberrnbergren12-Dec-14 8:37 
AnswerRe: Google's Android studio. Has anyone played with it yet? Pin
Richard MacCutchan12-Dec-14 23:14
mveRichard MacCutchan12-Dec-14 23:14 
AnswerRe: Google's Android studio. Has anyone played with it yet? Pin
David Crow15-Dec-14 3:57
MemberDavid Crow15-Dec-14 3:57 

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.