The following are that I call Web-Service in Flex! But I have one
problem in this from.
<mx:WebService id="ws"
wsdl="http://localhost:8080/MyWebService/HelloWebService?WSDL"
service="HelloService"
userProxy="false"
showBusyCursor="true"
fault="Alert.show('WSDL Load error');">
<mx:operation name="getHelloWorld"
concurrency="single"
resultFormat="e4x"
fault="opFaultHandler(event)"
result="opResultHandler(event)"/>
</mx:WebService>
<mx:Button label="Hello World"
click="ws.getHelloWorld.send([{message:"Hello Flex!!!"}])"/>
<mx:Script>
<![CDATA[
// Implement the event handler
........
]]>
</mx:Script>
In this situtation I haven't click could not result!
It shown up error "tns:helloWorld" cannot resolve!
That time I copy the WSDL manually and for fix this problem that I
remove the
<xsd:schema>
<xsd:import namespace="http://com.test.application/HelloWS"
schemaLocation="http://localhost:8080/MyWebService/schema/HelloService_schema1.xsd"/>
</xsd:schema>
with its schemalocation in browse and copy the entire schema into that
text.
And then I run it. It's ok. Why can't import XSD in WSDL!
And then Another Problem!
It is RPC not Doc Lit...
I want to konw how to and what change this source for Document Lit.
Flexhtoo.
------------------------ Yahoo! Groups Sponsor --------------------~-->
Get Bzzzy! (real tools to help you find a job). Welcome to the Sweet Life.
http://us.click.yahoo.com/KIlPFB/vlQLAA/TtwFAA/nhFolB/TM
--------------------------------------------------------------------~->
--
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/