I am a beginner in the development of web services. I want to generate artifacts using wsgen.exe.
Here is my code:
package com.calc.ws;
import javax.jws.WebService;
@WebService
public class Calculator {
public int add(int a, int b) {
return (a + b);
}
public int sub(int a, int b) {
return (a - b);
}
}
The problem I'm facing is when I want to generate the artifacts from the command line with this command (one liner):
C:\Program Files\Java\jdk1.7.0_05\bin\wsgen
-cp "c:\users\mico\workspaceSOA\calcWS\src\com.calc.ws.Calculator"
-verbose
-d "C:\users\mico\classes\"
I get this error:
Missing SEI.
What is causing this?