Ask a Question related to Macromedia Flash Flashcom, Design and Development.
-
minzojian #1
problem about webservices
hello,kind people.
there is one problem about WebServices from me,i thought over and over,but no
result.
it looks not the FMS case,but as you know,FMS can use WebServices,and the
problem just occur when i use a WS object to do sth.
see,i just use these scripts to build a WS object.
========================
load("WebServices.asc");
application.onAppStart = function() {
this.myWebSrvc = new WebService("http://localhost/myservice.asmx?wsdl");
};
========================
in normal situation,the live logs will show these messages:
========================
WebServices Loaded successfully.
10/13 13:58:9 [INFO] : Made SOAPCall for operation helloworld
10/13 13:58:9 [INFO] : Made SOAPCall for operation helloworld2
10/13 13:58:9 [INFO] : Made SOAPCall for operation helloworld3
========================
but my situation like this:
========================
WebServices Loaded successfully.
========================
no romote methods can be got...
i use IE to view the URL:[url]http://localhost/myservice.asmx?wsdl[/url]
in the normal situation,codes could be
========================
<?xml version="1.0" encoding="utf-8" ?>
- <definitions xmlns:http="http://schemas.xmlsoap.org/wsdl/http/"
xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/"
xmlns:s="http://www.w3.org/2001/XMLSchema" xmlns:s0="http://tempuri.org/"
xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:tm="http://microsoft.com/wsdl/mime/textMatching/"
xmlns:mime="http://schemas.xmlsoap.org/wsdl/mime/"
targetNamespace="http://tempuri.org/" xmlns="http://schemas.xmlsoap.org/wsdl/">
- <types>
- <s:schema elementFormDefault="qualified"
targetNamespace="http://tempuri.org/">
- <s:element name="helloworld">
..... ....
....
========================
but in my situation. it was
========================
<?xml version="1.0" encoding="utf-8" ?>
- <wsdl:definitions xmlns:http="http://schemas.xmlsoap.org/wsdl/http/"
xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/"
xmlns:s="http://www.w3.org/2001/XMLSchema"
xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:tns="http://tempuri.org/"
xmlns:tm="http://microsoft.com/wsdl/mime/textMatching/"
xmlns:mime="http://schemas.xmlsoap.org/wsdl/mime/"
targetNamespace="http://tempuri.org/"
xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">
- <wsdl:types>
- <s:schema elementFormDefault="qualified"
targetNamespace="http://tempuri.org/">
- <s:element name="helloworld">
... ...
...
========================
check the differences between the codes,the unnormal one has a addtional
tag:wsdl:
i think that's the lock about my problem,so,where is the key?i mean,how to cut
this tag off automatic?
PS:i think it is the setting problems about .Net framework.but that's just my
guess,do you guys know how to fix about the problem?
THX at first.::smile;
minzojian Guest
-
Problem with WebServices
Hello, I' ve created a new webService Project and run with "Hello World" example. It run fine. After it, i created a Winform project and included... -
WebServices Queuing problem
I have an RIA which has about 15 webservices to load. By the time user clicks signin sometimes the wsdl is not loaded and hence its not making a... -
webservices simple example problem
Hello, I am trying to get familiar with the possibilities of webservices under the .Net development environment. I have created from the .Net... -
HELP! HELP! Access problem to WebServices
I have written a generic proxy class for web services access This proxy class runs in the same server of WebService The class works fine if the... -
Problem accessing webservices
Hi All, We have problems in accessing a WebService which is running on a remote server from a ASPX application. It gives us Un Authorized...



Reply With Quote

