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 8825579
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 14, 20262026-06-14T06:54:48+00:00 2026-06-14T06:54:48+00:00

I am a beginner in the development of web services. I want to generate

  • 0

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?

  • 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-06-14T06:54:50+00:00Added an answer on June 14, 2026 at 6:54 am

    Wsgen.exe is called in the following way:

    WSGEN [options] <SEI>
    

    It reads a web service endpoint implementation class (SEI) and generates all the required artifacts for web service deployment, and invocation.

    In the command line you posted I only see options, you specified no SEI. And from here the message “Missing SEI” (i.e. you didn’t provide a mandatory command line argument).

    I don’t know your exact setup but if I were to have this structure:

    c:\temp
    ├───classpath
    │   └───com
    │       └───calc
    │           └───ws
    │               └───Calculator.class
    └───generated
    

    If I run (on one line):

    wsgen -cp c:\temp\classpath 
          -keep 
          -s c:\temp\generated 
          com.calc.ws.Calculator
    

    I will get my classes, but if I run just:

    wsgen -cp c:\temp\classpath 
          -keep 
          -s c:\temp\generated 
    

    I will get:

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

Sidebar

Related Questions

I am beginner in web development and I am now using XAMPP package to
I am a real beginner in web development. The following code is failing at
I am a beginner at software development and web site development. I love using
I am a beginner in i phone development.I am,right now, using web service to
I am a beginner to web application development. I have the code of a
Beginner in Android development. My code crashes. I have made a simple Java method
I am beginner in web development, I am developing a site that allows user
I'm a beginner in web development, and I'm trying to insert line breaks in
I plan to start web app development. (Html, Css and Php) I want to
I'm a bit new to web development so forgive the slightly beginner question. Can

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.