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
Register / Login


JavaRanch » Java Forums » Application Frameworks » Flex
Reply 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.

This message was edited 1 time. Last update was at by aman thind



Aman Thind
SCJP,SCWCD
JAVA utte mar JAVA,mit JAVA
 
 
subject: Accessing Web Services hosted on HTTPS from Flex
 
WebSphere development made easy
without the weight of IBM tools
http://www.myeclipseide.com