Win a copy of Design for the Mind this week in the Design forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Accessing Web Services hosted on HTTPS from Flex

 
aman thind
Ranch Hand
Posts: 71
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic