You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-dev@axis.apache.org by pe...@apache.org on 2004/11/17 14:35:41 UTC

cvs commit: ws-axis/c/tests/auto_build/testcases/wsdls LargeReturningString.wsdl

perryan     2004/11/17 05:35:41

  Modified:    c/tests/auto_build/testcases/client/cpp
                        LargeReturningStringClient.cpp
               c/tests/auto_build/testcases/wsdls LargeReturningString.wsdl
  Log:
  Updated to request a larger string. Changed default endpoint.
  CVS: ----------------------------------------------------------------------
  CVS: PR:
  CVS:   If this change addresses a PR in the problem report tracking
  CVS:   database, then enter the PR number(s) here.
  CVS: Obtained from:
  CVS:   If this change has been taken from another system, such as NCSA,
  CVS:   then name the system in this line, otherwise delete it.
  CVS: Submitted by:
  CVS:   If this code has been contributed to Apache by someone else; i.e.,
  CVS:   they sent us a patch or a new module, then include their name/email
  CVS:   address here. If this is your work then delete this line.
  CVS: Reviewed by:
  CVS:   If we are doing pre-commit code reviews and someone else has
  CVS:   reviewed your changes, include their name(s) here.
  CVS:   If you have not had it reviewed then delete this line.
  
  Revision  Changes    Path
  1.5       +4 -4      ws-axis/c/tests/auto_build/testcases/client/cpp/LargeReturningStringClient.cpp
  
  Index: LargeReturningStringClient.cpp
  ===================================================================
  RCS file: /home/cvs/ws-axis/c/tests/auto_build/testcases/client/cpp/LargeReturningStringClient.cpp,v
  retrieving revision 1.4
  retrieving revision 1.5
  diff -u -r1.4 -r1.5
  --- LargeReturningStringClient.cpp	9 Nov 2004 10:26:21 -0000	1.4
  +++ LargeReturningStringClient.cpp	17 Nov 2004 13:35:41 -0000	1.5
  @@ -4,7 +4,7 @@
   #include <iostream>
   #include <fstream>
   
  -#define WSDL_DEFAULT_ENDPOINT "http://bora.hursley.ibm.com:9080/DSServiceWebProject/services/LargeReturningString"
  +#define WSDL_DEFAULT_ENDPOINT "http://bora.hursley.ibm.com:9080/LargeReturningString/services/LargeReturningString"
   
   // If we re-direct cout it will be to this ofstream
   ofstream output_file;
  @@ -32,13 +32,13 @@
       } else
         ws = new LargeReturningString();
   
  -    int input = 20000;
  +    int input = 2*1024*1024;
       xsd__string result = "";
       result = ws->getLargeString(input);
   
  -    cout << "Result" << endl
  +    cout << "Result" << endl;
       if ( result == NULL ) {
  -      cout << "NULL" << endl
  +      cout << "NULL" << endl;
       } else {
         cout << strlen(result) << endl;
         returnValue = 0; // Success
  
  
  
  1.2       +3 -3      ws-axis/c/tests/auto_build/testcases/wsdls/LargeReturningString.wsdl
  
  Index: LargeReturningString.wsdl
  ===================================================================
  RCS file: /home/cvs/ws-axis/c/tests/auto_build/testcases/wsdls/LargeReturningString.wsdl,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- LargeReturningString.wsdl	27 Aug 2004 12:08:16 -0000	1.1
  +++ LargeReturningString.wsdl	17 Nov 2004 13:35:41 -0000	1.2
  @@ -1,7 +1,7 @@
   <?xml version="1.0" encoding="UTF-8"?>
  -<wsdl:definitions targetNamespace="http://test.axisc.hursley.ibm.com" xmlns:impl="http://test.axisc.hursley.ibm.com" xmlns:intf="http://test.axisc.hursley.ibm.com" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" xmlns:wsdlsoap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
  +<wsdl:definitions targetNamespace="http://largereturningstring.test.apache.org" xmlns:impl="http://largereturningstring.test.apache.org" xmlns:intf="http://largereturningstring.test.apache.org" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" xmlns:wsdlsoap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
    <wsdl:types>
  -  <schema elementFormDefault="qualified" targetNamespace="http://test.axisc.hursley.ibm.com" xmlns="http://www.w3.org/2001/XMLSchema" xmlns:impl="http://test.axisc.hursley.ibm.com" xmlns:intf="http://test.axisc.hursley.ibm.com" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
  +  <schema elementFormDefault="qualified" targetNamespace="http://largereturningstring.test.apache.org" xmlns="http://www.w3.org/2001/XMLSchema" xmlns:impl="http://largereturningstring.test.apache.org" xmlns:intf="http://largereturningstring.test.apache.org" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
      <element name="getLargeString">
       <complexType>
        <sequence>
  @@ -71,7 +71,7 @@
   
         <wsdl:port binding="intf:LargeReturningStringSoapBinding" name="LargeReturningString">
   
  -         <wsdlsoap:address location="http://bora.hursley.ibm.com:9080/DSServiceWebProject/services/LargeReturningString"/>
  +         <wsdlsoap:address location="http://localhost:9080/LargeReturningString/services/LargeReturningString"/>
   
         </wsdl:port>