Hmm, didn't seem to make any difference to what got sent. I might not be doing it right.

I'm using cairngorm, and my delegate starts with:
�� �this.service = ServiceLocator.getInstance().getService( "objectWS" );
(in the constructor)

then the invocation has:
� � �� �service.stub.xmlEncoderConfig = new XMLEncoderConfig();
� � � � service.stub.xmlEncoderConfig.defaultObjectToMap = true;//also tried false
� � � � var call:Object = service.wsSet('com.my.object.name', myObj);

Do I set the xmlEncoderConfig on the service itself, or on the call object?
Seems like it should do something different based on the value of defaultObjectToMap, but I'm not getting a change.

Thanks
Sean

On Jun 14, 2005, at 8:37 PM, Peter Farland wrote:

I'm not familiar with the requirements for CFC SOAP invocation, but this
is an unofficial work around that I've not tested but might work. Before
invoking the MXML WebService's method, try changing the WebService's
XMLEncoder's handling of Objects:

<mx:WebService id="myCFCWebService" ...>

<mx:Script>
import mx.services.*;

//... snip

// inside some invocation utility function

myCFCWebService.stub.xmlEncoderConfig = new XMLEncoderConfig();
myCFCWebService.stub.xmlEncoderConfig.defaultObjectToMap = true;

//... snip

// then make the call



Yahoo! Groups Links




Yahoo! Groups Links

Reply via email to