RE: [flexcoders] Re: Array serialization for Webservice
I'm using named services, so the WSDL is defined on my flex-config.xml file. During some other tests I've been doing, I noticed that an array inside another array is serialized on the same level that its parent (at least in the SOAP message view of the Flex Network Monitor). Ie. someService.someOp.request.types = new Array(someArray); Turns into: someParamvalue/someParam types/ item/ item param1AAA/param1 param2AAA/param2 /item Is this by design (either Flex's or SOAP's) ? Thanks, Pablo Apanasionek -Mensaje original- De: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] En nombre de Dmitry Miller Enviado el: Jueves, 09 de Febrero de 2006 19:31 Para: flexcoders@yahoogroups.com Asunto: [flexcoders] Re: Array serialization for Webservice Hmmm... I have noticed that WebService Tag has a wsdl attribute. You try specifying [web service URL]?wsdl for this attribute ie. mx:WebService wsdl=[your WS URL ]?wsdl ... Let me know if that works --- Dmitry --- In flexcoders@yahoogroups.com, Pablo Apanasionek [EMAIL PROTECTED] wrote: Is there a way to change the item label of the resultant serialized items of the array? Or add more than one instance of an object with the same name to the main parameter object? Thanks, Pablo Apanasionek -Mensaje original- De: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] En nombre de Dmitry Miller Enviado el: Jueves, 09 de Febrero de 2006 16:50 Para: flexcoders@yahoogroups.com Asunto: [flexcoders] Re: Array serialization for Webservice I am not sure if you can customize Flex serialization. I assume you are using Axis. If that's the case, you need to go and modify your service descriptor in services.wsdd (Don't remember on top of my header where it is located in JRun) file where you explicitly map your ranges member of the return Object to type Array. Please, visit http://ws.apache.org/axis/java/index.ht ml on how to do that. Good luck, --- Dmitry -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links * To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ * To unsubscribe from this group, send an email to: [EMAIL PROTECTED] * Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/
[flexcoders] Re: Array serialization for Webservice
I am not sure if you can customize Flex serialization. I assume you are using Axis. If that's the case, you need to go and modify your service descriptor in services.wsdd (Don't remember on top of my header where it is located in JRun) file where you explicitly map your ranges member of the return Object to type Array. Please, visit http://ws.apache.org/axis/java/index.html on how to do that. Good luck, --- Dmitry -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links * To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ * To unsubscribe from this group, send an email to: [EMAIL PROTECTED] * Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/
RE: [flexcoders] Re: Array serialization for Webservice
Is there a way to change the item label of the resultant serialized items of the array? Or add more than one instance of an object with the same name to the main parameter object? Thanks, Pablo Apanasionek -Mensaje original- De: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] En nombre de Dmitry Miller Enviado el: Jueves, 09 de Febrero de 2006 16:50 Para: flexcoders@yahoogroups.com Asunto: [flexcoders] Re: Array serialization for Webservice I am not sure if you can customize Flex serialization. I assume you are using Axis. If that's the case, you need to go and modify your service descriptor in services.wsdd (Don't remember on top of my header where it is located in JRun) file where you explicitly map your ranges member of the return Object to type Array. Please, visit http://ws.apache.org/axis/java/index.html on how to do that. Good luck, --- Dmitry -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links * To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ * To unsubscribe from this group, send an email to: [EMAIL PROTECTED] * Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/
[flexcoders] Re: Array serialization for Webservice
Hmmm... I have noticed that WebService Tag has a wsdl attribute. You try specifying [web service URL]?wsdl for this attribute ie. mx:WebService wsdl=[your WS URL ]?wsdl ... Let me know if that works --- Dmitry --- In flexcoders@yahoogroups.com, Pablo Apanasionek [EMAIL PROTECTED] wrote: Is there a way to change the item label of the resultant serialized items of the array? Or add more than one instance of an object with the same name to the main parameter object? Thanks, Pablo Apanasionek -Mensaje original- De: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] En nombre de Dmitry Miller Enviado el: Jueves, 09 de Febrero de 2006 16:50 Para: flexcoders@yahoogroups.com Asunto: [flexcoders] Re: Array serialization for Webservice I am not sure if you can customize Flex serialization. I assume you are using Axis. If that's the case, you need to go and modify your service descriptor in services.wsdd (Don't remember on top of my header where it is located in JRun) file where you explicitly map your ranges member of the return Object to type Array. Please, visit http://ws.apache.org/axis/java/index.ht ml on how to do that. Good luck, --- Dmitry -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links * To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ * To unsubscribe from this group, send an email to: [EMAIL PROTECTED] * Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/