Skip to content

Commit

Permalink
Merge branch 'WS' into PM2-Post-Soap-Fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
Mchapuis authored Apr 4, 2018
2 parents 0abbf11 + 6498d8c commit e379f82
Show file tree
Hide file tree
Showing 19 changed files with 1,997 additions and 155 deletions.
3 changes: 2 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
/bin
/nbproject/private/
/nbproject/private/
/dist/
9 changes: 6 additions & 3 deletions README_webServices.txt
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,10 @@
HOW TO OPEN/USE THE PROJECT IN OPENESB
-------------------------------------------------------

1-Run Main.java in ca.concordia.cse.gipsy.ws.soap
2-Enter a number to run the service
3-Once the files are created server side, enter the command getFileGenerated to retreive them

1-libraries needed for this project is under src/lib, you will probably have to manually add dom4j-1.6.1.jar and jdom.jar in this folder
2-Files created are located in ca/concordia/cse/gipsy/ws/soap
3-Once you build/clean and deploy successfully the project, you should be able to access the generator in a browser

Note:
Libraries needed for this project is under src/lib
5 changes: 5 additions & 0 deletions WebContent/WEB-INF/jax-ws-catalog.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<catalog xmlns="urn:oasis:names:tc:entity:xmlns:xml:catalog" prefer="system">
<system systemId="http://localhost:8080/WSC-Gen/GeneratorWSService?wsdl" uri="wsdl/localhost_8080/WSC-Gen/GeneratorWSService.wsdl"/>
<system systemId="http://localhost:8080/WSC-Gen/GeneratorWSService?xsd=1" uri="wsdl/localhost_8080/WSC-Gen/GeneratorWSService.xsd_1.xsd"/>
</catalog>
413 changes: 413 additions & 0 deletions WebContent/WEB-INF/wsdl/localhost_8080/WSC-Gen/GeneratorWSService.wsdl

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
@@ -0,0 +1,272 @@
<?xml version='1.0' encoding='UTF-8'?><!-- Published by JAX-WS RI (http://jax-ws.java.net). RI's version is Metro/2.3.1-b419 (branches/2.3.1.x-7937; 2014-08-04T08:11:03+0000) JAXWS-RI/2.2.10-b140803.1500 JAXWS-API/2.2.11 JAXB-RI/2.2.10-b140802.1033 JAXB-API/2.2.12-b140109.1041 svn-revision#unknown. --><xs:schema xmlns:tns="http://soap.ws.gipsy.cse.concordia.ca/" xmlns:xs="http://www.w3.org/2001/XMLSchema" version="1.0" targetNamespace="http://soap.ws.gipsy.cse.concordia.ca/">

<xs:element name="Exception" type="tns:Exception"/>

<xs:element name="calculateMinNumberConcepts" type="tns:calculateMinNumberConcepts"/>

<xs:element name="calculateMinNumberConceptsResponse" type="tns:calculateMinNumberConceptsResponse"/>

<xs:element name="getErrorMessages" type="tns:getErrorMessages"/>

<xs:element name="getErrorMessagesResponse" type="tns:getErrorMessagesResponse"/>

<xs:element name="getFileGenerated" type="tns:getFileGenerated"/>

<xs:element name="getFileGeneratedResponse" type="tns:getFileGeneratedResponse"/>

<xs:element name="infoButton" type="tns:infoButton"/>

<xs:element name="infoButtonResponse" type="tns:infoButtonResponse"/>

<xs:element name="setBpelFileName" type="tns:setBpelFileName"/>

<xs:element name="setBpelFileNameResponse" type="tns:setBpelFileNameResponse"/>

<xs:element name="setCompleteSolutionDepth" type="tns:setCompleteSolutionDepth"/>

<xs:element name="setCompleteSolutionDepthResponse" type="tns:setCompleteSolutionDepthResponse"/>

<xs:element name="setDefault" type="tns:setDefault"/>

<xs:element name="setDefaultResponse" type="tns:setDefaultResponse"/>

<xs:element name="setGenerateIntermediateFiles" type="tns:setGenerateIntermediateFiles"/>

<xs:element name="setGenerateIntermediateFilesResponse" type="tns:setGenerateIntermediateFilesResponse"/>

<xs:element name="setGipsy" type="tns:setGipsy"/>

<xs:element name="setGipsyResponse" type="tns:setGipsyResponse"/>

<xs:element name="setIgnoreMinimum" type="tns:setIgnoreMinimum"/>

<xs:element name="setIgnoreMinimumResponse" type="tns:setIgnoreMinimumResponse"/>

<xs:element name="setNumberOfConcepts" type="tns:setNumberOfConcepts"/>

<xs:element name="setNumberOfConceptsResponse" type="tns:setNumberOfConceptsResponse"/>

<xs:element name="setNumberOfServices" type="tns:setNumberOfServices"/>

<xs:element name="setNumberOfServicesResponse" type="tns:setNumberOfServicesResponse"/>

<xs:element name="setOwlFileName" type="tns:setOwlFileName"/>

<xs:element name="setOwlFileNameResponse" type="tns:setOwlFileNameResponse"/>

<xs:element name="setServiceWSDLFileName" type="tns:setServiceWSDLFileName"/>

<xs:element name="setServiceWSDLFileNameResponse" type="tns:setServiceWSDLFileNameResponse"/>

<xs:element name="setSolutionsList" type="tns:setSolutionsList"/>

<xs:element name="setSolutionsListResponse" type="tns:setSolutionsListResponse"/>

<xs:element name="setSolvableProblem" type="tns:setSolvableProblem"/>

<xs:element name="setSolvableProblemResponse" type="tns:setSolvableProblemResponse"/>

<xs:element name="setTaskWSDLFileName" type="tns:setTaskWSDLFileName"/>

<xs:element name="setTaskWSDLFileNameResponse" type="tns:setTaskWSDLFileNameResponse"/>

<xs:element name="setWSLAFileName" type="tns:setWSLAFileName"/>

<xs:element name="setWSLAFileNameResponse" type="tns:setWSLAFileNameResponse"/>

<xs:element name="start" type="tns:start"/>

<xs:element name="startResponse" type="tns:startResponse"/>

<xs:complexType name="calculateMinNumberConcepts">
<xs:sequence/>
</xs:complexType>

<xs:complexType name="calculateMinNumberConceptsResponse">
<xs:sequence/>
</xs:complexType>

<xs:complexType name="getFileGenerated">
<xs:sequence>
<xs:element name="fileType" type="xs:string" minOccurs="0"/>
</xs:sequence>
</xs:complexType>

<xs:complexType name="getFileGeneratedResponse">
<xs:sequence>
<xs:element name="return" type="xs:base64Binary" minOccurs="0"/>
</xs:sequence>
</xs:complexType>

<xs:complexType name="Exception">
<xs:sequence>
<xs:element name="message" type="xs:string" minOccurs="0"/>
</xs:sequence>
</xs:complexType>

<xs:complexType name="setOwlFileName">
<xs:sequence>
<xs:element name="owlFileName" type="xs:string" minOccurs="0"/>
</xs:sequence>
</xs:complexType>

<xs:complexType name="setOwlFileNameResponse">
<xs:sequence/>
</xs:complexType>

<xs:complexType name="setDefault">
<xs:sequence/>
</xs:complexType>

<xs:complexType name="setDefaultResponse">
<xs:sequence/>
</xs:complexType>

<xs:complexType name="setNumberOfServices">
<xs:sequence>
<xs:element name="numberOfServices" type="xs:int"/>
</xs:sequence>
</xs:complexType>

<xs:complexType name="setNumberOfServicesResponse">
<xs:sequence/>
</xs:complexType>

<xs:complexType name="start">
<xs:sequence/>
</xs:complexType>

<xs:complexType name="startResponse">
<xs:sequence>
<xs:element name="return" type="xs:boolean"/>
</xs:sequence>
</xs:complexType>

<xs:complexType name="setGenerateIntermediateFiles">
<xs:sequence>
<xs:element name="generateIntermediateFiles" type="xs:boolean"/>
</xs:sequence>
</xs:complexType>

<xs:complexType name="setGenerateIntermediateFilesResponse">
<xs:sequence/>
</xs:complexType>

<xs:complexType name="setServiceWSDLFileName">
<xs:sequence>
<xs:element name="serviceWSDLFileName" type="xs:string" minOccurs="0"/>
</xs:sequence>
</xs:complexType>

<xs:complexType name="setServiceWSDLFileNameResponse">
<xs:sequence/>
</xs:complexType>

<xs:complexType name="setSolvableProblem">
<xs:sequence>
<xs:element name="solvableProblem" type="xs:boolean"/>
</xs:sequence>
</xs:complexType>

<xs:complexType name="setSolvableProblemResponse">
<xs:sequence/>
</xs:complexType>

<xs:complexType name="setBpelFileName">
<xs:sequence>
<xs:element name="bpelFileName" type="xs:string" minOccurs="0"/>
</xs:sequence>
</xs:complexType>

<xs:complexType name="setBpelFileNameResponse">
<xs:sequence/>
</xs:complexType>

<xs:complexType name="setTaskWSDLFileName">
<xs:sequence>
<xs:element name="taskWSDLFileName" type="xs:string" minOccurs="0"/>
</xs:sequence>
</xs:complexType>

<xs:complexType name="setTaskWSDLFileNameResponse">
<xs:sequence/>
</xs:complexType>

<xs:complexType name="setIgnoreMinimum">
<xs:sequence>
<xs:element name="ignoreMinimum" type="xs:boolean"/>
</xs:sequence>
</xs:complexType>

<xs:complexType name="setIgnoreMinimumResponse">
<xs:sequence/>
</xs:complexType>

<xs:complexType name="getErrorMessages">
<xs:sequence/>
</xs:complexType>

<xs:complexType name="getErrorMessagesResponse">
<xs:sequence>
<xs:element name="return" type="xs:string" minOccurs="0"/>
</xs:sequence>
</xs:complexType>

<xs:complexType name="setNumberOfConcepts">
<xs:sequence>
<xs:element name="numberOfConcepts" type="xs:int"/>
</xs:sequence>
</xs:complexType>

<xs:complexType name="setNumberOfConceptsResponse">
<xs:sequence/>
</xs:complexType>

<xs:complexType name="setCompleteSolutionDepth">
<xs:sequence/>
</xs:complexType>

<xs:complexType name="setCompleteSolutionDepthResponse">
<xs:sequence/>
</xs:complexType>

<xs:complexType name="setGipsy">
<xs:sequence>
<xs:element name="_gipsy" type="xs:boolean"/>
</xs:sequence>
</xs:complexType>

<xs:complexType name="setGipsyResponse">
<xs:sequence/>
</xs:complexType>

<xs:complexType name="setWSLAFileName">
<xs:sequence>
<xs:element name="WSLAFileName" type="xs:string" minOccurs="0"/>
</xs:sequence>
</xs:complexType>

<xs:complexType name="setWSLAFileNameResponse">
<xs:sequence/>
</xs:complexType>

<xs:complexType name="infoButton">
<xs:sequence/>
</xs:complexType>

<xs:complexType name="infoButtonResponse">
<xs:sequence>
<xs:element name="return" type="xs:string" minOccurs="0"/>
</xs:sequence>
</xs:complexType>

<xs:complexType name="setSolutionsList">
<xs:sequence>
<xs:element name="depthNumbers" type="xs:int" nillable="true" minOccurs="0" maxOccurs="unbounded"/>
</xs:sequence>
</xs:complexType>

<xs:complexType name="setSolutionsListResponse">
<xs:sequence/>
</xs:complexType>
</xs:schema>
82 changes: 82 additions & 0 deletions build/web/wsdl/GeneratorWS.wsdl
Original file line number Diff line number Diff line change
@@ -0,0 +1,82 @@
<?xml version="1.0" encoding="UTF-8"?>
<wsdl:definitions targetNamespace="http://soap.ws.gipsy.cse.concordia.ca" xmlns:apachesoap="http://xml.apache.org/xml-soap" xmlns:impl="http://soap.ws.gipsy.cse.concordia.ca" xmlns:intf="http://soap.ws.gipsy.cse.concordia.ca" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" xmlns:wsdlsoap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
<!--WSDL created by Apache Axis version: 1.4
Built on Apr 22, 2006 (06:55:48 PDT)-->
<wsdl:types>
<schema elementFormDefault="qualified" targetNamespace="http://soap.ws.gipsy.cse.concordia.ca" xmlns="http://www.w3.org/2001/XMLSchema">
<element name="runGenerator">
<complexType/>
</element>
<element name="runGeneratorResponse">
<complexType/>
</element>
</schema>
</wsdl:types>

<wsdl:message name="runGeneratorResponse">

<wsdl:part element="impl:runGeneratorResponse" name="parameters">

</wsdl:part>

</wsdl:message>

<wsdl:message name="runGeneratorRequest">

<wsdl:part element="impl:runGenerator" name="parameters">

</wsdl:part>

</wsdl:message>

<wsdl:portType name="GeneratorWS">

<wsdl:operation name="runGenerator">

<wsdl:input message="impl:runGeneratorRequest" name="runGeneratorRequest">

</wsdl:input>

<wsdl:output message="impl:runGeneratorResponse" name="runGeneratorResponse">

</wsdl:output>

</wsdl:operation>

</wsdl:portType>

<wsdl:binding name="GeneratorWSSoapBinding" type="impl:GeneratorWS">

<wsdlsoap:binding style="document" transport="http://schemas.xmlsoap.org/soap/http"/>

<wsdl:operation name="runGenerator">

<wsdlsoap:operation soapAction=""/>

<wsdl:input name="runGeneratorRequest">

<wsdlsoap:body use="literal"/>

</wsdl:input>

<wsdl:output name="runGeneratorResponse">

<wsdlsoap:body use="literal"/>

</wsdl:output>

</wsdl:operation>

</wsdl:binding>

<wsdl:service name="GeneratorWSService">

<wsdl:port binding="impl:GeneratorWSSoapBinding" name="GeneratorWS">

<wsdlsoap:address location="http://localhost:8080/WSC-Gen/services/GeneratorWS"/>

</wsdl:port>

</wsdl:service>

</wsdl:definitions>
5 changes: 5 additions & 0 deletions catalog.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<catalog xmlns="urn:oasis:names:tc:entity:xmlns:xml:catalog" prefer="system">
<system systemId="http://localhost:8080/WSC-Gen/GeneratorWSService?wsdl" uri="xml-resources/web-service-references/GeneratorWSService/wsdl/localhost_8080/WSC-Gen/GeneratorWSService.wsdl"/>
<system systemId="http://localhost:8080/WSC-Gen/GeneratorWSService?xsd=1" uri="xml-resources/web-service-references/GeneratorWSService/wsdl/localhost_8080/WSC-Gen/GeneratorWSService.xsd_1.xsd"/>
</catalog>
Loading

0 comments on commit e379f82

Please sign in to comment.