Hello guys!

I had used Axis 1.4 to generate Java proxies. Generated sources didn't match the WSDL definition - method signature contain array instead of complex object.

I presume that method signature should contain complex object containing vehicle array, limit, offset, resultSizeType, responseSizeType. But finally I got the array instead of desired complex object.

/WSDL2J generated Method signature: /
public *com.fleetboard.www.data.VEHICLE[]* getVehicle(com.fleetboard.www.data.GetVehicleRequest getVehicleRequest) throws java.rmi.RemoteException;

/Expected :/ public GetVehicleResponse getVehicle(com.fleetboard.www.data.GetVehicleRequest getVehicleRequest) throws java.rmi.RemoteException; GetVehicleResponse should contain VEHICLE array, limit, offset, resultSizeType, responseSizeType

/WSDL fragment: /
<xs:element name="GetVehicleResponse">
               <xs:annotation>
                   <xs:documentation>
                       Response document for getVehicle
                   </xs:documentation>
               </xs:annotation>
               <xs:complexType>
                   <xs:sequence>
<xs:element maxOccurs="unbounded" minOccurs="0" ref="tp:VEHICLE"/>
                   </xs:sequence>
                   <xs:attribute name="limit" type="tp:limitType"/>
                   <xs:attribute name="offset" type="tp:offsetType"/>
<xs:attribute name="resultSize" type="tp:resultSizeType"/> <xs:attribute name="responseSize" type="tp:responseSizeType"/>
               </xs:complexType>
</xs:element>

Tnx in advance
Any help or suggestion are highly appreciated

P.S. I had attached the WSDL file

The oid identifies an order. Unlike the fbid, it is not unique in the database, only within a fleet. The trackingid identifies one or more orders in the order tracking system. Unlike the fbid or oid attributes it isn't unique at all. If the creator doesn't supply a trackingid, it is automatically generated. Date format 'yyyy-MM-dd HH:mm:ss' pattern: 'yyyy-mm-dd HH:mm:ss' Date format 'yyyy-MM-dd HH:mm:ss' pattern: 'yyyy-mm-dd HH:mm:ss' Date format 'yyyy-MM-dd HH:mm:ss' Response document for login Request document for logout Response document for logout Request document for getFleet The FleetBoard FLEET document Response document for getFleet Request document for getVehicle The VEHICLE table mapped into an XML document. Response document for getVehicle Request document for getVehicleGroup The VEHICLEGROUP table mapped into an XML document. Response document for getVehicleGroup Request document for getServerProperties Response document for getServerProperties Request document for getStatusDef pattern: 'yyyy-mm-dd HH:mm:ss' Reponse document for getStatusReport Request document for getUser Response document for getUser Request document for getDriver Response document for getDriver Request document for login FleetBoard Transporting BasicService
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to