You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tuscany.apache.org by js...@apache.org on 2006/08/05 03:09:49 UTC

svn commit: r428935 - in /incubator/tuscany/cpp/sca/samples/BigBank: AccountClient/AccountClient.cpp Accounts/AccountService.wsdl

Author: jsdelfino
Date: Fri Aug  4 18:09:49 2006
New Revision: 428935

URL: http://svn.apache.org/viewvc?rev=428935&view=rev
Log:
Fixed invalid WSDL, named the input element like the operation, and fixed the element attribute of the response part

Modified:
    incubator/tuscany/cpp/sca/samples/BigBank/AccountClient/AccountClient.cpp
    incubator/tuscany/cpp/sca/samples/BigBank/Accounts/AccountService.wsdl

Modified: incubator/tuscany/cpp/sca/samples/BigBank/AccountClient/AccountClient.cpp
URL: http://svn.apache.org/viewvc/incubator/tuscany/cpp/sca/samples/BigBank/AccountClient/AccountClient.cpp?rev=428935&r1=428934&r2=428935&view=diff
==============================================================================
--- incubator/tuscany/cpp/sca/samples/BigBank/AccountClient/AccountClient.cpp (original)
+++ incubator/tuscany/cpp/sca/samples/BigBank/AccountClient/AccountClient.cpp Fri Aug  4 18:09:49 2006
@@ -60,7 +60,7 @@
     
                 xsh->defineFile("AccountService.wsdl");
 
-                DataObjectPtr in = mdg->create("http://www.bigbank.com/AccountService","cid");
+                DataObjectPtr in = mdg->create("http://www.bigbank.com/AccountService","CustomerID");
                 in->setCString("customerID",argv[1]);
 
                 DataObjectPtr report = 

Modified: incubator/tuscany/cpp/sca/samples/BigBank/Accounts/AccountService.wsdl
URL: http://svn.apache.org/viewvc/incubator/tuscany/cpp/sca/samples/BigBank/Accounts/AccountService.wsdl?rev=428935&r1=428934&r2=428935&view=diff
==============================================================================
--- incubator/tuscany/cpp/sca/samples/BigBank/Accounts/AccountService.wsdl (original)
+++ incubator/tuscany/cpp/sca/samples/BigBank/Accounts/AccountService.wsdl Fri Aug  4 18:09:49 2006
@@ -10,14 +10,14 @@
   targetNamespace="http://www.bigbank.com/AccountService"
   xmlns:xsd="http://www.w3.org/2001/XMLSchema"> 
   
-  <xsd:complexType name="cid">
-   <xsd:sequence>
-    <xsd:element name="customerID" type="xsd:string" />
-   </xsd:sequence>
-   </xsd:complexType>
-
-  <xsd:element name="customerID" type="tns:cid" />
+  <xsd:element name="getAccountReport" type="tns:CustomerID" />
     
+  <xsd:complexType name="CustomerID">
+   <xsd:sequence>
+    <xsd:element name="customerID" type="xsd:string" />
+   </xsd:sequence>
+   </xsd:complexType>
+
   <xsd:element name="getAccountReportResponse" type="tns:AccountReport" />
 
   <xsd:complexType name="AccountReport"> 
@@ -57,16 +57,15 @@
 </wsdl:types>
 
 <wsdl:message name="getAccountReportRequest">
- <wsdl:part element="tns:customerID" name="getAccountReportRequest" />
+ <wsdl:part element="tns:getAccountReport" name="getAccountReportRequest" />
 </wsdl:message>
 
 <wsdl:message name="getAccountReportResponse">
- <wsdl:part element="tns:AccountReport" 
+ <wsdl:part element="tns:getAccountReportResponse" 
    name="getAccountReportResponse" />
 </wsdl:message> 
 
 <wsdl:portType name="AccountService"> 
-  SCA Sample Application 16 November 2005 
  <wsdl:operation name="getAccountReport">
   <wsdl:input message="tns:getAccountReportRequest" />
   <wsdl:output message="tns:getAccountReportResponse" />
@@ -94,4 +93,4 @@
   <soap:address location="http://localhost:9090/axis2/services/Account" />
  </wsdl:port>
 </wsdl:service>
-</wsdl:definitions> 
\ No newline at end of file
+</wsdl:definitions> 



---------------------------------------------------------------------
To unsubscribe, e-mail: tuscany-commits-unsubscribe@ws.apache.org
For additional commands, e-mail: tuscany-commits-help@ws.apache.org