I use Ethereal for all my packet-sniffing
needs. It’s pretty good, doesn’t usually work with a wireless card
though.
.NET services usually can be consumed by
Flex, the case that tends to have problems is fault handling when running
proxyless.
Matt
Unfortunatly, HttpWatch only works in IE but maybe I can find
something that works in FireFox.
I am able to call BableFish and other web services
proxy-less. I
created a one method .Net webservice that returns
"Hello World" and I
get the same error when I bypass the proxy.
Has anyone been able to create and consume a .Net
web service in Flex?
--- In [email protected],
"Matt Chotin" <[EMAIL PROTECTED]> wrote:
> Have you diffed what the successful request
in Firefox looked like
using
> HttpWatch? Does your GetForums method
expect any parameters?
>
>
>
> ________________________________
>
> From: [email protected]
[mailto:[email protected]]
On
> Behalf Of joe92121
> Sent: Thursday, September 22, 2005 12:35 PM
> To: [email protected]
> Subject: [flexcoders] Re: Webservice - Unable
to connect to
endpoint ...
>
>
>
> Here's more info
>
> I am using <mx:WebService. The actual .Net
web service is in a
> url/directory set for anonymous access. I am
able to get http
> services to work through
useProxy="false" on same and remote
machines.
>
> I actually want to compile to swf and deploy
to server without flex
> server installed (but licensed). This works
with http services with
> useProxy=false for both local and remote
services. I get the same
> error "Unable to connect to
endpoint" when I run the mxml from the
> dev flex server or run the swf from a
different server .
>
> The deployed swf works in FireFox with both
http services and web
> services.
>
>
>
> using HttpWatch, I was able to find out that
my web service returns
a
> HTTP/1.1 500 Internal Server Error.. Here are
the details:
>
> Post:
> <?xml version="1.0"
encoding="utf-8"?>
> <SOAP-ENV:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-
> instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema"
xmlns:SOAP-
> ENV="http://schemas.xmlsoap.org/soap/envelope/"><SOAP-
> ENV:Body><GetForums xmlns="http://jnj.com/" /></SOAP-
ENV:Body></SOAP-
> ENV:Envelope>
>
> Return:
> <?xml version="1.0"
encoding="utf-8"?>
> <soap:Envelope
xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"
> xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
> xmlns:xsd="http://www.w3.org/2001/XMLSchema">
> <soap:Body>
> <soap:Fault>
>
<faultcode>soap:Server</faultcode>
> <faultstring>Server was unable to
process request. --> The root
> element is missing.</faultstring>
> <detail />
> </soap:Fault>
> </soap:Body>
> </soap:Envelope>
>
>
>
>
>
> --
> 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
SPONSORED LINKS
YAHOO! GROUPS LINKS
|