facebook

Source not found error while de-bugging

  1. MyEclipse Archived
  2.  > 
  3. Documentation
Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #316271 Reply

    Hello,

    That’s the error I get, followed by the button which says “Edit source lookup path”. I’m trying to debug my project as an android application.

    In my program I’ve tried to create a Web Service. But I did not open my project as a Web Service Project, instead as an Android Project, so that I can run it on the Android Emulator.

    The program is as below:

    _________________________________________________
    package com.hascode.tutorial.soap;

    import android.app.Activity;
    import android.os.Bundle;
    import javax.jws.WebMethod;
    import javax.jws.WebService;

    public class SampleServiceActivity extends Activity {
    /** Called when the activity is first created. */
    @Override
    public void onCreate(Bundle savedInstanceState) {

    super.onCreate(savedInstanceState);
    setContentView(R.layout.main);

    }

    @WebService

    public class SampleService extends SampleServiceActivity{
    @WebMethod(operationName = “getInfo”)
    public String getInformation() {
    return “hasCode.com”;
    }

    public String doubleString(String inString) {
    return inString + inString;
    }

    }

    }

    __________________________________________________ ______________

    __________________________________________________ ______________
    package com.hascode.tutorial.soap;

    import javax.xml.ws.Endpoint;

    import com.hascode.tutorial.soap.SampleServiceActivity.Sa mpleService;

    public class Main {

    public static void main(String[] args) {
    SampleService sampleService = null;
    Endpoint.publish(“http://localhost:8090/soap/sample”, sampleService);

    }

    }

    __________________________________________________ ______________

    Regards,
    Krishna.

    #316294 Reply

    support-swapna
    Moderator

    krishna.chaitanya,

    1) Can you share your installation details from MyEclipse > Installation Summary > Installation Details ? Paste them here for me.

    2) Here are some links which discuss this issue. Can you check if any of them help resolve your case?

    http://stackoverflow.com/questions/2565279/android-edit-source-lookup-path
    http://androidcommunity.com/forums/f4/debugging-my-first-app-no-source-found-15397/
    https://www.genuitec.com/forums/topic/how-to-stop-quot-edit-source-lookup-path-quot-re-appea/

    Let me know how it works for you.

Viewing 2 posts - 1 through 2 (of 2 total)
Reply To: Source not found error while de-bugging

You must be logged in to post in the forum log in