axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From di...@apache.org
Subject cvs commit: ws-axis/c/tests/auto_build/testcases/wsdls XSD_boolean.wsdl
Date Fri, 01 Jul 2005 09:08:04 GMT
dicka       2005/07/01 02:08:04

  Modified:    c/include/axis AxisUserAPI.h AxisUserAPI.hpp
               c/tests/auto_build/testcases unitTest.list
  Added:       c/tests/auto_build/testcases/client/cpp
                        XSD_booleanClient.cpp
               c/tests/auto_build/testcases/output XSD_boolean.expected
                        XSD_boolean_ServerResponse.expected
               c/tests/auto_build/testcases/tests XSD_boolean.xml
               c/tests/auto_build/testcases/wsdls XSD_boolean.wsdl
  Log:
  Testcase for the XSD built-in simple types.  The boolean type.
  Also including fixes for small problem highlighted while developing this testcase.
  
  PR: AXISCPP-715, AXISCPP-724
  Submitted by: Adrian Dick
  
  Revision  Changes    Path
  1.14      +2 -2      ws-axis/c/include/axis/AxisUserAPI.h
  
  Index: AxisUserAPI.h
  ===================================================================
  RCS file: /home/cvs/ws-axis/c/include/axis/AxisUserAPI.h,v
  retrieving revision 1.13
  retrieving revision 1.14
  diff -u -r1.13 -r1.14
  --- AxisUserAPI.h	30 Jun 2005 06:57:35 -0000	1.13
  +++ AxisUserAPI.h	1 Jul 2005 09:08:03 -0000	1.14
  @@ -402,8 +402,8 @@
   AXISC_DEFINED_POINTER_ARRAY(xsdc__QName)
   AXISC_DEFINED_POINTER_ARRAY(xsdc__notation)
    
  -static const int xsdc_boolean_true = 1;
  -static const int xsdc_boolean_false = 0;
  +static const xsdc__boolean xsdc_boolean_true = (xsdc__boolean) 1;
  +static const xsdc__boolean xsdc_boolean_false = (xsdc__boolean) 0;
   
   typedef enum {
       AXISC_NORMAL_CHANNEL=0,
  
  
  
  1.11      +2 -2      ws-axis/c/include/axis/AxisUserAPI.hpp
  
  Index: AxisUserAPI.hpp
  ===================================================================
  RCS file: /home/cvs/ws-axis/c/include/axis/AxisUserAPI.hpp,v
  retrieving revision 1.10
  retrieving revision 1.11
  diff -u -r1.10 -r1.11
  --- AxisUserAPI.hpp	14 Jun 2005 12:07:03 -0000	1.10
  +++ AxisUserAPI.hpp	1 Jul 2005 09:08:03 -0000	1.11
  @@ -375,8 +375,8 @@
   
   #define AXIS_OUT_PARAM 
   
  -static const int xsd_boolean_true = 1;
  -static const int xsd_boolean_false = 0;
  +static const xsd__boolean xsd_boolean_true = (xsd__boolean) 1;
  +static const xsd__boolean xsd_boolean_false = (xsd__boolean) 0;
   
   typedef enum {
       NORMAL_CHANNEL=0,
  
  
  
  1.6       +2 -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.5
  retrieving revision 1.6
  diff -u -r1.5 -r1.6
  --- unitTest.list	30 Jun 2005 16:26:12 -0000	1.5
  +++ unitTest.list	1 Jul 2005 09:08:04 -0000	1.6
  @@ -22,4 +22,5 @@
   XSD_gYearMonth.xml
   XSD_gMonth.xml
   XSD_gMonthDay.xml
  -XSD_gDay.xml
  \ No newline at end of file
  +XSD_gDay.xml
  +XSD_boolean.xml
  \ No newline at end of file
  
  
  
  1.1                  ws-axis/c/tests/auto_build/testcases/client/cpp/XSD_booleanClient.cpp
  
  Index: XSD_booleanClient.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_boolean.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_boolean";
  
  	if(argc>1)
  		url = argv[1];
  
  		// bool bSuccess = false;
  
  	try
  	{
    // Test true and false, using 0, 1, false_, true_, xsd_boolean_false, and xsd_boolean_true
          
  		sprintf(endpoint, "%s", url);
  		XSD_boolean* ws = new XSD_boolean(endpoint);
  
  		// Test non-nillable element, with all valid permutations for representing true and false.
  	    xsd__boolean result = ws->asNonNillableElement((xsd__boolean)0);
  		cout << "non-nillable element, using 0=" << result << endl;
          result = ws->asNonNillableElement((xsd__boolean)1);
          cout << "non-nillable element, using 1=" << result << endl;
          result = ws->asNonNillableElement(false_);
          cout << "non-nillable element, using false_=" << result << endl;
          result = ws->asNonNillableElement(true_);
          cout << "non-nillable element, using true_=" << result << endl;
          result = ws->asNonNillableElement(xsd_boolean_false);
          cout << "non-nillable element, using xsd_boolean_false=" << result <<
endl;
          result = ws->asNonNillableElement(xsd_boolean_true);
          cout << "non-nillable element, using xsd_boolean_true=" << result <<
endl;
  
  		// Test nillable element, with a value
  		xsd__boolean* nillableInput = new xsd__boolean();
  		*(nillableInput) = (xsd__boolean)0;
  		xsd__boolean* 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((xsd__boolean)1);
  		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(false_);
  		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__boolean_Array arrayInput;
          arrayInput.m_Array = new xsd__boolean*[2];
          xsd__boolean * array = new xsd__boolean[2];
          arrayInput.m_Size = 2;
          for (int inputIndex=0 ; inputIndex < 2 ; inputIndex++)
          {
              array[inputIndex] = true_;
              arrayInput.m_Array[inputIndex] = &array[inputIndex];
          }
  		xsd__boolean_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__boolean*)(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(xsd_boolean_false);
  		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_boolean.expected
  
  Index: XSD_boolean.expected
  ===================================================================
  non-nillable element, using 0=0
  non-nillable element, using 1=1
  non-nillable element, using false_=0
  non-nillable element, using true_=1
  non-nillable element, using xsd_boolean_false=0
  non-nillable element, using xsd_boolean_true=1
  nillable element=0
  nil element=<nil>
  required attribute=1
  array of 2 elements
    element[0]=1
    element[1]=1
  within complex type=0
  ---------------------- TEST COMPLETE -----------------------------
  
  
  
  1.1                  ws-axis/c/tests/auto_build/testcases/output/XSD_boolean_ServerResponse.expected
  
  Index: XSD_boolean_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_boolean.test.apache.org"><nonNillableElement>false</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_boolean.test.apache.org"><nonNillableElement>true</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_boolean.test.apache.org"><nonNillableElement>false</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_boolean.test.apache.org"><nonNillableElement>true</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_boolean.test.apache.org"><nonNillableElement>false</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_boolean.test.apache.org"><nonNillableElement>true</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_boolean.test.apache.org"><nillableElement>false</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_boolean.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_boolean.test.apache.org"><RequiredAttributeElement
requiredAttribute="true" /></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_boolean.test.apache.org"><arrayElement>true</arrayElement><arrayElement>true</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_boolean.test.apache.org"><SimpleComplexType><complexTypeElement>false</complexTypeElement></SimpleComplexType></asComplexTypeResponse></soapenv:Body></soapenv:Envelope>
  0
  
  
  
  
  1.1                  ws-axis/c/tests/auto_build/testcases/tests/XSD_boolean.xml
  
  Index: XSD_boolean.xml
  ===================================================================
  <test>
      <name>XSD_boolean</name>
      <description>Test serialization and deserialization of the XSD built-in simple
type boolean</description>
      <clientLang>cpp</clientLang>
      <clientCode>XSD_booleanClient.cpp</clientCode>
      <wsdl>XSD_boolean.wsdl</wsdl>
      <expected>
          <output>
              XSD_boolean.expected
          </output>
  		<serverResponse>
  			XSD_boolean_ServerResponse.expected
  	    </serverResponse>
      </expected>
  	<endpoint>http://localhost:80/axis/XSD_boolean</endpoint>
  </test>
  
  
  
  
  1.1                  ws-axis/c/tests/auto_build/testcases/wsdls/XSD_boolean.wsdl
  
  Index: XSD_boolean.wsdl
  ===================================================================
  <?xml version="1.0" encoding="UTF-8"?>
  <wsdl:definitions xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/"
  	xmlns:tns="http://xsd_boolean.test.apache.org"
  	xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/"
  	xmlns:xsd="http://www.w3.org/2001/XMLSchema" name="XSD_boolean"
  	targetNamespace="http://xsd_boolean.test.apache.org">
  	<wsdl:types>
  		<xsd:schema
  			targetNamespace="http://xsd_boolean.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:boolean" 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:boolean" 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:boolean" 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:boolean" nillable="true" minOccurs="1" maxOccurs="1" />
  					</xsd:sequence>
  				</xsd:complexType>
  			</xsd:element>
  			<xsd:complexType name="RequiredAttributeElement">
  				<xsd:attribute name="requiredAttribute" type="xsd:boolean"
  					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:boolean"
  					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:boolean" 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:boolean" nillable="false" minOccurs="1"
  							maxOccurs="unbounded" />
  					</xsd:sequence>
  				</xsd:complexType>
  			</xsd:element>
  			<xsd:complexType name="SimpleComplexType">
  				<xsd:sequence>
  					<xsd:element name="complexTypeElement"
  						type="xsd:boolean" 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_boolean">
  		<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_booleanSOAP" type="tns:XSD_boolean">
  		<soap:binding style="document"
  			transport="http://schemas.xmlsoap.org/soap/http" />
  		<wsdl:operation name="asNonNillableElement">
  			<soap:operation
  				soapAction="XSD_boolean#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_boolean#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_boolean#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_boolean#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_boolean#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_boolean#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_boolean">
  		<wsdl:port binding="tns:XSD_booleanSOAP"
  			name="XSD_booleanSOAP">
  			<soap:address
  				location="http://localhost:9080/XSD_boolean/services/XSD_boolean" />
  		</wsdl:port>
  	</wsdl:service>
  </wsdl:definitions>
  
  
  

Mime
View raw message