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

Tags: NI Software

Similar Questions

  • Deploy the web service on ARM processor

    Is it possible to deploy a web service on an ARM processor with LabVIEW ARM module?  If this is not the case, a web server for an ARM processor has been done in before LabVIEW?  Is there an example of code out there?  Thank you.

    skryger,

    From LabVIEW for ARM 2009, there is no way pre-constructed to deploy a web service on an ARM processor.  (The only options in accordance with the specifications of construction are Application, Source Distribution and the Zip file.)  Of course, who does not eliminate the possibility of building one yourself.  Maybe someone from the community can develop more if this was done.

    Kevin S.

    Technical sales engineer

    National Instruments

  • How to deploy the web service PAPI

    I am new to OBPM.
    I use BPM studio 10.3 to create processes.
    I set the preferences of the engine "from PAPI web services." This works.
    But I do not know how to deploy them to web services PAPI since the BPM web service console shows that no service is deployed.

    Please tell me how to deploy BPM processes.

    Thank you very much

    Published by: YE on March 27, 2009 09:58

    To expose processes that Webservice, please follow the steps below.
    Just click on process--> select process Webservice then it will open a new window, and then specify the name of the corresponding input parameter Web service method.

    Then build the application and test the service by clicking on the icon LaunchDeployedWebServiceswebapp in Eclipse, it will open the new window, it contains information about Web service, URL endpoint to access the WSDL Style HTTP WS, WS-Security authentication basic authentication.

    Thank you best regards &,.
    M.Kumaraswamy.

  • Deploy the Web service client application

    I built a webservice client in FB3. It works very well in FB3. I can also run by referring to the SWF directly in the file
    Directory - bin-debug (not in the FB3) and it works very well also.

    Now, I copied the directory bin-debug outside the workspace of FB3 and evokes the swf file. "This time I got errors when accessing the webservice server:"Error of security to access the url"faultCode ="Channel.Security.Error"faultDetail =" Destination: DefaultHTTP '...

    Why I run the swf file when it is in the FB3 workspace and can't when it is out of the workspace?

    Also, I did the Release version and run the swf file in the bin-release directory. He gave me the same error messages when I ran in FB3.

    Am I missing some configurations?

    FlexBuilder installed in a trusted location. It can access anything whatsoever. That's nice for development, but cause a lot of grief the first time you deploy an application.

    This crossdomain isn't enough for FP9, especailly with WebService. There are several other parameters need to be defined. Here's what I have:

    http://www.Macromedia.com/XML/DTDs/cross-domain-policy.DTD">





    Tracy

  • Error SSE2 optimization in the deployment of Web Services

    I'm migrating from 2010 to 2011 SP1 web service [because web services 2010 SP1 were buggy]. At first, I could build and deploy the code very well. Now, I get the following deployment error:

    LabVIEW error: (Hex 0xFFFEFA45) LabVIEW Web Services: call to create a VI reference failed. The target does not support SSE2 optimization. Disable SSE2 optimization in the Advanced dialog box of the Web Service Properties page before continuing.

    Based on the online documentation, my hardware can support SSE2 - but no matter, I disabled it anyway. The error message persists. This message means anything this SSE2 optimization is enabled and is not supported? Based on the text of the error, it seems that turning off optimization should probably fix the problem...


  • The deployment of Web Services custom R12

    Please let me know how to deploy the custom web services of R12. We have not installed in our instance of Oracle Enterprise Manager.

    Thank you

    You really need a manager of the company. You can install EM from the SOA Suite CD simply select the j2ee option not Suite SOA full blown.

    Not sure what you mean by R12, is this e-Business Suite. Web services must be installed on the same application server as the e-Business Suite, it can be installed in any oc4j / j2ee application server. If it's e-Business Suite, the application server will probably need connectivity to the e-Business Suite.

    You want the Web service for you do generally use adapters supplied for eBusiness Suite integration.

    see you soon
    James

  • deployment of web services on a remote computer

    Hello

    Which is the best way and quick to deploy Web services for user WEB interface Builder on a remote computer, where there is no development, but only LV runtime environment?

    (in the case that I have to frequently change the vi that I use to create Web service and deploy it to a remote computer)

    Is it necessary to create an installer with included WS? Is always necessary in LV2012 to use labview.ini and niwebserver.conf to the webservices to run on the remote computer, as it is written on the following knowledge about LV2009 book?

    http://digital.NI.com/public.nsf/allkb/62B9C2D5C91EE8B28625778800609FF2

    I noticed that there is in the folder:

    C:\ProgramData\National Instruments\WebServices\aws

    the webservice is deployed with the screws that are used to operate.

    Is not possible to copy only the VI in this folder when I modify the vi used by the Web service, instead of doing each time the program installation and the whole procedure on the knowledge that I linked above?

    Thank you very much

    Steven

    Hi Steven,

    The best way to install a Web Service on a remote computer is to use an installer.  The reason being that the Web Service will be compiled and the installer will place the screws have respected and associated configuration files in the right place. If you were to put a VI from the development environment in the folder of aws would not correctly.  Any process other than the installer is also considered not supported by OR.

  • The Web Service of LabVIEW error on restores model ESP

    Hello

    I was hoping that people would be able to help with the following problem:

    I'm currently on the Page Embedded Server (ESP), functionality of the LabVIEW webservices script and keep receiveing an error when you try to view a page.

    I think I put in place the Manager HTTP queries properly - buffered stream with headers

    The correct model is located and used as the page reaches the insertion point variable esp.

    I find that the AddressBook example works fine, unless I try and add an additional variable to the model, then the same error occurs.

    I have attached a sample project which shows the same behavior, and the error is less.

    Tested on LabVIEW 2014 (14.0.1 SP1) 32-bit on 64-bit Windows 7.

    See you soon

    John

    *****************************************************************************************************

    Error-67035 occurred at .vi NI_WebServices.lvlib:Error Converter (ErrCode or status)

    Possible reasons:

    LabVIEW: The Services Web of LabVIEW (Hex 0xFFFEFA25): error in the ESP.

    «"" "String of full appeal:»»"»
    NI_WebServices.lvlib:Error Converter (ErrCode or status) .vi
    NI_WebServices.lvlib:Web Request.lvclass:Render ESP Template.vi
    Test.VI
    Test.vi.ProxyCaller

    *****************************************************************************************************

    Hi John_Neutron,

    I worked on your code today and we managed to reproduce and to fix the error you saw.

    The Web service name ESP file and rendering the page, but it throws the error because the variable you are trying to set was not properly declared. We managed to make the error go away by changing the file text with Notepad like this ESP.

    --------------------------
    <%
    //This is a server side comment
    // Variables:
    var myvariable;
    //
    %>


    This is the test pattern



    It's the body:

    Here's the varaiable


    Variable: @@myvariable


    ---------------------------

    Before, you had / / in front of the variable (making a comment) and you don't have "var" to tell him you have said anything (it's all in the 4th line). Without the appropriate statement, the code generates an error when it is called.

    Vsenior

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

  • Deployment of Web Services has failed. Web applications server OR still load.

    I installed LabVIEW 2013 and I am trying to publish the web service. Every time I try, I see this message: "unable to Web Services deployment. The Server Web applications OR load again. »

    I don't know how to stop or complete this loading. I have reinstalled LabVIEW 2013, removed LV 2012 and other software. In addition, when I restart the 32-bit server, I have old web services installed. Even if I do not publish them, they appear after the transition to 64-bit-> 32-bit server.

    I will be grateful for your help.

    Peter

    Hi all

    It was a problem introduced with the new deployment of LabVIEW web services in 2013, specifically on laptops (classified as CAR 422680). It is fixed in the patch of f1 2013 LabVIEW. This patch is available for download here and you can get more information about the patches in the patch here. The patch will travel via Service Update OR later this month.

    Kind regards

    Jeff Peacock

    Product Support Engineer | LabVIEW R & D | National Instruments

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

  • How to get the IP address of the calling client to the web service built in Jdeveloper 11.1.1.7 application?

    I built an application of web service in Jdeveloper 11.1.1.7 to be used by other clients. Just the General steps as follows (Server web service Application is generated--> deployed on the server-> used by clients with the location of the WSDL file).

    Now, I met a requirement where I need to get the port number and IP address for the client.

    Questions :

    How to get the IP address of the calling client to the web service application generated in Jdeveloper?

    Commune technologies used to build web service applications is AXIS or CXF. What Jdeveloper technology use to built web service application?

    The common technologies used to build web service applications is AXIS or CXF. What Jdeveloper technology allows built web service application?

    It depends on the option selected during the creation of web services (if I remember correctly, there are several options, style J2EE 1.4 RPC style JavaEE JAX - WS 1.5,...)

    For example, to get the ip address of the compatible with jax - ws web service, you need to inject the context in your service class with:

    @Resource
    WebServiceContext wsContext;
    

    and then inside your method:

    MessageContext mc = wsContext.getMessageContext();
    HttpServletRequest req = (HttpServletRequest)mc.get(MessageContext.SERVLET_REQUEST);
    String ip = req.getRemoteAddr();
    

    Dario

  • Getting chain of fault in the Web Service response

    Hello

    I developed a Web Service and deployed to the Glassfish server. When I try to call the web service a few times I am getting following error
    <faultstring>String index out of range: 0</faultstring>
    What is the meaning of this? How to solve this problem?



    Kind regards
    Ajay Sharma

    Each cal with values that do not cause a chain index to be out of range or change the webservice to hear the case which causes this differently. Anyway the point of departure is to discover where in webservice String index is out of range.

  • 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

  • Fail to create the web service with the type of data defined by the user using the jwsc Ant task!

    Hello everyone!

    I used JAXWS to create WSDL from a file of Jehovah's witnesses.

    It's my TJ:
    -----------------------------------------------------------------------------------
    package ws;

    Import javax.jws.WebService;
    Import javax.jws.WebMethod;
    ws import. MyDataType;

    *@WebService*
    * public class MyWebService {*}
    public MyWebService()
    *{*
    *}*
    *@WebMethod*
    public MyDataType MyWebMethod (MyDataType mdt)
    *{*
    * / / mdt.setS ("I got it!"); *
    return mdt;
    *}*
    *}*
    -----------------------------------------------------------------------------------


    and this is my type of data:
    -----------------------------------------------------------------------------------
    package ws;

    * public class MyDataType {*}


    String ^ s;
    public MyDataType()
    *{*

    *}*
    * public String getS() {*}
    return s;
    *}*

    * Sets public Sub (String s) {*}
    This.s = s;
    *}*
    *}*
    -----------------------------------------------------------------------------------



    and that's my Ant build.xml
    -----------------------------------------------------------------------------------
    * < by default of the project = "all" > *.
    * < property name = "weblogic.jar.classpath" value="D:/Projects/bea103/wlserver_10.3/server/lib"/ > * "
    * < taskdef name = "jwsc" classname = "weblogic.wsee.tools.anttasks.JwscTask" > *.
    * < classpath > *.
    * < path id = "weblogic.classpath" > * "
    * < pathelement path = "WEBLOGIC_HOME" / >. *
    * < fileset dir = "${weblogic.jar.classpath}" > *.
    * < include name = "weblogic.jar" / > *.
    * < / fileset > *.
    * < / path > *.
    * < / classpath > *.
    * < / taskdef > *.
    * < target name = "all" depends = "clean, build-service" / > *.
    * < name target 'clean' = > *.
    * < delete dir = "output" / > *.
    * < / target > *.
    * < name target = 'build-service' > *.
    * <!-add jwsc and related tasks here - > *.
    * < jwsc srcdir = "" destdir = "wsoutput" > * "
    * < jws file = "MyWebService.java" type = "JAXWS" / > * "
    * < / jwsc > *.
    * < / target > *.
    * <!-< target name = "deploy" > - > <! - add wldeploy task here - > <!-< / target >-> *.
    * < / project > *.
    -----------------------------------------------------------------------------------

    I have run the Ant task, but I get this error:
    -----------------------------------------------------------------------------------
    BuildFile: build.xml

    clean:

    build service:
    [jwsc] TJ: processing module /MyWebService
    [jwsc] The analysis of source files
    [jwsc] The analysis of source files
    [jwsc] 1 TJS files processing for the module /MyWebService
    * [jwsc] [JAM] WARNING: could not resolve class MyDataType *.
    [jwsc] TJ: C:\Documents and Settings\samimi\IdeaProjects\SampleWebService\src\ws\MyWebService.java valid.
    [jwsc] Treatment of the web services JAX - WS 1...
    * [jwsc] error: couldn't get TypeDeclaration for: MyDataType apt tour: 1 *...
    ...................
    BUILD FAILED
    C:\Documents and Settings\samimi\IdeaProjects\SampleWebService\src\ws\build.xml:
    19: weblogic.wsee.tools.WsBuildException: JAX - WS web services processing error
    -----------------------------------------------------------------------------------

    Please help me solve this problem.
    Thank you
    Mojir

    I tried to compile your source code and received the same exception.
    However after compiling the MyDataType.java before running the jwsc task, I was successfully able to build the service.

    Please try the ant script below and let me know the result:

    **
    *     *
    *
    *



    <>
    srcdir = "${source.dir}" "

    DESTDIR = "${Build.dir} '"
    keepGenerated = 'true '.
    classpath = "${Class.Path} '"
    Debug = 'true '.
    verbose = "false" >

         


              

    Thank you
    Sandeep

Maybe you are looking for