Hi everyone,

I am building service that returns extensive structure with many subclasses.
Something like this:

<?xml version="1.0" encoding="UTF-8"?>
<wsdl:definitions 
targetNamespace="http://service.systemsettings.security.ecs.ad"; 
xmlns:soap12="http://schemas.xmlsoap.org/wsdl/soap12/"; 
xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/"; 
xmlns:mime="http://schemas.xmlsoap.org/wsdl/mime/"; 
xmlns:http="http://schemas.xmlsoap.org/wsdl/http/"; 
xmlns:ax210="http://ws.apache.org/namespaces/axis2/enum"; 
xmlns:wsaw="http://www.w3.org/2006/05/addressing/wsdl"; 
xmlns:ns1="http://org.apache.axis2/xsd"; 
xmlns:xs="http://www.w3.org/2001/XMLSchema"; xmlns:ax21="http://sax.xml.org/xsd"; 
xmlns:ax23="http://io.java/xsd"; xmlns:ax26="http://library.ecs.ad/xsd"; 
xmlns:ax25="http://service.systemsettings.security.ecs.ad/xsd"; 
xmlns:ns="http://service.systemsettings.security.ecs.ad"; 
xmlns:ax29="http://systemsettings.security.ecs.ad/xsd"; 
xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/";><http://10.10.10.163:8080/SystemSettingsService/services/SystemSettingsService?wsdl>
  <wsdl:documentation> Please Type your service description here 
</wsdl:documentation>
  
<wsdl:types><http://10.10.10.163:8080/SystemSettingsService/services/SystemSettingsService?wsdl>
    <xs:schema targetNamespace="http://ws.apache.org/namespaces/axis2/enum"; 
elementFormDefault="qualified" 
attributeFormDefault="qualified"><http://10.10.10.163:8080/SystemSettingsService/services/SystemSettingsService?wsdl>
      <xs:simpleType 
name="ad.ecs.security.systemsettings.Alignment"><http://10.10.10.163:8080/SystemSettingsService/services/SystemSettingsService?wsdl>
        <xs:restriction 
base="xs:string"><http://10.10.10.163:8080/SystemSettingsService/services/SystemSettingsService?wsdl>
          <xs:enumeration value="AL_LEFT"/>
          <xs:enumeration value="AL_CENTER"/>
          <xs:enumeration value="AL_RIGHT"/>
        </xs:restriction>
      </xs:simpleType>
      <xs:simpleType 
name="ad.ecs.security.systemsettings.Type"><http://10.10.10.163:8080/SystemSettingsService/services/SystemSettingsService?wsdl>
        <xs:restriction 
base="xs:string"><http://10.10.10.163:8080/SystemSettingsService/services/SystemSettingsService?wsdl>
          <xs:enumeration value="HFT_DEMOGRAPHIC"/>
          <xs:enumeration value="HFT_WORD"/>
        </xs:restriction>
      </xs:simpleType>
    </xs:schema>
    <xs:schema targetNamespace="http://systemsettings.security.ecs.ad/xsd"; 
elementFormDefault="qualified" 
attributeFormDefault="qualified"><http://10.10.10.163:8080/SystemSettingsService/services/SystemSettingsService?wsdl>
      <xs:complexType 
name="SystemSettingsData"><http://10.10.10.163:8080/SystemSettingsService/services/SystemSettingsService?wsdl>
        
<xs:sequence><http://10.10.10.163:8080/SystemSettingsService/services/SystemSettingsService?wsdl>
          <xs:element name="general" type="ax29:General" nillable="true" 
minOccurs="0"/>
          <xs:element name="grid" type="ax29:Grid" nillable="true" 
minOccurs="0"/>
          <xs:element name="login" type="ax29:Login" nillable="true" 
minOccurs="0"/>
          <xs:element name="logs" type="ax29:Logs" nillable="true" 
minOccurs="0"/>
          <xs:element name="other" type="ax29:Other" nillable="true" 
minOccurs="0"/>
          <xs:element name="review" type="ax29:Review" nillable="true" 
minOccurs="0"/>
          <xs:element name="setups" type="ax29:Setups" nillable="true" 
minOccurs="0"/>
        </xs:sequence>
      </xs:complexType>
      <xs:complexType 
name="General"><http://10.10.10.163:8080/SystemSettingsService/services/SystemSettingsService?wsdl>
        
<xs:sequence><http://10.10.10.163:8080/SystemSettingsService/services/SystemSettingsService?wsdl>
          <xs:element name="authorizationDelay" type="xs:int" minOccurs="0"/>
          <xs:element name="automaticUpdates" type="xs:boolean" minOccurs="0"/>
          <xs:element name="disableInquiryOnDeletion" type="xs:boolean" 
minOccurs="0"/>
          <xs:element name="disableSpellingChecker" type="xs:boolean" 
minOccurs="0"/>
          <xs:element name="loginMessage" type="xs:string" nillable="true" 
minOccurs="0"/>
          <xs:element name="militaryTime" type="xs:boolean" minOccurs="0"/>
          <xs:element name="pictureDBSettings" type="ax29:PictureDBSettings" 
nillable="true" minOccurs="0"/>
          <xs:element name="serverSettings" type="ax29:ServerSettings" 
nillable="true" minOccurs="0"/>
          <xs:element name="sntpServer" type="ax29:IP" nillable="true" 
minOccurs="0"/>
          <xs:element name="terminateDelay" type="xs:int" minOccurs="0"/>
          <xs:element name="userDelay" type="xs:int" minOccurs="0"/>
          <xs:element name="userLoginMessage" type="xs:string" nillable="true" 
minOccurs="0"/>
        </xs:sequence>
      </xs:complexType>
      <xs:complexType 
name="PictureDBSettings"><http://10.10.10.163:8080/SystemSettingsService/services/SystemSettingsService?wsdl>
        
<xs:sequence><http://10.10.10.163:8080/SystemSettingsService/services/SystemSettingsService?wsdl>
          <xs:element name="maxHeight" type="xs:int" nillable="true" 
minOccurs="0"/>
          <xs:element name="maxPicSize" type="xs:int" nillable="true" 
minOccurs="0"/>
          <xs:element name="maxWidth" type="xs:int" nillable="true" 
minOccurs="0"/>
        </xs:sequence>
      </xs:complexType>
      <xs:complexType 
name="ServerSettings"><http://10.10.10.163:8080/SystemSettingsService/services/SystemSettingsService?wsdl>
        
<xs:sequence><http://10.10.10.163:8080/SystemSettingsService/services/SystemSettingsService?wsdl>
          <xs:element name="getDateTimeFromServer" type="xs:boolean" 
minOccurs="0"/>

and so on ...

It works fine, the problem is when I'm trying to add property to "General" 
class and recreate the service the WSDL satys the same. I is confusing because 
when I try to remove the property for example "loginMessage" and recreate the 
service the WSDL updates. Please any help would be very appreciated.

Serge Perepel
American Data
800.464.9942
[http://www.american-data.com/images/AmericanDataLogoSquareEmailSignature-01.png]

Serge Perepel
Software Developer | American Data
p. 800.464.9942 | f. 608.643.2314
se...@american-data.com<mailto:se...@american-data.com> | www.american-data.com

Reply via email to