[MOBY-guts] biomoby commit

Eddie Kawas kawas at dev.open-bio.org
Wed Jan 17 19:58:45 UTC 2007


kawas
Wed Jan 17 14:58:44 EST 2007
Update of /home/repository/moby/moby-live/Perl/MOBY
In directory dev.open-bio.org:/tmp/cvs-serv4176

Modified Files:
	Central.pm 
Log Message:
updated the wsdl for async services. also fixed typo in _doAsyncWSDLReplacement.
moby-live/Perl/MOBY Central.pm,1.268,1.269
===================================================================
RCS file: /home/repository/moby/moby-live/Perl/MOBY/Central.pm,v
retrieving revision 1.268
retrieving revision 1.269
diff -u -r1.268 -r1.269
--- /home/repository/moby/moby-live/Perl/MOBY/Central.pm	2006/12/19 14:46:35	1.268
+++ /home/repository/moby/moby-live/Perl/MOBY/Central.pm	2007/01/17 19:58:44	1.269
@@ -3210,7 +3210,7 @@
 	# we're just waiting for an example of an async
 	# wsdl document from IMB
 	my ( $SI, $InputXML, $OutputXML, $SecondaryXML ) = @_;
-	my $wsdl = $WSDL_POST_TEMPLATE;
+	my $wsdl = $WSDL_ASYNC_TEMPLATE;
 	$wsdl =~ s/^\n//gs;
 	my $serviceName = $SI->servicename;
 	my $AuthURI     = $SI->authority_uri;
@@ -4057,53 +4057,168 @@
 
 $WSDL_ASYNC_TEMPLATE = <<END;
 <?xml version="1.0"?>
-<wsdl:definitions name="MOBY_Central_Generated_WSDL"
-                targetNamespace="http://biomoby.org/Central.wsdl"
-                xmlns:tns="http://biomoby.org/Central.wsdl"
-                xmlns:xsd1="http://biomoby.org/CentralXSDs.xsd" 
-                xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/"
-                xmlns:xsd="http://www.w3.org/1999/XMLSchema"
-                xmlns="http://schemas.xmlsoap.org/wsdl/"
-                xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">
-
-  
-  <wsdl:message name="MOBY__SERVICE__NAME__Input">
-          <wsdl:part name="data" type="xsd:string"/>
-  </wsdl:message>
-        
-  <wsdl:message name="MOBY__SERVICE__NAME__Output">
-          <wsdl:part name="body" type="xsd:string"/>
-  </wsdl:message>
-          
-  <wsdl:portType name="MOBY__SERVICE__NAME__PortType">
-          <wsdl:operation name="MOBY__SERVICE__NAME">
-                 <wsdl:input message="tns:MOBY__SERVICE__NAME__Input"/>
-                 <wsdl:output message="tns:MOBY__SERVICE__NAME__Output"/>
-          </wsdl:operation>
-  </wsdl:portType>
- 
-  <wsdl:binding name="MOBY__SERVICE__NAME__Binding" type="tns:MOBY__SERVICE__NAME__PortType">
-          <soap:binding style="rpc" transport="http://schemas.xmlsoap.org/soap/http"/>
-          <wsdl:operation name="MOBY__SERVICE__NAME"><!-- in essense, this is the name of the subroutine that is called -->
-                 <soap:operation soapAction='http://biomoby.org/#MOBY__SERVICE__NAME' style='rpc'/>
-                 <wsdl:input>
-                         <soap:body use="encoded" namespace="http://biomoby.org/" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"/>
-                 </wsdl:input>
-                 <wsdl:output>
-                         <soap:body use="encoded"/>
-                 </wsdl:output>
-          </wsdl:operation>
-  </wsdl:binding>
-                
-  <wsdl:service name="MOBY__SERVICE__NAME__Service">
-          <wsdl:documentation><!-- MOBY__SERVICE__DESCRIPTION --></wsdl:documentation>  <!-- service description goes here -->
-          <wsdl:port name="MOBY__SERVICE__NAME__Port" binding="tns:MOBY__SERVICE__NAME__Binding">
-                 <soap:address location="MOBY__SERVICE__URL"/>    <!-- URL to service scriptname -->
-          </wsdl:port>
-  </wsdl:service>
-
-</wsdl:definitions>
-
+	<definitions name="MOBY_Central_Generated_WSDL"
+		targetNamespace="http://biomoby.org/Central.wsdl"
+            	    xmlns:tns="http://biomoby.org/Central.wsdl"
+	                xmlns:xsd1="http://biomoby.org/CentralXSDs.xsd" 
+            	    xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/"
+	                xmlns:xsd="http://www.w3.org/1999/XMLSchema"
+      	          xmlns="http://schemas.xmlsoap.org/wsdl/"
+            	    xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/"
+			    xmlns:wsrp="http://docs.oasis-open.org/wsrf/2004/06/wsrf-WS-ResourceProperties-1.2-draft-01.xsd"
+      	          xmlns:wsrpw="http://docs.oasis-open.org/wsrf/2004/06/wsrf-WS-ResourceProperties-1.2-draft-01.wsdl"
+            	    xmlns:wsrlw="http://docs.oasis-open.org/wsrf/2004/06/wsrf-WS-ResourceLifetime-1.2-draft-01.wsdl"
+	                xmlns:mex="http://schemas.xmlsoap.org/ws/2004/09/mex"
+      	          xmlns:wsa04="http://schemas.xmlsoap.org/ws/2004/08/addressing">
+
+   <import namespace="http://docs.oasis-open.org/wsrf/2004/06/wsrf-WS-ResourceProperties-1.2-draft-01.wsdl"/>
+   <import namespace="http://docs.oasis-open.org/wsrf/2004/06/wsrf-WS-ResourceLifetime-1.2-draft-01.wsdl"/>
+   <import namespace="http://schemas.xmlsoap.org/ws/2004/09/mex"/>
+   <types>
+      <schema elementFormDefault="qualified"
+              targetNamespace="http://www.biomoby.org/Central.wsdl"
+              xmlns="http://www.w3.org/2001/XMLSchema"
+              xmlns:xsd="http://www.w3.org/2001/XMLSchema"
+              xmlns:wsrl="http://docs.oasis-open.org/wsrf/2004/06/wsrf-WS-ResourceLifetime-1.2-draft-01.xsd"
+              xmlns:wsbf="http://docs.oasis-open.org/wsrf/2004/06/wsrf-WS-BaseFaults-1.2-draft-01.xsd">
+         <xsd:import namespace="http://docs.oasis-open.org/wsrf/2004/06/wsrf-WS-BaseFaults-1.2-draft-01.xsd"/>
+         <xsd:import namespace="http://docs.oasis-open.org/wsrf/2004/06/wsrf-WS-ResourceLifetime-1.2-draft-01.xsd"/>
+         <NOT_YET_IMPLEMENTED_INPUT_XSD />
+         <NOT_YET_IMPLEMENTED_OUTPUT_XSD />
+	 <element name="ResourceProperties">
+            <complexType>
+               <sequence>
+                  <any minOccurs="0" maxOccurs="unbounded" />
+               </sequence>
+            </complexType>
+         </element>
+      </schema>
+   </types>
+   <message name="MOBY__SERVICE__NAME__Input">
+      <part name="body" element="xsd1:NOT_YET_DEFINED_INPUTS"/>
+   </message>
+   <message name="MOBY__SERVICE__NAME__Output">
+      <part name="body" element="xsd1:NOT_YET_DEFINED_OUTPUTS"/>
+   </message>
+   <message name="MOBY__SERVICE__NAME___submitInput">
+      <part name="body" element="xsd1:NOT_YET_DEFINED_INPUTS"/>
+   </message>
+   <message name="MOBY__SERVICE__NAME___submitOutput">
+      <part name="body" element="xsd1:NOT_YET_DEFINED_OUTPUTS"/>
+   </message>
+   <portType name="MOBY__SERVICE__NAME__PortType" wsrp:ResourceProperties="tns:ResourceProperties">
+      <operation name="GetResourceProperty">
+         <input name="GetResourcePropertyRequest" message="wsrpw:GetResourcePropertyRequest"/>
+         <output name="GetResourcePropertyResponse" message="wsrpw:GetResourcePropertyResponse"/>
+         <fault name="ResourceUnknownFault" message="wsrpw:ResourceUnknownFault"/>
+	 <fault name="ResourceUnavailableFault" message="wsrlw:ResourceUnavailableFault"/>
+         <fault name="InvalidResourcePropertyQNameFault" message="wsrpw:InvalidResourcePropertyQNameFault"/>
+      </operation>
+      <operation name="GetMultipleResourceProperties">
+         <input name="GetMultipleResourcePropertiesRequest" message="wsrpw:GetMultipleResourcePropertiesRequest"/>
+         <output name="GetMultipleResourcePropertiesResponse" message="wsrpw:GetMultipleResourcePropertiesResponse"/>
+         <fault name="ResourceUnknownFault" message="wsrpw:ResourceUnknownFault"/>
+	 <fault name="ResourceUnavailableFault" message="wsrlw:ResourceUnavailableFault"/>
+         <fault name="InvalidResourcePropertyQNameFault" message="wsrpw:InvalidResourcePropertyQNameFault"/>
+      </operation>
+      <operation name="Destroy">
+         <input message="wsrlw:DestroyRequest"/>
+         <output message="wsrlw:DestroyResponse"/>
+         <fault name="ResourceUnknownFault" message="wsrlw:ResourceUnknownFault"/>
+	 <fault name="ResourceUnavailableFault" message="wsrlw:ResourceUnavailableFault"/>
+         <fault name="ResourceNotDestroyedFault" message="wsrlw:ResourceNotDestroyedFault"/>
+      </operation>
+      <operation name="MOBY__SERVICE__NAME__">
+         <input message="tns:MOBY__SERVICE__NAME__Input"/>
+         <output message="tns:MOBY__SERVICE__NAME__Output"/>
+      </operation>
+      <operation name="MOBY__SERVICE__NAME___submit">
+         <input message="tns:MOBY__SERVICE__NAME___submitInput"/>
+         <output message="tns:MOBY__SERVICE__NAME___submitOutput"/>
+      </operation>
+   </portType>
+   <binding name="MOBY__SERVICE__NAME__Binding" type="tns:MOBY__SERVICE__NAME__PortType">
+      <soap:binding style="document" transport="http://schemas.xmlsoap.org/soap/http"/>
+      <operation name="GetResourceProperty">
+         <soap:operation style="document"/>
+         <input>
+            <soap:body use="literal"/>
+         </input>
+         <output>
+            <soap:body use="literal"/>
+         </output>
+         <fault name="ResourceUnknownFault">
+            <soap:fault name="ResourceUnknownFault" use="literal"/>
+         </fault>
+	 <fault name="ResourceUnavailableFault">
+            <soap:fault name="ResourceUnavailableFault" use="literal"/>
+         </fault>
+         <fault name="InvalidResourcePropertyQNameFault">
+            <soap:fault name="InvalidResourcePropertyQNameFault" use="literal"/>
+         </fault>
+      </operation>
+      <operation name="GetMultipleResourceProperties">
+         <soap:operation style="document"/>
+         <input>
+            <soap:body use="literal"/>
+         </input>
+         <output>
+            <soap:body use="literal"/>
+         </output>
+         <fault name="ResourceUnknownFault">
+            <soap:fault name="ResourceUnknownFault" use="literal"/>
+         </fault>
+	 <fault name="ResourceUnavailableFault">
+            <soap:fault name="ResourceUnavailableFault" use="literal"/>
+         </fault>
+         <fault name="InvalidResourcePropertyQNameFault">
+            <soap:fault name="InvalidResourcePropertyQNameFault" use="literal"/>
+         </fault>
+      </operation>
+      <operation name="Destroy">
+         <soap:operation style="document"/>
+         <input>
+            <soap:body use="literal"/>
+         </input>
+         <output>
+            <soap:body use="literal"/>
+         </output>
+         <fault name="ResourceUnknownFault">
+            <soap:fault name="ResourceUnknownFault" use="literal"/>
+         </fault>
+	 <fault name="ResourceUnavailableFault">
+            <soap:fault name="ResourceUnavailableFault" use="literal"/>
+         </fault>
+         <fault name="ResourceNotDestroyedFault">
+            <soap:fault name="ResourceNotDestroyedFault" use="literal"/>
+         </fault>
+      </operation>            
+      <operation name="MOBY__SERVICE__NAME__">
+         <soap:operation soapAction='http://biomoby.org/#MOBY__SERVICE__NAME__' style='rpc'/>
+         <input>
+            <soap:body use="encoded" namespace="http://biomoby.org/" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"/>
+         </input>
+         <output>
+            <soap:body use="encoded"/>
+         </output>
+      </operation>
+      <operation name="MOBY__SERVICE__NAME___submit">
+         <soap:operation soapAction='http://biomoby.org/#MOBY__SERVICE__NAME___submit' style='rpc'/>
+         <input>
+            <soap:body use="encoded" namespace="http://biomoby.org/" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"/>
+         </input>
+         <output>
+            <soap:body use="encoded"/>
+         </output>
+      </operation>
+   </binding>
+   <service name="MOBY__SERVICE__NAME__Service">
+      <documentation><!-- MOBY__SERVICE__DESCRIPTION --></documentation>
+      <port name="MOBY__SERVICE__NAME__Port" binding="tns:MOBY__SERVICE__NAME__Binding">
+         <soap:address location="MOBY__SERVICE__URL" />
+      </port>
+   </service>
+</definitions>
 
 END
 




More information about the MOBY-guts mailing list