Skip to content

SalAlba/JAX-WS

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Create simple CRUD in JAVA using SOAP/JAX-WS

How To run

We assume you are in the main folder(src).

|_src
  |_ server
  |_ client
  |_ README.md
	

For Windows

  1. $ javac server/*.java
  2. $ start java server.FactoryServer OR $ start java server/FactoryServer
  3. $ wsimport -keep -p client http://localhost:9999/factoryService?wsdl
  4. $ javac client/FactoryClient.java OR $ javac client/*.java
  5. $ java client.FactoryClient OR $ java client/FactoryClient

Some popular error

  1. could not find or load main class problem in java to fix it type the command below in cmd

$ SET PATH=%PATH%;C:\Program Files\Java???JDK???\bin

SET PATH=%PATH%;C:\Program Files\Java\jdk1.8.0_152\bin