Hi all, Currently we are developing a DSS service in the app cloud. After invoking a rest operation the received XML response contains additional namespaces in few child elements. This error occurs when there are multiple child elements in the XML response.
Please refer the structure of the received XML from the app cloud. <devices xmlns="http://ws.wso2.org/dataservice"> <device> <model_no xmlns="http://ws.wso2.org/dataservice">rx32f </model_no> <serial_no xmlns="http://ws.wso2.org/dataservice">214589afveqr8u9f-47 </serial_no> <allocated>true</allocated> </device> ......................... <device> <model_no>rx32f</model_no> <serial_no>214589afveqr8u9f-48</serial_no> <allocated>true</allocated> </device> <device> <model_no>rx32f</model_no> <serial_no>214589afveqr8u9f-49</serial_no> <allocated>true</allocated> </device> <device> <model_no>rx32f</model_no> <serial_no>214589afveqr8u9f-50</serial_no> <allocated></allocated> </device> </devices> Please refer the rest operation in the following link. https://appserver.dev.cloud.wso2.com/services/t/alphawso2/devicereposervice-default-SNAPSHOT/getDevices Please note that the same DSS implementation which is developed in local DSS server, produces the correct XML response without any namespaces in child elements. Does anyone know what courses this output? Any solution would be appreciated. -- Inshaf Mahath Associate Software Engineer Mobile: +94775907181 WSO2 Inc. Lean . Enterprise . Middleware
_______________________________________________ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev