[Flashcoders] java array to flash - please help!

2006-01-16 Thread PR Durand

Hi

I really don't understand what happens.
in a java webservice call, each time I have to receive an array, flash 
can't convert it and the result param equals undefined.
the same WS written in .NET works and flash receives an array of object, 
but when I look at the soap response, I only see a normal xml, without 
SOAP term anywhere.
The Java SOAP response has more complex soap reponse, and the type of 
the object that should be an array is described as 
getVisitorByPrefixeReturn

What should I do to receive correctly this array please?

The other languages have automically generated type class from the wsdl 
to the expected language. What about flash?


Please answer me I really can't find any solution, and find no link on 
google, maybe my search terms aren't good, but I don't know what to 
search exactly for.


PR
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


RE: [Flashcoders] java array to flash - please help!

2006-01-16 Thread Adam Nemitoff
I have found that the SOAP response from the web service method needs to be
formatted as SoapRPC.  If your web service has been developed in .NET, just
as the [SoapRpcService()] attribute to your web service class.

-Adam Nemitoff
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of PR Durand
Sent: Monday, January 16, 2006 1:51 PM
To: Flashcoders mailing list
Subject: [Flashcoders] java array to flash - please help!

Hi

I really don't understand what happens.
in a java webservice call, each time I have to receive an array, flash 
can't convert it and the result param equals undefined.
the same WS written in .NET works and flash receives an array of object, 
but when I look at the soap response, I only see a normal xml, without 
SOAP term anywhere.
The Java SOAP response has more complex soap reponse, and the type of 
the object that should be an array is described as 
getVisitorByPrefixeReturn
What should I do to receive correctly this array please?

The other languages have automically generated type class from the wsdl 
to the expected language. What about flash?

Please answer me I really can't find any solution, and find no link on 
google, maybe my search terms aren't good, but I don't know what to 
search exactly for.

PR
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


Re: [Flashcoders] java array to flash - please help!

2006-01-16 Thread PR Durand

Hi Adam
thanks for your answer, but the webservice has been developped in Java.
maybe is there an equivalent in java?
If it can help, I tried to acces the webservice via the webservice 
connector component class, as it can preload all wsdl and generate 
complex typing, but the answer is once more undefined for all method 
that replies Arrays of complex Objects.
The java developpers team manager ensures me that his soap enveloppe is 
totally standard. I don't know what to do.

thank you once more.
PR

Adam Nemitoff a écrit :


I have found that the SOAP response from the web service method needs to be
formatted as SoapRPC.  If your web service has been developed in .NET, just
as the [SoapRpcService()] attribute to your web service class.

-Adam Nemitoff
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of PR Durand
Sent: Monday, January 16, 2006 1:51 PM
To: Flashcoders mailing list
Subject: [Flashcoders] java array to flash - please help!

Hi

I really don't understand what happens.
in a java webservice call, each time I have to receive an array, flash 
can't convert it and the result param equals undefined.
the same WS written in .NET works and flash receives an array of object, 
but when I look at the soap response, I only see a normal xml, without 
SOAP term anywhere.
The Java SOAP response has more complex soap reponse, and the type of 
the object that should be an array is described as 
getVisitorByPrefixeReturn

What should I do to receive correctly this array please?

The other languages have automically generated type class from the wsdl 
to the expected language. What about flash?


Please answer me I really can't find any solution, and find no link on 
google, maybe my search terms aren't good, but I don't know what to 
search exactly for.


PR
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


 



___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders