Hi, I have WSDL generated C stubs and using axis2c-1.7.0 to deploy web services. I am on server side.
I am stuck at generating axiom node for xs:anyType. Below is my WSDL for that. <xs:complexType name="SomeInfo" xmlns:ax213="http://data.some.abcd.com/xsd"> <xs:sequence> <xs:element minOccurs="0" name="name1" type="xs:boolean"/> <xs:element minOccurs="0" name="name2" type="xs:boolean"/> <xs:element minOccurs="0" name="error" nillable="true" type="xs:anyType"/> <xs:element minOccurs="0" name="name3" nillable="true" type="xs:dateTime"/> <xs:element minOccurs="0" name="name" nillable="true" type="xs:string"/> <xs:element minOccurs="0" name="progress" type="xs:int"/> <xs:element minOccurs="0" name="name4" type="xs:boolean"/> <xs:element minOccurs="0" name="result" nillable="true" type="xs:anyType"/> <---- I am interested in result <xs:element minOccurs="0" name="name5" nillable="true" type="xs:dateTime"/> <xs:element minOccurs="0" name="name6" nillable="true" type="xs:string"/> <xs:element minOccurs="0" name="name7" nillable="true" type="xs:string"/> </xs:sequence> </xs:complexType> In C generated code, result is a node. In my code result could be a structure like below or could be a list of some other structure. <xs:complexType name="SomeResult" xmlns:ax213=" http://data.some.abcd.com/xsd"> <xs:sequence> <xs:element minOccurs="0" name="pInfo" nillable="true" type="ax211:VVInfo"/> <xs:element minOccurs="0" name="pStats" nillable="true" type="ax211:SStats"/> <xs:element minOccurs="0" name="sId" nillable="true" type="xs:string"/> </xs:sequence> </xs:complexType> Now my question is how to create a result node out of SomeResult structure? If this kind of question is already answered, please point me the link. I greatly appreciate your help. Thanks is advance. Pavani