- This topic has 1 reply, 2 voices, and was last updated 13 years, 9 months ago by support-swapna.
-
AuthorPosts
-
krishna.chaitanyaMemberHello,
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.
support-swapnaModeratorkrishna.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.
-
AuthorPosts