CF10 remote webservice

I have deployed coldfusion in a cluster configuration behind a hardware based load-balancer.  When looking at the WSDL produced by the CFC the service address that is generated in the WSDL does not honor the serviceaddress attribute defined in the component. 
Since the load-balancer is doing SSL acceleration the request comes in on port 443 and than forwards to the coldfusion server over port 80.  The service address that is created in the WSDL is using port 80. 

I must admit, I miss the question. What does the service address currently look like? Is that different from what you expected?

Similar Messages

  • Testing a "Receiver SOAP Adapter" - Calling a remote webservice from PI

    Hi ,
    I am trying to call a remote webservice from PI 7.0.
    The WSDL file is successfully imported to PI to create the required message types.
    The "receiver SOAP adapter" is configured as the communication channel.
    I would like to know the ways of testing  the remote webservice from PI 7.0.
    Thank you,
    Panda

    Hello there!
    I think this link should help you
    https://help.sap.com/saphelp_nwpi71/helpdata/en/46/793034608c0ad3e10000000a11466f/frameset.htm
    Thanks and regards,
    Caio Cagnani

  • Remote webservice access

    I used MX:Webservice in MXML to access a remote webservice
    like
    <mx:WebService id="ws" wsdl="
    http://www.webservicex.com/CurrencyConvertor.asmx?WSDL">
    <mx:operation name="ConversionRate"
    result="convert();">
    <mx:request>
    <FromCurrency>{fromC.text}</FromCurrency>
    <ToCurrency>{toC.text}</ToCurrency>
    </mx:request>
    </mx:operation>
    </mx:WebService>
    In flex builder it worked fine but after deploying it on a
    free web hosting site, I'm getting security error.
    Free web hosting website provide "ASP" scripting support...Is
    creating a proxy the right approach since I do not have permission
    to place crossdomain.xml in remote server. Can someone guide me to
    write a proxy in ASP for the above webservice?

    you might not need to access WSDL. You can just post SOAP messeages on JMS queue, for posting JMS messages you can create a JMS Adapter using Oracle BPEL.
    a sample soap request looks like this, you will have to create SOAP messages according to your webservice.
    <SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" xmlns:SOAP-ENC="http://schemas.xmlsoap.org/soap/encoding/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" SOAP-ENV:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/">
    <SOAP-ENV:Body>
    <m:getDataSourcesInfo xmlns:m="http://arcweb.esri.com/v2">
    <group xsi:type="xsd:string">ArcWebForDev</group>
    <token xsi:type="xsd:string">MyToken</token>
    </m:getDataSourcesInfo>
    </SOAP-ENV:Body>
    </SOAP-ENV:Envelope>

  • Calling a remote webservice from within a webservice

    I am not sure what I need to do to be able to call a remote webservice (runs on
    another weblogic server instance running on another machine in the same network)
    from within a webservice. I have 2 wsdl files and I have created webservice controls
    from them. I have successfully written code in the first webservice to instantiate
    the parms to the 2nd webservice and invoked the 2nd webservice when both webservices
    are deployed to the same weblogic server instance. So i can see the params being
    marshalled and unmarshalled in the test browser.
    Now how do I install the 2nd webservice on another weblogic server instance and
    instruct the 1st web service to call the 2nd webservice residing on another weblogic
    server instance? I presume some kind of lookup (url?) is needed and is it via
    what is contained in the wsdl file?
    Thanks in advance,
    Stephen Kurlow

    Hi Stephen,
    Using a registry, for example UDDI [1], would be one solution. WLS has
    a complete UDDI implementation builtin [2] for this purpose.
    You are correct, you need to pass the service address location found in
    the <service> section of the WSDL.
    Hope this helps,
    Bruce
    [1]
    http://www.uddi.org/
    [2]
    http://e-docs.bea.com/wls/docs81/webserv/uddi.html
    Stephen Kurlow wrote:
    >
    I am not sure what I need to do to be able to call a remote webservice (runs on
    another weblogic server instance running on another machine in the same network)
    from within a webservice. I have 2 wsdl files and I have created webservice controls
    from them. I have successfully written code in the first webservice to instantiate
    the parms to the 2nd webservice and invoked the 2nd webservice when both webservices
    are deployed to the same weblogic server instance. So i can see the params being
    marshalled and unmarshalled in the test browser.
    Now how do I install the 2nd webservice on another weblogic server instance and
    instruct the 1st web service to call the 2nd webservice residing on another weblogic
    server instance? I presume some kind of lookup (url?) is needed and is it via
    what is contained in the wsdl file?
    Thanks in advance,
    Stephen Kurlow

  • Connectionproblems with remote Webservices

    Hi All,
    I'm trying to connect to a webservice to retrieve tasks that need to be added to the UWL. Problem is that it seems impossible to connect with the J2E-server to a remote webservice. Using Internet Explorer on the server it is possible to call the webservice (and see the wsdl-file) so I'm ruling out a network problem for now.
    Is there a setting that blocks calls to a remote servers?,
    Jeschael

    Anything regarding licensing, please check with your friendly sales rep.
    You may need to skip 11g and go straight to 12c.
    Oracle Database Editions
    "Enterprise User Security is an EE feature for directory-based management of database users. It does require a corresponding Oracle Identity Management Directory Services Plus to be licensed.
    Usage of Enterprise User Security with Oracle Database strong authentication (PKI, Kerberos) no longer requires Oracle Advanced Security to be licensed"
    As far as I know:  kerberos === Windows 2008+ AD
    Again - anything regarding licensing, please check with your friendly sales rep.

  • Access Remote Webservice via Internet

    Hi all,
    Iam new to Web Services ...
    Could any of u give me an Article or Code ... how could we access a basic webservice from Java ..... which is available remotly.
    plz help me .. tks in advance...

    abp_JavaPrg@mdu wrote:
    I got the same error while I trying to connect the server in that port via ssh.I know ssh is "the new telnet", but I did not say telnet to be retro. ssh does encryption stuff, telnet does not. For checking that a port is open and (if the server sends at least the handshake in a human readable format) checking that the server you think is running is running telnet is a better option.
    From the sounds of it the application you think is running is not running.

  • UnknowHostException when invoking a remote WebService

    I am new at web services and i got develop the follow:
    I have created a web service with JDeveloper with the option : WebService Client an Proxy. I have not selected the option of copy wsdl to proyect because when I set the package names the web services classes never get created.
    So I deploy as a jar (this is inside a WebServiceProject) and reference it in the ViewControllerProject. In my machine i test it and run ok, but when I deploy the application in a production weblogic server(10.3.5) i got the error:
    javax.xml.ws.WebServiceException: Failed to acces the WSDL at <webServiceUrl?WSDL >
    Caused by java.net.UnknowHostException : remoteHost
    I am using JDeveloper 11.1.2.3.0.
    Thank you

    hi,
    I am also getting the same exception when making call to the server.
    If u get the solution for this problem.can u please tell me why this is happening.
    Thanks.

  • Error calling remote oc4j from within oc4j

    I'm running a session bean inside one instance of oc4j, and trying to make a remote rmi call to another oc4j instance, but running into a problem.
    When both the "client" side oc4j and server side oc4j are 10.1.3.0.0, everything proceeds smoothly. When the "client" side oc4j is upgraded to 10.1.3.3.0, I get the following error when doing the lookup:
    'TestBean' remote object not found during name lookup
    Caused by: javax.naming.NamingException: Disconnected: oracle.classloader.util.AnnotatedClassNotFoundException:
    Missing class: oracle.oc4j.rmi.interceptors.PropagatedIdentity
    Dependent class: com.evermind.io.ClassLoaderObjectInputStream
    Loader: oc4j:10.1.3
    Code-Source: /C:/java/oc4j/j2ee/home/lib/oc4j-internal.jar
    Configuration: <code-source> in META-INF/boot.xml in C:\java\oc4j\j2ee\home\oc4j.jar
    This load was initiated at testbean.root:0.0.0 using the Class.forName() method.
    The missing class is not available from any code-source or loader in the system.
    at com.evermind.server.rmi.RMIClientContext.lookup(RMIClientContext.java:64)
    Poking around, I found that the 10.1.3 oc4j doesn't contain any "PropagatedIdentity" class, but 10.1.3.3 does contain that class in the oc4j-internal.jar.
    Has anybody been seen this error or know what causes it? I assume that it should be possible to make a remote call from within one oc4j to another oc4j running a different version, but perhaps there's a conflict with the client classloading that prevents this.
    Any input is appreciated.
    Thanks,
    -- Dave

    Hi Stephen,
    Using a registry, for example UDDI [1], would be one solution. WLS has
    a complete UDDI implementation builtin [2] for this purpose.
    You are correct, you need to pass the service address location found in
    the <service> section of the WSDL.
    Hope this helps,
    Bruce
    [1]
    http://www.uddi.org/
    [2]
    http://e-docs.bea.com/wls/docs81/webserv/uddi.html
    Stephen Kurlow wrote:
    >
    I am not sure what I need to do to be able to call a remote webservice (runs on
    another weblogic server instance running on another machine in the same network)
    from within a webservice. I have 2 wsdl files and I have created webservice controls
    from them. I have successfully written code in the first webservice to instantiate
    the parms to the 2nd webservice and invoked the 2nd webservice when both webservices
    are deployed to the same weblogic server instance. So i can see the params being
    marshalled and unmarshalled in the test browser.
    Now how do I install the 2nd webservice on another weblogic server instance and
    instruct the 1st web service to call the 2nd webservice residing on another weblogic
    server instance? I presume some kind of lookup (url?) is needed and is it via
    what is contained in the wsdl file?
    Thanks in advance,
    Stephen Kurlow

  • Error in  holder-of-key  : calling a secure webservice from weblogic instan

    Hi,
    I am getting following error . Can somebody decrypt this for me ?
    ava.rmi.RemoteException: SOAPFaultException - FaultCode [{http://schemas.xmlsoap.org/soap/envelope/}Server] FaultString [Failed to add Signature.] FaultActor [null]No Detail; nested exception is:
         weblogic.wsee.jaxrpc.soapfault.WLSOAPFaultException: Failed to add Signature.
         at services.SSOTestHelloWorld_Stub.hello(Unknown Source)
         at deloitte.iit.webservices.CallWebService.callService(CallWebService.java:31)
         at jsp_servlet.__clienttest._jspService(__clienttest.java:82)
         at weblogic.servlet.jsp.JspBase.service(JspBase.java:34)
         at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:227)
         at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:125)
         at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:292)
         at weblogic.servlet.internal.ServletStubImpl.onAddToMapException(ServletStubImpl.java:408)
         at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:318)
         at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:175)
         at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3498)
         at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
         at weblogic.security.service.SecurityManager.runAs(Unknown Source)
         at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2180)
         at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2086)
         at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1406)
         at weblogic.work.ExecuteThread.execute(ExecuteThread.java:201)
         at weblogic.work.ExecuteThread.run(ExecuteThread.java:173)
    Caused by: weblogic.wsee.jaxrpc.soapfault.WLSOAPFaultException: Failed to add Signature.
         at weblogic.wsee.codec.soap11.SoapCodec.decodeFault(SoapCodec.java:355)
         at weblogic.wsee.ws.dispatch.client.CodecHandler.decodeFault(CodecHandler.java:115)
         at weblogic.wsee.ws.dispatch.client.CodecHandler.decode(CodecHandler.java:100)
         at weblogic.wsee.ws.dispatch.client.CodecHandler.handleFault(CodecHandler.java:88)
         at weblogic.wsee.handler.HandlerIterator.handleFault(HandlerIterator.java:309)
         at weblogic.wsee.handler.HandlerIterator.handleResponse(HandlerIterator.java:269)
         at weblogic.wsee.ws.dispatch.client.ClientDispatcher.handleResponse(ClientDispatcher.java:213)
         at weblogic.wsee.ws.dispatch.client.ClientDispatcher.dispatch(ClientDispatcher.java:150)
         at weblogic.wsee.ws.WsStub.invoke(WsStub.java:87)
         at weblogic.wsee.jaxrpc.StubImpl._invoke(StubImpl.java:337)
         ... 18 more
    Caused by: weblogic.xml.crypto.wss.WSSecurityException: Failed to add Signature.
         at weblogic.wsee.security.wss.SecurityPolicyDriver.processIntegrity(SecurityPolicyDriver.java:240)
         at weblogic.wsee.security.wss.SecurityPolicyDriver.processOutbound(SecurityPolicyDriver.java:74)
         at weblogic.wsee.security.WssClientHandler.processOutbound(WssClientHandler.java:71)
         at weblogic.wsee.security.WssClientHandler.processRequest(WssClientHandler.java:55)
         at weblogic.wsee.security.WssHandler.handleRequest(WssHandler.java:74)
         at weblogic.wsee.handler.HandlerIterator.handleRequest(HandlerIterator.java:141)
         at weblogic.wsee.handler.HandlerIterator.handleRequest(HandlerIterator.java:107)
         at weblogic.wsee.ws.dispatch.client.ClientDispatcher.dispatch(ClientDispatcher.java:132)
         ... 20 more

    Hi Stephen,
    Using a registry, for example UDDI [1], would be one solution. WLS has
    a complete UDDI implementation builtin [2] for this purpose.
    You are correct, you need to pass the service address location found in
    the <service> section of the WSDL.
    Hope this helps,
    Bruce
    [1]
    http://www.uddi.org/
    [2]
    http://e-docs.bea.com/wls/docs81/webserv/uddi.html
    Stephen Kurlow wrote:
    >
    I am not sure what I need to do to be able to call a remote webservice (runs on
    another weblogic server instance running on another machine in the same network)
    from within a webservice. I have 2 wsdl files and I have created webservice controls
    from them. I have successfully written code in the first webservice to instantiate
    the parms to the 2nd webservice and invoked the 2nd webservice when both webservices
    are deployed to the same weblogic server instance. So i can see the params being
    marshalled and unmarshalled in the test browser.
    Now how do I install the 2nd webservice on another weblogic server instance and
    instruct the 1st web service to call the 2nd webservice residing on another weblogic
    server instance? I presume some kind of lookup (url?) is needed and is it via
    what is contained in the wsdl file?
    Thanks in advance,
    Stephen Kurlow

  • Detecting webservice methods signatures

    Hi,
    I'm searching for an elegant solution for the following problem:
    My application is a webservice client that will consume a webservice with some methods.
    let's suppose service interface has methods :
    public void methodA(String A, String B, String C);
    public void methodB(String D, String B, String E);my application will parse a String stream and figure out what method to call .if for example the string pattern is : methodA:A,valueA:B,valueB:C,valueC;then i'll need to call method :public void methodA(String A, String B, String C);I need to know what is an elegant and clean why to implement this feature. Note that i don't know the webservice methods signatures in advance!
    I guess i'll have to use java Reflection. I'm not sure what is a good solution for this problem .
    thanks for your help.
    NB: I posted this same topic at [coderanche.com|http://www.coderanch.com/t/441073/Web-Services/java/detecting-webservice-methods-signatures] but couldn't get responses.

    slowfly wrote:
    That is imo a very bad idea. That's no java problem, it's a communication problem. If the service providers can't provide you the interface or the wsdl, you can't code towards it. They also should provide you a test-environment, where you can test your client implementations. Everything else is just... not right...
    I'm just curious: Where comes the string stream from? And why don't you know the endpoint interface? There must be another approach.
    regards
    slowflythe webservice client i'm coding is part of a complex system with many components communicating through JMS and using Spring Managed beans.
    my plug-in will receive a command from an external provisioning system. i'll have to parse this command string then figure out what webservice method i'll need to call on remote webservice.
    i know this is weired. but my boss is not helpful. he can't yet get the WSDL from the customer and I have now to manage testing with dummy webservice methods without actually talking to real webservice.
    I want to know what is a good solution to Map the above String command Pattern into a java method . it seems like to be a Mapping from String Pattern to java method with arguments. the only problem is that i can't know the names of method parameters.and the command string pattern might contains method args in un-ordered state. so after collecting the method args (from command) i will need to figure out which one fits in the args list of webservice method.
    probably using method parameters annotations? does this means the WSDL should also contain the parameter annotaions?
    anyway i hope someone here can suggest me some good solution.
    thanks

  • NWDS - VC - Webservice access

    in NWDS 7.2, I am not able to see "Define webservices" option to access remote webservices, does this functionality is there only on web based VC Story board? or we can define remote services in NWDS too, if yes, please let me know how we can do that.

    Hi,
    In NWDS you define web service configurations from the menu: Window -> Preferences -> Destination Configurations -> Web Service Configuration. After defining the web service, refresh the search panel to see it.
    The same web service has to be defined with the same name in the server you deploy the model to (this is defined from /nwa).
    Best regards,
    Tal.

  • Accessing webservices

    Hi,
    I have a Flash minisite that connects to an asp.net based
    webservice using a webservice component.
    My AS 2.0 code triggers a WS method, sending several
    parameters.
    This works fine when my Flash resides on same domain as my
    WS.
    When moving it to another domain - it simply does not work.
    I added a crossdomain.xml file to my WS root folder (WS is in
    a subdir of root app, file is in app root), which allows access for
    "*", but still that doesn't work. I also added in my AS code -
    allowDomains="*", with no success.
    Any ideas????

    Hi,
    Thanks for replying.
    I have to develop a custom web application which will be used with other standard oracle modules like configurator and quote.As 11.5.10 has used OA Framework for developing HTML based application,I am also using the same for my custom web application development.For this, I am making use of JDeveloper 9i with OA Extension.
    The webapplication needs to integrate with a remote webservice(.NET at runtime).
    JDeveloper (with OA Extension) supports .NET webservice(read in help).Using the wizard,WebService Stub/Skeleton,I was able to generate .java files which have the same methods as in .NET WebService.
    Ex: One of the method returns String array, say Array of Names.I want these Names (String array) to be shown in a Combobox in the page.
    But as of now, I will be happy to know atleast how to write a java program which uses the stub generated by JDeveloper to invoke webservice methods.I am doing this experiment in my development environment.
    Waiting for your help,
    Thanks,
    Gowtam.

  • WebService client

    Hello,
    I have implemented a local Java Project that use a class to invoke a remote WebService. Now, the local Java Project works fine, instead a WebDynpro Project that use the sane class, returns the following error:
    "WSDLException: faultCode=CONFIGURATION_ERROR: Problem instantiating factory implementation.: com.sapportals.portal.prt.service.soap.wsdlImpl.factory.WSDLFactoryImpl"
    Anybody knows the solution?
    Thanks and best regards
    Matteo

    Check the following link, it should be helpful:
    Service-Enable 11i -- Get A Jump On Fusion
    http://blogs.oracle.com/schan/2006/07/24

  • BPEL to invoke a webservice secured by BASIC auth

    Hi
    I have been trying to write a simple BPEL process to invoke a remote webservice secured by basic authentication. I was able to build the BPEL process and then the composite application that I deployed successfully to glassfish, all within NetBeans IDE. As per the wiki notes: http://wiki.open-esb.java.net/Wiki.jsp?page=HTTPBasicAuthentication, I also added the Policy element to the wsdl for the service that I am trying to invoke as follows:
    <wsdl:service name="PMSDatabase">
            <wsdl:port name="PMSDatabaseSOAP11port_http" binding="ns2:PMSDatabaseSOAP11Binding">
                <soap:address location="http://namadgi:9999/MessageCentre/services/PMSDatabase"/>
            </wsdl:port>
            <wsdl:port name="PMSDatabaseSOAP12port_http" binding="ns2:PMSDatabaseSOAP12Binding">
                <soap12:address location="http://namadgi:9999/MessageCentre/services/PMSDatabase"/>
            </wsdl:port>
            <wsdl:port name="PMSDatabaseHttpport" binding="ns2:PMSDatabaseHttpBinding">
                <http:address location="http://namadgi:9999/MessageCentre/services/PMSDatabase"/>
                <wsp:PolicyReference URI="#HttpBasicAuthBindingBindingPolicy"/>
            </wsdl:port>
        </wsdl:service>
        <wsp:Policy wsu:Id="HttpBasicAuthBindingBindingRealmPolicy">
            <mysp:MustSupportBasicAuthentication on="true">
                <mysp:BasicAuthenticationDetail>
                   <mysp:WssTokenCompare/>
                </mysp:BasicAuthenticationDetail>
            </mysp:MustSupportBasicAuthentication>
            <mysp:UsernameToken mysp:IncludeToken="http://schemas.xmlsoap.org/ws/2005/07/securitypolicy/IncludeToken/AlwaysToRecipient">
               <wsp:Policy>
                    <sp:WssUsernameToken10>mcs_user</sp:WssUsernameToken10>
                    <sp:WssPassword>${pass_token}</sp:WssPassword>
               </wsp:Policy>
          </mysp:UsernameToken>
        </wsp:Policy>When i try to run a testcase, the BPEL process fails during the invoke activity and I get the following error in the output:
    <detailText>BPCOR-6135:A fault was not handled in the process scope; Fault Name is {http://www.sun.com/wsbpel/2.0/process/executable/SUNExtension/ErrorHandling}systemFault; Fault Data is &lt;?xml version=&quot;1.0&quot; encoding=&quot;UTF-8&quot;?&gt;&lt;jbi:message xmlns:sxeh=&quot;http://www.sun.com/wsbpel/2.0/process/executable/SUNExtension/ErrorHandling&quot; type=&quot;sxeh:faultMessage&quot; version=&quot;1.0&quot; xmlns:jbi=&quot;http://java.sun.com/xml/ns/jbi/wsdl-11-wrapper&quot;&gt;&lt;jbi:part&gt;HTTPBC-E00753: HTTP POST request failed, portType {http://service.messagecentre.dha.gov.au}PMSDatabaseHttpport
        URL: http://namadgi:9999/MessageCentre/services/PMSDatabase/deletePMSVoidPeriod
        QUERY:
        PATH_INFO:
        Exception detail: request requires HTTP authentication: User mcs_user not found in directory.&lt;/jbi:part&gt;&lt;/jbi:message&gt;. Sending errors for the pending requests in the process scope before terminating the process instance
       Caused by: BPCOR-6131:An Error status was received while doing an invoke (partnerLink=PartnerLink1, portType={http://service.messagecentre.dha.gov.au}PMSDatabasePortType, operation=deletePMSVoidPeriod)
    BPCOR-6129:Line Number is 48
    BPCOR-6130:Activity Name is Invoke1
       Caused by: HTTPBC-E00753: HTTP POST request failed, portType {http://service.messagecentre.dha.gov.au}PMSDatabaseHttpport
        URL: http://namadgi:9999/MessageCentre/services/PMSDatabase/deletePMSVoidPeriod
        QUERY:
        PATH_INFO:
        Exception detail: request requires HTTP authentication: User mcs_user not found in directory.
       Caused by: request requires HTTP authentication: User mcs_user not found in directory.</detailText>Where else do i need to configure the BASIC auth details to get this to work?

    Please post your request to [email protected] for quick response.
    Error states "mcs_user" is invalid user. Please make sure that the user is valid.

  • On WebServices, crossdomain.xml and debug-mode

    I'm building a conncetion to a remote webservice, and they
    don't have a crossdomain.xml file on their server (or it is placed
    badly or something).
    While developing my connection has worked fine, but when I go
    outside of the debug mode (actually running the swf/html from any
    other folder then the projects bin-debug) and the connection won't
    work. It returns no error and just seems to keep going ignoring the
    request. So I looked around for a bit and managed to turn on the
    trace() log file which brought the problem to my attention:
    Cannot load crossdomain.xml from server, halting request. (or
    something similar)
    This is fine now that I know of it, I can get the server
    people to add crossdomain for me. The questions I'm asking though
    is:
    Why does it work in the bin-debug filder?
    How can I capture the "Cannot load crossdomain..." trace? (my
    guess is that its generated in the flash player, and not flex
    library)

    Understand the SandboxType of flash player before getinto this issue.
    While inside the  bin-debug, your sandbox type is LocalTrusted. This will allow access to external system,
    When go go for the deployment it wont works, cos you sandbox type will be different (say Network with Local)
    http://livedocs.adobe.com/flex/3/html/help.html?content=05B_Security_04.html
    The above URL will expain the security concept
    Nith

Maybe you are looking for