Search the web
Sign In
New User? Sign Up
FlashFlexDesktopAppDev · Flash and Flex Desktop App Development
? Already a member? Sign in to Yahoo!

Yahoo! Groups Tips

Did you know...
Message search is now enhanced, find messages faster. Take it for a spin.

Best of Y! Groups

   Check them out and nominate your group.
Having problems with message search? Fill out this form to ensure your group is one of the first to be migrated to the new message search system.

Messages

  Messages Help
Advanced
web service call problem   Message List  
Reply | Forward Message #34 of 62 |
We are trying to call a web service and pass as parameter some complex
types. When invoking the web service everything works well on flex
side, but on the server side the input parameters we get from flex are
not correct - complex type is removed and the elements of the complex
type are sent. See the example:

<?xml version="1.0" encoding="utf-8"?>
<mx:Application xmlns:mx="http://www.adobe.com/2006/mxml"
layout="absolute">
<mx:WebService id="ws_id" wsdl="link" useProxy="false"
fault="wsFault(event)">
<mx:operation id="op_id" name="op" result="wsResult(event)">
<mx:request>
<parameters>
<parameter1>{value1}</parameter1>
<parameter2>{value2}</parameter2>
<parameter3>{value3}</parameter3>
<parameter4>
<parameter4_1>{value4_1}</parameter4_1>
<parameter4_2>{value4_2}</parameter4_2>
<parameter4_3>{value4_3}</parameter4_3>
</parameter4>
</parameters>
</mx:request>
</mx:operation>
</mx:WebService>
</mx:Application>


on server side we get this:

<parameters>
<parameter1>{value1}</parameter1>
<parameter2>{value2}</parameter2>
<parameter3>{value3}</parameter3>
<parameter4_1>{value4_1}</parameter4_1>
<parameter4_2>{value4_2}</parameter4_2>
<parameter4_3>{value4_3}</parameter4_3>
</parameters>

Instead of :

<parameters>
<parameter1>{value1}</parameter1>
<parameter2>{value2}</parameter2>
<parameter3>{value3}</parameter3>
<parameter4>
<parameter4_1>{value4_1}</parameter4_1>
<parameter4_2>{value4_2}</parameter4_2>
<parameter4_3>{value4_3}</parameter4_3>
</parameter4>
</parameters>

Any idea how is it possible to send complex type as web service input
from flex ?




Wed Nov 19, 2008 1:44 pm

nyiricsongor
Online Now Online Now
Send Email Send Email

Forward
Message #34 of 62 |
Expand Messages Author Sort by Date

We are trying to call a web service and pass as parameter some complex types. When invoking the web service everything works well on flex side, but on the...
NyĆ­ri Csongor
nyiricsongor
Online Now Send Email
Nov 19, 2008
1:45 pm

We are trying to call a web service and pass as parameter some complex types. When invoking the web service everything works well on flex side, but on the...
NyĆ­ri Csongor
nyiricsongor
Online Now Send Email
Nov 19, 2008
1:49 pm
Advanced

Copyright © 2009 Yahoo! Inc. All rights reserved.
Privacy Policy - Terms of Service - Guidelines - Help