Oops, bug in the doc. setEndPointURI
should really be setEndpointURI (lower-case ‘p’). I posted to
livedocs.
Matt
From: flexcoders@yahoogroups.com
[mailto:[EMAIL PROTECTED] On Behalf
Of Mink, Joseph
Sent: Tuesday, August 30, 2005
4:55 AM
To: flexcoders@yahoogroups.com
Subject: RE: [flexcoders] How to
set a WebService endpoint?
Note, the line in the post
below:
uiMgrWs.getAlert.setEndPointURI
("http://10.1.10.2:8080/uimanager/UIManagerService");
Was something I tried after 1st trying the
following:
uiMgrWs.setEndPointURI
("http://10.1.10.2:8080/uimanager/UIManagerService");
Niether seemed to work, though.
Thanks...
-----Original Message-----
From: Mink, Joseph
Sent: Tuesday, August 30, 2005 7:52 AM
To: 'flexcoders@yahoogroups.com'
Subject: RE: [flexcoders] How to set a WebService
endpoint?
Thanks for the reply...although, it doesn't seem
to be working...I have
the following webservice declaration:
<mx:WebService
fault="wsFault (event/*.faultString*/)"
id="uiMgrWs"
protocol="http"
wsdl="http://10.1.10.2:8080/uimanager/UIManagerService?wsdl">
<mx:operation name="getAlert" result="handleGetAlertsResult
(event.result)"/>
</mx:WebService>
And the following AS code is used to invoke the
webservice:
function wsGetAlert ():Void
{
trace ("begin
wsGetAlert()");
uiMgrWs.getAlert.setEndPointURI
("http://10.1.10.2:8080/uimanager/UIManagerService");
uiMgrWs.getAlert
();
trace ("end
wsGetAlert()");
}
But when reviewing the flex.log file, the
following line can be observed
for each WS call:
08/30 07:43:19 INFO -- POST :
http://localhost:8080/uimanager/UIManagerService
I'm confused! Thanks for the reply though!
________________________________
From: flexcoders@yahoogroups.com
[mailto:[EMAIL PROTECTED] On
Behalf Of Matt Chotin
Sent: Tuesday, August 30, 2005 12:52 AM
To: flexcoders@yahoogroups.com
Subject: RE: [flexcoders] How to set a WebService
endpoint?
It is automatically determined from the
WSDL. If you need to specify a
different endpoint check the docs here:
http://livedocs.macromedia.com/flex/15/flex_docs_en/00000770.htm
________________________________
From: flexcoders@yahoogroups.com
[mailto:[EMAIL PROTECTED] On
Behalf Of Mink, Joseph
Sent: Monday, August 29, 2005 2:38 PM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] How to set a WebService
endpoint?
This may be a stupid question, but how do you set
the endpoint for a
WebService object?
<mx:WebService
concurrency="multiple|single|last"
fault="No default."
id="No default."
load="No default."
port="No default."
protocol="http|https"
result="No default."
service="No default."
serviceName="No default."
showBusyCursor="false|true"
useProxy="true|false"
wsdl="No default."
/>
In the above, there is no place (that I can see)
to set the endpoint. I
figured it interpreted it from the wsdl
somehow? Any thoughts are most
appreciated!
--
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
* Visit your group "flexcoders
<http://groups.yahoo.com/group/flexcoders>
" on the web.
* To unsubscribe
from this group, send an email to:
[EMAIL PROTECTED]
<mailto:[EMAIL PROTECTED]>
* Your use of Yahoo!
Groups is subject to the Yahoo! Terms of
Service <http://docs.yahoo.com/info/terms/>
.
________________________________
--
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