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 di...@apache.org on 2005/07/01 16:24:58 UTC
cvs commit: ws-axis/c/tests/auto_build/testcases/wsdls XSD_decimal.wsdl XSD_integer.wsdl
dicka 2005/07/01 07:24:58
Modified: c/tests/auto_build/testcases unitTest.list
Added: c/tests/auto_build/testcases/client/cpp
XSD_decimalClient.cpp XSD_integerClient.cpp
c/tests/auto_build/testcases/output XSD_decimal.expected
XSD_decimal_ServerResponse.expected
XSD_integer.expected
XSD_integer_ServerResponse.expected
c/tests/auto_build/testcases/tests XSD_decimal.xml
XSD_integer.xml
c/tests/auto_build/testcases/wsdls XSD_decimal.wsdl
XSD_integer.wsdl
Log:
Testcases for the XSD built-in simple types. The decimal and integer types.
PR: AXISCPP-715
Submitted by: Adrian Dick
Revision Changes Path
1.9 +3 -1 ws-axis/c/tests/auto_build/testcases/unitTest.list
Index: unitTest.list
===================================================================
RCS file: /home/cvs/ws-axis/c/tests/auto_build/testcases/unitTest.list,v
retrieving revision 1.8
retrieving revision 1.9
diff -u -r1.8 -r1.9
--- unitTest.list 1 Jul 2005 12:29:14 -0000 1.8
+++ unitTest.list 1 Jul 2005 14:24:58 -0000 1.9
@@ -27,4 +27,6 @@
XSD_base64Binary.xml
XSD_hexBinary.xml
XSD_float.xml
-XSD_double.xml
\ No newline at end of file
+XSD_double.xml
+XSD_decimal.xml
+XSD_integer.xml
\ No newline at end of file
1.1 ws-axis/c/tests/auto_build/testcases/client/cpp/XSD_decimalClient.cpp
Index: XSD_decimalClient.cpp
===================================================================
// Copyright 2003-2004 The Apache Software Foundation.
// (c) Copyright IBM Corp. 2004, 2005 All Rights Reserved
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in writing, software
// distributed under the License is distributed on an "AS IS" BASIS,
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
// See the License for the specific language governing permissions and
// limitations under the License.
#include "XSD_decimal.hpp"
#include <axis/AxisException.hpp>
#include <ctype.h>
#include <iostream>
int main(int argc, char* argv[])
{
char endpoint[256];
const char* url="http://localhost:80/axis/XSD_decimal";
if(argc>1)
url = argv[1];
// bool bSuccess = false;
try
{
sprintf(endpoint, "%s", url);
XSD_decimal* ws = new XSD_decimal(endpoint);
xsd__decimal result = ws->asNonNillableElement((xsd__decimal)123456789);
printf("non-nillable element=%.6f\n", result);
fflush(stdout);
result = ws->asNonNillableElement((xsd__decimal)123456789.123456);
printf("non-nillable element=%.6f\n", result);
fflush(stdout);
result = ws->asNonNillableElement((xsd__decimal)-12345789);
printf("non-nillable element=%.6f\n", result);
fflush(stdout);
result = ws->asNonNillableElement((xsd__decimal)-123456789.123456);
printf("non-nillable element=%.6f\n", result);
fflush(stdout);
result = ws->asNonNillableElement((xsd__decimal)0);
printf("non-nillable element=%.6f\n", result);
fflush(stdout);
// Test nillable element, with a value
xsd__decimal* nillableInput = new xsd__decimal();
*(nillableInput) = (xsd__decimal)123456789;
xsd__decimal* nillableResult = ws->asNillableElement(nillableInput);
if (nillableResult)
{
printf("nillable element=%.6f\n", *(nillableResult));
fflush(stdout);
delete nillableResult;
}
else
{
cout << "nillable element=<nil>" << endl;
}
delete nillableInput;
// Test nillable element, with nil
nillableResult = ws->asNillableElement(NULL);
if (nillableResult)
{
printf("nil element=%.6f\n", *(nillableResult));
fflush(stdout);
delete nillableResult;
}
else
{
cout << "nil element=<nil>" << endl;
}
// Test required attribute
RequiredAttributeElement requiredAttributeInput;
requiredAttributeInput.setrequiredAttribute(123456789);
RequiredAttributeElement* requiredAttributeResult = ws->asRequiredAttribute(&requiredAttributeInput);
printf("required attribute=%.6f\n", requiredAttributeResult->getrequiredAttribute());
fflush(stdout);
delete requiredAttributeResult;
/* Optional Attributes currently unsupported by WSDL2Ws
* Exact coding of this section may change depending on chosen implementation
// Test optional attribute, with a value
OptionalAttributeElement optionalAttributeInput;
optionalAttributeInput.setoptionalAttribute(123456789);
OptionalAttributeElement* optionalAttributeResult = ws->asOptionalAttribute(&optionalAttributeInput);
if (optionalAttributeResult->getoptionalAttribute())
{
printf("optional attribute, with data=%.6f\n", optionalAttributeResult->getoptionalAttribute());
fflush(stdout);
}
else
{
cout << "optional attribute, with data=<not present>" << endl;
}
delete optionalAttributeResult;
// Test optional attribute, not present
//optionalAttributeInput.setattribute();
optionalAttributeResult = ws->asOptionalAttribute(&optionalAttributeInput);
if (optionalAttributeResult->getoptionalAttribute())
{
printf("optional attribute, not present=%.6f\n", optionalAttributeResult->getoptionalAttribute());
fflush(stdout);
}
else
{
cout << "optional attribute, not present=<not present>" << endl;
}
delete optionalAttributeResult;
*/
// Test array
xsd__decimal_Array arrayInput;
arrayInput.m_Array = new xsd__decimal*[2];
xsd__decimal * array = new xsd__decimal[2];
arrayInput.m_Size = 2;
for (int inputIndex=0 ; inputIndex < 2 ; inputIndex++)
{
array[inputIndex] = 123456789;
arrayInput.m_Array[inputIndex] = &array[inputIndex];
}
xsd__decimal_Array arrayResult = ws->asArray(arrayInput);
cout << "array of " << arrayResult.m_Size << " elements" << endl;
for (int index = 0; index < arrayResult.m_Size ; index++)
{
printf(" element[%i]=%.6f\n", index, *((xsd__decimal*)(arrayResult.m_Array[index])));
fflush(stdout);
delete arrayResult.m_Array[index];
}
delete [] array;
delete [] arrayInput.m_Array;
delete [] arrayResult.m_Array;
// Test complex type
SimpleComplexType complexTypeInput;
complexTypeInput.setcomplexTypeElement(123456789);
SimpleComplexType* complexTypeResult = ws->asComplexType(&complexTypeInput);
printf("within complex type=%.6f\n", complexTypeResult->getcomplexTypeElement());
fflush(stdout);
delete complexTypeResult;
// Tests now complete
delete ws;
}
catch(AxisException& e)
{
cout << "Exception : " << e.what() << endl;
}
catch(exception& e)
{
cout << "Unknown exception has occured: " << e.what() << endl;
}
catch(...)
{
cout << "Unknown exception has occured" << endl;
}
cout<< "---------------------- TEST COMPLETE -----------------------------"<< endl;
return 0;
}
1.1 ws-axis/c/tests/auto_build/testcases/client/cpp/XSD_integerClient.cpp
Index: XSD_integerClient.cpp
===================================================================
// Copyright 2003-2004 The Apache Software Foundation.
// (c) Copyright IBM Corp. 2004, 2005 All Rights Reserved
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in writing, software
// distributed under the License is distributed on an "AS IS" BASIS,
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
// See the License for the specific language governing permissions and
// limitations under the License.
#include "XSD_integer.hpp"
#include <axis/AxisException.hpp>
#include <ctype.h>
#include <iostream>
#ifdef WIN32
// Bug in MS Visual C++ 6.0. Fixed in Visual C++ .Net version.
// Cannot print an __int64 number with cout without this overloading
std::ostream& operator<<(std::ostream& os, __int64 i )
{
char buf[40];
sprintf(buf,"%I64d", i );
os << buf;
return os;
}
#endif
int main(int argc, char* argv[])
{
char endpoint[256];
const char* url="http://localhost:80/axis/XSD_integer";
if(argc>1)
url = argv[1];
// bool bSuccess = false;
try
{
sprintf(endpoint, "%s", url);
XSD_integer* ws = new XSD_integer(endpoint);
xsd__integer result = ws->asNonNillableElement((xsd__integer)9223372036854775807);
cout << "non-nillable element=" << result << endl;
result = ws->asNonNillableElement((xsd__integer)1);
cout << "non-nillable element=" << result << endl;
result = ws->asNonNillableElement((xsd__integer)-9223372036854775808);
cout << "non-nillable element=" << result << endl;
result = ws->asNonNillableElement((xsd__integer)-1);
cout << "non-nillable element=" << result << endl;
result = ws->asNonNillableElement((xsd__integer)0);
cout << "non-nillable element=" << result << endl;
// Test nillable element, with a value
xsd__integer* nillableInput = new xsd__integer();
*(nillableInput) = (xsd__integer)123456789;
xsd__integer* nillableResult = ws->asNillableElement(nillableInput);
if (nillableResult)
{
cout << "nillable element=" << *(nillableResult) << endl;
delete nillableResult;
}
else
{
cout << "nillable element=<nil>" << endl;
}
delete nillableInput;
// Test nillable element, with nil
nillableResult = ws->asNillableElement(NULL);
if (nillableResult)
{
cout << "nil element=" << *(nillableResult) << endl;
delete nillableResult;
}
else
{
cout << "nil element=<nil>" << endl;
}
// Test required attribute
RequiredAttributeElement requiredAttributeInput;
requiredAttributeInput.setrequiredAttribute(123456789);
RequiredAttributeElement* requiredAttributeResult = ws->asRequiredAttribute(&requiredAttributeInput);
cout << "required attribute=" << requiredAttributeResult->getrequiredAttribute() << endl;
delete requiredAttributeResult;
/* Optional Attributes currently unsupported by WSDL2Ws
* Exact coding of this section may change depending on chosen implementation
// Test optional attribute, with a value
OptionalAttributeElement optionalAttributeInput;
optionalAttributeInput.setoptionalAttribute(123456789);
OptionalAttributeElement* optionalAttributeResult = ws->asOptionalAttribute(&optionalAttributeInput);
if (optionalAttributeResult->getoptionalAttribute())
{
cout << "optional attribute, with data=" << optionalAttributeResult->getoptionalAttribute() << endl;
}
else
{
cout << "optional attribute, with data=<not present>" << endl;
}
delete optionalAttributeResult;
// Test optional attribute, not present
optionalAttributeInput.setattribute();
optionalAttributeResult = ws->asOptionalAttribute(&optionalAttributeInput);
if (optionalAttributeResult->getoptionalAttribute())
{
cout << "optional attribute, not present=" << optionalAttributeResult->getoptionalAttribute() << endl;
}
else
{
cout << "optional attribute, not present=<not present>" << endl;
}
delete optionalAttributeResult;
*/
// Test array
xsd__integer_Array arrayInput;
arrayInput.m_Array = new xsd__integer*[2];
xsd__integer * array = new xsd__integer[2];
arrayInput.m_Size = 2;
for (int inputIndex=0 ; inputIndex < 2 ; inputIndex++)
{
array[inputIndex] = 123456789;
arrayInput.m_Array[inputIndex] = &array[inputIndex];
}
xsd__integer_Array arrayResult = ws->asArray(arrayInput);
cout << "array of " << arrayResult.m_Size << " elements" << endl;
for (int index = 0; index < arrayResult.m_Size ; index++)
{
cout << " element[" << index << "]=" << *((xsd__integer*)(arrayResult.m_Array[index])) << endl;
delete arrayResult.m_Array[index];
}
delete [] array;
delete [] arrayInput.m_Array;
delete [] arrayResult.m_Array;
// Test complex type
SimpleComplexType complexTypeInput;
complexTypeInput.setcomplexTypeElement(123456789);
SimpleComplexType* complexTypeResult = ws->asComplexType(&complexTypeInput);
cout << "within complex type=" << complexTypeResult->getcomplexTypeElement() << endl;
delete complexTypeResult;
// Tests now complete
delete ws;
}
catch(AxisException& e)
{
cout << "Exception : " << e.what() << endl;
}
catch(exception& e)
{
cout << "Unknown exception has occured: " << e.what() << endl;
}
catch(...)
{
cout << "Unknown exception has occured" << endl;
}
cout<< "---------------------- TEST COMPLETE -----------------------------"<< endl;
return 0;
}
1.1 ws-axis/c/tests/auto_build/testcases/output/XSD_decimal.expected
Index: XSD_decimal.expected
===================================================================
non-nillable element=123456789.000000
non-nillable element=123456789.123456
non-nillable element=-123456789.000000
non-nillable element=0.000000
non-nillable element=-123456789.123456
nillable element=123456789.000000
nil element=<nil>
required attribute=123456789.000000
array of 2 elements
element[0]=123456789.000000
element[1]=123456789.000000
within complex type=123456789.000000
---------------------- TEST COMPLETE -----------------------------
1.1 ws-axis/c/tests/auto_build/testcases/output/XSD_decimal_ServerResponse.expected
Index: XSD_decimal_ServerResponse.expected
===================================================================
HTTP/1.1 200 OK
Server: WebSphere Application Server/5.1
Content-Type: text/xml; charset=utf-8
Content-Language: en-GB
Transfer-Encoding: chunked
###
<?xml version="1.0" encoding="utf-8"?>
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><soapenv:Header /><soapenv:Body><asNonNillableElementResponse xmlns="http://xsd_decimal.test.apache.org"><nonNillableElement>123456789.000000</nonNillableElement></asNonNillableElementResponse></soapenv:Body></soapenv:Envelope>
0
HTTP/1.1 200 OK
Server: WebSphere Application Server/5.1
Content-Type: text/xml; charset=utf-8
Content-Language: en-GB
Transfer-Encoding: chunked
###
<?xml version="1.0" encoding="utf-8"?>
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><soapenv:Header /><soapenv:Body><asNonNillableElementResponse xmlns="http://xsd_decimal.test.apache.org"><nonNillableElement>123456789.123456</nonNillableElement></asNonNillableElementResponse></soapenv:Body></soapenv:Envelope>
0
HTTP/1.1 200 OK
Server: WebSphere Application Server/5.1
Content-Type: text/xml; charset=utf-8
Content-Language: en-GB
Transfer-Encoding: chunked
###
<?xml version="1.0" encoding="utf-8"?>
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><soapenv:Header /><soapenv:Body><asNonNillableElementResponse xmlns="http://xsd_decimal.test.apache.org"><nonNillableElement>-123456789.000000</nonNillableElement></asNonNillableElementResponse></soapenv:Body></soapenv:Envelope>
0
HTTP/1.1 200 OK
Server: WebSphere Application Server/5.1
Content-Type: text/xml; charset=utf-8
Content-Language: en-GB
Transfer-Encoding: chunked
###
<?xml version="1.0" encoding="utf-8"?>
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><soapenv:Header /><soapenv:Body><asNonNillableElementResponse xmlns="http://xsd_decimal.test.apache.org"><nonNillableElement>0.000000</nonNillableElement></asNonNillableElementResponse></soapenv:Body></soapenv:Envelope>
0
HTTP/1.1 200 OK
Server: WebSphere Application Server/5.1
Content-Type: text/xml; charset=utf-8
Content-Language: en-GB
Transfer-Encoding: chunked
###
<?xml version="1.0" encoding="utf-8"?>
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><soapenv:Header /><soapenv:Body><asNonNillableElementResponse xmlns="http://xsd_decimal.test.apache.org"><nonNillableElement>-123456789.123456</nonNillableElement></asNonNillableElementResponse></soapenv:Body></soapenv:Envelope>
0
HTTP/1.1 200 OK
Server: WebSphere Application Server/5.1
Content-Type: text/xml; charset=utf-8
Content-Language: en-GB
Transfer-Encoding: chunked
###
<?xml version="1.0" encoding="utf-8"?>
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><soapenv:Header /><soapenv:Body><asNillableElementResponse xmlns="http://xsd_decimal.test.apache.org"><nillableElement>123456789.000000</nillableElement></asNillableElementResponse></soapenv:Body></soapenv:Envelope>
0
HTTP/1.1 200 OK
Server: WebSphere Application Server/5.1
Content-Type: text/xml; charset=utf-8
Content-Language: en-GB
Transfer-Encoding: chunked
###
<?xml version="1.0" encoding="utf-8"?>
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><soapenv:Header /><soapenv:Body><asNillableElementResponse xmlns="http://xsd_decimal.test.apache.org"><nillableElement xsi:nil="true" /></asNillableElementResponse></soapenv:Body></soapenv:Envelope>
0
HTTP/1.1 200 OK
Server: WebSphere Application Server/5.1
Content-Type: text/xml; charset=utf-8
Content-Language: en-GB
Transfer-Encoding: chunked
###
<?xml version="1.0" encoding="utf-8"?>
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><soapenv:Header /><soapenv:Body><asRequiredAttributeResponse xmlns="http://xsd_decimal.test.apache.org"><RequiredAttributeElement requiredAttribute="123456789.000000" /></asRequiredAttributeResponse></soapenv:Body></soapenv:Envelope>
0
HTTP/1.1 200 OK
Server: WebSphere Application Server/5.1
Content-Type: text/xml; charset=utf-8
Content-Language: en-GB
Transfer-Encoding: chunked
###
<?xml version="1.0" encoding="utf-8"?>
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><soapenv:Header /><soapenv:Body><asArrayResponse xmlns="http://xsd_decimal.test.apache.org"><arrayElement>123456789.000000</arrayElement><arrayElement>123456789.000000</arrayElement></asArrayResponse></soapenv:Body></soapenv:Envelope>
0
HTTP/1.1 200 OK
Server: WebSphere Application Server/5.1
Content-Type: text/xml; charset=utf-8
Content-Language: en-GB
Transfer-Encoding: chunked
###
<?xml version="1.0" encoding="utf-8"?>
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><soapenv:Header /><soapenv:Body><asComplexTypeResponse xmlns="http://xsd_decimal.test.apache.org"><SimpleComplexType><complexTypeElement>123456789.000000</complexTypeElement></SimpleComplexType></asComplexTypeResponse></soapenv:Body></soapenv:Envelope>
0
1.1 ws-axis/c/tests/auto_build/testcases/output/XSD_integer.expected
Index: XSD_integer.expected
===================================================================
non-nillable element=9223372036854775807
non-nillable element=-1
non-nillable element=-9223372036854775808
non-nillable element=-1
non-nillable element=0
nillable element=123456789
nil element=<nil>
required attribute=123456789
array of 2 elements
element[0]=123456789
element[1]=123456789
within complex type=123456789
---------------------- TEST COMPLETE -----------------------------
1.1 ws-axis/c/tests/auto_build/testcases/output/XSD_integer_ServerResponse.expected
Index: XSD_integer_ServerResponse.expected
===================================================================
HTTP/1.1 200 OK
Server: WebSphere Application Server/5.1
Content-Type: text/xml; charset=utf-8
Content-Language: en-GB
Transfer-Encoding: chunked
###
<?xml version="1.0" encoding="utf-8"?>
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><soapenv:Header /><soapenv:Body><asNonNillableElementResponse xmlns="http://xsd_integer.test.apache.org"><nonNillableElement>9223372036854775807</nonNillableElement></asNonNillableElementResponse></soapenv:Body></soapenv:Envelope>
0
HTTP/1.1 200 OK
Server: WebSphere Application Server/5.1
Content-Type: text/xml; charset=utf-8
Content-Language: en-GB
Transfer-Encoding: chunked
###
<?xml version="1.0" encoding="utf-8"?>
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><soapenv:Header /><soapenv:Body><asNonNillableElementResponse xmlns="http://xsd_integer.test.apache.org"><nonNillableElement>-1</nonNillableElement></asNonNillableElementResponse></soapenv:Body></soapenv:Envelope>
0
HTTP/1.1 200 OK
Server: WebSphere Application Server/5.1
Content-Type: text/xml; charset=utf-8
Content-Language: en-GB
Transfer-Encoding: chunked
###
<?xml version="1.0" encoding="utf-8"?>
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><soapenv:Header /><soapenv:Body><asNonNillableElementResponse xmlns="http://xsd_integer.test.apache.org"><nonNillableElement>-9223372036854775808</nonNillableElement></asNonNillableElementResponse></soapenv:Body></soapenv:Envelope>
0
HTTP/1.1 200 OK
Server: WebSphere Application Server/5.1
Content-Type: text/xml; charset=utf-8
Content-Language: en-GB
Transfer-Encoding: chunked
###
<?xml version="1.0" encoding="utf-8"?>
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><soapenv:Header /><soapenv:Body><asNonNillableElementResponse xmlns="http://xsd_integer.test.apache.org"><nonNillableElement>-1</nonNillableElement></asNonNillableElementResponse></soapenv:Body></soapenv:Envelope>
0
HTTP/1.1 200 OK
Server: WebSphere Application Server/5.1
Content-Type: text/xml; charset=utf-8
Content-Language: en-GB
Transfer-Encoding: chunked
###
<?xml version="1.0" encoding="utf-8"?>
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><soapenv:Header /><soapenv:Body><asNonNillableElementResponse xmlns="http://xsd_integer.test.apache.org"><nonNillableElement>0</nonNillableElement></asNonNillableElementResponse></soapenv:Body></soapenv:Envelope>
0
HTTP/1.1 200 OK
Server: WebSphere Application Server/5.1
Content-Type: text/xml; charset=utf-8
Content-Language: en-GB
Transfer-Encoding: chunked
###
<?xml version="1.0" encoding="utf-8"?>
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><soapenv:Header /><soapenv:Body><asNillableElementResponse xmlns="http://xsd_integer.test.apache.org"><nillableElement>123456789</nillableElement></asNillableElementResponse></soapenv:Body></soapenv:Envelope>
0
HTTP/1.1 200 OK
Server: WebSphere Application Server/5.1
Content-Type: text/xml; charset=utf-8
Content-Language: en-GB
Transfer-Encoding: chunked
###
<?xml version="1.0" encoding="utf-8"?>
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><soapenv:Header /><soapenv:Body><asNillableElementResponse xmlns="http://xsd_integer.test.apache.org"><nillableElement xsi:nil="true" /></asNillableElementResponse></soapenv:Body></soapenv:Envelope>
0
HTTP/1.1 200 OK
Server: WebSphere Application Server/5.1
Content-Type: text/xml; charset=utf-8
Content-Language: en-GB
Transfer-Encoding: chunked
###
<?xml version="1.0" encoding="utf-8"?>
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><soapenv:Header /><soapenv:Body><asRequiredAttributeResponse xmlns="http://xsd_integer.test.apache.org"><RequiredAttributeElement requiredAttribute="123456789" /></asRequiredAttributeResponse></soapenv:Body></soapenv:Envelope>
0
HTTP/1.1 200 OK
Server: WebSphere Application Server/5.1
Content-Type: text/xml; charset=utf-8
Content-Language: en-GB
Transfer-Encoding: chunked
###
<?xml version="1.0" encoding="utf-8"?>
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><soapenv:Header /><soapenv:Body><asArrayResponse xmlns="http://xsd_integer.test.apache.org"><arrayElement>123456789</arrayElement><arrayElement>123456789</arrayElement></asArrayResponse></soapenv:Body></soapenv:Envelope>
0
HTTP/1.1 200 OK
Server: WebSphere Application Server/5.1
Content-Type: text/xml; charset=utf-8
Content-Language: en-GB
Transfer-Encoding: chunked
###
<?xml version="1.0" encoding="utf-8"?>
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><soapenv:Header /><soapenv:Body><asComplexTypeResponse xmlns="http://xsd_integer.test.apache.org"><SimpleComplexType><complexTypeElement>123456789</complexTypeElement></SimpleComplexType></asComplexTypeResponse></soapenv:Body></soapenv:Envelope>
0
1.1 ws-axis/c/tests/auto_build/testcases/tests/XSD_decimal.xml
Index: XSD_decimal.xml
===================================================================
<test>
<name>XSD_decimal</name>
<description>Test serialization and deserialization of the XSD built-in simple type decimal</description>
<clientLang>cpp</clientLang>
<clientCode>XSD_decimalClient.cpp</clientCode>
<wsdl>XSD_decimal.wsdl</wsdl>
<expected>
<output>
XSD_decimal.expected
</output>
<serverResponse>
XSD_decimal_ServerResponse.expected
</serverResponse>
</expected>
<endpoint>http://localhost:80/axis/XSD_decimal</endpoint>
</test>
1.1 ws-axis/c/tests/auto_build/testcases/tests/XSD_integer.xml
Index: XSD_integer.xml
===================================================================
<test>
<name>XSD_integer</name>
<description>Test serialization and deserialization of the XSD built-in simple type integer</description>
<clientLang>cpp</clientLang>
<clientCode>XSD_integerClient.cpp</clientCode>
<wsdl>XSD_integer.wsdl</wsdl>
<expected>
<output>
XSD_integer.expected
</output>
<serverResponse>
XSD_integer_ServerResponse.expected
</serverResponse>
</expected>
<endpoint>http://localhost:80/axis/XSD_integer</endpoint>
</test>
1.1 ws-axis/c/tests/auto_build/testcases/wsdls/XSD_decimal.wsdl
Index: XSD_decimal.wsdl
===================================================================
<?xml version="1.0" encoding="UTF-8"?>
<wsdl:definitions xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/"
xmlns:tns="http://xsd_decimal.test.apache.org"
xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/"
xmlns:xsd="http://www.w3.org/2001/XMLSchema" name="XSD_decimal"
targetNamespace="http://xsd_decimal.test.apache.org">
<wsdl:types>
<xsd:schema
targetNamespace="http://xsd_decimal.test.apache.org"
xmlns:xsd="http://www.w3.org/2001/XMLSchema">
<xsd:element name="asNonNillableElementResponse">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="nonNillableElement"
type="xsd:decimal" nillable="false" minOccurs="1" maxOccurs="1" />
</xsd:sequence>
</xsd:complexType>
</xsd:element>
<xsd:element name="AsNonNillableElementRequest">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="nonNillableElement"
type="xsd:decimal" nillable="false" minOccurs="1" maxOccurs="1" />
</xsd:sequence>
</xsd:complexType>
</xsd:element>
<xsd:element name="asNillableElementResponse">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="nillableElement"
type="xsd:decimal" nillable="true" minOccurs="1" maxOccurs="1" />
</xsd:sequence>
</xsd:complexType>
</xsd:element>
<xsd:element name="asNillableElementRequest">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="nillableElement"
type="xsd:decimal" nillable="true" minOccurs="1" maxOccurs="1" />
</xsd:sequence>
</xsd:complexType>
</xsd:element>
<xsd:complexType name="RequiredAttributeElement">
<xsd:attribute name="requiredAttribute" type="xsd:decimal"
use="required" />
</xsd:complexType>
<xsd:element name="asRequiredAttributeResponse">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="RequiredAttributeElement"
maxOccurs="1" minOccurs="1" type="tns:RequiredAttributeElement" />
</xsd:sequence>
</xsd:complexType>
</xsd:element>
<xsd:element name="asRequiredAttributeRequest">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="RequiredAttributeElement"
maxOccurs="1" minOccurs="1" type="tns:RequiredAttributeElement" />
</xsd:sequence>
</xsd:complexType>
</xsd:element>
<xsd:complexType name="OptionalAttributeElement">
<xsd:attribute name="optionalAttribute" type="xsd:decimal"
use="optional" />
</xsd:complexType>
<xsd:element name="asOptionalAttributeResponse">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="OptionalAttributeElement"
maxOccurs="1" minOccurs="1" type="tns:OptionalAttributeElement" />
</xsd:sequence>
</xsd:complexType>
</xsd:element>
<xsd:element name="asOptionalAttributeRequest">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="OptionalAttributeElement"
maxOccurs="1" minOccurs="1" type="tns:OptionalAttributeElement" />
</xsd:sequence>
</xsd:complexType>
</xsd:element>
<xsd:element name="asArrayResponse">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="arrayElement"
type="xsd:decimal" nillable="false" minOccurs="1"
maxOccurs="unbounded" />
</xsd:sequence>
</xsd:complexType>
</xsd:element>
<xsd:element name="asArrayRequest">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="arrayElement"
type="xsd:decimal" nillable="false" minOccurs="1"
maxOccurs="unbounded" />
</xsd:sequence>
</xsd:complexType>
</xsd:element>
<xsd:complexType name="SimpleComplexType">
<xsd:sequence>
<xsd:element name="complexTypeElement"
type="xsd:decimal" minOccurs="1" maxOccurs="1" nillable="false" />
</xsd:sequence>
</xsd:complexType>
<xsd:element name="asComplexTypeResponse">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="SimpleComplexType"
type="tns:SimpleComplexType" nillable="false" minOccurs="1"
maxOccurs="1" />
</xsd:sequence>
</xsd:complexType>
</xsd:element>
<xsd:element name="asComplexTypeRequest">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="SimpleComplexType"
type="tns:SimpleComplexType" nillable="false" minOccurs="1"
maxOccurs="1" />
</xsd:sequence>
</xsd:complexType>
</xsd:element>
</xsd:schema>
</wsdl:types>
<wsdl:message name="asNonNillableElementResponse">
<wsdl:part element="tns:asNonNillableElementResponse"
name="asNonNillableElementResponse" />
</wsdl:message>
<wsdl:message name="asNonNillableElementRequest">
<wsdl:part element="tns:AsNonNillableElementRequest"
name="parameters" />
</wsdl:message>
<wsdl:message name="asNillableElementResponse">
<wsdl:part name="asNillableElementResponse"
element="tns:asNillableElementResponse">
</wsdl:part>
</wsdl:message>
<wsdl:message name="asNillableElementRequest">
<wsdl:part name="asNillableElementRequest"
element="tns:asNillableElementRequest">
</wsdl:part>
</wsdl:message>
<wsdl:message name="asRequiredAttributeResponse">
<wsdl:part name="asRequiredAttributeResponse"
element="tns:asRequiredAttributeResponse">
</wsdl:part>
</wsdl:message>
<wsdl:message name="asRequiredAttributeRequest">
<wsdl:part name="asRequiredAttributeRequest"
element="tns:asRequiredAttributeRequest">
</wsdl:part>
</wsdl:message>
<wsdl:message name="asOptionalAttributeResponse">
<wsdl:part name="asOptionalAttributeResponse"
element="tns:asOptionalAttributeResponse">
</wsdl:part>
</wsdl:message>
<wsdl:message name="asOptionalAttributeRequest">
<wsdl:part name="asOptionalAttributeRequest"
element="tns:asOptionalAttributeRequest">
</wsdl:part>
</wsdl:message>
<wsdl:message name="asArrayResponse">
<wsdl:part name="asArrayResponse"
element="tns:asArrayResponse">
</wsdl:part>
</wsdl:message>
<wsdl:message name="asArrayRequest">
<wsdl:part name="asArrayRequest" element="tns:asArrayRequest"></wsdl:part>
</wsdl:message>
<wsdl:message name="asComplexTypeResponse">
<wsdl:part name="asComplexTypeResponse"
element="tns:asComplexTypeResponse">
</wsdl:part>
</wsdl:message>
<wsdl:message name="asComplexTypeRequest">
<wsdl:part name="asComplexTypeRequest"
element="tns:asComplexTypeRequest">
</wsdl:part>
</wsdl:message>
<wsdl:portType name="XSD_decimal">
<wsdl:operation name="asNonNillableElement">
<wsdl:input message="tns:asNonNillableElementRequest"
name="asNonNillableElementRequest" />
<wsdl:output message="tns:asNonNillableElementResponse"
name="asNonNillableElementResponse" />
</wsdl:operation>
<wsdl:operation name="asNillableElement">
<wsdl:input message="tns:asNillableElementRequest"
name="asNillableElementRequest">
</wsdl:input>
<wsdl:output message="tns:asNillableElementResponse"
name="asNillableElementResponse">
</wsdl:output>
</wsdl:operation>
<wsdl:operation name="asRequiredAttribute">
<wsdl:input message="tns:asRequiredAttributeRequest"></wsdl:input>
<wsdl:output message="tns:asRequiredAttributeResponse"></wsdl:output>
</wsdl:operation>
<wsdl:operation name="asOptionalAttribute">
<wsdl:input message="tns:asOptionalAttributeRequest"></wsdl:input>
<wsdl:output message="tns:asOptionalAttributeResponse"></wsdl:output>
</wsdl:operation>
<wsdl:operation name="asArray">
<wsdl:input message="tns:asArrayRequest"></wsdl:input>
<wsdl:output message="tns:asArrayResponse"></wsdl:output>
</wsdl:operation>
<wsdl:operation name="asComplexType">
<wsdl:input message="tns:asComplexTypeRequest"></wsdl:input>
<wsdl:output message="tns:asComplexTypeResponse"></wsdl:output>
</wsdl:operation>
</wsdl:portType>
<wsdl:binding name="XSD_decimalSOAP" type="tns:XSD_decimal">
<soap:binding style="document"
transport="http://schemas.xmlsoap.org/soap/http" />
<wsdl:operation name="asNonNillableElement">
<soap:operation
soapAction="XSD_decimal#asNonNillableElement" style="document" />
<wsdl:input name="asNonNillableElementRequest">
<soap:body use="literal" />
</wsdl:input>
<wsdl:output name="asNonNillableElementResponse">
<soap:body use="literal" />
</wsdl:output>
</wsdl:operation>
<wsdl:operation name="asNillableElement">
<soap:operation soapAction="XSD_decimal#asNillableElement"
style="document" />
<wsdl:input name="asNillableElementRequest">
<soap:body use="literal" />
</wsdl:input>
<wsdl:output name="asNillableElementResponse">
<soap:body use="literal" />
</wsdl:output>
</wsdl:operation>
<wsdl:operation name="asRequiredAttribute">
<soap:operation
soapAction="XSD_decimal#asRequiredAttribute" style="document" />
<wsdl:input>
<soap:body use="literal" />
</wsdl:input>
<wsdl:output>
<soap:body use="literal" />
</wsdl:output>
</wsdl:operation>
<wsdl:operation name="asOptionalAttribute">
<soap:operation
soapAction="XSD_decimal#asOptionalAttribute" style="document" />
<wsdl:input>
<soap:body use="literal" />
</wsdl:input>
<wsdl:output>
<soap:body use="literal" />
</wsdl:output>
</wsdl:operation>
<wsdl:operation name="asArray">
<soap:operation soapAction="XSD_decimal#asArray" style="document" />
<wsdl:input>
<soap:body use="literal" />
</wsdl:input>
<wsdl:output>
<soap:body use="literal" />
</wsdl:output>
</wsdl:operation>
<wsdl:operation name="asComplexType">
<soap:operation soapAction="XSD_decimal#asComplexType"
style="document" />
<wsdl:input>
<soap:body use="literal" />
</wsdl:input>
<wsdl:output>
<soap:body use="literal" />
</wsdl:output>
</wsdl:operation>
</wsdl:binding>
<wsdl:service name="XSD_decimal">
<wsdl:port binding="tns:XSD_decimalSOAP"
name="XSD_decimalSOAP">
<soap:address
location="http://localhost:9080/XSD_decimal/services/XSD_decimal" />
</wsdl:port>
</wsdl:service>
</wsdl:definitions>
1.1 ws-axis/c/tests/auto_build/testcases/wsdls/XSD_integer.wsdl
Index: XSD_integer.wsdl
===================================================================
<?xml version="1.0" encoding="UTF-8"?>
<wsdl:definitions xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/"
xmlns:tns="http://xsd_integer.test.apache.org"
xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/"
xmlns:xsd="http://www.w3.org/2001/XMLSchema" name="XSD_integer"
targetNamespace="http://xsd_integer.test.apache.org">
<wsdl:types>
<xsd:schema
targetNamespace="http://xsd_integer.test.apache.org"
xmlns:xsd="http://www.w3.org/2001/XMLSchema">
<xsd:element name="asNonNillableElementResponse">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="nonNillableElement"
type="xsd:integer" nillable="false" minOccurs="1" maxOccurs="1" />
</xsd:sequence>
</xsd:complexType>
</xsd:element>
<xsd:element name="AsNonNillableElementRequest">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="nonNillableElement"
type="xsd:integer" nillable="false" minOccurs="1" maxOccurs="1" />
</xsd:sequence>
</xsd:complexType>
</xsd:element>
<xsd:element name="asNillableElementResponse">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="nillableElement"
type="xsd:integer" nillable="true" minOccurs="1" maxOccurs="1" />
</xsd:sequence>
</xsd:complexType>
</xsd:element>
<xsd:element name="asNillableElementRequest">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="nillableElement"
type="xsd:integer" nillable="true" minOccurs="1" maxOccurs="1" />
</xsd:sequence>
</xsd:complexType>
</xsd:element>
<xsd:complexType name="RequiredAttributeElement">
<xsd:attribute name="requiredAttribute" type="xsd:integer"
use="required" />
</xsd:complexType>
<xsd:element name="asRequiredAttributeResponse">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="RequiredAttributeElement"
maxOccurs="1" minOccurs="1" type="tns:RequiredAttributeElement" />
</xsd:sequence>
</xsd:complexType>
</xsd:element>
<xsd:element name="asRequiredAttributeRequest">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="RequiredAttributeElement"
maxOccurs="1" minOccurs="1" type="tns:RequiredAttributeElement" />
</xsd:sequence>
</xsd:complexType>
</xsd:element>
<xsd:complexType name="OptionalAttributeElement">
<xsd:attribute name="optionalAttribute" type="xsd:integer"
use="optional" />
</xsd:complexType>
<xsd:element name="asOptionalAttributeResponse">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="OptionalAttributeElement"
maxOccurs="1" minOccurs="1" type="tns:OptionalAttributeElement" />
</xsd:sequence>
</xsd:complexType>
</xsd:element>
<xsd:element name="asOptionalAttributeRequest">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="OptionalAttributeElement"
maxOccurs="1" minOccurs="1" type="tns:OptionalAttributeElement" />
</xsd:sequence>
</xsd:complexType>
</xsd:element>
<xsd:element name="asArrayResponse">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="arrayElement"
type="xsd:integer" nillable="false" minOccurs="1"
maxOccurs="unbounded" />
</xsd:sequence>
</xsd:complexType>
</xsd:element>
<xsd:element name="asArrayRequest">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="arrayElement"
type="xsd:integer" nillable="false" minOccurs="1"
maxOccurs="unbounded" />
</xsd:sequence>
</xsd:complexType>
</xsd:element>
<xsd:complexType name="SimpleComplexType">
<xsd:sequence>
<xsd:element name="complexTypeElement"
type="xsd:integer" minOccurs="1" maxOccurs="1" nillable="false" />
</xsd:sequence>
</xsd:complexType>
<xsd:element name="asComplexTypeResponse">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="SimpleComplexType"
type="tns:SimpleComplexType" nillable="false" minOccurs="1"
maxOccurs="1" />
</xsd:sequence>
</xsd:complexType>
</xsd:element>
<xsd:element name="asComplexTypeRequest">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="SimpleComplexType"
type="tns:SimpleComplexType" nillable="false" minOccurs="1"
maxOccurs="1" />
</xsd:sequence>
</xsd:complexType>
</xsd:element>
</xsd:schema>
</wsdl:types>
<wsdl:message name="asNonNillableElementResponse">
<wsdl:part element="tns:asNonNillableElementResponse"
name="asNonNillableElementResponse" />
</wsdl:message>
<wsdl:message name="asNonNillableElementRequest">
<wsdl:part element="tns:AsNonNillableElementRequest"
name="parameters" />
</wsdl:message>
<wsdl:message name="asNillableElementResponse">
<wsdl:part name="asNillableElementResponse"
element="tns:asNillableElementResponse">
</wsdl:part>
</wsdl:message>
<wsdl:message name="asNillableElementRequest">
<wsdl:part name="asNillableElementRequest"
element="tns:asNillableElementRequest">
</wsdl:part>
</wsdl:message>
<wsdl:message name="asRequiredAttributeResponse">
<wsdl:part name="asRequiredAttributeResponse"
element="tns:asRequiredAttributeResponse">
</wsdl:part>
</wsdl:message>
<wsdl:message name="asRequiredAttributeRequest">
<wsdl:part name="asRequiredAttributeRequest"
element="tns:asRequiredAttributeRequest">
</wsdl:part>
</wsdl:message>
<wsdl:message name="asOptionalAttributeResponse">
<wsdl:part name="asOptionalAttributeResponse"
element="tns:asOptionalAttributeResponse">
</wsdl:part>
</wsdl:message>
<wsdl:message name="asOptionalAttributeRequest">
<wsdl:part name="asOptionalAttributeRequest"
element="tns:asOptionalAttributeRequest">
</wsdl:part>
</wsdl:message>
<wsdl:message name="asArrayResponse">
<wsdl:part name="asArrayResponse"
element="tns:asArrayResponse">
</wsdl:part>
</wsdl:message>
<wsdl:message name="asArrayRequest">
<wsdl:part name="asArrayRequest" element="tns:asArrayRequest"></wsdl:part>
</wsdl:message>
<wsdl:message name="asComplexTypeResponse">
<wsdl:part name="asComplexTypeResponse"
element="tns:asComplexTypeResponse">
</wsdl:part>
</wsdl:message>
<wsdl:message name="asComplexTypeRequest">
<wsdl:part name="asComplexTypeRequest"
element="tns:asComplexTypeRequest">
</wsdl:part>
</wsdl:message>
<wsdl:portType name="XSD_integer">
<wsdl:operation name="asNonNillableElement">
<wsdl:input message="tns:asNonNillableElementRequest"
name="asNonNillableElementRequest" />
<wsdl:output message="tns:asNonNillableElementResponse"
name="asNonNillableElementResponse" />
</wsdl:operation>
<wsdl:operation name="asNillableElement">
<wsdl:input message="tns:asNillableElementRequest"
name="asNillableElementRequest">
</wsdl:input>
<wsdl:output message="tns:asNillableElementResponse"
name="asNillableElementResponse">
</wsdl:output>
</wsdl:operation>
<wsdl:operation name="asRequiredAttribute">
<wsdl:input message="tns:asRequiredAttributeRequest"></wsdl:input>
<wsdl:output message="tns:asRequiredAttributeResponse"></wsdl:output>
</wsdl:operation>
<wsdl:operation name="asOptionalAttribute">
<wsdl:input message="tns:asOptionalAttributeRequest"></wsdl:input>
<wsdl:output message="tns:asOptionalAttributeResponse"></wsdl:output>
</wsdl:operation>
<wsdl:operation name="asArray">
<wsdl:input message="tns:asArrayRequest"></wsdl:input>
<wsdl:output message="tns:asArrayResponse"></wsdl:output>
</wsdl:operation>
<wsdl:operation name="asComplexType">
<wsdl:input message="tns:asComplexTypeRequest"></wsdl:input>
<wsdl:output message="tns:asComplexTypeResponse"></wsdl:output>
</wsdl:operation>
</wsdl:portType>
<wsdl:binding name="XSD_integerSOAP" type="tns:XSD_integer">
<soap:binding style="document"
transport="http://schemas.xmlsoap.org/soap/http" />
<wsdl:operation name="asNonNillableElement">
<soap:operation
soapAction="XSD_integer#asNonNillableElement" style="document" />
<wsdl:input name="asNonNillableElementRequest">
<soap:body use="literal" />
</wsdl:input>
<wsdl:output name="asNonNillableElementResponse">
<soap:body use="literal" />
</wsdl:output>
</wsdl:operation>
<wsdl:operation name="asNillableElement">
<soap:operation soapAction="XSD_integer#asNillableElement"
style="document" />
<wsdl:input name="asNillableElementRequest">
<soap:body use="literal" />
</wsdl:input>
<wsdl:output name="asNillableElementResponse">
<soap:body use="literal" />
</wsdl:output>
</wsdl:operation>
<wsdl:operation name="asRequiredAttribute">
<soap:operation
soapAction="XSD_integer#asRequiredAttribute" style="document" />
<wsdl:input>
<soap:body use="literal" />
</wsdl:input>
<wsdl:output>
<soap:body use="literal" />
</wsdl:output>
</wsdl:operation>
<wsdl:operation name="asOptionalAttribute">
<soap:operation
soapAction="XSD_integer#asOptionalAttribute" style="document" />
<wsdl:input>
<soap:body use="literal" />
</wsdl:input>
<wsdl:output>
<soap:body use="literal" />
</wsdl:output>
</wsdl:operation>
<wsdl:operation name="asArray">
<soap:operation soapAction="XSD_integer#asArray" style="document" />
<wsdl:input>
<soap:body use="literal" />
</wsdl:input>
<wsdl:output>
<soap:body use="literal" />
</wsdl:output>
</wsdl:operation>
<wsdl:operation name="asComplexType">
<soap:operation soapAction="XSD_integer#asComplexType"
style="document" />
<wsdl:input>
<soap:body use="literal" />
</wsdl:input>
<wsdl:output>
<soap:body use="literal" />
</wsdl:output>
</wsdl:operation>
</wsdl:binding>
<wsdl:service name="XSD_integer">
<wsdl:port binding="tns:XSD_integerSOAP"
name="XSD_integerSOAP">
<soap:address
location="http://localhost:9080/XSD_integer/services/XSD_integer" />
</wsdl:port>
</wsdl:service>
</wsdl:definitions>