Web services deployment question

My employer has a deployment environment typically requiring an application
to be deployed in a multi-tier architecture (i.e. JSP/Servlets in one
cluster, EJBs in a second cluster). They do however have this one
application that requires a combined tier architecture and it is currently
deployed this way. This application will shortly have a small web services
layer added to it to support another application that needs information from
this application.
The IT staff that manage this environment wants to now create two clusters
for this application on the same hardware, cluster A would contain the
original application and be responsible for presentation and cluster two
would contain the second app plus the web services layer and be responsible
solely for handling web services. Their reasoning for doing so is that the
web services are not considered presentation and thus this should be
logically seperated. This seems strange to me, now your maintaining two
clusters with identical code bases, doing identical work with the only
difference being the entry point. There is no scalability advantage to two
clusters that I can see, just a lot of extra work to create a logical
seperation that isn't even real.
Before I go back to them I just want to be sure I'm not missing some obvious
reason why this would be a good idea.
Thanks,
George

Tim
You can change this behavior by passing notestconsole to the
startweblogic.cmd or by setting the testConsoleFlag variable to false in
the startweblogic.cmd script. Also testconsole is turned off by default for
all EAR files.
Please refer to the following document for more information on this
http://e-docs.bea.com/workshop/docs81/doc/en/workshop/reference/commands/cmdStartWebLogicCommand.html
Regards,
Raj Alagumalai
Backline Workshop Support
"Tim " <[email protected]> wrote in message
news:3f8af6cc$[email protected]..
>
How do you configure Workshop 8.1 to hide the Web Services test page fordeployment.
This question has been posted and answered, but the answer had to do withediting
the
web-service.xml file. Workshop does not deploy a web-service.xml file.

Similar Messages

  • Question concerning Web Service Deployment

    I have a question on web service deployment as it pertains to multi-client SAP systems.
    I created and deployed a web service in the client that is used for the development of client-independent objects. There are no issues when calling the web service following deployment.
    I am trying to use the same web service on the same SAP system, but on a different client. What is the proper way for accomplishing this? As of right now, the only way I've been able to do this is to open up the desired client and deploy the service again. I tried to take a transport and copy it to the other client using SCC1, but it failed since all the objects referred to client-independent objects.
    Below is the URL of the WSDL that was generated via SOAMANAGER.
    http://svr-sap05-dev.xxx.com:8010/sap/bc/srt/wsdl/bndg_DF2B9EDC2EA40CF1A9B7001CC4459012/wsdl11/allinone/ws_policy/document?sap-client=120
    Client 120 is the client used for development and is where the web service was created and deployed. I would like to use the same web service, but in a different client.
    I tried in changing the logon parameters of the web service using SICF, but the invocation failed. It only works if the client mentioned in the logon data matches the client specified in the URL.
    I am assuming that SAP builds the namespace of the web service using the client specified in the above URL. If this is the case, then I will have no choice but to deploy this service manually in the other client.
    Is something wrong being done or do I have to do the same deployment in the other client?
    Regards,
    Vince Castello

    In Netweaver 7.01 (with SOAMANAGER) you can no longer deploy webservices via STMS.
    You have to login in each client and create endpoints in each one.
    It's a pain, but SAP says it's too risky to implement the solution via STMS or something like that.
    There is a SAP note about this.

  • Error invoking web service deployed in SOA Suite

    I have implemented a stateful web service in Jdeveloper 10.1.3.2.
    I can test succesfully an operation of the web service from the embedeed oc4j of jdeveloper, but i can not succes when i try do the same from the application server control of soa suite.
    The response of the web service in the second case, is the xml of the request.I can not understand.
    I implemented a web service proxy in jdeveloper that invokes the web service deployed in soa suite.When i run it, it gives me an exception like this:
    unexpected element name: expected={http://orclproject/types/}doLoginResponseElement, actual={http://orclproject/types/}doLoginElement
         at oracle.j2ee.ws.common.encoding.literal.LiteralObjectSerializerBase.internalDeserialize(LiteralObjectSerializerBase.java:231)
         at oracle.j2ee.ws.common.encoding.literal.LiteralObjectSerializerBase.deserialize(LiteralObjectSerializerBase.java:159)
         at klient7.proxy.runtime.OrclLoginWSSoapHttp_Stub._deserialize_doLogin(OrclLoginWSSoapHttp_Stub.java:1022)
         at klient7.proxy.runtime.OrclLoginWSSoapHttp_Stub._readFirstBodyElement(OrclLoginWSSoapHttp_Stub.java:891)
         at oracle.j2ee.ws.client.StreamingSender._sendImpl(StreamingSender.java:333)
         at oracle.j2ee.ws.client.StreamingSender._send(StreamingSender.java:112)
         at klient7.proxy.runtime.OrclLoginWSSoapHttp_Stub.doLogin(OrclLoginWSSoapHttp_Stub.java:484)
         at orclproject.OrclLoginWSSoapHttpPortClient.doLogin(OrclLoginWSSoapHttpPortClient.java:65)
         at orclproject.OrclLoginWSSoapHttpPortClient.main(OrclLoginWSSoapHttpPortClient.java:28)
    where doLogin is the operation of the web service.
    any idea?
    thanks in advance...

    Hi,
    almost 8 months passed since this post, but if still actual then look at BUG: Request XML returned as response when result too large thread. It may be the same problem with large data sets.
    Regards,
    Patrik

  • Jdeveloper WS proxy error while invoking  web service deployed on weblogic

    Hello experts, can you please help me. I have web service deployed on weblogic server.
    I have not set any credential for this web service. I can test the service from SOAPUI without providing any credentials.
    Then I generated WS proxy client using Jdeveloper. When I try to run the client, I do not know why I get security execption (shown below) eventhough I have not secured the web service deployed on weblogic server.
    java.lang.SecurityException: keyStoreFilename is either null or empty string
         at weblogic.wsee.security.util.CertUtils.getCertificate(CertUtils.java:87)
         at pilot1.ContactWSPortTypePortClient.getBSTCredentialProvider(ContactWSPortTypePortClient.java:104)
         at pilot1.ContactWSPortTypePortClient.setPortCredentialProviderList(ContactWSPortTypePortClient.java:78)
         at pilot1.ContactWSPortTypePortClient.main(ContactWSPortTypePortClient.java:46)
    Process exited with exit code 0.
    Here is my client class :
    public static void main(String[] args) {
    try {
    contactWSService = new ContactWSService();
    ContactWSPortType contactWSPortType = contactWSService.getContactWSPortTypePort();
    Map<String, Object> requestContext = ((BindingProvider) contactWSPortType).getRequestContext();
    setPortCredentialProviderList(requestContext);
    // Add your code to call the desired methods.
    // QueryPageInputSecondPage qpisp= new QueryPageInputSecondPage(); //I have commented it in order to resolve security issue
    System.out.println("Inside the client class");
    } catch (Exception ex) {
    ex.printStackTrace();
    Inside the method setPortCredentialProviderList(), I have not provided any credentials, keystores etc. Because weblogic is not setup with SSL and also I have not set up any authorization or authentication for the web service. I do not know why I am able to test it through SOAPUI and why not using WS proxy.
    Appreciate your quick response.
    thanks a lot
    jyothi

    Hello experts, can you please help me. I have web service deployed on weblogic server.
    I have not set any credential for this web service. I can test the service from SOAPUI without providing any credentials.
    Then I generated WS proxy client using Jdeveloper. When I try to run the client, I do not know why I get security execption (shown below) eventhough I have not secured the web service deployed on weblogic server.
    java.lang.SecurityException: keyStoreFilename is either null or empty string
         at weblogic.wsee.security.util.CertUtils.getCertificate(CertUtils.java:87)
         at pilot1.ContactWSPortTypePortClient.getBSTCredentialProvider(ContactWSPortTypePortClient.java:104)
         at pilot1.ContactWSPortTypePortClient.setPortCredentialProviderList(ContactWSPortTypePortClient.java:78)
         at pilot1.ContactWSPortTypePortClient.main(ContactWSPortTypePortClient.java:46)
    Process exited with exit code 0.
    Here is my client class :
    public static void main(String[] args) {
    try {
    contactWSService = new ContactWSService();
    ContactWSPortType contactWSPortType = contactWSService.getContactWSPortTypePort();
    Map<String, Object> requestContext = ((BindingProvider) contactWSPortType).getRequestContext();
    setPortCredentialProviderList(requestContext);
    // Add your code to call the desired methods.
    // QueryPageInputSecondPage qpisp= new QueryPageInputSecondPage(); //I have commented it in order to resolve security issue
    System.out.println("Inside the client class");
    } catch (Exception ex) {
    ex.printStackTrace();
    Inside the method setPortCredentialProviderList(), I have not provided any credentials, keystores etc. Because weblogic is not setup with SSL and also I have not set up any authorization or authentication for the web service. I do not know why I am able to test it through SOAPUI and why not using WS proxy.
    Appreciate your quick response.
    thanks a lot
    jyothi

  • Problem generating stubs for Java EJB web service deployed in OAS

    I created an EJB web service and I've successfully deployed it in my Oracle App Server. Some of the methods work fine but others produce the ff error:
    org.apache.soap.SOAPException - java.lang.IllegalArgumentException: No Serializer found to serialize [classname] using encoding style [encoding]It seems that the objects specified as parameters in the web service methods exposed are the only ones that had stubs generated for them. Other objects I use, which are usually wrapped inside a Vector, did not have generated stubs.
    Example:
         public String loginUser(UserDTO userDTO) throws RemoteException, NamingException, SQLException;
    public String addItems (Vector vecItems) throws RemoteException, NamingException, SQLException; // where vecItems is a collection of ItemDTO objects     In this scenario, stubs were generated for the UserDTO class, but not for the ItemDTO class. In effect, calling the addItems method resulted to the exception I mentioned above.
    I did a workaround wherein I declared a dummy method which accepted all the types of objects I needed as parameters so all the necessary stubs can be generated, but this fix doesn't feel like it's the proper solution to my problem.
    If anyone can help me, it would be greatly appreciated. Thanks!

    Crossposted:
    Problem generating stubs for Java EJB web service deployed in OAS

  • BPM Studio call web service deployed by R12 Intergration Repository error

    Hi, I encountered a problem when calling a web service deployed by R12 Intergration Repository (SOA Gateway) w/ username/password authentication.
    It seems that the BPM Studio can not pass the security information to the web service. But using SoapUI it's quite easy to call the service with no error, just set the username and password, and set the password type to PasswordText.
    Under the External Resources catalog, I've set fileds in the Security tab with "Plain" Username Token, "sysadmin" Username and "sysadmin" Password, then changed the Authentication Type to "Username Token Profile". Then create a participant named sysadmin, and use this participant to run the process, but it just can't work.
    Anybody can help? My colleague also posted a topic here: processRemoteException when invoke  webservice from Oracle E-Business Suite but nobody answered. It would be very appreciated if sb. can fix this.

    I've encounter something similar to you're problem and it was resolved by manually creating the object using the web service constructor and inputting user credentials. If you manually instantiate your web service wrapper object and set a a security profile token, it may solve your problem. You can also pass in the web service endPoint URL, if you want.
    Fuego.WebServices.UsernameTokenProfileSecurityPolicy
    I'm not sure how to use UsernameTokenProfileSecurityPolicy, but try something like this:
    Fuego.WebServices.UsernameTokenProfileSecurityPolicy policy = UsernameTokenProfileSecurityPolicy();
    policy.username ="mark";
    policy.password = "password";
    tws = YourWebService();
    response = tws.callWebServiceMethod();
    I realize the security profile isn't tied anywhere to the web service, but try it anyway.
    There is also some fields on the webservice, tws.setRequestHeader() that may allow you to set the username and password on the request, but this doesn't make sense to me. It shouldn't be that hard.
    Edited by: Mark Peterson on Mar 19, 2010 9:14 AM
    Edited by: Mark Peterson on Mar 19, 2010 9:20 AM

  • External web services deployment

    Hi,
    I am facing a situation of web services deployment. I am using Jdeveloper 10g and oracle bpel process manager 10.1.3.1.0. I am not able to deploy web services. The following are the steps that I followed to consume that web service called web service called WeatherByCity from xmethods.net.
    Create new Application---> create new empty project( I named it 'projectgt') ----> new 'java web service from wsdl' from wsdl document url (http://ws.strikeiron.com/InnerGears/WeatherByCity2?WSDL ------------->
    --> In the default mapping options for Package Name I put 'projectgt' and root package for generated types I put 'projectgt.types'. All the other options are default. When I right click Webservices.deploy under resources and deploy to the application server, it says failed to deploy with the following message.
    ---- Deployment started. ---- Apr 21, 2006 5:00:07 AM
    Target platform is Standalone OC4J 10g 10.1.3 (AppServerConnection1).
    Wrote WAR file to D:\Application24\Projectgt\deploy\WebServices.war
    Wrote EAR file to D:\Application24\Projectgt\deploy\Application24-Projectgt-WS.ear
    Uploading file Application24-Projectgt-WS.ear ...
    Uploading file Application24-Projectgt-WS.ear ...
    Uploading file Application24-Projectgt-WS.ear ...
    Uploading file Application24-Projectgt-WS.ear ...
    Uploading file Application24-Projectgt-WS.ear ...
    Uploading file Application24-Projectgt-WS.ear ...
    Uploading file Application24-Projectgt-WS.ear ...
    Uploading file Application24-Projectgt-WS.ear ...
    Uploading file Application24-Projectgt-WS.ear ...
    Uploading file Application24-Projectgt-WS.ear ...
    Uploading file Application24-Projectgt-WS.ear ...
    Uploading file Application24-Projectgt-WS.ear ...
    Application Deployer for Application24-Projectgt-WS STARTS.
    Copy the archive to D:\product\10.1.3.1\OraBPEL_1\bpel\system\appserver\oc4j\j2ee\home\applications\Application24-Projectgt-WS.ear
    Initialize D:\product\10.1.3.1\OraBPEL_1\bpel\system\appserver\oc4j\j2ee\home\applications\Application24-Projectgt-WS.ear begins...
    Unpacking Application24-Projectgt-WS.ear
    Done unpacking Application24-Projectgt-WS.ear
    Unpacking WebServices.war
    Done unpacking WebServices.war
    Initialize D:\product\10.1.3.1\OraBPEL_1\bpel\system\appserver\oc4j\j2ee\home\applications\Application24-Projectgt-WS.ear ends...
    Starting application : Application24-Projectgt-WS
    Initializing ClassLoader(s)
    Initializing EJB container
    Loading connector(s)
    Starting up resource adapters
    Initializing EJB sessions
    Committing ClassLoader(s)
    Initialize WebServices begins...
    Initialize WebServices ends...
    Started application : Application24-Projectgt-WS
    Binding web application(s) to site default-web-site begins...
    Binding WebServices web-module for application Application24-Projectgt-WS to site default-web-site under context root Application24-Projectgt-context-root
    Operation failed with error:
    Error compiling :D:\product\10.1.3.1\OraBPEL_1\bpel\system\appserver\oc4j\j2ee\home\applications\Application24-Projectgt-WS\WebServices: Error instantiating compiler: Web service artifact generation failed:java.lang.NoClassDefFoundError: projectgt/types/com/strikeiron/ws/SubscriptionInfo
    Deployment failed
    Elapsed time for deployment: 26 seconds
    #### Deployment incomplete. #### Apr 21, 2006 5:00:32 AM
    I will be grateful for any response on this issue.
    Thankyou,
    Sagar

    As a matter of fact, I receiving a similar error for all other web services. Please let me know the error in my method of deployment

  • Web Service Deployment Exception

    Hi All,
    I have created a Stateless session bean in which i am accessing JPA entities.
    In my session bean I have two methodes and i exposed those methodes as web services. I deployed this ejb project into server and search for my web service in Web Service Navigator. I didn't find my web service. Then I observer server logs. It is throwing a Web Service Deployment exception.
    Code:
    @WebMethod(operationName="readChannel", exclude=false)
         public ReadChannelResMsg readChannel(@WebParam(name="readChannelReqMsg")
         ReadChannelReqMsg readChannelReqMsg) {
              ReadChannelResMsg readChannelResMsg=new ReadChannelResMsg();     
              readChannelResMsg.setChannel(channelDao.findById(readChannelReqMsg.getChannelId()));
              return readChannelResMsg;
    Exception:
    [ERROR CODE DPL.DS.5030] Clusterwide exception: [server ID 3324150:Exception occured during web services deployment. Unable to generate serialization framework for web service ProgramPlanWS, application hcl.com/longterm_plan_ear.
    -> class com.sun.xml.bind.v2.model.impl.RuntimeBuiltinLeafInfoImpl$5:library:jaxb20 [email protected] alive incompatible with class com.sun.xml.bind.v2.model.impl.ClassInfoImpl:library:jaxb20 [email protected] alive
    server ID 3324150:com.sap.engine.services.deploy.container.DeploymentException:
    Why this exception is coming and how can i resolve this issue?
    Thanks
    Sampath G

    Hi,
    the initial exception suggest
    After an upgrade from SAP NetWeaver release 2004 to SAP NetWeaver release 7.0, according to the new SAP security policy, the J2EE Engine administrator user may be prompted to change his or her password. The password is changed in the User Management Engine (UME).
    According to SAP security policy, the J2EE Engine administrator password must be changed every 90 days. The password is changed in the UME.
    However, SDM reads the J2EE Engine administrator password not from the UME, but from the secure storage instead. The J2EE Engine administrator password is not changed in the secure storage. For more information, see SAP Note 870445.
    and the possible Solution could  be
    Change the J2EE Engine administrator password in the secure storage
    Regards
    Manohar

  • Rt web services deployment failed

    I have a sbrio 9612 that I setup with an executable and web services.  I can get it to run great.  I then took an image of that one (using RAD) and deployed it to another sbrio 9612.  The web services don't work.  I then tried to deploy webservices the second sbrio with my project, and I came up with the error in the attached picture: Web Services Deployment Failed.  The NI Application Web Server is still loading.  
    All I can find about that is issues when deploying to a laptop with a wifi card, but nothing about that with a RT unit.
    Any thoughts?
    Thanks,
    Eric.
    Attachments:
    error.jpg ‏83 KB

    I have redeployed the firmware several times and it still doesn't work.  It works on the original unit I took the image from, but not on the unit I'm deploying the image to.  Using max is not an option because these are basically in an OEM environment and if I distribute an image to a customer they will not have national instruments installed.
    Besides, that defeats the purpose of taking an image, if it works correctly in one place, you should be able to take an image of that and deploy it on another unit.

  • Calling a web service deployed in a SSO protected domain

    Hello,
    I want to write a web service based on a stateless session EJB and to deploy it as part of an application on an OC4J server. The application is protected by SSO.
    My question is: how should I write a client stub for that web service? How are the name and the password provided in the client stub in order to call web service (that will be also protected as part of the protected application)?
    Regards,
    Marinel

    Ditto. I get the feeling that no reply to your message must mean that OC4J doesn't support this.
    An even simpler scenario is getting an Applet client to connect to an EJB without having to provide the username and password from the Applet. Otherwise, we are forced to ask the user to login for every applet or we embed the user/pass in applet params. Both are unacceptable.
    Any ideas.

  • Web service deploy in ECC or in XI

    Hello,
    I am bit confused on deployment of Web services. I found that we can deploy BAPI/RFC in ECC using wsadmin or soamanager. This means Can i access this web service from third party system with out using XI.
    But, i heard this is obsolete now and we should XI for this.
    This means Do i need to create scenario in XI as SOAP-RFC..where RFC on ECC and expose this interface as web service in XI using RFC adapter..
    what is the best way, and how can i deploy BAPi as web service.... If I deploy it on ECC what is use of XI in this case.
    Can i call this BAPI deployed WS from Java system.
    Thanks,
    Srinivas

    Hi ,
    You can always generate the wsdl from bapi by going to the link mentioned below and can invoke the WS from any other Web System. It will behave like normal web service.
    Link to generate the wsdl:
    http://<ECCserver>:<port>/sap/bc/soap/wsdl11?services=<FunctionName>&sap-client=<client>
    You can save the wsdl and use in in your client to invoke this. There is no need of XI in this case.
    Howsoever as best practice, to achieve ESOA the webservices should be located at central location(XI) and should be invoked from there. 
    Reward points if this answers your question and helpful.
    Thanks
    Amit

  • Securing Web Service--Beginner question

    Hi--
    I am trying to follow the document "Securing WelbLogic Web Service 10g Release 3" and can't get past the initial steps to verify that my service has been deployed with the Wssp1.2-2007-Wss1.1-UsernameToken-Plain-X509-Basic256.xml policy
    I have a basic question.
    I add the aforementioned policy to my web service using :
    *@WebService*
    *@Policy(uri = "policy:Wssp1.2-2007-Wss1.1-UsernameToken-Plain-X509-Basic256.xml",attachToWsdl=true)*
    and then rebuild and redeploy.
    If I then access the URL for the web service with "?wsdl" apppended, shouldn't the WSDL returned now include policy information?
    Karl

    Thanks, that's what I've come to understand. Is this restiction due to the fact the the @Policy annotations are not standard or is this a limitation on the Weblogic eclipse plugin
    What I've had to due is generate the JWS from the WSDL and then go back to the bottom up approach with the generated JWS source files. A bit of a pain but what can you do.
    I tried adding the security policies as suggested by Bethune but they don't seem to "stick" after a restart of weblogic server. This may be due to running weblogic server under Eclipse. I havent had time to investigate this further
    Once again thanks all for the help
    Karl

  • Java web services basic question

    Hi all,
    I'm new to web services programming, and I'm having trouble getting my head around a few conceptual ideas about web services. I'm in a graduate class right now where our project needs to use web services to create a distributed system. We're using Axis2 and jUDDI for development.
    In terms of distributed systems, I am a CORBA programmer, and so when I'm given a problem, my mind immediately goes to how I would implement it in CORBA. Web services seem similar (the WSDL is like an IDL, an jUDDI is like the CORBA naming service, etc) but I'm having difficulty figuring out how to instantiate two (or more) web services that implement the same interface.
    From the simple 'hello, world' web services I've done, I have created a java class, compiled it, packaged it into a .aar, and deployed tye aar using Axis2 on Tomcat, my application server (which somehow creates the WSDL file - I'm not exactly sure how that happens either). From there, it's simple to write a client to connect to the web service, which seems to always be running in the application server.
    Now, for the system I'm working on, we need to have multiple 'instances' of a service. For example (note this isn't the actual project assignment), say there is a 'GPS_Service' web service with a simple interface with two methods: getLocation(), and setLocation(point p). In my 'application', I want to deploy 15 'instances' of GPS_Service, and set and view their location independently.
    Here's where my lack of knowledge hurts. From my point of view, I would need 15 different java classes (i.e. GPS_Service0, GPS_Service1, etc) and 15 different .aar files. Each .aar file would go into the application server, and I would access each service at a different web address.
    In CORBA, this is much easier. Classes implement a CORBA interface, and your 'main' method can instantiate as many 'GPS_Service' objects as it wants. This seems to be because CORBA doesn't have an 'application' server where the object is always running.
    Does anyone have any suggestions for me, or does anyone have an example of what I'm trying to do?
    Thanks,
    Eric

    I forgot to answer your question.
    You have to consume the webservice :
    http://gerardnico.com/wiki/ide/eclipse/eclipse_how_to_consume_a_webservice_with_wtp
    It will create for you the package
    com.siebel.analytics.web.soap.v5
    See my example. I think it's enough complete.
    Success
    Nico

  • Web Services deployment error "Server returned nothing (no headers, no data)" and more

    I'm developing a large-scale VI with an associated web service VI in 2010 SP1. The "auxiliary VI" is responsible for data capture and analysis as well as communications and data storage. It is fairly large and communicates with the web method VI via network-shared variables [and I'm using the DSC module to allow event handling on the shared variables].
    I can build and deploy the web method VI just fine and it runs great. However, I need to communicate between the auxiliary and web method VI's, and it looks like I can't do that without including the auxiliary vi in the RESTful web service build [by the way, is there any way to do this with web service builds?]. When I added the auxiliary vi to the build, it built fine, but then during the deployment I got:
    "Server returned nothing (no headers, no data)"
    The next time I tried to deploy, I got a spurious NI Auth dialog per this KnowledgeBase article. Following the instructions for case 1 ["Application Web Server failure since last start"], I ran Services.msc and found that NI Application Web Service was indeed not running. I tried to restart the service but got this error:
    "The NI Application Web Server service on Local Computer started and then stopped. Some services stop automatically if they have no work to do, for example, the Performance Logs and Alerts service."
    The KnowledgeBase article suggests restarting at this point and I did, but I still see the same behavior. So I really have a few questions:
    1. Is there any way to deploy a network-shared variable library across a deployed web service and local VI?
    2. What causes "Server returned nothing (no headers, no data)" upon deployment? A google search returned very little.
    3. What does this mean: "The NI Application Web Server service on Local Computer
    started and then stopped..." and what do I need to do to get my Application Web Server back up?
    [to heap on the pile... I tried to re-enable the Application Web Server from localhost:3580 and got an error. Then localhost:3580 went off-line also.]
    thanks!
    Solved!
    Go to Solution.

    Update.
    I noticed that the Application Web Server was trying to deploy the broken web service and was choking on it. There seemed to be no way to erase the .lvws originally created by the build. I could delete the deployment folder at $(WebServicesRoot)\UserServices\deployed\<Service Name>-<Globally Unique Identifier (GUID)> but it was recreated from the .lvws every time I attempted to restart the service.
    So I called NI and they pointed me to this directory [in XP]:
    C:\Documents and Settings\LocalService\My Documents\LabVIEW Data\WebServices\Standalone
    The .lvws was in this folder. I deleted it and now I can run the ApplicationWebService. Apparently this undocumented hidden file is a "not-quite-bug" that is recognized as needing a fix in upcoming releases.

  • Tricky cRIO web services deployment

    Is there a way to build and deploy web services programmatically as a plug-in to a remote sbRIO?  
    We have a working plug-in mechanism that uses source distributions for the plug-ins.  It's not clear to me if web services can be included in a source distritubtion build spec.  And then there's the whole question of what magic Labview does when deploying a web service.  We use TCP for communication, so in theory I think we should be able to deploy web services programmatically on the target itself--yet I haven't found any documentation explaining exactly what changes Labview makes to the target when a web service is deployed.
    Anyone have insight into the best way to achieve this requirement?

    The following whitepaper may be close to what you are looking for: http://www.ni.com/white-paper/7747/en/#toc9
    "If the VIs, shared libraries, and data files contained in the .lvws file are complete and self-contained, the output file can be manually deployed (via FTP or copy) to any directory on the target machine as-is. Once the output file is manually deployed, it is automatically detected, unzipped, and installed by the NI System Web Server."
    The quote is referring to the lvws file that is created during build of a web service (the lvws file looks like it is pretty much a zip file with a labview source distribution and configuration information for the LabVIEW Application Web Server). Unfortunately I am not sure what the "it is automatically detected, unzipped, and installed by the NI System Web Server" portion is referring to as I have not used this kind of manual deployment feature myself and that sounds kind of strange...
    However the whitepaper does describe some caveats:
    "Some Web service applications, however, require non-VI project items, such as Shared Variables and DAQ Channels. Due to how these non-VI project items are deployed, they cannot be built into the .lvws files. Instead, they must be deployed through the project."
    So there are features you can be using in your project that might prevent you from using manual deployment altogether. 
    Edit: And of course with a liitle post-post Google-Fu: How Do I Manually Deploy a LabVIEW Web Service to My Real-Time Target?
    Milan

Maybe you are looking for

  • Apple ID

    I wonder if some one can clarify the whole Apple ID thing. Here's the situation. My girlfriend (who I live with) has just purchased a iPad. We intend to set her up with her own Apple ID (eg [email protected]) I currently have two Apple IDs but as I h

  • IPhoto missing from a brand new mac book pro running on Yosemite

    I have a brand new mac book pro, and trying to open iPhoto I receive the message " in order to open iphoto, you need to update to the latest version."  However, when I "Search App Store" I receive the message "Not Available, the item you've requested

  • ENQUEUE_E_TABLE and DEQUEUE_E_TABLE

    Dear all, Can anybody please tell me the significance of parameters in the above FMs. i.e.  _SCOPE,  _WAIT, _COLLECT, _SYNCHRON. Thanks a lot in advance. Best Regards, Prasad

  • Elements 12 will not open unless video driver is updated

    I try to open Permier Elements 12 and I get an error message saying my video driver is incompatible and must be updated.  I have checked the video card and the driver and Windows 7 says it is up to date.,

  • Using STRUTS on oc4j ????

    Hi! I'm experiencing problems when trying to run a sample STRUTS-application on OC4J. I have placed it under 'default-web-app' and I'm pretty sure that the rest of the configuration is OK (updated Application.xml and http-web-site.xml). But it will n