Meaningless Drivel is fun!*
The moose likes Flex and the fly likes Accessing Web Services hosted on HTTPS from Flex Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Frameworks » Flex
Bookmark "Accessing Web Services hosted on HTTPS from Flex" Watch "Accessing Web Services hosted on HTTPS from Flex" New topic
Author

Accessing Web Services hosted on HTTPS from Flex

aman thind
Ranch Hand

Joined: Jun 29, 2007
Posts: 71
Hi,I am using Flex to call my web services which are hosted on SSL(on JBoss 4.2). My flex is on local machine. Problem is that when i connect to webservice Flex is saying "wsdl fault"

[FaultEvent fault=[RPC Fault faultString="HTTP request error" faultCode="Server.Error.Request" faultDetail="Unable to load WSDL."

I have create a crossdomain.xml file and placed it in my jboss-4.2.3.GA\server\default\deploy\jboss-web.deployer\ROOT.war folder.
Here is my crossdomain.xml

<?xml version="1.0"?>

<cross-domain-policy>

<allow-access-from domain="*" to-ports="*" />
<allow-http-request-headers-from domain="*" headers="SOAPAction"/>

</cross-domain-policy>

Can anyone tell me what i could be doing wrong.

Thanks.


Aman Thind
SCJP,SCWCD
JAVA utte mar JAVA,mit JAVA
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
 
subject: Accessing Web Services hosted on HTTPS from Flex
 
Similar Threads
Failed to load users/passwords/role files
Security error accessing url
Spring-WS client domain classes
Web Service Deployment problem
Flex to web service communication problem