axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Dhange, Himmatsinh" <>
Subject RE: [jira] Commented: (AXIS-2247) WSDL2Java fails to create correct proxy code for web methods with too many parameters.
Date Thu, 10 Nov 2005 14:41:16 GMT
Hi Venkat,

After posting the problem, I did use -W flag and everything worked fine.
But it created extra classes for request parameters. Anyway thanks for
your reply. If you find a way of doing without -W flag, please let me

Thanks again!!

-----Original Message-----
From: Venkat Reddy (JIRA) [] 
Sent: Tuesday, November 08, 2005 12:11 AM
To: Dhange, Himmatsinh
Subject: [jira] Commented: (AXIS-2247) WSDL2Java fails to create correct
proxy code for web methods with too many parameters.

7008 ] 

Venkat Reddy commented on AXIS-2247:

Can you please post complete WSDL? Did you use -W flag whie running


> WSDL2Java fails to create correct proxy code for web methods with too
many parameters.
>          Key: AXIS-2247
>          URL:
>      Project: Apache Axis
>         Type: Bug
>   Components: WSDL processing
>     Versions: 1.2.1, 1.2
>  Environment: Windows 2000 amd 2003 server
> Axis 1.2 and 1.2.1
>     Reporter: Himmat Dhange

> Below is the request schema for which WSDL2Java does not create the 
> correct porxy code <xsd:element name="PerformUserRegistration">
>       <xsd:complexType>
>             <xsd:all>
>                   <xsd:element name="accountID" type="AccountID"/>
>                   <xsd:element name="accountPassword"
>                   <xsd:element name="title" type="Title"
>                   <xsd:element name="firstName" type="FirstName"/>
>                   <xsd:element name="lastName" type="LastName"/>
>                   <xsd:element name="suffix" type="Suffix"
>                   <xsd:element name="jobTitle" type="JobTitle"
>                   <xsd:element name="departmentCategory"
>                   <xsd:element name="departmentDescription"
type="DepartmentDescription" minOccurs="0"/>
>                   <xsd:element name="companyName" type="CompanyName"
>                   <xsd:element name="industryCode"
type="RegistrationIndustryCode" minOccurs="0"/>
>                   <xsd:element name="address1" type="StreetAddress"/>
>                   <xsd:element name="address2" type="StreetAddress"
>                   <xsd:element name="city" type="City"/>
>                   <xsd:element name="wardNameOrProvince"
type="WardNameOrProvince" minOccurs="0"/>
>                   <xsd:element name="countryCode" type="CountryCode"/>
>                   <xsd:element name="stateOrProvinceOrRegion"
>                   <xsd:element name="zipOrPostalCode"
>                   <xsd:element name="telephoneCountryCode"
type="TelephoneCountryCode" minOccurs="0"/>
>                   <xsd:element name="telephone" type="Telephone"/>
>                   <xsd:element name="faxCountryCode"
type="FaxCountryCode" minOccurs="0"/>
>                   <xsd:element name="fax" type="Fax" minOccurs="0"/>
>                   <xsd:element name="emailAddress"
>                   <xsd:element name="excludeFromMailings"
type="xsd:boolean" minOccurs="0"/>
>                   <xsd:element name="dnbFlag" type="xsd:boolean"
>                   <xsd:element name="thirdPartyID" type="ThirdPartyID"
>                   <xsd:element name="password" type="Password"/>
>                   <xsd:element name="userID" type="UserID"/>
>                   <xsd:element name="securityWord" type="SecurityWord"
>             </xsd:all>
>       </xsd:complexType>
> </xsd:element>
> Axis 1.2.1 normally adds all request elements as method argument, but
for this request (which has 30 elements) it adds an argument of type
PerformUserRegistration as follows:
> public PerformUserRegistrationResponse
performUserRegistration(PerformUserRegistration parameters) throws
java.rmi.RemoteException, objects.v3_0.developer.factiva.FaultException;
> But this method signature gives compilation error because class
PerformUserRegistration does not get generated in proxy code. 
> Same request works fine in Axis 1.1 and creates method with 30
> Is this a bug in Axis 1.2.0 and 1.2.1? Is there a way around to
resolve this issue?

This message is automatically generated by JIRA.
If you think it was sent incorrectly contact one of the administrators:
For more information on JIRA, see:

View raw message