Calling a web service using SSL from a client that runs as a web application.

I have the keystore containing the certificates to call a web service through a two-way ACE by using SSL. If I create a stand-alone java application and using the following parameters, I'm able to hit the web service:

System.setProperty("javax.net.ssl.keyStore","C:/bea/JDK150~1/jre/lib/security/SFCRM.jks");
System.setProperty ("javax.net.ssl.keyStorePassword", "changeit");
System.setProperty("javax.net.ssl.trustStore","C:/bea/JDK150~1/jre/lib/security/SFCRM.jks");
System.setProperty ("javax.net.ssl.trustStorePassword", "changeit");

Also, if I use these same 4 lines of code in my web application to call the web service, I successful as well.

The problem is, in the real world, you can't hardcode your keystore/truststore path access and password in your application like this.

What is the right way to configure these client parameters? I do somewhere in the logical Web administration console? I tried to configure the Keystore and SSL tabs for my server using the administration console, but he can't seem to find the private key file. I get an exception that is prohibited by the web service as soon as I leave the System.setProperty lines.

The tab of keystore, I use a Custom Keystore and Java Standard Trust store. My custom identity keystore path is C:/bea/JDK150~1/jre/lib/security/SFCRM.jks, type jks keystore, and I updated the password changeit. On the SSL tab, I've specified the alias of the private key to use for the web service as well as the password (there is no password, so I put in changeit, the keystore password).

It does not work. I even tried using a Custom Keystore and trust stores custom and by setting the C:/bea/JDK150~1/jre/lib/security/SFCRM.jks path for both. Still does not work.

I have a feeling that these tabs are intended for the configuration server SSL only.

How to set the path of the keystore for customers running as web apps on my web server of logic?

SSL-> advanced

Use server certificates:

"Determines whether the customer should use server certificates/keys as the identity of the client during the initialization of a connection via https."

Tags: Fusion Middleware

Similar Questions

  • Do you know if you can acquire data from a microcontroller that runs under the PLUS + 1 environment, using the NI 9201 platform?

    Hello world

    Do you know if you can acquire data from a microcontroller that runs under the PLUS + 1 environment, using the NI 9201 platform? I need to build a test environment in labview, but entries must be purchased from the microcontroller MC024012 Sauer-Danfoss. The problem is that this microcontroller interface provides the programming amiente MORE + 1 Sauer-Danfoss. Can you help me?

    Thank you

    Elza Figueiredo

    double post and bad advice

  • How to uninstall Firefox? I'm not going to use software from a company that is discriminatory.

    No additional details not required

    Hello

    To uninstall Firefox please see Uninstall Firefox on your computer

    Thank you.

  • Errors during the demo 'building a Web Application with JDeveloper11g using EJB'

    Hello

    I'm going by the demo of building a Web Application with EJB using JDeveloper11g. The demo lasts great until "Running Java outside of Java EE container Service".

    I followed the steps "That runs the Java Service outside Java EE container" exactly as written:

    1. now, create a new persistence unit to run the java service outside the Java EE container. Right click on the file META-INF. Persistence.XML and select new Service Java façade in the context menu.

    2. in the Java Service façade to create, if necessary, click next to go to the home page. In the class of Service Java Panel, you can choose to create a new persistence unit (in the next panel) or use an existing unit. Select Choose a persistence unit or create one in the next panel and check the generate a checkbox in the main() method.

    3. the name of the persistence on the outside unit. Choose the JDBC connection and make sure that the JDBC connection is set to HRConn.

    4. all methods should be selected by default. Deselect some of them so that your selection looks like the following image. (Remove the 'byRange' methods)

    5. in the source editor window, for the JavaServiceFacade class, add a new line after the / / TODO comment and enter the following statement:

    Employees a = javaServiceFacade.queryEmployeesFindByName("P%").get(0);
    System.out.println (a.getLastName ());

    When I type the code above:
    Employees a = javaServiceFacade.queryEmployeesFindByName("P%").get(0);
    System.out.println (a.getLastName ());

    I get the following errors:

    Create method to "queryEmployeesFindByName".
    Separate declaration and assignment

    Any help is appreciated.

    Kind regards

    Kelly

    If you use this tutorial - the use of building 5407 http://www.oracle.com/technology/obe/obe11jdev/bulldog/ejb_jpa_jsf/ejb.html#t2s4

    Looks like the link to the tutorial page pointed to an older version.

  • appeal to the web application? ¿

    Hello, I want to know how can I call a web application, that is to say, the appeal from the blackberry to the address corresponding to the web application, can you give an example? Thank you

    Nitin provided code is not correct, you may not login suffix (which he coded as ";) interface = wifi"), just put the URL in.

    Please refer to this article KB correct code:

    http://supportforums.BlackBerry.com/T5/Java-development/invoke-the-browser/Ta-p/445362

    You will find the search box very useful to find knowledge base articles like this one that will help you with a lot of you will find development issues.

  • My native BB app, how to connect to the remote URL and call a Web service method to retrieve the XML base result using Eclipse Version 3.7.2

    Hello

    I am new to the development of native applications from BB using JDE. I'm testing Simulator. From my native BB app, I connect a remote URL and call a Web service method to extract some basic result XML.

    I need to write a login code remote URL to achieve? If so, how?

    So, how can I use this connection object to call the Web service from this URL remotely.

    Please help me out of it...

    Many thanks in advance...

    What i am doing is, On clicking the "Login" button i want to call the webservice method like below mentioned code...
    Here WaveServices is a class and getAllCinemas() is a static method inside which a webservice method call is made..
    
    loginButtonField.setChangeListener(new FieldChangeListener() {
                public void fieldChanged(Field paramField, int paramInt) {
                    WaveServices.getAllCinemas();
                }
            });
    

    Indeed, the question was raised and answered here:

    http://supportforums.BlackBerry.com/T5/Java-development/from-my-native-BB-application-how-to-connect...

  • Call SOAP Web Service using UTL_HTTP vs APEX_WEB_SERVICE. MAKE_REQUEST

    Dear all,

    When I call the SOAP using APEX_WEB_SERVICE Web services. MAKE_REQUEST, so I'm able to get the response from the web service. Character, however all the German are replaced by those of the JUNK. However the data just fine when I test web services using SOAP UI.

    To resolve this problem, I tried to call the web service using UTL_HTTP. However when I use UTL_HTTP, then I get following error.

    ORA-24247: access denied by network access control list

    Can someone advise me...

    < Li > why German characters are replaced with the data side when calling WebService from APEX, while it works very well in SOAP UI
    < Li > when can I access web service successfully using APEX_WEB_SERVICE, then why he throws error ORA-24247 when I call using UTL_HTTP?


    DB: Oracle Database 11 g Enterprise Edition Release 11.2.0.1.0 - 64 bit Production
    APEX: 4.0.2.00.07
    Web server: EPG
    SELECT * FROM NLS_DATABASE_PARAMETERS;
    
    PARAMETER                      VALUE                                  
    ------------------------------ ----------------------------------------
    NLS_LANGUAGE                   AMERICAN                                 
    NLS_TERRITORY                  AMERICA                                  
    NLS_CURRENCY                   $                                        
    NLS_ISO_CURRENCY               AMERICA                                  
    NLS_NUMERIC_CHARACTERS         .,                                       
    NLS_CHARACTERSET               AL32UTF8                                 
    NLS_CALENDAR                   GREGORIAN                                
    NLS_DATE_FORMAT                DD-MON-RR                                
    NLS_DATE_LANGUAGE              AMERICAN                                 
    NLS_SORT                       BINARY                                   
    NLS_TIME_FORMAT                HH.MI.SSXFF AM                           
    NLS_TIMESTAMP_FORMAT           DD-MON-RR HH.MI.SSXFF AM                 
    NLS_TIME_TZ_FORMAT             HH.MI.SSXFF AM TZR                       
    NLS_TIMESTAMP_TZ_FORMAT        DD-MON-RR HH.MI.SSXFF AM TZR             
    NLS_DUAL_CURRENCY              $                                        
    NLS_COMP                       BINARY                                   
    NLS_LENGTH_SEMANTICS           BYTE                                     
    NLS_NCHAR_CONV_EXCP            FALSE                                    
    NLS_NCHAR_CHARACTERSET         AL16UTF16                                
    NLS_RDBMS_VERSION              11.2.0.1.0                               
    
     20 rows selected
    Kind regards
    Hari

    The solution was...

    I just put following line before making the call to the web service by using APEX_WEB_SERVICE. MAKE_REQUEST.

    /*In my case DB character-set is AL32UTF8, so I set it to UTF-8. */
    
    UTL_HTTP.SET_BODY_CHARSET ('UTF-8');
    

    More information see SET_BODY_CHARSET procedures

    If I do not set this, it uses the as ISO-8859-1 character set, which is the cause of my problem.

    Kind regards
    Hari

  • Matter of business for OSB 10.3.1 when to call the web service from SAP ECC 710

    Hello

    1. I was a unit test for a business service that calls a web service from SAP ECC 710 (this service is published directly to a RFC function via SOA Manager module);

    2. the problem is when I use the OSB test console, which generates the request below message:

    < soapenv:Envelope = "http://schemas.xmlsoap.org/soap/envelope/" xmlns:soapenv >
    * < soap: Header xmlns:soap = 'http://schemas.xmlsoap.org/soap/envelope/' > *.
    * < / soap: Header > *.
    < soapenv:Body >
    < xmlns:urn urn: Zmmjf503 = "urn: sap - com:document:sap:soap:functions:mc - style" >
    string of < ContractInfo > < / ContractInfo >
    < / urn: Zmmjf503 >
    < / soapenv:Body >
    < / soapenv:Envelope >

    the response message is:
    < SOAP - env:Envelope xmlns:soap - env = "http://schemas.xmlsoap.org/soap/envelope/" >
    < SOAP - env:Header >
    < n0:MessageID = "http://schemas.xmlsoap.org/ws/2004/08/addressing" xmlns:n0 >
    UUID:4cbe5b84 - 474 c-9abe-e100-00000ad00164
    < / n0:MessageID >
    < n1:Action SOAP - env:mustUnderstand = "1" xmlns:n1 = "http://schemas.xmlsoap.org/ws/2004/08/addressing" xmlns:soap - env = "http://schemas.xmlsoap.org/soap/envelope" / >
    < / soap - env:Header >
    < SOAP - env:Body / >
    < / soap - env:Envelope >


    Above the response indicates that the BS called SAP Web server successfully, but seems that the service did not get the request message.

    3. the Web service can be called successfully through SoapUI. and I checked the soapUI request message; and it can work if I just change the request:

    < soapenv:Envelope = "http://schemas.xmlsoap.org/soap/envelope/" xmlns:soapenv >
    * < soap: Header = "http://schemas.xmlsoap.org/soap/envelope/" xmlns:soap > < / soap: Header > *.
    < soapenv:Body >
    < xmlns:urn urn: Zmmjf503 = "urn: sap - com:document:sap:soap:functions:mc - style" >
    string of < ContractInfo > < / ContractInfo >
    < / urn: Zmmjf503 >
    < / soapenv:Body >
    < / soapenv:Envelope >

    and I got the right answer:
    < SOAP - env:Envelope xmlns:soap - env = "http://schemas.xmlsoap.org/soap/envelope/" >
    < SOAP - env:Header / >
    < SOAP - env:Body >
    < n0:Zmmjf503Response xmlns:n0 = "urn: sap - com:document:sap:soap:functions:mc - style" >
    < Recmsg > <! [CDATA [<? xml version = "1.0" encoding = "utf-8"? > < DocumentResponse > < CONDITION > 0 < / STATE > < HTBH > < / HTBH > < MESSAGE > < / MESSAGE > < / DocumentResponse >]] > < / Recmsg >
    < / n0:Zmmjf503Response >
    < / soap - env:Body >
    < / soap - env:Envelope >

    4 it bother me, because the only difference between the above two request messages is the header (one contains a "newline"):
    ------------------------------------------------------------------------------------------------------------------------------
    * < soap: Header xmlns:soap = 'http://schemas.xmlsoap.org/soap/envelope/' > *.
    * < / soap: Header > *.
    -------------------------------------------------------------------------------------------------------------------------------
    VS
    --------------------------------------------------------------------------------------------------------------------------------------
    * < soap: Header = "http://schemas.xmlsoap.org/soap/envelope/" xmlns:soap > < / soap: Header > *.
    ----------------------------------------------------------------------------------------------------------------------------------------

    5 I thought that the SOAP engine should ignore "carriage returns", seems this is a problem of SAP ECC710.

    Do you have someone having this problem? Thank you


    Concerning
    Wen

    Hello Wen,

    I tried to use exactly the same request (carriage return) to call the service through soapUI, and it does not work... just like BS OSB
    should I assume that it is a matter of SAP ECC?

    That same demand also doesn't SOAPUI so certainly it's an issue with SAP ECC. I doubt that SAP ECC is the treatment the carriage return as an end of file marker. Check with support.

    Kind regards
    Anuj

  • How to use references from web third party service with service Cloud Computing to Oracle database schema

    APEX 5.0

    Cloud Computing service for the Oracle database schema


    I'm in the middle of do a proof of concept.  Basically, I need an application with security of the stored data, UI, user, data loading, and able to post data via an external web service said.  It seems that with the database schema Oracle cloud service, it is not possible to use web service references that are not in the field.

    If I try to use a service via http reference, I get:

    ORA-20987: APEX - the requested URL was forbidden. Contact your administrator. -Contact your administrator of the application.

    If I try to use the same reference service via https, I get:

    ORA-29273: HTTP request failed

    ORA-06512: at & quot; SYS. UTL_HTTP & quot; line 1130

    ORA-29259: end-of-input reached

    I read somewhere that cloud services only https can be used.  Is this true?

    And then I read somewhere to use the protocol https, the portfolio must be configured to store certificates, etc.  However, I read somewhere else that the portfolio cannot be configured because there is no access to the instance database with the Oracle Cloud Computing database schema service.  Is this true?

    If both are true, how can I make a call to post data to an external web service?  Or do I need to use a different Cloud Computing service?  Or do I need my own instance of Oracle DB?

    Any help would be great.  Thank you!

    It turns out there was a problem with the remote rest service.  After successfully calling a rest service that was created using SQL Workshop, I tried different remote rest services and they all work.  Sorry for the confusion.  I thought it was very strange that the schema of database service wouldn't be able to do it easily.

  • Using CFHTTP to call a web service

    We use a CF5 server and will not update to MX anytime soon. I need to call a web service and understand that I can do that with CFHTTP. Can someone direct me to any docs or give me examples of how to do that?

    Answered my own question. The problem I had was returning complex data types. CFHTTP. FILECONTENT actually returned as WDDX MX web service, so I was able to use the CFWDDX tag to transform a structure of SOAP in a CF structure, and it works perfectly.

  • Remote service using ADF Mobile call

    Hello

    I'm new to ADF/ADF Mobile. I have a web service - http://www.webservicex.com/globalweather.asmx and I have an application that looks at-http://docs.oracle.com/cd/E18941_01/tutorials/BuildingMobileApps/ADFMobileTutorial_1.html. Using the webservice, I'll enter a city name and it will bring me to a new page with the results.

    I tried to create a web service by using this url data control - http://www.webservicex.com/globalweather.asmx?WSDL and it gives me the two data control.
    1 GetCitiesByCountry (String)
    2 GetWeather(String,String)

    From there, I tried many ways to drag the control from the facet data. All advice/instructions on how to do it? Especially on data links and view the results.

    Hello

    What does not work?
    By dragging from the datacontrol to the facet?

    That only works when you drop in the other 'source' tab or in the pane "structure."
    It does not work in the 'Sample' tab

    The Web service call does not work?
    Not sure why it does not work. Could be many reasons...

    Try to be more specific in your question.
    An example of a service of wheater / ADF Mobile application is available here: https://blogs.oracle.com/mobile/entry/web_services_example_part_1

    Luke

  • call a Web Service of JavaFX running als WebStart to incorporate in a browser or

    Call a Web Service from a JavaFX running as an application all right.

    Wenn execute the same JavaFX as integrate WebStart or browser, I get a runtime exception:

    =================================

    Java plug-in 10.7.2.10
    JRE-Version use 1.7.0_07 - b10 Microsoft Client Java VM
    Benutzer-home-Verzeichnis = C:\Users\Olaf
    ----------------------------------------------------
    c: Konsolenfenster löschen
    f: objects in Finalisierungs-tail finalisieren
    g: garbage collection
    h: sharp Hilfemeldung ads
    l: class Loader-list ausgeben
    m: Speicherauslastung print
    o: logging auslosen
    q: Konsole ausblenden
    r: policy configuration loaded neu
    s: System-und deployment-Akbulak ausgeben
    t: Threadliste ausgeben
    v: the ausgeben thread stack
    x: Class-Loader-Cache leeren
    0-5: trace-ebony auf < n > set
    ----------------------------------------------------
    Correspondence: beginTraversal
    Match: digest selected JREDesc: JREDesc [version 1.6 +, heap =-1-1, args = null, href = http://java.sun.com/products/autodl/j2se, salt = false, null, null], JREInfo: JREInfo of index 0:
    the platform is: 1.7
    product: 1.7.0_07
    location: http://java.sun.com/products/autodl/j2se
    path is: C:\Program Files (x86)\Java\jre7\bin\javaw.exe
    args is:
    is native platform: Windows x 86 (x 86, 32-bit)
    JavaFX runtime is: JavaFX 2.2.0 found at C:\Program Files (x 86) \Java\jre7\
    the Enabled argument is: true
    saved is: false
    system is: true

    Match: ignoring maxHeap:-1
    Match: ignoring InitHeap:-1
    Match: digestion vmargs: null
    Match: digested vmargs: [JVMParameters: isSecure: true, args:]
    Match: JVM args after accumulation: [JVMParameters: isSecure: true, args:]
    Match: Digest LaunchDesc: file:/C:/Users/Olaf/Documents/NetBeansProjects/JavaFXApplication4/dist/JavaFXApplication4.jnlp
    [Match: Digest properties:]
    Match: JVM args: [JVMParameters: isSecure: true, args:]
    Match: endTraversal...
    Match: JVM args final:
    Correspondence: Correspondence of Running JREInfo Version: 1.7.0.07 == 1.7.0.07
    Match: Running JVM args match: I: <>satisfy fault: <>
    CacheEntry[file:/C:/Users/Olaf/Documents/NetBeansProjects/JavaFXApplication4/dist/JavaFXApplication4.jar]: updateAvailable = true, lastModified = Tue Sep 04 21:16:35 CEST 2012, length = 39432
    java.lang.ExceptionInInitializerError
    at com.sun.xml.internal.ws.util.xml.XmlUtil.createDefaultCatalogResolver (unknown Source)
    at com.sun.xml.internal.ws.client.WSServiceDelegate.parseWSDL (unknown Source)
    to com.sun.xml.internal.ws.client.WSServiceDelegate. < init >(Unknown Source)
    to com.sun.xml.internal.ws.client.WSServiceDelegate. < init >(Unknown Source)
    at com.sun.xml.internal.ws.spi.ProviderImpl.createServiceDelegate (unknown Source)
    to javax.xml.ws.Service. < init >(Unknown Source)
    to javafxapplication4.ws.NewWebService_Service. < init > (NewWebService_Service.java:42)
    to javafxapplication4. JavaFXApplication4.start (JavaFXApplication4.java:25)
    to com.sun.javafx.applet.FXApplet2$ 1.run(FXApplet2.java:131)
    to com.sun.javafx.application.PlatformImpl$ 4.run(PlatformImpl.java:173)
    at com.sun.glass.ui.win.WinApplication._runLoop (Native Method)
    in com.sun.glass.ui.win.WinApplication.access$ 100 (WinApplication.java:29)
    to com.sun.glass.ui.win.WinApplication$ $2 1.run(WinApplication.java:67)
    at java.lang.Thread.run (unknown Source)
    Caused by: java.security.AccessControlException: access denied ("java.util.PropertyPermission" 'xml.catalog.ignoreMissing', 'read')
    at java.security.AccessControlContext.checkPermission (unknown Source)
    at java.security.AccessController.checkPermission (unknown Source)
    at java.lang.SecurityManager.checkPermission (unknown Source)
    the impossible (unknown Source)
    the impossible (unknown Source)
    to com.sun.org.apache.xml.internal.resolver.CatalogManager. < init >(Unknown Source)
    to com.sun.org.apache.xml.internal.resolver.CatalogManager. < clinit >(Unknown Source)
    ... 14 more
    ======================================================

    Any hint for me.

    THX

    OLAF

    Sign your application.

    http://docs.Oracle.com/JavaFX/2/deployment/deploy_overview.htm#CEGJGHDA

  • Consume peoplesoft Web services using Jdeveloper authentication failure

    Hello

    I use Jdeveloper 11 g to consume the webservice of peoplesoft and following the exact steps in the following article.
    http://www.Oracle.com/technology/tech/fmw4apps/PeopleSoft/OFM-PSFT-blog-postings.HTML#Web-services
    The Web service I use is different from the example I use the production version of the wsdl file.
    After following all the steps, the generated proxy creates not poseurs of the getter for user name, password (Basic authentication).
    Is it supposed to auto generate or what I need to encode?
    I did the code of the getter set username and password and provide the credentials, but I get an error authentication failed.

    java.rmi.RemoteException: SOAPFaultException - FaultString FaultCode [http://schemas.xmlsoap.org/soap/envelope/ {} Client.Authentication] [did not receive message weblogic.wsee.util.AccessException: a code of 401 error (unauthorized) was returned by the server to http://ps-dev-web.kc.lan:30710/PSIGW/HttpListeningConnector.] Please check that the username and password are set correctly and that you are authorized to access the requested method.
    -> Http://ps-dev-web.kc.lan:30710/PSIGW/HttpListeningConnector server returned a code of 401 error (unauthorized). Please check that the username and password are set correctly and that you are authorized to access the requested method.
    ] FaultActor detail [null] [< detail > < bea_fault:stacktrace xmlns:bea_fault = "http://www.bea.com/servers/wls70/webservice/fault/1.0.0" > weblogic.wsee.util.AccessException: a code of 401 error (unauthorized) was returned by the server to http://ps-dev-web.kc.lan:30710/PSIGW/HttpListeningConnector.] Please check that the username and password are set correctly and that you are authorized to access the requested method.
    at weblogic.wsee.connection.transport.http.HTTPClientTransport.handleErrorResponse(HTTPClientTransport.java:373)

    The code I used to generate getter, setter is

    -These methods have not generated-
    public String getPassword() {}
    (String) return ((heel) port). getProperty (Stub.PASSWORD_PROPERTY);
    }

    public void setPassword (String password) {}
    ((Heel) port). setProperty (Stub.PASSWORD_PROPERTY, password);
    }

    public String getUsername() {}
    (String) return ((heel) port). getProperty (Stub.USERNAME_PROPERTY);
    }

    {} public void setUsername (String username)
    ((Heel) port). setProperty (Stub.USERNAME_PROPERTY, username);
    }
    I don't know where I'm going wrong, credentials, I used the work normally but do not work with this application.
    I'd appreciate if I can get some light on this issue.

    Thank you
    Ash

    Published by: [email protected] on June 2, 2010 07:56

    In your case, the settings are not IN/OUT but OUTSIDE.
    To create the owner and get the values after the operation, you must do something like this:

    Create the parameters of the licensee
    Holder nt new holder =();
    Holder det holder new =();

    Make the call
    port.createCompIntfcKCMWEBCASECI (nt, det);

    Get the value
    System.out.println ("Value is" + nt.) Value();

    Thank you
    Vishal

  • Problems with the Web Service using XML in Flex

    Hello

    I use a ColdFusion CFC, which is configured to generate an XML string. It runs on ColdFusion MX 6.1 and is configured as a remote web service. I tested the call and it returns the string XML fine when it is called from another method of Flex unfounded. My problem is this simple Flex application to call the same function via a service web, I wrote below. I cannot get to the exit results, keeps showing as NULL. I can't use the HTTP of Flex appeal for remote access because I'm not under MX7. Does anyone know what is wrong with my code? BTW, I would do the work of cross - domain.xml file to call the cfc, let me know if you want to test and I can add your domain name. Thank you!

    <? XML version = "1.0" encoding = "utf-8"? >
    "" < mx:Application xmlns:mx = ' http://www.adobe.com/2006/mxml ' layout = "absolute" >

    <! - set Web Service to get the XML data of course catalog - >
    < mx:WebService
    ID = "cd".
    "WSDL =" http://training.wonderware.com/components/courses.cfc?wsdl "
    Load = "CD.getCourseCatalogXML.Send ()" "
    showBusyCursor = "true" fault = "Alert.show (event.fault.message), 'Error' ' result =" cdResult (event) ">"
    < mx:operation name = "getCourseCatalogXML" resultFormat = "e4x" >
    < mx:request >
    < IDCalendrier > 3 < / IDCalendrier >
    < / mx:request >
    < / mx:operation >
    < / mx:WebService >

    < mx:Script >
    <! [CDATA]
    Import mx.controls.Alert;
    Import mx.rpc.events.ResultEvent;
    Import mx.rpc.events.FaultEvent;

    [Bindable]
    public var outputString:String

    public void cdResult(event:ResultEvent):void
    {
    outputString = event.result as String
    }
    []] >
    < / mx:Script >

    < mx:Canvas horizontalScrollPolicy = "off" verticalScrollPolicy = "off" >
    < mx:Text width = '100% ' paddingLeft = "4" paddingRight = paddingTop "4" = "4" >
    < mx:text > OUTPUT: {outputString} < / mx:text >
    < / mx:Text >
    < / mx:Canvas >

    < / mx:Application >

    Thank you very much! I do not have the notion that the HTTPService is indded just an HTTP call. So yes that it a much simpler way to call just ColdFusion to return the XML string to the application. No reason to use Flash Remoting or CFCS etc... and certainly not a web server. This made the turn that I called a HTTPService now what charges by coldfusion page that returns XML and bam, works well with e4x result etc... Thanks tracy!

  • the Web UI using ssl generator

    I use LV2012 with Interface Builder.  I am trying to use SSL for security.  My application works very well with http.  I can access my web services directly via https.  When I try to import the web services in the Web user interface Builder using port 8081 (for SSL), I get the following error...

    Generator of the user Web LabVIEW interface cannot connect to the server. Check the server address and that the server is running. Also make sure that the server hosts file clientaccesspolicy.xml to root with valid permissions.

    LV2012 is a "clientaccesspolicy.xml" held to do SSL?  It is not necessary for http on port 8080.

    Hi Ken,

    LabVIEW should provide a file default on HTTP and HTTPS clientaccesspolicy.xml.

    There could be many different questions here:

    -If you go to https://yourmachine:8081 / clientaccesspolicy.xml in a browser, do you think the policy file? (It takes an automatically, as I mentioned).

    If it works, but you get a certificate error / warning that you have ignored - this is because the default self-signed certificate for the web server LV is not approved. Generator of the user Web interface cannot connect via HTTPS in this case, unless you trust the certificate permanently installing it locally. In addition, you will need to connect to the exact hostname specified by the certificate. If you do not get a certificate error / WARNING when accessing the server directly, you should be able to use in the Web user interface designer (using the exact same server name syntax).

    -If you are using the import Web Service functionality in the user Web interface Builder and tries to connect to "yourmachine:8081", try "https://yourmachine:8081".

    -If you cannot use Import Web Service using the exact hostname that the SSL certificate is configured for in (the editor, depending on the configuration of the network, is not able to connect to via of "yourmachine", only through your address IP; but "yourmachine" would work when you run an application built): you can design at the start of your application in the editor by connecting over HTTP. When you're ready for the generation & deployment, you can use the entry "Server uri in" web service generated screws to allow the SSL right before building.

Maybe you are looking for

  • Cannot send or receive mms texts

    I was downloading text picture for 5 hours. Impossible to send their

  • Compaq cq58: my compaq cq58 is said admin password, enter

    my computer says enter the password admin or power on password

  • Forgotten main user account password

    I changed my password of my main user account and for unknown reasons, that the password is incorrect.   How can I remove the 'unknown' password and chose a new so I have access to my main user account?

  • Problems of text of blackBerry Smartphones

    I just got my first Blackberry Pearl yesterday. Everything is great... except the SMS text messaging. When I go to compose a text SMS, the little box you type in disappears as soon as you start typing and not reappear until the cursor moves on the se

  • I THINK MY PC IS HACKED!

    I GOT THIS AND I HEARD SOMEONE DROP SOMETHING OF MY SPEAKERS, I PUT MY EAR AND I COULD HEAR THE FALL ONE OF BREATHING ALSO DISABLED CMD ILS SO THAT I CAN ' T ACCESS AND MY PC JUST STOP ON NOT THE CASE! What does that mean?