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.

Tags: NI Software

Similar Questions

  • How to consume the web service using PLSQL in 11g

    Hello

    I created a site using jDeveloper, web services which when I put in the web browser and press enter, it will display the settings screen and when I pass the value for the parameter, and then it displays the output of the XML returned by the PL/SQL (called in the Web Service) package. Now, I want to call this webservice in PL/SQL and read XML data and fill in the staging table. Can anyone suggest me how to achieve this functionality by using Oracle PL/SQL

    I use the database 11g and jDeveloper Version :-Studio Edition version 10.1.3.0

    Thank you very much in advance.

    Vijay

    The WSDL file describes the web service.

    To obtain the WSDL, you enter the URL of the web service and add some ? WSDL to the URL. This indicates the web service to return to its definition.

    For example

    URL of the Web Service: http://wsf.cdyne.com/WeatherWS/Weather.asmx

    WSDL URL: http://wsf.cdyne.com/WeatherWS/Weather.asmx?WSDL

    When you read (using 'web browser' UTL_HTTPpackage) the XML response from the web service, read as strings (PL/SQL varchar2, size 32 K max).

    You should read the answer as the strings, then writing/writeappend these channels in a CLOB (using the DBMS_LOB package). If you are VERY sure that the web service call ALWAYS returns an XML of less than 32 k, you can skip using a CLOB.

    Whatever it is, read you the response from the web service in the form of text (such as plain text, it is what is sent). The next step on your part is to parse text into an XML DOM (document object model) - and storing the DOM in an Oracle XmlType variable.

    When in a DOM, you can use Oracle XML functions to extract the attributes and values of the key element of the response from the web service.

  • Cannot create the web service proxy in jdeveloper

    Hi all

    I'm unable to create a proxy web service by using the URL of the web service (https://domains.live.com/service/managedomain2.asmx?wsdl). I get an error saying "no WSDL not could be found. I am able to open the same URL in the browser. As the web service is secured by SSL, do I need to add anything on the jdeveloper to access this web service? Help, please


    Note: The web service must be called on https

    -MJ

    Hello

    The parameters are the proxy settings that are necessary for JDeveloper to connect to external sites - other than those available in the internal intranet.
    To connect to internet/external sites, you must have for this parameter. Here, as you try to connect to the external site - Windows live, you will need these settings.

    Thank you
    Nini

  • Error trying to generate the WSDL of the Web service in JDeveloper 11.1.1.3

    Hey,.
    Whenever I try to generate a WSDL for a Web service, I get the following stack trace:

    java.lang.NullPointerException
    at oracle.jdeveloper.webservices.model.java.JavaWebServiceValidator.getTypeReasons(JavaWebServiceValidator.java:882)
    at oracle.jdeveloper.webservices.model.java.JavaWebServiceValidator.getInvalidValueTypes(JavaWebServiceValidator.java:1060)
    at oracle.jdeveloper.webservices.model.java.JavaWebServiceValidator.getValidationErrors(JavaWebServiceValidator.java:241)
    at oracle.jdeveloper.webservices.model.CoreHashStructureModel.validate(CoreHashStructureModel.java:187)
    at oracle.jdeveloper.webservices.model.generator.Validation.action(Validation.java:65)
    at oracle.jdeveloper.webservices.model.generator.GeneratorAction.run(GeneratorAction.java:143)
    at java.lang.Thread.run(Thread.java:619)

    I am able to run this webservice via run and debug, and 'Test this webservice.' It's only when I try to generate the WSDL file in jdeveloper I get this message. I'm even able to display the WSDL file in the browser by adding? WSDL at the end of the url for the web service endpoint. Any ideas?

    It is very possible that @XmlSeeAlso is not the only annotation that is causing problems to the jdev wsdl generator.
    You can try to remove all the relevant annotations and then add them both just to see that one is problematic, but even if you do not find
    What is the cause of the problems, you will have to wait until the next jdev release and hope it is fixed.
    The best thing for you to do is to file a bug with the support of the Oracle, to ensure that they are aware.

    Pedja

  • 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

  • Problem with the web service call

    I use ajax with json to call webservice but its not working with the localhost url in the emulator of the ripple. If I use an ip address or external url does not call the webservice.

    I also tried with BlackBerry, webservice does not.

    can someone guide me how to call the Web service?

    Thank you

    Sundaram

    Your file config.xml needs the ip address or the url in the "whitelist".  Use the access for that tag.  for example:

    
    

    The piece above is not secure because it whitelists ALL------* areas.  You can put your url in the uri.

  • How to call the web service?

    Hello

    I want to know how to call the web service from my application HTML5 & javascript.

    Please help me find this detail as what I can access easily. and I want to access web services online (a method of it) I'm not concered with how background Web service takes place.

    I just want that when you call a web service method, I will return the result.

    Please try this out for a WebService call

    var xmlhttp;
    xmlhttp = new XMLHttpRequest();
    xmlhttp.open("get","your url",true);
    xmlhttp.setRequestHeader("Accept","application/json");
    xmlhttp.setRequestHeader("Content-type", "application/json");
    xmlhttp.onreadystatechange=function() {
     if (xmlhttp.readyState==4) {
      if (xmlhttp.status == 200) {
        console.log(xmlhttp.responseText);
      }
     }
    }
    xmlhttp.send();
    

    This will display the result of the invocation of webservice. The url is the application that you deploy and the type can be get/post. If xmlhttp.send (post) takes argument for the display of the data. You can call it by clicking a button in HTML.

  • 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.

  • Error downloading pdf application ADF using the Web Service & BI Publisher

    Hello

    I work with BI Publisher 11 g and JDeveloper 11.1.1.7. I get the error when clicking on the below download link.

    I tried the link below and to generate the report in my app, but after clicking view pdf button throw error.

    Antonis Antoniou blog: integration of Web Services in your ADF Application Part 2


    Basically, I want to download the PDF using the Web Service & BI Publisher pursuant to the ADF.

    Someone has encountered this problem before? You have all the solutions / suggestion?


    Thank you

    Swathi

    Have you tried to get the catalog via the service?

    As I said before, there you have catalog you to see you making the user you are using to connect has access.

    Have you tried to give the full url for the report? check out the blog I posted before where you see how to specify the full url.

    Timo

  • Error in creation of Control (SOAP) data to the Web Service in the ADF Mobile app

    Hi, I tried to create a Control (SOAP) Web Service data in a Mobile application of ADF in JDeveloper 11.1.2.4.0 under Mac OS X 10.8.5

    The application has been newly created (no features) and I tried to create a Web Service data control directly.

    In the 'Create Web Service data-> step 1 control', when I entered the URL of the WSDL and left the text box, the window "WSDL Document for reading" came and I got an error message saying "invalid WSDL URL.

    The error description is given below:

    Houston-29114 ADFContext is not configured to process this exception messages. Use the code of exception stack trace and error to investigate the root cause of this exception. Root cause error code is DCA-29000. Are parameters of error message ({0 = oracle.webservices.mdds.MddsException, 1 = java.io.InterruptedIOException: connection timed out})

    I have JDeveloper put 11.1.2.4.0 in place on a Windows 8 and follow the same steps with the same WSDL URL and he accepted the URL.

    Can anyone help on how to fix this problem as I want to develop on Mac.

    Hello

    We have solved the problem by asking the dev team to provide the file for the web service's .wsdl. We copied the file in the file system on the mac and then instead of provide the URL, inviting us to the wsdl file. Who does the work on the mac.

    We were able to put a URL as http://wsf.cdyne.com/WeatherWS/Weather.asmx?WSDL (a non-secure web service) and the wizard to create the Web Service data control accepted the URL on the mac. Can be to secure web services, we have the .wsdl himself file. (the web service that we were trying to access was on EBS and was a secure web service)

  • How to create a generic method that calls the Web Service

    Hi I have a question how to create the Web Service client. In design mode, I can't specify static URLs? WSDL and process.

    I found the briliant method in library of apache cxf.

    for example

    DCF JaxWsDynamicClientFactory = JaxWsDynamicClientFactory.newInstance ();
    Customer customer = dcf.createClient ("http://soabpm-vm:8001 / soa-infra/services/default/MailSender/mailsender_client_ep?") WSDL");

    Object [] results;
    try {}
    Results = clientA.invoke (QName new ("http://xmlns.oracle.com/SynchDSBpel20/MailSender/MailSender", "process"), '@', 'body', 'subject');
    } catch (Exception e) {}


    In my case, I should create a method with params (URL? WSDL, URI, name of operation, param1, praram2, param3)


    Y at - it something like CXF in the ADF library?

    If your question has been answered, can you please mark as answer?
    THX
    Antonis

  • 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

  • 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

  • How can I fnd my claim code and the reprint of the web services information sheet

    Hi, I have a HP Deskjet 3520 and try to put in place the eprint.  I read the suggestions on the forum and the FAQ but I can't locate the web services information sheet I need to reprint for claim code.

    Could not find anything under Printer Control Panel either. Please advise!

    Thank you!!

    Hi Chris88,

    Welcome to the HP Support forums.  I appreciate that you try to configure the ePrint on your Deskjet 3520 printer feature.

    If you have the inkjet printer Deskjet 3520 with a C8994 product number this printer does not have the ePrint service.  The Deskjet 3520 printer only has USB connection and ePrint to function the printer must have an independent internet connection through a wireless or a wired ethernet network.  I've included the specifications of the printer for your reference.

    If you have the e-all-in-one printer Deskjet 3520 then we obtain the claim code.  You can request the information sheet of web services from the front panel of the printer, and there the claim code printed in blue. Instructions on how to get it can be found in the section titled "to print a document using ePrint' in your on page 15 user's guide.  Please follow the instructions in step 1.

    HP Deskjet 3520 inkjet printer specifications

    User's Guide e-All-in-One Series HP Deskjet 3520

  • Impossible to activate the web services photosmart7515

    On the web services on my printer I get

    e-mail connection error

    ePrint connection error

    Web services connection error

    What can I do?

    Hi Catjoy36,

    Thanks for the reply.  It seems that we have to take steps more.  Follow the steps below, and once you complete the steps, then you can follow the steps above.

    1. go in the front panel of your printer.

    2. Select the icon wireless on your printer.

    3. Select settings.

    4. highlight and select restore default network settings.

    5. click OK to restore default values.

    6. now, select Wireless and go through the wireless configuration wizard.

    Let me know how it goes.

Maybe you are looking for

  • Yet Mini WT7-C-100 - how to boot from the boot of SD card

    Hello guys, I have toshiba still wt7-c-100 mini with 10 GB hard drive. My question is how I can install Android x 86 on this tablet, because when I attach my micro sd card (witch has an image burned to 4.4x86 android) does not appear in the start men

  • Is it possible to receive all the updates for Windows XP after re-installing?

    I realize that Microsoft no longer make new updates for Windows XP (form apart recent exception), but I was about to run a complete reset of my Windows XP Netbook when I thought to myself "I'll be able to get the updates?" So my question is just that

  • cannot turn off the Touchpad

    I use an external mouse on my tech Reference Dell computer Dell laptop (Inspiron E1505) has recently wiped my computer viruses, adware, cookies, etc.  Since then, my touchpad has been activated and I am unable to turn it off. I click on Control Panel

  • How do you avoid the port scan?

    How do you avoid the port scan, or how you define system to block the port scan?

  • problem with deleting some files

    I was download 2012 of Bitdefender total security, then there some proplem with windows 7 x 64, then I was the Help Center contact to resolve problems and they put some files in my computer, but it did not work well and 1 week before I changed my Bit