Can you send the WSDL to us please? Matt
-----Original Message----- From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of thunderstumpgesatwork Sent: Monday, January 30, 2006 6:10 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] Returning XML from a Java web service to Flex (2.0) Hi all, I have been using .NET web services with my Flex 2.0 client and successfully returning objects of type System.Xml.XmlDocument (Microsoft's implementation of the DOM). These xml documents are successfully consumed by the Flex WebService class and converted to an ActionScript result Object. Recently I tried to create a similar web service in Java (Using Oracle's Application Server OC4J) to return an object of type org.w3c.dom.Document. I have published the web service, and successfully tested it from a Java Client app. In Flex though, I get an error in the WSDL parser "Type dom:org.w3c.dom.Document not resolvable". Shouldn't Flex recognize this as XML just like it did with the .NET web service? Has anyone else successfully returned XML data from web services in Java to Flex? Any chance I could get a simple example of this web service? I am not partial to OC4J, so if there's an example in Axis, or some other server that's fine. Any guidance or information on this is greatly appreciated. Any additional information needed for my setup? I'll gladly post some code. See complete Flash exception below. thanks, Thunder Stumpges ____________________________ Type dom:org.w3c.dom.Document not resolvable at mx.rpc.soap::WSDLParser/http://www.macromedia.com/2005/flex/mx/internal: :parseMessage()[C:\dev\max\sdk\frameworks\mx\rpc\soap\WSDLParser.as:717] at mx.rpc.soap$internal::WSDLOperation/parseMessages()[C:\dev\max\sdk\frame works\mx\rpc\soap\WSDLOperation.as:48] at mx.rpc.soap::Operation/http://www.macromedia.com/2005/flex/mx/internal:: invokePendingCall()[C:\dev\max\sdk\frameworks\mx\rpc\soap\Operation.as:5 08] at mx.rpc.soap::Operation/http://www.macromedia.com/2005/flex/mx/internal:: invokeAllPending()[C:\dev\max\sdk\frameworks\mx\rpc\soap\Operation.as:39 3] at mx.rpc.soap::WebService/WebService$733$private::unEnqueueCalls()[C:\dev\ max\sdk\frameworks\mx\rpc\soap\WebService.as:770] at mx.rpc.soap::WebService/http://www.macromedia.com/2005/flex/mx/internal: :wsdlHandler()[C:\dev\max\sdk\frameworks\mx\rpc\soap\WebService.as:572] at flash.events::EventDispatcher/dispatchEvent() at mx.rpc.soap::WSDLParser/dispatchEvent()[C:\dev\max\sdk\frameworks\mx\rpc \soap\WSDLParser.as:748] at mx.rpc.soap::WSDLParser/WSDLParser$1050$private::parseCompleted()[C:\dev \max\sdk\frameworks\mx\rpc\soap\WSDLParser.as:293] at mx.rpc.soap::WSDLParser/http://www.macromedia.com/2005/flex/mx/internal: :httpResultHandler()[C:\dev\max\sdk\frameworks\mx\rpc\soap\WSDLParser.as :170] at flash.events::EventDispatcher/dispatchEvent() at mx.rpc::AbstractInvoker/http://www.macromedia.com/2005/flex/mx/internal: :dispatchRpcEvent()[C:\dev\max\sdk\frameworks\mx\rpc\AbstractInvoker.as: 119] at mx.rpc::AbstractInvoker/http://www.macromedia.com/2005/flex/mx/internal: :resultHandler()[C:\dev\max\sdk\frameworks\mx\rpc\AbstractInvoker.as:139 ] at flash.events::EventDispatcher/dispatchEvent() at mx.rpc::Producer/http://www.macromedia.com/2005/flex/mx/internal::acknow ledge()[C:\dev\max\sdk\frameworks\mx\rpc\Producer.as:59] at mx.messaging.channels$1021$private::HTTPMessageResponder/completeHandler ()[C:\dev\max\sdk\frameworks\mx\messaging\channels\DirectHTTPChannel.as: 237] at flash.events::EventDispatcher/dispatchEvent() at flash.net::URLLoader/URLLoader$502$private::onComplete() -- 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/