In this case, the webservice is defined to do all the "magic". But
it's expecting a VO instead of a string.
Does anyone have an example of a webservice (including wsdl and mxml)
sending an array of items to the server? This is killing me softly.
='(
---Pablo Gustavo
Apanasionek
De: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] En nombre de Jason Hawryluk
Enviado el: Viernes, 10 de Febrero de 2006 18:01
Para: flexcoders@yahoogroups.com
Asunto: RE: [flexcoders] About Webservices and XML request format
Ahh,
Not sure about j2ee but in .net i had to send it as a string then cast the
result to an xml type in the web service (.net code). I also had to remove
a little namespace stuff as well after casting but before saving to a file on
the server for example.
jason
-----Message
d'origine-----
De : flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED]De la part de Pablo Apanasionek
Envoyé : vendredi 10 février 2006 21:48
À : flexcoders@yahoogroups.com
Objet : RE: [flexcoders] About Webservices and XML request format
De : flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED]De la part de Pablo Apanasionek
Envoyé : vendredi 10 février 2006 21:48
À : flexcoders@yahoogroups.com
Objet : RE: [flexcoders] About Webservices and XML request format
I'm trying to send XML to the WS, and the WS is of the J2EE/Axis kind.---Pablo Apanasionek
De: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] En nombre de Jason Hawryluk
Enviado el: Viernes, 10 de Febrero de 2006 17:43
Para: flexcoders@yahoogroups.com
Asunto: RE: [flexcoders] About Webservices and XML request formatAre you trying to send XML to the web service or receive the xml from the web service to flex? Is the web service .net or what platform are you using?-----Message d'origine-----
De : flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED]De la part de Pablo Apanasionek
Envoyé : vendredi 10 février 2006 20:30
À : flexcoders@yahoogroups.com
Objet : [flexcoders] About Webservices and XML request formatHi again!In my search for workarounds to my previous post "Array serialization in Webservices", I'm trying to overcome that array-to-item thing by entering an XML (well-formed) as a parameter to the WebService.Does anyone have an example on this one?So far, I've done this:1) Changed the format of the request from "object" to "xml".2) Mapped the object to XML (using some XMLTools.as I've found on one of the thousand sites I've looked so far).3) Assigned the resulting XML to the request.This ends in:a) No result.b) Fault because of XML opening tags translated to <.If I use XML.parseXML in point 2, to "cast" the resulting string to XML and then inspect it with Trace Panel, the XML is well-formed.Any help?Thanks again!Pablo Apanasionek
--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com
SPONSORED LINKS
Web site design development | Computer software development | Software design and development |
Macromedia flex | Software development best practice |
YAHOO! GROUPS LINKS
- Visit your group "flexcoders" on the web.
- To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]
- Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.