Skip to content

nargolakbari/soapproject

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

soapproject

  1. I use VS code to create a maven spring boot project with two dependencies : spring-boot-starter-web , spring-boot-starter-web-services

  2. put wsdl document in our project in the path: ...src\main\resources\wsdl( after gics deplyment on your server you can see this document in the url like "http://serverIP:8080/gics/gicsService?wsdl"

  3. add this plugin to generate stubs (please look pom.xml) :

org.jvnet.jaxb2.maven2 maven-jaxb2-plugin 0.15.1 generate consumesoap.soapclient.stubs ${project.basedir}/src/main/java ${project.basedir}/src/main/resources/wsdl *.wsdl

also these :

com.sun.xml.bind jaxb-core 2.3.0.1
	<dependency>
		<groupId>javax.xml.bind</groupId>
		<artifactId>jaxb-api</artifactId>
		<version>2.3.1</version>
	</dependency>
	 
	<dependency>
		<groupId>com.sun.xml.bind</groupId>
		<artifactId>jaxb-impl</artifactId>
		<version>2.3.1</version>
	</dependency>
	  
	<dependency>
		<groupId>org.javassist</groupId>
		<artifactId>javassist</artifactId>
		<version>3.25.0-GA</version>
	</dependency>


4. for every service we should create class, config and controller files , I put one service "getDomain" .
we should be careful about class difinition according to each gics service's input arguments and type of output and use them in it's controller . 
for example: the type of "getDomain" output is "DomainDTO" 

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors