Salome HOME
the files add siman_stabs_code_generator.sh and SimanSalomeService.wsdl have been...
authorbri <bri@opencascade.com>
Mon, 10 Feb 2014 14:50:39 +0000 (18:50 +0400)
committerbri <bri@opencascade.com>
Mon, 10 Feb 2014 14:50:39 +0000 (18:50 +0400)
scripts/SimanSalomeService.wsdl [new file with mode: 0644]
scripts/siman_stabs_code_generator.sh [new file with mode: 0755]

diff --git a/scripts/SimanSalomeService.wsdl b/scripts/SimanSalomeService.wsdl
new file mode 100644 (file)
index 0000000..408f606
--- /dev/null
@@ -0,0 +1,347 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<wsdl:definitions xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" xmlns:ns1="http://org.apache.axis2/xsd" xmlns:ns="http://salome.service.ws_server.splat.org" xmlns:wsaw="http://www.w3.org/2006/05/addressing/wsdl" xmlns:http="http://schemas.xmlsoap.org/wsdl/http/" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:mime="http://schemas.xmlsoap.org/wsdl/mime/" xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:soap12="http://schemas.xmlsoap.org/wsdl/soap12/" targetNamespace="http://salome.service.ws_server.splat.org">
+    <wsdl:documentation>SimanSalomeService</wsdl:documentation>
+    <wsdl:types>
+        <xs:schema attributeFormDefault="qualified" elementFormDefault="qualified" targetNamespace="http://salome.service.ws_server.splat.org">
+            <xs:element name="putFile">
+                <xs:complexType>
+                    <xs:sequence>
+                        <xs:element minOccurs="0" name="args0" nillable="true" type="xs:base64Binary"/>
+                        <xs:element minOccurs="0" name="args1" nillable="true" type="xs:string"/>
+                        <xs:element minOccurs="0" name="args2" type="xs:long"/>
+                    </xs:sequence>
+                </xs:complexType>
+            </xs:element>
+            <xs:element name="putFileResponse">
+                <xs:complexType>
+                    <xs:sequence>
+                        <xs:element minOccurs="0" name="return" nillable="true" type="xs:string"/>
+                    </xs:sequence>
+                </xs:complexType>
+            </xs:element>
+            <xs:element name="getFile">
+                <xs:complexType>
+                    <xs:sequence>
+                        <xs:element minOccurs="0" name="args0" nillable="true" type="xs:string"/>
+                    </xs:sequence>
+                </xs:complexType>
+            </xs:element>
+            <xs:element name="getFileResponse">
+                <xs:complexType>
+                    <xs:sequence>
+                        <xs:element minOccurs="0" name="return" nillable="true" type="xs:base64Binary"/>
+                    </xs:sequence>
+                </xs:complexType>
+            </xs:element>
+            <xs:element name="createNewStudy">
+                <xs:complexType>
+                    <xs:sequence>
+                        <xs:element minOccurs="0" name="args0" nillable="true" type="xs:string"/>
+                        <xs:element minOccurs="0" name="args1" nillable="true" type="xs:string"/>
+                        <xs:element minOccurs="0" name="args2" nillable="true" type="xs:string"/>
+                        <xs:element minOccurs="0" name="args3" nillable="true" type="xs:string"/>
+                    </xs:sequence>
+                </xs:complexType>
+            </xs:element>
+            <xs:element name="createNewStudyResponse">
+                <xs:complexType>
+                    <xs:sequence>
+                        <xs:element minOccurs="0" name="return" nillable="true" type="xs:string"/>
+                    </xs:sequence>
+                </xs:complexType>
+            </xs:element>
+            <xs:element name="createConfigFile">
+                <xs:complexType>
+                    <xs:sequence>
+                        <xs:element minOccurs="0" name="args0" type="xs:long"/>
+                        <xs:element minOccurs="0" name="args1" type="xs:long"/>
+                        <xs:element minOccurs="0" name="args2" type="xs:long"/>
+                    </xs:sequence>
+                </xs:complexType>
+            </xs:element>
+            <xs:element name="createConfigFileResponse">
+                <xs:complexType>
+                    <xs:sequence>
+                        <xs:element minOccurs="0" name="return" nillable="true" type="xs:string"/>
+                    </xs:sequence>
+                </xs:complexType>
+            </xs:element>
+            <xs:element name="checkIn">
+                <xs:complexType>
+                    <xs:sequence>
+                        <xs:element minOccurs="0" name="args0" nillable="true" type="xs:string"/>
+                        <xs:element minOccurs="0" name="args1" type="xs:long"/>
+                        <xs:element minOccurs="0" name="args2" type="xs:long"/>
+                    </xs:sequence>
+                </xs:complexType>
+            </xs:element>
+            <xs:element name="checkInResponse">
+                <xs:complexType>
+                    <xs:sequence>
+                        <xs:element minOccurs="0" name="return" nillable="true" type="xs:string"/>
+                    </xs:sequence>
+                </xs:complexType>
+            </xs:element>
+            <xs:element name="assignSimulationContext">
+                <xs:complexType>
+                    <xs:sequence>
+                        <xs:element minOccurs="0" name="args0" type="xs:long"/>
+                        <xs:element minOccurs="0" name="args1" nillable="true" type="xs:string"/>
+                        <xs:element minOccurs="0" name="args2" nillable="true" type="xs:string"/>
+                    </xs:sequence>
+                </xs:complexType>
+            </xs:element>
+            <xs:element name="assignSimulationContextResponse">
+                <xs:complexType>
+                    <xs:sequence>
+                        <xs:element minOccurs="0" name="return" nillable="true" type="xs:string"/>
+                    </xs:sequence>
+                </xs:complexType>
+            </xs:element>
+        </xs:schema>
+    </wsdl:types>
+    <wsdl:message name="getFileRequest">
+        <wsdl:part name="parameters" element="ns:getFile"/>
+    </wsdl:message>
+    <wsdl:message name="getFileResponse">
+        <wsdl:part name="parameters" element="ns:getFileResponse"/>
+    </wsdl:message>
+    <wsdl:message name="createNewStudyRequest">
+        <wsdl:part name="parameters" element="ns:createNewStudy"/>
+    </wsdl:message>
+    <wsdl:message name="createNewStudyResponse">
+        <wsdl:part name="parameters" element="ns:createNewStudyResponse"/>
+    </wsdl:message>
+    <wsdl:message name="checkInRequest">
+        <wsdl:part name="parameters" element="ns:checkIn"/>
+    </wsdl:message>
+    <wsdl:message name="checkInResponse">
+        <wsdl:part name="parameters" element="ns:checkInResponse"/>
+    </wsdl:message>
+    <wsdl:message name="createConfigFileRequest">
+        <wsdl:part name="parameters" element="ns:createConfigFile"/>
+    </wsdl:message>
+    <wsdl:message name="createConfigFileResponse">
+        <wsdl:part name="parameters" element="ns:createConfigFileResponse"/>
+    </wsdl:message>
+    <wsdl:message name="assignSimulationContextRequest">
+        <wsdl:part name="parameters" element="ns:assignSimulationContext"/>
+    </wsdl:message>
+    <wsdl:message name="assignSimulationContextResponse">
+        <wsdl:part name="parameters" element="ns:assignSimulationContextResponse"/>
+    </wsdl:message>
+    <wsdl:message name="putFileRequest">
+        <wsdl:part name="parameters" element="ns:putFile"/>
+    </wsdl:message>
+    <wsdl:message name="putFileResponse">
+        <wsdl:part name="parameters" element="ns:putFileResponse"/>
+    </wsdl:message>
+    <wsdl:portType name="SimanSalomeServicePortType">
+        <wsdl:operation name="getFile">
+            <wsdl:input message="ns:getFileRequest" wsaw:Action="urn:getFile"/>
+            <wsdl:output message="ns:getFileResponse" wsaw:Action="urn:getFileResponse"/>
+        </wsdl:operation>
+        <wsdl:operation name="createNewStudy">
+            <wsdl:input message="ns:createNewStudyRequest" wsaw:Action="urn:createNewStudy"/>
+            <wsdl:output message="ns:createNewStudyResponse" wsaw:Action="urn:createNewStudyResponse"/>
+        </wsdl:operation>
+        <wsdl:operation name="checkIn">
+            <wsdl:input message="ns:checkInRequest" wsaw:Action="urn:checkIn"/>
+            <wsdl:output message="ns:checkInResponse" wsaw:Action="urn:checkInResponse"/>
+        </wsdl:operation>
+        <wsdl:operation name="createConfigFile">
+            <wsdl:input message="ns:createConfigFileRequest" wsaw:Action="urn:createConfigFile"/>
+            <wsdl:output message="ns:createConfigFileResponse" wsaw:Action="urn:createConfigFileResponse"/>
+        </wsdl:operation>
+        <wsdl:operation name="assignSimulationContext">
+            <wsdl:input message="ns:assignSimulationContextRequest" wsaw:Action="urn:assignSimulationContext"/>
+            <wsdl:output message="ns:assignSimulationContextResponse" wsaw:Action="urn:assignSimulationContextResponse"/>
+        </wsdl:operation>
+        <wsdl:operation name="putFile">
+            <wsdl:input message="ns:putFileRequest" wsaw:Action="urn:putFile"/>
+            <wsdl:output message="ns:putFileResponse" wsaw:Action="urn:putFileResponse"/>
+        </wsdl:operation>
+    </wsdl:portType>
+    <wsdl:binding name="SimanSalomeServiceSoap11Binding" type="ns:SimanSalomeServicePortType">
+        <soap:binding transport="http://schemas.xmlsoap.org/soap/http" style="document"/>
+        <wsdl:operation name="getFile">
+            <soap:operation soapAction="urn:getFile" style="document"/>
+            <wsdl:input>
+                <soap:body use="literal"/>
+            </wsdl:input>
+            <wsdl:output>
+                <soap:body use="literal"/>
+            </wsdl:output>
+        </wsdl:operation>
+        <wsdl:operation name="createNewStudy">
+            <soap:operation soapAction="urn:createNewStudy" style="document"/>
+            <wsdl:input>
+                <soap:body use="literal"/>
+            </wsdl:input>
+            <wsdl:output>
+                <soap:body use="literal"/>
+            </wsdl:output>
+        </wsdl:operation>
+        <wsdl:operation name="checkIn">
+            <soap:operation soapAction="urn:checkIn" style="document"/>
+            <wsdl:input>
+                <soap:body use="literal"/>
+            </wsdl:input>
+            <wsdl:output>
+                <soap:body use="literal"/>
+            </wsdl:output>
+        </wsdl:operation>
+        <wsdl:operation name="createConfigFile">
+            <soap:operation soapAction="urn:createConfigFile" style="document"/>
+            <wsdl:input>
+                <soap:body use="literal"/>
+            </wsdl:input>
+            <wsdl:output>
+                <soap:body use="literal"/>
+            </wsdl:output>
+        </wsdl:operation>
+        <wsdl:operation name="assignSimulationContext">
+            <soap:operation soapAction="urn:assignSimulationContext" style="document"/>
+            <wsdl:input>
+                <soap:body use="literal"/>
+            </wsdl:input>
+            <wsdl:output>
+                <soap:body use="literal"/>
+            </wsdl:output>
+        </wsdl:operation>
+        <wsdl:operation name="putFile">
+            <soap:operation soapAction="urn:putFile" style="document"/>
+            <wsdl:input>
+                <soap:body use="literal"/>
+            </wsdl:input>
+            <wsdl:output>
+                <soap:body use="literal"/>
+            </wsdl:output>
+        </wsdl:operation>
+    </wsdl:binding>
+    <wsdl:binding name="SimanSalomeServiceSoap12Binding" type="ns:SimanSalomeServicePortType">
+        <soap12:binding transport="http://schemas.xmlsoap.org/soap/http" style="document"/>
+        <wsdl:operation name="getFile">
+            <soap12:operation soapAction="urn:getFile" style="document"/>
+            <wsdl:input>
+                <soap12:body use="literal"/>
+            </wsdl:input>
+            <wsdl:output>
+                <soap12:body use="literal"/>
+            </wsdl:output>
+        </wsdl:operation>
+        <wsdl:operation name="createNewStudy">
+            <soap12:operation soapAction="urn:createNewStudy" style="document"/>
+            <wsdl:input>
+                <soap12:body use="literal"/>
+            </wsdl:input>
+            <wsdl:output>
+                <soap12:body use="literal"/>
+            </wsdl:output>
+        </wsdl:operation>
+        <wsdl:operation name="checkIn">
+            <soap12:operation soapAction="urn:checkIn" style="document"/>
+            <wsdl:input>
+                <soap12:body use="literal"/>
+            </wsdl:input>
+            <wsdl:output>
+                <soap12:body use="literal"/>
+            </wsdl:output>
+        </wsdl:operation>
+        <wsdl:operation name="createConfigFile">
+            <soap12:operation soapAction="urn:createConfigFile" style="document"/>
+            <wsdl:input>
+                <soap12:body use="literal"/>
+            </wsdl:input>
+            <wsdl:output>
+                <soap12:body use="literal"/>
+            </wsdl:output>
+        </wsdl:operation>
+        <wsdl:operation name="assignSimulationContext">
+            <soap12:operation soapAction="urn:assignSimulationContext" style="document"/>
+            <wsdl:input>
+                <soap12:body use="literal"/>
+            </wsdl:input>
+            <wsdl:output>
+                <soap12:body use="literal"/>
+            </wsdl:output>
+        </wsdl:operation>
+        <wsdl:operation name="putFile">
+            <soap12:operation soapAction="urn:putFile" style="document"/>
+            <wsdl:input>
+                <soap12:body use="literal"/>
+            </wsdl:input>
+            <wsdl:output>
+                <soap12:body use="literal"/>
+            </wsdl:output>
+        </wsdl:operation>
+    </wsdl:binding>
+    <wsdl:binding name="SimanSalomeServiceHttpBinding" type="ns:SimanSalomeServicePortType">
+        <http:binding verb="POST"/>
+        <wsdl:operation name="getFile">
+            <http:operation location="getFile"/>
+            <wsdl:input>
+                <mime:content type="application/xml" part="parameters"/>
+            </wsdl:input>
+            <wsdl:output>
+                <mime:content type="application/xml" part="parameters"/>
+            </wsdl:output>
+        </wsdl:operation>
+        <wsdl:operation name="createNewStudy">
+            <http:operation location="createNewStudy"/>
+            <wsdl:input>
+                <mime:content type="application/xml" part="parameters"/>
+            </wsdl:input>
+            <wsdl:output>
+                <mime:content type="application/xml" part="parameters"/>
+            </wsdl:output>
+        </wsdl:operation>
+        <wsdl:operation name="checkIn">
+            <http:operation location="checkIn"/>
+            <wsdl:input>
+                <mime:content type="application/xml" part="parameters"/>
+            </wsdl:input>
+            <wsdl:output>
+                <mime:content type="application/xml" part="parameters"/>
+            </wsdl:output>
+        </wsdl:operation>
+        <wsdl:operation name="createConfigFile">
+            <http:operation location="createConfigFile"/>
+            <wsdl:input>
+                <mime:content type="application/xml" part="parameters"/>
+            </wsdl:input>
+            <wsdl:output>
+                <mime:content type="application/xml" part="parameters"/>
+            </wsdl:output>
+        </wsdl:operation>
+        <wsdl:operation name="assignSimulationContext">
+            <http:operation location="assignSimulationContext"/>
+            <wsdl:input>
+                <mime:content type="application/xml" part="parameters"/>
+            </wsdl:input>
+            <wsdl:output>
+                <mime:content type="application/xml" part="parameters"/>
+            </wsdl:output>
+        </wsdl:operation>
+        <wsdl:operation name="putFile">
+            <http:operation location="putFile"/>
+            <wsdl:input>
+                <mime:content type="application/xml" part="parameters"/>
+            </wsdl:input>
+            <wsdl:output>
+                <mime:content type="application/xml" part="parameters"/>
+            </wsdl:output>
+        </wsdl:operation>
+    </wsdl:binding>
+    <wsdl:service name="SimanSalomeService">
+        <wsdl:port name="SimanSalomeServiceHttpSoap11Endpoint" binding="ns:SimanSalomeServiceSoap11Binding">
+            <soap:address location="http://localhost:8080/Siman-WS/services/SimanSalomeService.SimanSalomeServiceHttpSoap11Endpoint/"/>
+        </wsdl:port>
+        <wsdl:port name="SimanSalomeServiceHttpSoap12Endpoint" binding="ns:SimanSalomeServiceSoap12Binding">
+            <soap12:address location="http://localhost:8080/Siman-WS/services/SimanSalomeService.SimanSalomeServiceHttpSoap12Endpoint/"/>
+        </wsdl:port>
+        <wsdl:port name="SimanSalomeServiceHttpEndpoint" binding="ns:SimanSalomeServiceHttpBinding">
+            <http:address location="http://localhost:8080/Siman-WS/services/SimanSalomeService.SimanSalomeServiceHttpEndpoint/"/>
+        </wsdl:port>
+    </wsdl:service>
+</wsdl:definitions>
\ No newline at end of file
diff --git a/scripts/siman_stabs_code_generator.sh b/scripts/siman_stabs_code_generator.sh
new file mode 100755 (executable)
index 0000000..16bb2cc
--- /dev/null
@@ -0,0 +1,11 @@
+#!/bin/bash
+
+export CODEGEN_HOME=${WSFCPP_HOME}/bin/tools/codegen
+for f in $CODEGEN_HOME/lib/*.jar
+do
+  CODEGEN_CLASSPATH=$CODEGEN_CLASSPATH:$f
+done
+export CODEGEN_CLASSPATH
+
+echo the classpath $CODEGEN_CLASSPATH
+java -classpath $CODEGEN_CLASSPATH org.apache.axis2.wsdl.WSDL2CPP $*