facebook

apt_generated code not recognized

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

    INDIDGE
    Member

    I am getting an error every time I try to add a new web service.

    An internal error occurred during: “Generating JAX-WS Web Services”.
    runtime modeler error: Wrapper class com.abc.websvc.jaxws.TestMethod is not found. Have you run APT to generate them?

    I am using a simple class with one test method. I see that the apt_generated folder has the required java file TestMethod.java. It almost looks like the application is searching for the java object before it could generate it. Because of the error, it is not generating the WSDL.

    public class Security {
    private static final long serialVersionUID = 1L;

    private String msg;

    public Security() {
    msg = “Prepend: “;
    }
    public String testMethod(String s) {
    return msg + s;
    }
    }

    Please provide any ideas to complete the web service creation process.

    Thanks,
    Naren

    #295316 Reply

    Loyal Water
    Member

    Naren,
    I have asked someone from the dev team to look into this issue. He will get back to you with a reply asap.

    #295327 Reply

    Brian Fernandes
    Moderator

    Naren,

    I was able to generate a web service from your class without issue. I have a few questions:

    1) Is this a maven project?
    2) what options do you select during Web service geenration?
    3) Which version of ME are you using?
    4) What JRE is your project using, what is your project’s Java compliance level (1.5, 1.6)?
    5) You mentioned that you see the .apt_generated folder, is it a source folder (on the project’s build path) or is it a simple folder?

Viewing 3 posts - 1 through 3 (of 3 total)
Reply To: apt_generated code not recognized

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