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 "Aedemar Cooke (JIRA)" <ax...@ws.apache.org> on 2005/03/16 09:09:35 UTC

[jira] Created: (AXIS-1880) Serialization problems when exposing my service as Wrapped/Literal

Serialization problems when exposing my service as Wrapped/Literal
------------------------------------------------------------------

         Key: AXIS-1880
         URL: http://issues.apache.org/jira/browse/AXIS-1880
     Project: Axis
        Type: Bug
  Components: Serialization/Deserialization  
    Versions: 1.2RC3    
 Environment: Axis service deployed to websphere server 
WebSphere Platform 5.0 [BASE 5.0.0 s0245.03] 
Host Operating System is Windows 2000, version 5.0 
Java version = J2RE 1.3.1 IBM Windows 32 build cn131-20021107 (JIT enabled: jitc) 

Microsoft Development Environment 2003 
Microsoft .NET Framework 1.1 
Microsoft Visual C# .NET 69586-335-0000007-18998 
    Reporter: Aedemar Cooke


I am experiencing Serialization problems when exposing my service as Wrapped/Literal.  I don't have these problems with rpc/encoded.

Axis generates customer serialization code in the JavaBean classes which is fine, but if I don't use these Axis generated classes but use my own simple JavaBean classes containing no custom serialization code, there are namespace issues in the XML - see Soap Envelopes below and attached WSDL.  

Notice that in the example using the custom serializer the getCustomerReturn is in the <http://inquiry.webservice.gpb.rbc.com> namespace, as the WSDL specifies, and the child elements of that element are all in the <http://customer.util.gpb.rbc.com> namespace, again, as the WSDL specifies.  However in the example where the custom serializer is not used, the child elements of getCustomerReturn do not specify a namespace so will be in the namespace of their parent, <http://inquiry.webservice.gpb.rbc.com>, which is incorrect. .

<<inquiry.wsdl>> 
As I said I didn't have to use the custom serialization code for my rpc/encoded service but could just specify the org.apache.axis.encoding.ser.BeanDe/SerializerFactory as the de/serializer in the server-config.wsdd as shown below 

<typeMapping deserializer="org.apache.axis.encoding.ser.BeanDeserializerFactory" encodingStyle="" qname="ns5:BankIdentifier" serializer="org.apache.axis.encoding.ser.BeanSerializerFactory" type="java:com.rbc.gpb.util.BankIdentifier" xmlns:ns5="http://util.gpb.rbc.com"/>

<typeMapping deserializer="org.apache.axis.encoding.ser.BeanDeserializerFactory" encodingStyle="" qname="ns6:Code" serializer="org.apache.axis.encoding.ser.BeanSerializerFactory" type="java:com.rbc.gpb.util.Code" xmlns:ns6="http://util.gpb.rbc.com"/>

I would like help on how I can continue to use my existing Java classes (and there are a lot of them) without having to cut and paste the de/serializer code into each of them.

The Soap Envelope for the two scenarios are below... 
//Not using custom serializer 
<?xml version="1.0" encoding="utf-8"?><soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><soapenv:Body><getCustomerResponse xmlns="http://inquiry.webservice.gpb.rbc.com"><getCustomerReturn><isBooksKept>false</isBooksKept><officerCode xsi:nil="true"/><hasWarnings>false</hasWarnings><type xsi:nil="true"/><isRestrained>false</isRestrained><state xsi:nil="true"/><currency xsi:nil="true"/><shortName xsi:nil="true"/><postalCode xsi:nil="true"/><legalName xsi:nil="true"/><id><bank>1</bank><transit>1880</transit><key xsi:nil="true"/><number>1000017</number></id><status xsi:nil="true"/><address4 xsi:nil="true"/><dateOpened xsi:nil="true"/><address3 xsi:nil="true"/><dateOfBirth xsi:nil="true"/><address2 xsi:nil="true"/><address1 xsi:nil="true"/><messages xsi:nil="true"/><name>Test Name</name></getCustomerReturn></getCustomerResponse></soapenv:Body></soapenv:Envelope>

//using custom serializer 
<?xml version="1.0" encoding="utf-8"?><soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><soapenv:Body><getCustomerResponse xmlns="http://inquiry.webservice.gpb.rbc.com"><getCustomerReturn><ns1:shortName xsi:nil="true" xmlns:ns1="http://customer.util.gpb.rbc.com"/><ns2:currency xsi:nil="true" xmlns:ns2="http://customer.util.gpb.rbc.com"/><ns3:isRestrained xmlns:ns3="http://customer.util.gpb.rbc.com">false</ns3:isRestrained><ns4:status xmlns:ns4="http://customer.util.gpb.rbc.com">Bankrupt</ns4:status><ns5:hasWarnings xmlns:ns5="http://customer.util.gpb.rbc.com">false</ns5:hasWarnings><ns6:id xmlns:ns6="http://customer.util.gpb.rbc.com"><ns7:bank xmlns:ns7="http://util.gpb.rbc.com">1</ns7:bank><ns8:transit xmlns:ns8="http://util.gpb.rbc.com">1880</ns8:transit><ns9:key xsi:nil="true" xmlns:ns9="http://util.gpb.rbc.com"/><ns10:number xmlns:ns10="http://util.gpb.rbc.com">1000017</ns10:number></ns6:id><ns11:isBooksKept xmlns:ns11="http://customer.util.gpb.rbc.com">false</ns11:isBooksKept><ns12:officerCode xsi:nil="true" xmlns:ns12="http://customer.util.gpb.rbc.com"/><ns13:type xsi:nil="true" xmlns:ns13="http://customer.util.gpb.rbc.com"/><ns14:state xmlns:ns14="http://customer.util.gpb.rbc.com">Inactive</ns14:state><ns15:postalCode xsi:nil="true" xmlns:ns15="http://customer.util.gpb.rbc.com"/><ns16:legalName xsi:nil="true" xmlns:ns16="http://customer.util.gpb.rbc.com"/><ns17:address4 xsi:nil="true" xmlns:ns17="http://customer.util.gpb.rbc.com"/><ns18:dateOpened xmlns:ns18="http://customer.util.gpb.rbc.com">2005-03-15T13:53:33.873Z</ns18:dateOpened><ns19:address3 xsi:nil="true" xmlns:ns19="http://customer.util.gpb.rbc.com"/><ns20:dateOfBirth xmlns:ns20="http://customer.util.gpb.rbc.com">2005-03-15T13:53:33.873Z</ns20:dateOfBirth><ns21:address2 xsi:nil="true" xmlns:ns21="http://customer.util.gpb.rbc.com"/><ns22:address1 xsi:nil="true" xmlns:ns22="http://customer.util.gpb.rbc.com"/><ns23:messages xsi:nil="true" xmlns:ns23="http://customer.util.gpb.rbc.com"/><ns24:name xmlns:ns24="http://customer.util.gpb.rbc.com">Test Name</ns24:name></getCustomerReturn></getCustomerResponse></soapenv:Body></soapenv:Envelope>

The wsdl..

<?xml version="1.0" encoding="UTF-8"?>
<wsdl:definitions targetNamespace="http://inquiry.webservice.gpb.rbc.com" xmlns:apachesoap="http://xml.apache.org/xml-soap" xmlns:impl="http://inquiry.webservice.gpb.rbc.com" xmlns:intf="http://inquiry.webservice.gpb.rbc.com" xmlns:tns2="http://util.gpb.rbc.com" xmlns:tns3="http://customer.util.gpb.rbc.com" xmlns:tns4="http://lang.java" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" xmlns:wsdlsoap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
<!--WSDL created by Apache Axis version: 1.2RC3
Built on Feb 28, 2005 (10:15:14 EST)-->
 <wsdl:types>
  <schema elementFormDefault="qualified" targetNamespace="http://inquiry.webservice.gpb.rbc.com" xmlns="http://www.w3.org/2001/XMLSchema">
   <import namespace="http://util.gpb.rbc.com"/>
   <import namespace="http://lang.java"/>
   <import namespace="http://customer.util.gpb.rbc.com"/>
   <element name="getCustomer">
    <complexType>
     <sequence>
      <element name="in0" type="tns2:BankIdentifier"/>
     </sequence>
    </complexType>
   </element>
   <element name="getCustomerResponse">
    <complexType>
     <sequence>
      <element name="getCustomerReturn" type="tns3:CustomerDTO"/>
     </sequence>
    </complexType>
   </element>
   <complexType name="ArrayOf_tns2_Message">
    <sequence>
     <element maxOccurs="unbounded" minOccurs="0" name="item" type="tns2:Message"/>
    </sequence>
   </complexType>
   <element name="fault" type="tns2:GPBException"/>
  </schema>
  <schema elementFormDefault="qualified" targetNamespace="http://util.gpb.rbc.com" xmlns="http://www.w3.org/2001/XMLSchema">
   <import namespace="http://lang.java"/>
   <import namespace="http://customer.util.gpb.rbc.com"/>
   <import namespace="http://inquiry.webservice.gpb.rbc.com"/>
   <complexType name="BankIdentifier">
    <sequence>
     <element name="bank" type="xsd:int"/>
     <element name="transit" type="xsd:int"/>
     <element name="key" nillable="true" type="xsd:string"/>
     <element name="number" type="xsd:int"/>
    </sequence>
   </complexType>
   <complexType name="Code">
    <sequence>
     <element name="description" nillable="true" type="xsd:string"/>
     <element name="value" nillable="true" type="xsd:string"/>
    </sequence>
   </complexType>
   <simpleType name="MessageType">
    <restriction base="xsd:string">
     <enumeration value="GlobalRestraint"/>
     <enumeration value="GlobalWarning"/>
     <enumeration value="Restraint"/>
     <enumeration value="Warning"/>
     <enumeration value="Note"/>
    </restriction>
   </simpleType>
   <complexType name="Message">
    <sequence>
     <element name="startDate" nillable="true" type="xsd:dateTime"/>
     <element name="expiryDate" nillable="true" type="xsd:dateTime"/>
     <element name="reference" nillable="true" type="tns2:BankIdentifier"/>
     <element name="type" nillable="true" type="tns2:MessageType"/>
     <element name="text" nillable="true" type="xsd:string"/>
    </sequence>
   </complexType>
   <simpleType name="ErrorSeverity">
    <restriction base="xsd:string">
     <enumeration value="Low"/>
     <enumeration value="Medium"/>
     <enumeration value="High"/>
     <enumeration value="BusinessCritical"/>
     <enumeration value="MissionCritical"/>
    </restriction>
   </simpleType>
   <complexType name="GPBException">
    <sequence>
     <element name="exception" nillable="true" type="xsd:anyType"/>
     <element name="message" nillable="true" type="xsd:string"/>
     <element name="errorSeverity" nillable="true" type="tns2:ErrorSeverity"/>
    </sequence>
   </complexType>
  </schema>
  <schema elementFormDefault="qualified" targetNamespace="http://customer.util.gpb.rbc.com" xmlns="http://www.w3.org/2001/XMLSchema">
   <import namespace="http://util.gpb.rbc.com"/>
   <import namespace="http://lang.java"/>
   <import namespace="http://inquiry.webservice.gpb.rbc.com"/>
   <simpleType name="FinancialStatus">
    <restriction base="xsd:string">
     <enumeration value="Loss"/>
     <enumeration value="Doubtful"/>
     <enumeration value="Substandard"/>
     <enumeration value="SpecialMention"/>
     <enumeration value="Watchlist"/>
     <enumeration value="Bankrupt"/>
     <enumeration value="Chapter11"/>
     <enumeration value="Restraint"/>
     <enumeration value="Regular"/>
    </restriction>
   </simpleType>
   <complexType name="CustomerSummaryDTO">
    <sequence>
     <element name="shortName" nillable="true" type="xsd:string"/>
     <element name="currency" nillable="true" type="xsd:string"/>
     <element name="isRestrained" type="xsd:boolean"/>
     <element name="status" nillable="true" type="tns3:FinancialStatus"/>
     <element name="hasWarnings" type="xsd:boolean"/>
     <element name="id" nillable="true" type="tns2:BankIdentifier"/>
    </sequence>
   </complexType>
   <simpleType name="CustomerActivity">
    <restriction base="xsd:string">
     <enumeration value="Active"/>
     <enumeration value="Inactive"/>
    </restriction>
   </simpleType>
   <complexType name="CustomerDTO">
    <complexContent>
     <extension base="tns3:CustomerSummaryDTO">
      <sequence>
       <element name="isBooksKept" type="xsd:boolean"/>
       <element name="officerCode" nillable="true" type="xsd:string"/>
       <element name="type" nillable="true" type="tns2:Code"/>
       <element name="state" nillable="true" type="tns3:CustomerActivity"/>
       <element name="postalCode" nillable="true" type="xsd:string"/>
       <element name="legalName" nillable="true" type="xsd:string"/>
       <element name="address4" nillable="true" type="xsd:string"/>
       <element name="dateOpened" nillable="true" type="xsd:dateTime"/>
       <element name="address3" nillable="true" type="xsd:string"/>
       <element name="dateOfBirth" nillable="true" type="xsd:dateTime"/>
       <element name="address2" nillable="true" type="xsd:string"/>
       <element name="address1" nillable="true" type="xsd:string"/>
       <element name="messages" nillable="true" type="impl:ArrayOf_tns2_Message"/>
       <element name="name" nillable="true" type="xsd:string"/>
      </sequence>
     </extension>
    </complexContent>
   </complexType>
  </schema>
 </wsdl:types>

   <wsdl:message name="getCustomerRequest">

      <wsdl:part element="impl:getCustomer" name="parameters"/>

   </wsdl:message>

   <wsdl:message name="GPBException">

      <wsdl:part element="impl:fault" name="fault"/>

   </wsdl:message>

   <wsdl:message name="getCustomerResponse">

      <wsdl:part element="impl:getCustomerResponse" name="parameters"/>

   </wsdl:message>

   <wsdl:portType name="Inquiry">

      <wsdl:operation name="getCustomer">

         <wsdl:input message="impl:getCustomerRequest" name="getCustomerRequest"/>

         <wsdl:output message="impl:getCustomerResponse" name="getCustomerResponse"/>

         <wsdl:fault message="impl:GPBException" name="GPBException"/>

      </wsdl:operation>

   </wsdl:portType>

   <wsdl:binding name="InquirySoapBinding" type="impl:Inquiry">

      <wsdlsoap:binding style="document" transport="http://schemas.xmlsoap.org/soap/http"/>

      <wsdl:operation name="getCustomer">

         <wsdlsoap:operation soapAction=""/>

         <wsdl:input name="getCustomerRequest">

            <wsdlsoap:body use="literal"/>

         </wsdl:input>

         <wsdl:output name="getCustomerResponse">

            <wsdlsoap:body use="literal"/>

         </wsdl:output>

         <wsdl:fault name="GPBException">

            <wsdlsoap:fault name="GPBException" use="literal"/>

         </wsdl:fault>

      </wsdl:operation>

   </wsdl:binding>

   <wsdl:service name="InquiryService">

      <wsdl:port binding="impl:InquirySoapBinding" name="Inquiry">

         <wsdlsoap:address location="http://localhost:9080/InquiryWeb/services/Inquiry"/>

      </wsdl:port>

   </wsdl:service>

</wsdl:definitions>


-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
If you want more information on JIRA, or have a bug to report see:
   http://www.atlassian.com/software/jira


[jira] Resolved: (AXIS-1880) Serialization problems when exposing my service as Wrapped/Literal

Posted by "Davanum Srinivas (JIRA)" <ax...@ws.apache.org>.
     [ http://issues.apache.org/jira/browse/AXIS-1880?page=all ]
     
Davanum Srinivas resolved AXIS-1880:
------------------------------------

    Resolution: Won't Fix

closing bug as per Aedemars comment in AXIS-1888.

thanks,
dims

> Serialization problems when exposing my service as Wrapped/Literal
> ------------------------------------------------------------------
>
>          Key: AXIS-1880
>          URL: http://issues.apache.org/jira/browse/AXIS-1880
>      Project: Axis
>         Type: Bug
>   Components: Serialization/Deserialization
>     Versions: 1.2RC3
>  Environment: Axis service deployed to websphere server 
> WebSphere Platform 5.0 [BASE 5.0.0 s0245.03] 
> Host Operating System is Windows 2000, version 5.0 
> Java version = J2RE 1.3.1 IBM Windows 32 build cn131-20021107 (JIT enabled: jitc) 
> Microsoft Development Environment 2003 
> Microsoft .NET Framework 1.1 
> Microsoft Visual C# .NET 69586-335-0000007-18998 
>     Reporter: Aedemar Cooke

>
> I am experiencing Serialization problems when exposing my service as Wrapped/Literal.  I don't have these problems with rpc/encoded.
> Axis generates customer serialization code in the JavaBean classes which is fine, but if I don't use these Axis generated classes but use my own simple JavaBean classes containing no custom serialization code, there are namespace issues in the XML - see Soap Envelopes below and attached WSDL.  
> Notice that in the example using the custom serializer the getCustomerReturn is in the <http://inquiry.webservice.gpb.rbc.com> namespace, as the WSDL specifies, and the child elements of that element are all in the <http://customer.util.gpb.rbc.com> namespace, again, as the WSDL specifies.  However in the example where the custom serializer is not used, the child elements of getCustomerReturn do not specify a namespace so will be in the namespace of their parent, <http://inquiry.webservice.gpb.rbc.com>, which is incorrect. .
> <<inquiry.wsdl>> 
> As I said I didn't have to use the custom serialization code for my rpc/encoded service but could just specify the org.apache.axis.encoding.ser.BeanDe/SerializerFactory as the de/serializer in the server-config.wsdd as shown below 
> <typeMapping deserializer="org.apache.axis.encoding.ser.BeanDeserializerFactory" encodingStyle="" qname="ns5:BankIdentifier" serializer="org.apache.axis.encoding.ser.BeanSerializerFactory" type="java:com.rbc.gpb.util.BankIdentifier" xmlns:ns5="http://util.gpb.rbc.com"/>
> <typeMapping deserializer="org.apache.axis.encoding.ser.BeanDeserializerFactory" encodingStyle="" qname="ns6:Code" serializer="org.apache.axis.encoding.ser.BeanSerializerFactory" type="java:com.rbc.gpb.util.Code" xmlns:ns6="http://util.gpb.rbc.com"/>
> I would like help on how I can continue to use my existing Java classes (and there are a lot of them) without having to cut and paste the de/serializer code into each of them.
> The Soap Envelope for the two scenarios are below... 
> //Not using custom serializer 
> <?xml version="1.0" encoding="utf-8"?><soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><soapenv:Body><getCustomerResponse xmlns="http://inquiry.webservice.gpb.rbc.com"><getCustomerReturn><isBooksKept>false</isBooksKept><officerCode xsi:nil="true"/><hasWarnings>false</hasWarnings><type xsi:nil="true"/><isRestrained>false</isRestrained><state xsi:nil="true"/><currency xsi:nil="true"/><shortName xsi:nil="true"/><postalCode xsi:nil="true"/><legalName xsi:nil="true"/><id><bank>1</bank><transit>1880</transit><key xsi:nil="true"/><number>1000017</number></id><status xsi:nil="true"/><address4 xsi:nil="true"/><dateOpened xsi:nil="true"/><address3 xsi:nil="true"/><dateOfBirth xsi:nil="true"/><address2 xsi:nil="true"/><address1 xsi:nil="true"/><messages xsi:nil="true"/><name>Test Name</name></getCustomerReturn></getCustomerResponse></soapenv:Body></soapenv:Envelope>
> //using custom serializer 
> <?xml version="1.0" encoding="utf-8"?><soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><soapenv:Body><getCustomerResponse xmlns="http://inquiry.webservice.gpb.rbc.com"><getCustomerReturn><ns1:shortName xsi:nil="true" xmlns:ns1="http://customer.util.gpb.rbc.com"/><ns2:currency xsi:nil="true" xmlns:ns2="http://customer.util.gpb.rbc.com"/><ns3:isRestrained xmlns:ns3="http://customer.util.gpb.rbc.com">false</ns3:isRestrained><ns4:status xmlns:ns4="http://customer.util.gpb.rbc.com">Bankrupt</ns4:status><ns5:hasWarnings xmlns:ns5="http://customer.util.gpb.rbc.com">false</ns5:hasWarnings><ns6:id xmlns:ns6="http://customer.util.gpb.rbc.com"><ns7:bank xmlns:ns7="http://util.gpb.rbc.com">1</ns7:bank><ns8:transit xmlns:ns8="http://util.gpb.rbc.com">1880</ns8:transit><ns9:key xsi:nil="true" xmlns:ns9="http://util.gpb.rbc.com"/><ns10:number xmlns:ns10="http://util.gpb.rbc.com">1000017</ns10:number></ns6:id><ns11:isBooksKept xmlns:ns11="http://customer.util.gpb.rbc.com">false</ns11:isBooksKept><ns12:officerCode xsi:nil="true" xmlns:ns12="http://customer.util.gpb.rbc.com"/><ns13:type xsi:nil="true" xmlns:ns13="http://customer.util.gpb.rbc.com"/><ns14:state xmlns:ns14="http://customer.util.gpb.rbc.com">Inactive</ns14:state><ns15:postalCode xsi:nil="true" xmlns:ns15="http://customer.util.gpb.rbc.com"/><ns16:legalName xsi:nil="true" xmlns:ns16="http://customer.util.gpb.rbc.com"/><ns17:address4 xsi:nil="true" xmlns:ns17="http://customer.util.gpb.rbc.com"/><ns18:dateOpened xmlns:ns18="http://customer.util.gpb.rbc.com">2005-03-15T13:53:33.873Z</ns18:dateOpened><ns19:address3 xsi:nil="true" xmlns:ns19="http://customer.util.gpb.rbc.com"/><ns20:dateOfBirth xmlns:ns20="http://customer.util.gpb.rbc.com">2005-03-15T13:53:33.873Z</ns20:dateOfBirth><ns21:address2 xsi:nil="true" xmlns:ns21="http://customer.util.gpb.rbc.com"/><ns22:address1 xsi:nil="true" xmlns:ns22="http://customer.util.gpb.rbc.com"/><ns23:messages xsi:nil="true" xmlns:ns23="http://customer.util.gpb.rbc.com"/><ns24:name xmlns:ns24="http://customer.util.gpb.rbc.com">Test Name</ns24:name></getCustomerReturn></getCustomerResponse></soapenv:Body></soapenv:Envelope>
> The wsdl..
> <?xml version="1.0" encoding="UTF-8"?>
> <wsdl:definitions targetNamespace="http://inquiry.webservice.gpb.rbc.com" xmlns:apachesoap="http://xml.apache.org/xml-soap" xmlns:impl="http://inquiry.webservice.gpb.rbc.com" xmlns:intf="http://inquiry.webservice.gpb.rbc.com" xmlns:tns2="http://util.gpb.rbc.com" xmlns:tns3="http://customer.util.gpb.rbc.com" xmlns:tns4="http://lang.java" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" xmlns:wsdlsoap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
> <!--WSDL created by Apache Axis version: 1.2RC3
> Built on Feb 28, 2005 (10:15:14 EST)-->
>  <wsdl:types>
>   <schema elementFormDefault="qualified" targetNamespace="http://inquiry.webservice.gpb.rbc.com" xmlns="http://www.w3.org/2001/XMLSchema">
>    <import namespace="http://util.gpb.rbc.com"/>
>    <import namespace="http://lang.java"/>
>    <import namespace="http://customer.util.gpb.rbc.com"/>
>    <element name="getCustomer">
>     <complexType>
>      <sequence>
>       <element name="in0" type="tns2:BankIdentifier"/>
>      </sequence>
>     </complexType>
>    </element>
>    <element name="getCustomerResponse">
>     <complexType>
>      <sequence>
>       <element name="getCustomerReturn" type="tns3:CustomerDTO"/>
>      </sequence>
>     </complexType>
>    </element>
>    <complexType name="ArrayOf_tns2_Message">
>     <sequence>
>      <element maxOccurs="unbounded" minOccurs="0" name="item" type="tns2:Message"/>
>     </sequence>
>    </complexType>
>    <element name="fault" type="tns2:GPBException"/>
>   </schema>
>   <schema elementFormDefault="qualified" targetNamespace="http://util.gpb.rbc.com" xmlns="http://www.w3.org/2001/XMLSchema">
>    <import namespace="http://lang.java"/>
>    <import namespace="http://customer.util.gpb.rbc.com"/>
>    <import namespace="http://inquiry.webservice.gpb.rbc.com"/>
>    <complexType name="BankIdentifier">
>     <sequence>
>      <element name="bank" type="xsd:int"/>
>      <element name="transit" type="xsd:int"/>
>      <element name="key" nillable="true" type="xsd:string"/>
>      <element name="number" type="xsd:int"/>
>     </sequence>
>    </complexType>
>    <complexType name="Code">
>     <sequence>
>      <element name="description" nillable="true" type="xsd:string"/>
>      <element name="value" nillable="true" type="xsd:string"/>
>     </sequence>
>    </complexType>
>    <simpleType name="MessageType">
>     <restriction base="xsd:string">
>      <enumeration value="GlobalRestraint"/>
>      <enumeration value="GlobalWarning"/>
>      <enumeration value="Restraint"/>
>      <enumeration value="Warning"/>
>      <enumeration value="Note"/>
>     </restriction>
>    </simpleType>
>    <complexType name="Message">
>     <sequence>
>      <element name="startDate" nillable="true" type="xsd:dateTime"/>
>      <element name="expiryDate" nillable="true" type="xsd:dateTime"/>
>      <element name="reference" nillable="true" type="tns2:BankIdentifier"/>
>      <element name="type" nillable="true" type="tns2:MessageType"/>
>      <element name="text" nillable="true" type="xsd:string"/>
>     </sequence>
>    </complexType>
>    <simpleType name="ErrorSeverity">
>     <restriction base="xsd:string">
>      <enumeration value="Low"/>
>      <enumeration value="Medium"/>
>      <enumeration value="High"/>
>      <enumeration value="BusinessCritical"/>
>      <enumeration value="MissionCritical"/>
>     </restriction>
>    </simpleType>
>    <complexType name="GPBException">
>     <sequence>
>      <element name="exception" nillable="true" type="xsd:anyType"/>
>      <element name="message" nillable="true" type="xsd:string"/>
>      <element name="errorSeverity" nillable="true" type="tns2:ErrorSeverity"/>
>     </sequence>
>    </complexType>
>   </schema>
>   <schema elementFormDefault="qualified" targetNamespace="http://customer.util.gpb.rbc.com" xmlns="http://www.w3.org/2001/XMLSchema">
>    <import namespace="http://util.gpb.rbc.com"/>
>    <import namespace="http://lang.java"/>
>    <import namespace="http://inquiry.webservice.gpb.rbc.com"/>
>    <simpleType name="FinancialStatus">
>     <restriction base="xsd:string">
>      <enumeration value="Loss"/>
>      <enumeration value="Doubtful"/>
>      <enumeration value="Substandard"/>
>      <enumeration value="SpecialMention"/>
>      <enumeration value="Watchlist"/>
>      <enumeration value="Bankrupt"/>
>      <enumeration value="Chapter11"/>
>      <enumeration value="Restraint"/>
>      <enumeration value="Regular"/>
>     </restriction>
>    </simpleType>
>    <complexType name="CustomerSummaryDTO">
>     <sequence>
>      <element name="shortName" nillable="true" type="xsd:string"/>
>      <element name="currency" nillable="true" type="xsd:string"/>
>      <element name="isRestrained" type="xsd:boolean"/>
>      <element name="status" nillable="true" type="tns3:FinancialStatus"/>
>      <element name="hasWarnings" type="xsd:boolean"/>
>      <element name="id" nillable="true" type="tns2:BankIdentifier"/>
>     </sequence>
>    </complexType>
>    <simpleType name="CustomerActivity">
>     <restriction base="xsd:string">
>      <enumeration value="Active"/>
>      <enumeration value="Inactive"/>
>     </restriction>
>    </simpleType>
>    <complexType name="CustomerDTO">
>     <complexContent>
>      <extension base="tns3:CustomerSummaryDTO">
>       <sequence>
>        <element name="isBooksKept" type="xsd:boolean"/>
>        <element name="officerCode" nillable="true" type="xsd:string"/>
>        <element name="type" nillable="true" type="tns2:Code"/>
>        <element name="state" nillable="true" type="tns3:CustomerActivity"/>
>        <element name="postalCode" nillable="true" type="xsd:string"/>
>        <element name="legalName" nillable="true" type="xsd:string"/>
>        <element name="address4" nillable="true" type="xsd:string"/>
>        <element name="dateOpened" nillable="true" type="xsd:dateTime"/>
>        <element name="address3" nillable="true" type="xsd:string"/>
>        <element name="dateOfBirth" nillable="true" type="xsd:dateTime"/>
>        <element name="address2" nillable="true" type="xsd:string"/>
>        <element name="address1" nillable="true" type="xsd:string"/>
>        <element name="messages" nillable="true" type="impl:ArrayOf_tns2_Message"/>
>        <element name="name" nillable="true" type="xsd:string"/>
>       </sequence>
>      </extension>
>     </complexContent>
>    </complexType>
>   </schema>
>  </wsdl:types>
>    <wsdl:message name="getCustomerRequest">
>       <wsdl:part element="impl:getCustomer" name="parameters"/>
>    </wsdl:message>
>    <wsdl:message name="GPBException">
>       <wsdl:part element="impl:fault" name="fault"/>
>    </wsdl:message>
>    <wsdl:message name="getCustomerResponse">
>       <wsdl:part element="impl:getCustomerResponse" name="parameters"/>
>    </wsdl:message>
>    <wsdl:portType name="Inquiry">
>       <wsdl:operation name="getCustomer">
>          <wsdl:input message="impl:getCustomerRequest" name="getCustomerRequest"/>
>          <wsdl:output message="impl:getCustomerResponse" name="getCustomerResponse"/>
>          <wsdl:fault message="impl:GPBException" name="GPBException"/>
>       </wsdl:operation>
>    </wsdl:portType>
>    <wsdl:binding name="InquirySoapBinding" type="impl:Inquiry">
>       <wsdlsoap:binding style="document" transport="http://schemas.xmlsoap.org/soap/http"/>
>       <wsdl:operation name="getCustomer">
>          <wsdlsoap:operation soapAction=""/>
>          <wsdl:input name="getCustomerRequest">
>             <wsdlsoap:body use="literal"/>
>          </wsdl:input>
>          <wsdl:output name="getCustomerResponse">
>             <wsdlsoap:body use="literal"/>
>          </wsdl:output>
>          <wsdl:fault name="GPBException">
>             <wsdlsoap:fault name="GPBException" use="literal"/>
>          </wsdl:fault>
>       </wsdl:operation>
>    </wsdl:binding>
>    <wsdl:service name="InquiryService">
>       <wsdl:port binding="impl:InquirySoapBinding" name="Inquiry">
>          <wsdlsoap:address location="http://localhost:9080/InquiryWeb/services/Inquiry"/>
>       </wsdl:port>
>    </wsdl:service>
> </wsdl:definitions>

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira