Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6753135
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 26, 20262026-05-26T13:07:30+00:00 2026-05-26T13:07:30+00:00

I just pass to Sax parser but now i cant able to do that.

  • 0

I just pass to Sax parser but now i cant able to do that. what is the problem i dont understand.may be some minor mistake irritate me.
this is my code :::

Error::

11-01 14:11:58.243: WARN/System.err(2327): java.net.MalformedURLException: Protocol not found: 203.119.105.55/WebServices/Service.asmx/GetRequest
11-01 14:11:58.243: WARN/System.err(2327):     at java.net.URL.<init>(URL.java:275)
11-01 14:11:58.243: WARN/System.err(2327):     at java.net.URL.<init>(URL.java:159)
11-01 14:11:58.243: WARN/System.err(2327):     at com.SAXParser1.SAXParser1.onCreate(SAXParser1.java:38)
11-01 14:11:58.243: WARN/System.err(2327):     at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1047)
11-01 14:11:58.243: WARN/System.err(2327):     at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2627)
11-01 14:11:58.243: WARN/System.err(2327):     at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2679)
11-01 14:11:58.243: WARN/System.err(2327):     at android.app.ActivityThread.access$2300(ActivityThread.java:125)
11-01 14:11:58.243: WARN/System.err(2327):     at android.app.ActivityThread$H.handleMessage(ActivityThread.java:2033)
11-01 14:11:58.243: WARN/System.err(2327):     at android.os.Handler.dispatchMessage(Handler.java:99)
11-01 14:11:58.243: WARN/System.err(2327):     at android.os.Looper.loop(Looper.java:123)
11-01 14:11:58.253: WARN/System.err(2327):     at android.app.ActivityThread.main(ActivityThread.java:4627)
11-01 14:11:58.253: WARN/System.err(2327):     at java.lang.reflect.Method.invokeNative(Native Method)
11-01 14:11:58.253: WARN/System.err(2327):     at java.lang.reflect.Method.invoke(Method.java:521)
11-01 14:11:58.253: WARN/System.err(2327):     at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:868)
11-01 14:11:58.253: WARN/System.err(2327):     at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:626)
11-01 14:11:58.253: WARN/System.err(2327):     at dalvik.system.NativeStart.main(Native Method)

Activity::

try { 

    URL sourceUrl = new URL("URL");

    SAXParserFactory spf = SAXParserFactory.newInstance();
    SAXParser sp = spf.newSAXParser();

    XMLReader xr = sp.getXMLReader();

    Handler1 dataHandler = new Handler1();
    xr.setContentHandler(dataHandler);

    xr.parse(new InputSource(sourceUrl.openStream()));

    Dataset dataset = dataHandler.getParsednewJobdtl_DataSet();
    Toast.makeText(getBaseContext(), "sourceUrl"+sourceUrl, Toast.LENGTH_LONG);



            RequestID  = dataset.getRequestID();
            Toast.makeText(getBaseContext(), "RequestID"+RequestID, Toast.LENGTH_LONG);
            Status  = dataset.getStatus();
            Toast.makeText(getBaseContext(), "Status"+Status, Toast.LENGTH_LONG);
            URL  = dataset.getURL();
            Toast.makeText(getBaseContext(), "URL"+URL, Toast.LENGTH_LONG);
            ActivityName = dataset.getActivityName();
            Toast.makeText(getBaseContext(), "ActivityName"+ActivityName, Toast.LENGTH_LONG);
            AudioScript  = dataset.getAudioScript();
            Toast.makeText(getBaseContext(), "AudioScript"+AudioScript, Toast.LENGTH_LONG);



       }catch (Exception e) {
         e.printStackTrace();
    } 

Permission in manifest ::

<uses-permission android:name="android.permission.INTERNET"></uses-permission>
  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-26T13:07:31+00:00Added an answer on May 26, 2026 at 1:07 pm

    I have checked the response from the URL you are trying to get response.

    After looking it, I am sure there is a problem in line:

    URL  = dataset.getURL();
    

    You are trying to parse the <URL> tag and error is there.

    Solution:

    Try to mention the URL with http://

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Just how much slower are events? I have written a streaming XML parser (that
So, right now, I just pass a pointer to a Queue object (implementation doesn't
I'm trying to parse some relative large xml-files using the standard sax parser in
sfDoctrineRoute is able to forward 404 or to just pass no object if none
<form><input type=file name=first onchange=jsFunction(2);> <input type=file name=second onchange=jsFunction(3);</form> Possible to pass just numbers to
Just started with JQuery and I've managed to pass a parameter using POST, firebug
I need to pass a pointer through a scripting language which just has a
Just looking for the first step basic solution here that keeps the honest people
How can I emded a pdf inside my app? Should i just pass the
I've just started working with mongodb got a perl script that parses a twitter

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.