I have a WSDL with a refenrence to an XML Schema file. This .xsd contains
the following element declaration 

    <xs:element name="Cai3gFault">
        <xs:complexType>
            <xs:sequence>
                <xs:element name="faultcode" type="xs:integer"/>
                <xs:element name="faultreason">
                    <xs:complexType>
                        <xs:sequence>
                            <xs:element name="reasonText" type="xs:string"
maxOccurs="unbounded"/>
                        </xs:sequence>
                    </xs:complexType>
                </xs:element>
                <xs:element name="faultrole" type="xs:string"/>
                <xs:element name="details" minOccurs="0">
                    <xs:complexType>
                        <xs:sequence>
                            <xs:any namespace="##any"
processContents="lax"/>
                        </xs:sequence>
                    </xs:complexType>
                </xs:element>
            </xs:sequence>
        </xs:complexType>
    </xs:element>

The correnspondig classname after code generation with wsdl2java becomes
"Cai3gFault_Element" instead of "Cai3gFault". Can anyone explain this
behaviour? Im using Axis 1.3 Final. 

Thanks in advance. 

Glenn Richard Bech
Seniorkonsulent
Mob: 99356459 Tel: 40003325
Lysaker torg 2,  1366 Lysaker
http://www.webstep.no  
Bergen - Oslo - Stavanger
 
 
________________________________________
From: Sandeep Gaikwad [mailto:[EMAIL PROTECTED] 
Sent: 9. desember 2005 13:11
To: axis-user@ws.apache.org
Subject: Axis API

Hi,
 
     I am trying to migrate my project from axis to WAS 5.1.
     I am getting most of the trouble in case of replacing variuos classes
used by axis.
     So can anyone explain me what is the purpose of ParameterMode class and
signature attribute defined for it.
 
 
Regards,
Sandeep
 
________________________________________
Yahoo! Shopping
Find Great Deals on Holiday Gifts at Yahoo! Shopping 
BEGIN:VCARD
VERSION:2.1
N:Bech;Glenn;Richard
FN:[EMAIL PROTECTED]
ORG:Webstep Consulting AS
TITLE:Seniorkonsulent
TEL;WORK;VOICE:99356459
TEL;CELL;VOICE:99356459
ADR;WORK:;;P.O. Box 66;;Lysaker;1324;Norway
LABEL;WORK;ENCODING=QUOTED-PRINTABLE:P.O. Box 66=0D=0ALysaker 1324=0D=0ANorway
EMAIL;PREF;INTERNET:[EMAIL PROTECTED]
REV:20050923T071750Z
END:VCARD
  • Axis API Sandeep Gaikwad
    • Code generation problem. Strange Classname glenn bech

Reply via email to