aspose file tools*
The moose likes Web Services and the fly likes axis2 element order sequence Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of EJB 3 in Action this week in the EJB and other Java EE Technologies forum!
JavaRanch » Java Forums » Java » Web Services
Bookmark "axis2 element order sequence" Watch "axis2 element order sequence" New topic
Author

axis2 element order sequence

you leak tan
Greenhorn

Joined: Jan 12, 2013
Posts: 1
Hi All,

Need help asap:

For WSDLi using ADB

<xs:complexType name="SubjectSegment">
<xs:sequence>
<xs:element minOccurs="0" name="applicationSegmentId" type="xs:string"/>
<xs:element minOccurs="0" name="subSegAtt" type="tns:SubjectSegmentSubjectSegmentAttrs"/>
<xs:element maxOccurs="unbounded" minOccurs="0" name="empSeg" nillable="true" type="tns:SubjectSegmentEmploymentSegment"/>
<xs:element maxOccurs="unbounded" minOccurs="0" name="incSeg" nillable="true" type="tns:SubjectSegmentIncomeSegment"/>
<xs:element minOccurs="0" name="relSeg" type="tns:SubjectSegmentRelationshipSegment"/>
<xs:element minOccurs="0" name="reaSeg" type="tns:SubjectSegmentRealSavingsPlanSegment"/>
</xs:sequence>
</xs:complexType>


but the response from sever return as below:


<return>
<applicationSegmentId/>
<empSeg />
<incSeg />
<reaSeg />
<relSeg />
<subSegAtt>
</return>


How come the order is a to z for element name?
How to make it as below:

<return>
<applicationSegmentId/>
<subSegAtt>
<relSeg />
<reaSeg />
<empSeg />
<incSeg />
</return>


Very thanks for reply to help

 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: axis2 element order sequence
 
Similar Threads
XML schema fails to load
Apache Axis2 LDAP Authentication
XMLSpy won't work with our AXIS2 WSDL but our system works with it fine
Axis2 POJO web service - wsdl generating xs:anyType
XmlException on calling WSDL2Java