Strange, for some reason, my own messages (and replies to them) are
not being sent to me via email... I get the others (many others) but
mine (and your reply) never made it... strange. I guess I know I need
to monitor my messages better.
Anyhow, here's the WSDL. (the message part you're interested in is
'ExecuteQueryOutput')
Thanks in advance...
Thunder
__________________________________________
<?xml version="1.0" encoding="UTF-8"?>
<definitions name="wstest"
targetNamespace="http://com.appfusion.web-service/wstest.wsdl"
xmlns="http://schemas.xmlsoap.org/wsdl/"
xmlns:tns="http://com.appfusion.web-service/wstest.wsdl"
xmlns:dom="http://xmlns.oracle.com/2001/XMLSchema/DOM"
xmlns:xsd="http://www.w3.org/2001/XMLSchema"
xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" >
<documentation>
WSDL for Service: wstest, generated by Oracle WSDL toolkit (version:
1.1)
</documentation>
<types>
<schema
targetNamespace="http://com.appfusion.web-service/wstest.xsd"
xmlns:tns="http://com.appfusion.web-service/wstest.xsd"
xmlns="http://www.w3.org/2001/XMLSchema"
xmlns:xsd="http://www.w3.org/2001/XMLSchema"/>
</types>
<message name="ExecuteQueryInput">
<part name="param0" type="xsd:string"/>
</message>
<message name="helloWorldInput">
<part name="param0" type="xsd:string"/>
</message>
<message name="ExecuteQueryOutput">
<part name="return" type="dom:org.w3c.dom.Document"/>
</message>
<message name="helloWorldOutput">
<part name="return" type="xsd:string"/>
</message>
<portType name="wstestPortType">
<operation name="ExecuteQuery">
<input message="tns:ExecuteQueryInput"/>
<output message="tns:ExecuteQueryOutput"/>
</operation>
<operation name="helloWorld">
<input message="tns:helloWorldInput"/>
<output message="tns:helloWorldOutput"/>
</operation>
</portType>
<binding name="wstestBinding" type="tns:wstestPortType">
<soap:binding transport="http://schemas.xmlsoap.org/soap/http"
style="rpc"/>
<operation name="ExecuteQuery">
<soap:operation
soapAction="urn:com-appfusion-web_service-wstest/ExecuteQuery"/>
<input>
<soap:body use="encoded"
encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"
namespace="urn:com-appfusion-web_service-wstest"/>
</input>
<output>
<soap:body use="encoded"
encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"
namespace="urn:com-appfusion-web_service-wstest"/>
</output>
</operation>
<operation name="helloWorld">
<soap:operation
soapAction="urn:com-appfusion-web_service-wstest/helloWorld"/>
<input>
<soap:body use="encoded"
encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"
namespace="urn:com-appfusion-web_service-wstest"/>
</input>
<output>
<soap:body use="encoded"
encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"
namespace="urn:com-appfusion-web_service-wstest"/>
</output>
</operation>
</binding>
<service name="wstest">
<port name="wstestPort" binding="tns:wstestBinding">
<soap:address location="http://localhost:8888/wstest/wstest"/>
</port>
</service>
</definitions>
--- In [email protected], "Matt Chotin" <[EMAIL PROTECTED]> wrote:
>
> Can you send the WSDL to us please?
>
> Matt
>
> -----Original Message-----
> From: [email protected] [mailto:[EMAIL PROTECTED] On
> Behalf Of thunderstumpgesatwork
> Sent: Monday, January 30, 2006 6:10 PM
> To: [email protected]
> 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/