aspose file tools*
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
 
Don't get me started about those stupid light bulbs.
 
subject: Accessing Web Services hosted on HTTPS from Flex