change the frequency for the web service

I'm under LabVIEW Web Service with an application following the method shown in the example of weather monitor. But my problem here is that I have to keep clicking the Refresh button, then the Web Service can only update the latest data for me. Can someone help me to set an example on how to let the page Web of the Web Service automatically update the value without pressing the Refresh button. Thank you

First of all your customer needs to support it. If you use the HTTP Client in LabVIEW (GET.vi and so on) you cannot use this method. A normal browser should.

Take a look at the address book example FindContacts.vi.

The help topic linked in the previous post, you should get on the way as well. The news are scattered throughout the help file, but it should be possible to understand.

Basically, there are two output options for a web service VI: Terminal mode as used in the example weather and fashion such Stream used in the example address book VI.

Use stream mode and build the HTML page yourself, then sends it to the browser with Response.vi write. Somewhere in the top of the HTML page, you need to insert


If you need to return a string like


my title



If your browser supports Refresh, this page refreshes in 5 seconds. And add some real contents here

See also W3C .

Good luck

Tags: NI Software

Similar Questions

  • Data for the Web service control

    Hello

    I have jdeveloepr User 12.1.3, I WSDL soap, I create the data control for the web service from the WSDL, the problem is when creating data controls the separate parameter that the method, for example, below it is the method that I call the setNotificationAction name and the parameter IN (P_ACTION, P_NOT_ID, P_PASSWORD_ERP, P_TOKEN (, P_USER_ID P_USER_ID_ERP), as below, why the separate parameter that the method?

    Note that I try the binding WSDL SOAP UI and its ok and works as expected.

    1.png

    Resolved by changing the typesList.add (Object.class) at typesList.add (GenericType.class)

  • How a value is to consider the change of dblink to the web service?

    Implementation of SOA and OSB, how a value is to consider the change of dblink to the web service?

    Where I work, there are a large number of dblink between databases. Some dblinks are intended to be the way to load the immense amount of data while others exist only to simple queries.
    I wonder if it might be better to use web services as dblink. In principle, I think that simple queries may be suitable as a web service to improve reuse and governance but I find web service not apropriated for loads of data.
    Obviously, the decision is more complex that just think tecnology. Despite this, it will be useful to hear if there are people around the world think about change dblinks to web services the same load so heavy querys with a small amount of data to be trafficked and this as the principles, models or reasons behind this decision.
    Basically, we are implementing SOA and OSB and I'm looking for the best I can to rethink the way we used to do it so far. I heard from a friend of mine that we must avoid using dblinks and use only the web services. This seems strange to me because I wonder what level of overloading by the net, that we will face. Could someone give your personal opinion or propose an article? There are some pros and cons, formerly on this review?

    966355 wrote:
    My question is: wouldn't I tend to turn the worst of communication when I change the dblink in scenario 1 and even more terribly worse in scenario 2?

    Yes, this is a drawback... You can't get better performance by adding more load, unless you bring better infrastructure...

    One more detail: in scenario 1, there is a high probability to be reused by other systems.

    It is one of the beneficial results you have to weight against your disadvantages...

    In scenario 2, it is not reused, but we need to audit and traceability of the integrations like this.

    This scenario looks more like ETL integration... It's a bulk data loading, you can take a look at ODI - Oracle Data Integrator (ODI is also part of the Fusion Middleware)

    In my view, the main issue is to have systems so closely coupled... Systems get older, they get out of support, seller will declare a version is end-of-life, then you need to update. The system vendor has don't might not mind system B accesses its internal tables, but if they decide to change the internal database on the next version, they do... And then you're stuck with the vendor and version...

    I hope this helps...

    See you soon,.
    Vlad

  • 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

  • Data control for the Web Service based filter table adf only appear not

    I have a SOAP web service I'm consumption as a web service data control.

    When I use one of the results of the web service through data to the web service in the form of a table control in the user interface with the filter and sort, I don't see the filters on the top of the table.

    It comes to JDeveloper version 11.1.1.7.

    Please let me know if anyone has an idea on this issue.

    TIA

    ABS

    You need connect your own logic on the filtering table.

    The table doesn't actually do the filter - it does, is the data control to filter the info - for a Web service we do not know how it will actually make a sort-, so you'll need to add a filterListener on the table and call a WS that will be returned the filtered data method.

  • How to change IP address of the web service proxy.

    Hello

    I created an AppModule and expose as a serviceInterface. I deployed this project in the server and then created the Web service proxy by giving the IP address of the server in WSDL.

    Now I have deployed the same application in different server and manually change the IP address of the proxy Web service methods. But he's still point to the previous server.

    I don't want to regenerate the web service proxy. Is it possible to manually change the IP address in the generated Web proxy service method? Or I have to regenerate their?

    Thank you
    Rohit

    chk
    Configure endpoint URL in WebService DataControl and Proxy

  • Need assistance for consumption by the Web Service

    I'm dipping my toe in the world of the web service and I have Oracle web service I'm trying to eat. It does not work as I thought, so pointers are appreciated.

    Here is the cfinvoke code...

    < cfinvoke
    " webservice =" http://erpintsrv1-dc-aus:7777/arWs/arWsSoapHttpPort? WSDL" «
    method = "customerXML".
    returnvariable = "a_customerXMLResponseElement" >
    < name cfinvokeargument = 'settings' value = "123456" / >
    < / cfinvoke >

    < cfdump var = "#a_customerXMLResponseElement #" >

    Here's the result...

    dump.jpg

    Here is the result of the Oracle interface...

    < env:Envelope
    xmlns:env="""" "http://schemas.xmlsoap.org/soap/envelope/"
    containing="""" "http://www.w3.org/2001/XMLSchema"
    xmlns: xsi=""http://www.w3.org/2001/XMLSchema-instance"" " "
    xmlns:ns0="""http://xxas/integration/arws/ArWs.wsdl/types/""">
    < env:Body >
    < ns0:customerXMLResponseElement >
    < result >
    < rowset >
    < LINE
    num="1">
    < CUSTOMER_NUMBER > 123456 < / CUSTOMER_NUMBER >
    < CUSTOMER > MOUNTAIN BUILDING SUPPLY, INC. #8228< / CUSTOMER >
    < Platform >500< / platform >
    < / ROW >
    < / LINES >
    < / result >
    < / ns0:customerXMLResponseElement >
    < / env:Body >
    < / env:Envelope >

    My thought was once I called the web service and it thrown into the page, I see the above information (customer name, platform, etc.).  Instead, I seem to get the names of classes in java, methods, etc. Thoughts?

    I would use Xpath function XMLSearch CF to search for in the outcome document and pull for the data you need.  See an example of a base below.  If this example does not take your needs please let me know.

    For an overview of Xpath, see http://msdn.microsoft.com/en-us/library/ms256115.aspx



       
            
                 
                       019889

                       MOUNTAIN BUILDING SUPPLY, INC. #8228
                       500
                 
            
       



       
       
       


       
       
    Client found
       
    Customer not found
       

  • Update the password for the Web service fails

    Hello

    OIM 11 g R2 (11.1.2.2) does not update the user password using the web services (version 11.1) connector.

    Following Oracle instructions described in http://docs.oracle.com/cd/E22999_01/doc.111/e38352/extnd_func.htm#CIHHJCHA

    In fact, it works in a test environment.

    Caused by: org.identityconnectors.framework.common.exceptions.ConnectorException: org.identityconnectors.framework.common.exceptions.ConnectorException: java.lang.IllegalArgumentException: invalid combination of offset/length

    at org.identityconnectors.genericws.utils.EncryptionUtil.encrypt(EncryptionUtil.java:81)

    at org.identityconnectors.genericws.utils.ConversionUtil.typeCast(ConversionUtil.java:247)

    at org.identityconnectors.genericws.GenericWSConnector.update(GenericWSConnector.java:387)

    ... more than 224

    Caused by: org.identityconnectors.framework.common.exceptions.ConnectorException: java.lang.IllegalArgumentException: invalid offset/length combination

    at org.identityconnectors.genericws.utils.EncryptionUtil.deriveKey(EncryptionUtil.java:100)

    at org.identityconnectors.genericws.utils.EncryptionUtil.initializeCipher(EncryptionUtil.java:108)

    at org.identityconnectors.genericws.utils.EncryptionUtil.encrypt(EncryptionUtil.java:59)

    ... more than 226

    Caused by: java.lang.IllegalArgumentException: invalid offset/length combination

    to javax.crypto.spec.SecretKeySpec. < init > (SecretKeySpec.java:148)

    at org.identityconnectors.genericws.utils.EncryptionUtil.deriveKey(EncryptionUtil.java:98)

    ... more than 228

    Enjoy your valuable advice!

    Best regards

    JD

    Resolved:

    Problem solved in reconfiguring connector WS with files bundle good connector - apparently, jars of installation used was not the last!

  • URL of the Web Service, LV2013 vs LV2012 length limits

    (* CROSS POST: http://lavag.org/topic/18435-web-service-url-length-limits-lv2013-vs-lv2012/ *)

    (* Please answer in this forum.  I scored the other thread for responses here. *)

    A that someone noticed a reduction in the limit on the length of the URL for the Web Services between the versions of LV 2012 and 2013?

    Under LV2012, a RESTful web service seems to accept URLS with lengths at least as long as 4096 characters.  With LV2013, the maximum length of URL seems to be 511 characters for RESTful web services as the project item. Unfortunately for me the project, I have converted just travel on this issue. My goal with posting this request here is my understanding of this limitation before deciding the best way to modify my code.  Certainly using POST instead of GET with a long URL is an option, but again, I am looking to understand the change in limitation before choosing a solution.

    To illustrate, I enclose three projects for the most part identical, demonstrating the issue.  In each case, the project contains a webservice consisting of a single VI, 'ComputeLength', which takes a string as an input parameter and that returns the length of the string.  The three projects are the following.

    1 LV2012 RESTful WebService.

    2 LV2013 RESTful WebService.

    3 LV2013 article project web service.

    The web service contains a single VI.  For the relaxing examples, the web service is started by selecting deploy menu of right-click Build specification.  For the example of project item, the web service is started by selecting start in right click menu position of work/WebService. The use of this example is shown with the following URL:

    (Note that the port is 8080 for both relaxing examples and 8001 for the project web service point if used in debug mode, which is the default value for the statement above.)

    http://localhost: 8080/webservice/computelength? string = 1234567890

    And the output looks like this.

    Workaround.  Apparently from 2013 of LV, there is a default limit of 512 to the length of the URL.  The default limit can be overridden as described below.

    Martin

    He is Brian in the technique of applications for National Instruments. I am following up about the 511 character limit in your Web Service HTTP request after the port number. After some research, I realized that the problem is related to a web site by default, the setting of the server called "LimitUri", which limits the maximum length of a URL. The default is 512 characters long that's why we are seeing this problem.

    There are several ways to modify the URL length limit depending on how you use your web service. If you publish the web service using the Application Web Server can change "C:\Program Files (x 86) \National WebServer\NIWebAppServer.conf" and add "LimitUri 4096" at the end of the file without the quotes.

    If you run the Debug Web server simply by clicking start on the web service, and then change "C:\Program Files (x 86) \National 2013\resource\webserver\niwsdebugserver.conf" and add "LimitUri 4096" at the end of the file without the quotes.

  • deploy the web service to xp embedded

    Hi all

    I struggle to run a web service on an xp embedded system. The web service works very well in my LV 2011 development environment and I have created an installer for my main application it is the lvws file is included as described in web services FAQ:

    http://zone.NI.com/DevZone/CDA/tut/p/ID/7747#toc12

    After the installation on the target computer, I can't access the web service. Also if you call localhost:3580, then I get an access error.

    But in the System Control Panel administrative tools, I can see that the server system OR like many Web server OR Web applications are started.

    For further investigation, I added the 'Distributed System Manager' to my Installer. With this tool, I see that all my web services deployed on my development system, but on the XP embedded system with TEN target is listed.

    I installed my application for a professional reference XP system to exclude that the problem is caused by embedded XP. But the behavior is exactly the same. So far, I tested only local so that settings security like firewalls and ports system should pose no problems. But to be sure I have disabled the firewall without success... I can't access the Web service. I have often found the suggestions in the forum to check if the web service is enabled. But I am not already and then access to http://localhost:3580.

    Any ideas?

    Thank you!

    This help document is somewhat outdated.

    You see 2 different problems: 1) you can not display the Configuration utility and do not install Web using localhost:3580 2) your web service monitoring.

    For the first number-->

    You probably did not understand the "Interface Web NI 2011 infrastructure" in your Setup program.  The doc to help you mentioned does not tell you to do, because it is not necessary for your web service works. However, if you want to change one of the settings of your web server after the installation, you will need this extra setup program.

    For the second question-->

    You probably didn't get your Spec to build Web services as a source file in your Setup program.  The help doc says to put your LVWS file as your installation source, but this is not correct. You must include the technical article to build real web service as a source file (not the web service create out of spec files, like LVWS).

    Let me know if any of these will help you.

    -Jared

  • two-way communication with the web service

    I need help with a problem with web services on 8.6.  I do not know if this is possible.

    I have a web service that works very well.  At this point all it defines a Boolean value.

    For the test, I'm just using IE to see the data.  This works.  I can see the Boolean value change each time I send a 0 or 1 value through the URL.

    My problem is this: when I change the Boolean value, I can't read the value of another application of IE.  In other words, I want to be able to open IE twice in two different windows.  When I change a value of an Internet Explorer session, I want to see the value changes in the other session of IE (after refresh).  From now on, it seems that each session of Internet Explorer is a separate instance of the web service.  How can I edit a Boolean value, and read this variation by another IE session?

    My cause is hopeless?  Are web services 'read only '?  Any help would be appreciated.

    Bad form for the double post but the forum wouldn't let me edit my post:

    This VI is a good example of a global LabVIEW 2 style. The registry value at offset uninitialized loop will be persist appealed to the other of this VI. So when the game is true the value of data is stored in the shift register. When all is false the value of the shift register is returned unchanged. Make sure you have 'Keep VI in memory' checked in the configuration of your web service.

    You could do the same thing without parameters selected using two screws separated

  • By using the web service ActionsService to load the account data

    Hello

    We are looking to automate the loading data of an EPM - HFM Application accounts.

    We wre able to charge through the front-end server. About Automation, we were able to configure GOSA strategies for the web service, create the native user in console weblogic and import and use the public key of client web service proxy.

    The URL of the wsdl file that we ask is http://192.168.50.21:7363 / oracle-EMP-fm-Web services/ActionsService? wsdl

    The method we are trying to call is iActionsService.loadData ("clustername", "name the Application", "E:\\testpad\\Hyperion\\data\\DATA.txt", null, ",", DataLoadMode.MERGE, false, false);

    The errors below are found in the file log immediately after the race. Please help us find what needs to be done in the setting of these errors. Are we sending the right params to the web service?

    Do we still need to make other changes to weblogic/em to make this work? Please suggest.

    Oracle EPM-edition of Fusion

    version - 11.1.2.4.0.79

    Thank you and best regards,

    Guna

    Newspapers, we find that

    We might be able to connect to the application - Session is created with the Session id: 5e95de6f-e828-4121-8765-36c186e72355

    An unexpected error has occurred-

    oracle.epm.fm.common.exception.HFMException: EPMHFM-65536: an unexpected error has occurred.

    at oracle.epm.fm.common.exception.ExceptionHelper.handleException(ExceptionHelper.java:45)

    at oracle.epm.fm.domainobject.loadextract.LoadExtractOM.loadData(LoadExtractOM.java:281)

    Error EPMHFM-65925

    java.lang.NullPointerException

    at org.apache.thrift.protocol.TCompactProtocol.writeString(TCompactProtocol.java:325)

    at oracle.epm.fm.thrift.protocol.TMultiplexedProtocol.writeString(TMultiplexedProtocol.java:112)

    to oracle.epm.fm.common.service.loadextract.LoadExtractHandlerService$ loadData_args$ loadData_argsStandardScheme.write(LoadExtractHandlerService.java:10236)

    to oracle.epm.fm.common.service.loadextract.LoadExtractHandlerService$ loadData_args$ loadData_argsStandardScheme.write(LoadExtractHandlerService.java:10152)

    to oracle.epm.fm.common.service.loadextract.LoadExtractHandlerService$ loadData_args.write(LoadExtractHandlerService.java:10087)

    at org.apache.thrift.TServiceClient.sendBase(TServiceClient.java:63)

    to oracle.epm.fm.common.service.loadextract.LoadExtractHandlerService$ Client.send_loadData (LoadExtractHandlerService.java:639)

    to oracle.epm.fm.common.service.loadextract.LoadExtractHandlerService$ Client.loadData (LoadExtractHandlerService.java:629)

    at oracle.epm.fm.domainobject.loadextract.LoadExtractOM.loadData(LoadExtractOM.java:269)

    at oracle.epm.fm.actions.LoadDataAction.execute(LoadDataAction.java:100)

    at oracle.epm.webservices.fm.ActionsService.LoadData(ActionsService.java:315)

    at sun.reflect.NativeMethodAccessorImpl.invoke0 (Native Method)

    Post edited by: 2837182

    Got it working now.

    Case of a brain freeze. The data file must be located on the server.

  • Access to the Web Service API

    Hello

    I try to access a web page API in the APEX, but still get an error in the ACL.  I tried everything I can think of as well as the multitude of usual information "bits and pieces", which I found on the web.

    USER who needs access to the ACL and the fact that it is an https site makes a difference for settings?

    I can return data from SqlPlus without problem.

    FOR INFO.

    Oracle 11g

    APEX 5

    W2008.

    Pointers would be appreciated!

    Thank you

    Hi Samuistu,

    Samuistu wrote:

    Basically, what I want to do is to download data in a table to a Web site.  A good example of the type of data is here https://www.cryptopia.co.nz/api/GetCurrencies

    Is it possible to get this data into a table that contains the Id column headers, name, etc. of symbol.

    Assuming that you have a table as follows:

    create table crypt_currencies (
      id number,
      name varchar2(128),
      symbol varchar2(8),
      algorithm varchar2(128)
    );
    

    Finally with regard to the features to get the web service data and insert them in the table, for that you can do something like this:

    declare 
    
        l_response clob;
        l_values apex_json.t_values;
        l_data_count integer;
        l_crypt_curr_rec crypt_currencies%rowtype;
    
    begin 
    
        l_response := apex_web_service.make_rest_request (
                            p_url          => 'https://www.cryptopia.co.nz/api/GetCurrencies',
                            p_http_method  => 'GET',
                            p_wallet_path  => 'file:path/to/oracle/wallet',
                            p_wallet_pwd  => 'password' );
    
        apex_json.parse (
            p_values => l_values,
            p_source => l_response );
    
        if apex_json.get_boolean (
              p_values => l_values,
              p_path  => 'Success' ) then
            dbms_output.put_line('Success --> true');
        end if;
    
        dbms_output.put_line ( 'Data Members Count --> '||
                                apex_json.get_count (
                                    p_values => l_values,
                                    p_path  => 'Data' )
                              );
    
        l_data_count := apex_json.get_count (
                            p_values => l_values,
                            p_path  => 'Data' );
    
        for i in 1 .. l_data_count loop
    
            l_crypt_curr_rec := null;
    
            dbms_output.put_line ( 'Id --> '||
                                apex_json.get_number (
                                    p_values => l_values,
                                    p_path  => 'Data[%d].Id',
                                    p0      => i )
                                ||', '||
                                'Name --> '||
                                apex_json.get_varchar2 (
                                    p_values => l_values,
                                    p_path  => 'Data[%d].Name',
                                    p0      => i )
                                ||', '||
                                'Symbol --> '||
                                apex_json.get_varchar2 (
                                    p_values => l_values,
                                    p_path  => 'Data[%d].Symbol',
                                    p0      => i )
                                ||', '||
                                'Algorithm --> '||
                                apex_json.get_varchar2 (
                                    p_values => l_values,
                                    p_path  => 'Data[%d].Algorithm',
                                    p0      => i )
                              );
    
            l_crypt_curr_rec.id := apex_json.get_number (
                                      p_values => l_values,
                                      p_path  => 'Data[%d].Id',
                                      p0      => i );
    
            l_crypt_curr_rec.name := apex_json.get_varchar2 (
                                      p_values => l_values,
                                      p_path  => 'Data[%d].Name',
                                      p0      => i );
    
            l_crypt_curr_rec.symbol := apex_json.get_varchar2 (
                                      p_values => l_values,
                                      p_path  => 'Data[%d].Symbol',
                                      p0      => i );
    
            l_crypt_curr_rec.algorithm := apex_json.get_varchar2 (
                                      p_values => l_values,
                                      p_path  => 'Data[%d].Algorithm',
                                      p0      => i );
    
            insert into crypt_currencies
                values l_crypt_curr_rec;
    
        end loop;
    
    end;
    

    NOTE:

    • The code above is for purposes of example, if you use it make the necessary changes.
    • Dbms_output calls are given for the purpose of debugging. You can remove that in the actual code.

    I hope this helps!

    Kind regards

    Kiran

  • air application connects to the web service although swf don't

    Hey there,

    I will try and be brief. We built a kiosk application in flash builder a pure as3 project. When we went to convert it into an air application all seems fine except for two issues. one is that we cannot use the Security.allowDomain("*"); Tagus. not much we comment on this possibility, but when we do we cannot connect to the web service that we use. Here is the error msg that we get:

    URL http://api.macys.com/v2/catalog/product?prodid=559529 & prodid = 586262 & prodid = 442702 & prodid = 5 39030 & prodid = 444331 & prodid = 593389 & prodid = 102435 & prodid = 519743 & prodid = 357571 & prodid = 128285 & prodid = 407708 & prodid = 209799 & prodid = 417917 & prodid = 498705 & prodid = 131858 & prodid = 597478 & prodid = 142166 & prodid = 470687 & prodid = 584020 & prodid = 167015 & prodid = 75190 & prodid = 432111 & prodid = 481224 & prodid = 549755 & prodid = 483429 & prodid = 414178 & prodid = 596422 & prodid = 385591 & prodid = 226280 & d = 142163 prodi

    ioErrorHandler: errorProductId: WebApplicationException

    ioErrorHandler: currentTarget: Error #2032: error in workflow. URL: http://api.macys.com/v2/catalog/product?prodid=559529 & prodid = 586262 & prodid = 442702 & prodid = 5 39030 & prodid = 444331 & prodid = 593389 & prodid = 102435 & prodid = 519743 & prodid = 357571 & prodid = 128285 & prodid = 407708 & prodid = 209799 & prodid = 417917 & prodid = 498705 & prodid = 131858 & prodid = 597478 & prodid = 142166 & prodid = 470687 & prodid = 584020 & prodid = 167015 & prodid = 75190 & prodid = 432111 & prodid = 481224 & prodid = 549755 & prodid =. 483429 & prodid = 414178 & prodid = 596422 & prodid = 385591 & prodid = 226280 & d = 142163 prodi

    Here is the error of charles:

    < error >

    < > 103 errorCode < / errorCode >

    types of arguments < message > Incorrect or combination < / message >

    < errorDetail > WebApplicationException() < / errorDetail >

    false < success > < / success >

    < / error >

    now, if we run just the swf file it connects very well. the only reason I need this app to be in a wrapper of the air is so that I can remove the print dialog box. otherwise, I'd create just an exe file.

    any ideas would be great!

    Thank you

    OK, found the problem!

    When we built the as3 project and we implement web service calls, we used post from get we caused problems. We have been connecting to a service of qa so that may have something to do with it. In all cases, we have changed the headers in the air application to get and it seems to work fine. Why would he works in the SWF and not the air who knows, but there are go!

    Thank you

    Jorge

  • Authentication customized using the Web Service construction

    Our requirement is that we want to create an application that uses the web service for authentication. How is it possible. A how to do this will help.
    We create a Web Service with an applicationLogin method that takes the user name and password input and returns true or false. I want to use this web service to authenticate the application connection.

    Hello

    Ok.
    Can you check Home > Application Builder > application 100 > shared components > authentication schemes > change the authentication scheme
    in the select field Invalid Page Session list
    what page 2.
    Check this page 101 a: APP_USER filled when you browse it.

    It seems that you have created a reference to Web Service manually by copy - paste SOAP envelope?
    And region of SOAP response with field response Collection store
    When you create a Web service reference with the location of the WSDL document, you are not asked for the name of the collection.
    Only when you create processes on submit type Web service on page 101, there is an option to use the collection or the item.

    And if you manually create the Web service, it seems that you cannot choose between the collection and the element, you should use the collection that you specified during the creation of reference.

    Anyway, you can use the collection to this approach to page dummy connection since: APP_USER is populated by anyone on page 101.

    I updated most of the page and creates a Web service reference manually the SOAP envelope (from the same Web service)
    and put the second region with the result. Collection is specified in a Web service reference.

    I hope that will solve your problem.

    Kind regards
    Oleg

Maybe you are looking for