Since it's a Maven project, the Maven build lifecycle must be followed to build the SOAP SOE. soe file, which can be deployed to ArcGIS Server. Continue to build the SOAP SOE project now.īuilding an SOE project will package the project's classes, dependencies, and resources into a. You will address those warnings during project build. If you see any warnings, you can ignore them for now as long as the project successfully builds ( Build Success) and generates the entsdksamples.soe package and Java Simple SOAPSOE class and IJava Simple SOAPSOE interface under the src\main\java folder. You should see Build Success on the right of the bottom Run Tool Window. Click Finish.Ī new SOE project is created. Note: You must add the soeName property, which is a required property used for the SOE's class name, otherwise the SOE project can't be built.Įnsure Maven home directory is set to use the supported Maven and the soeName property is added. Add a Maven property soeName with the value Java Simple SOAPSOE. Note: Ensure that Project SDK is set to use the supported JDK before you proceed.Įnter the information in the parameters below and click Next:Ĭlick the + button on the right. Other SOE and SOI archetypes will also be automatically picked up and show up next time when you choose Create from archetype. Otherwise, click the Add Archetype button on the right, type the following values in the Add Archetype wizard, and then click OK: If the soap-soe-archetype has already been added, skip this step. Check the Create from archetype checkbox. The New Project wizard appears.Ĭhoose Maven on the left menu. Launch IntelliJ and choose Create New Project. See more details in the Installation section. To create a SOAP SOE using IntelliJ, complete the following steps:Įnsure that ArcGIS Enterprise SDK, Java, and Maven are all installed on your development environment. \Enterprise SDK\Samples\Java\serverobjectextensions\simplesoapsoe). The SOE that you will create in this topic is also provided as a sample, named Simple SOAP SOE in the ArcGIS Enterprise SDK(. The i added the rest of the jar in the pom.This topic describes how to create, build, and deploy a SOAP server object extension (SOE) under the Maven framework using IntelliJ. To resolve this problem i used the response in this post Adding external JAR to Maven project in NetBeans (the Paul answer) and basicly added 3 libraries one for the original jar ( babelnet-api-4.0.1.jar) one for the lcl-jlt-2.4.jar and for babelscape-data- commons-1.0.jar. The babelnet api doesn't have the support for the maven project (can't add it to the pom).įinaly resolved this problem. How can I add the config files (they are properties extension files) to my project so I can run without error. The problem is that the babelnet has a config folder where they define the enums, when I try to run the program I get an error involving the enums. I am trying to add babelnet api to my project I add the main jar to.m2/repository and the using the pom inside that jar I called all the jars that they need to run their project.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |