Deploy WebService

¡Buenas a tod@s!
Estoy programando varias VI como servicios web, y no consigo ver la manera de poder crear dichos WS en un servidor remoto. Mediante New>>WebService(RESTful) (en las Build Specifications de un Proyecto) creo los WS pero en el mismo PC dónde estoy desarrollando. Y quisiera poder desplegar los WS en otro ordenador dónde también tengo el WebServer configurado.
Consejos, sugerencias... ¡son siempre bienvenid@s!
¡Saludos!
Francisco José Gómez López
Software Engineer

You have to configure web server settings on the development machine and build your web service application
Installer itself creates an configuration file (.ini), which will have all your configurations and same will apply on the remote machine.
Procedure for creating an installer, 
LabVIEW 2009 : http://digital.ni.com/public.nsf/allkb/62B9C2D5C91EE8B28625778800609FF2?OpenDocument
LabVIEW 8.6: http://digital.ni.com/public.nsf/allkb/0335B60BA1B6485E86257788006066DF?OpenDocument
Also have a look on the link to know how to creating , publishing, deploying and managing web service.
http://zone.ni.com/reference/en-XX/help/371361E-01/lvconcepts/webservices/
CLA 2014
CCVID 2014

Similar Messages

  • Can't able to deploy webservice to IAS 10.1.2.0(window) by using Jdevloper

    Hi,
    I have got the successful msg in time of connect iAS 10.1.2.0 from Jdev 10.1.3 .
    But when I tried to deploy a simple webservice to ias then I got following deployment message :
    ---- Deployment started. ---- Aug 18, 2009 10:38:47 AM
    Target platform is Oracle Application Server 10g 10.1.2 (Windows) (OracleApplicationServer_Abir).
    Wrote WAR file to C:\Webservice\Project1\deploy\WebServices.war
    Wrote EAR file to C:\Webservice\Project1\deploy\Webservice-Project1-WS.ear
    Invoking DCM servlet client...
    C:\jdeveloper1032\jdevstudio10132\jdk\jre\bin\javaw.exe -Djava.protocol.handler.pkgs=HTTPClient -jar C:\jdeveloper1032\jdevstudio10132\jdev\lib\oc4j_remote_deploy.jar http://157.227.124.85:18100/Oc4jDcmServletAPI/ ias_admin **** redeploy C:\OraHome_2 C:\Webservice\Project1\deploy\Webservice-Project1-WS.ear Webservice-Project1-WS OAS
    Initializing log
    Servlet interface for OC4J DCM commands
    Command timeout defined at 600 seconds
    Executing DCM command...
    Executing command redeploy C:\OraHome_2 C:\Webservice\Project1\deploy\Webservice-Project1-WS.ear Webservice-Project1-WS OAS
    Command = REDEPLOY
    Reading application's ear file
    Ear file was successfully read
    Opening connection to Oc4jDcmServlet
    Setting userName to ias_admin
    Sending command to DCM servlet
    HTTP response code = 200, HTTP response msg = OK
    Command was successfully sent to Oc4jDcmServlet
    Receiving session id from servlet to check command status
    Session id = 9de37c5546b4f6f0200f5eb44dc8a2c0b7a90d89b533
    Please, wait for command to finish...
    Checking command status...
    Angshuman
    Setting userName to ias_admin
    Setting Cookie to JSESSIONID=9de37c5546b4f6f0200f5eb44dc8a2c0b7a90d89b533
    Checking command status
    HTTP response code = 200, HTTP response msg = OK
    Command has finished
    Receiving command exit value
    Receiving command output
    **** No output was received from command
    Closing connection to Oc4jDcmServlet
    #### DCM command did not complete successfully (-8)
    #### HTTP return code was -8
    Exit status of DCM servlet client: -8
    Elapsed time for deployment: 16 seconds
    #### Deployment incomplete. #### Aug 18, 2009 10:39:03 AM
    Please help in this regards..

    Run the following in your terminal where you have a sh shell.
    export ORACLE_HOME= <give here the location of Oracle Infrastructure Home>
    cd $ORACLE_HOME
    sqlplus / as sysdba
    ## if you continue to get problems, then see the following file;
    cat $ORACLE_HOME/network/ADMIN/sqlnet.ora
    Check if you have a line with the following attribute:
    SQLNET.AUTHENTICATION_SERVICES
    make sure it is not missing, nor reporting a none value. If it does, change it to the following:
    SQLNET.AUTHENTICATION_SERVICES = (NTS)
    Save the file. Now restart infrastructure:
    cd $ORACLE_HOME
    opmn/bin/opmnctl stopall
    opmn/bin/opmnctl startall
    ## now try getting into the database again.
    sqlplus / as sysdba
    hope that helps!

  • Exception while deploying webservice to weblogic 10.3.6

    Hi
    i am facing following exception while deploying ear file to weblogic.
    the same ear files was working in weblogic 9.2
    bundle of thanks for your help
    <Error> <Deployer> <BEA-149265> <Failure occ
    urred in the execution of deployment request with ID '1370278887285' for task '1
    '. Error is: 'weblogic.management.DeploymentException: Error encountered during
    prepare phase of deploying WebService module 'SubscriptionService.war'. Error en
    countered while deploying WebService module 'SubscriptionService.war'. port com
    ponent 'SubscriptionServicePortImpl' - wsdl port:{http://com.irondata.subscriptio
    n/service}SubscriptionServicePortImplPort is not found in wsdl.'
    weblogic.management.DeploymentException: Error encountered during prepare phase
    of deploying WebService module 'SubscriptionService.war'. Error encountered whil
    e deploying WebService module 'SubscriptionService.war'. port component 'Subscr
    iptionServicePortImpl' - wsdl port:{http://com.irondata.subscription/service}Subs
    criptionServicePortImplPort is not found in wsdl.
    at weblogic.wsee.deploy.WSEEModule.prepare(WSEEModule.java:149)
    at weblogic.wsee.deploy.AppDeploymentExtensionFactory.prepare(AppDeploym
    entExtensionFactory.java:79)
    at weblogic.wsee.deploy.AppDeploymentExtensionFactory.access$100(AppDepl
    oymentExtensionFactory.java:15)
    at weblogic.wsee.deploy.AppDeploymentExtensionFactory$1.prepare(AppDeplo
    ymentExtensionFactory.java:219)
    at weblogic.application.internal.flow.AppDeploymentExtensionFlow.prepare
    (AppDeploymentExtensionFlow.java:23)
    Truncated. see log file for complete stacktrace
    Caused By: weblogic.wsee.ws.WsException: Error encountered while deploying WebSe
    rvice module 'SubscriptionService.war'. port component 'SubscriptionServicePort
    Impl' - wsdl port:{http://com.irondata.subscription/service}SubscriptionServicePo
    rtImplPort is not found in wsdl.
    at weblogic.wsee.deploy.WSEEModule.verifyWsdd(WSEEModule.java:256)
    at weblogic.wsee.deploy.WSEEModule.prepare(WSEEModule.java:121)
    at weblogic.wsee.deploy.AppDeploymentExtensionFactory.prepare(AppDeploym
    entExtensionFactory.java:79)
    at weblogic.wsee.deploy.AppDeploymentExtensionFactory.access$100(AppDepl
    oymentExtensionFactory.java:15)
    at weblogic.wsee.deploy.AppDeploymentExtensionFactory$1.prepare(AppDeplo
    ymentExtensionFactory.java:219)
    Truncated. see log file for complete stacktrace

    The following exception occurs when there is a mismatch with the portName in the impl class with the port name in WSDL.
    weblogic.wsee.ws.WsException: Error encountered while deploying WebService module 'SubscriptionService.war'. port component 'SubscriptionServicePort
    Impl' - wsdl port:{http://com.irondata.subscription/service}SubscriptionServicePortImplPort is not found in wsdl.
    I found the Defect in the Oracle knowledge base logged for the issue. Patch id is 8182891 and fix is available for WLS 9.2.2.0 version.
    Please download and apply the patch and let us know if it helps you.
    Thanks,
    Vijaya

  • List deployed webservices / webapps in one WLS domain

    Is there a way to list all of the deployed webservices through JMX in one WLS domain,
    or list all of the deployed web applications which contains a web service. Thanks,
    M.

    Yes, look for WebServiceComponentMBeans.
    -- Rob
    Mat wrote:
    Is there a way to list all of the deployed webservices through JMX in one WLS domain,
    or list all of the deployed web applications which contains a web service. Thanks,
    M.

  • How to deploy WebService and BPEL to Application Server in EBS R12?

    hi all,
    I have R12 EBS on linux machine.
    Can i deploy WebService/BPEL to Application Server of EBS?
    or i must install new application server to deploy WebService and BPEL ?
    Thanks
    Benny

    Hi,
    You can find many articles on oracle site for this subject.
    However in brief following are the steps
    1) Create a directory source,executables,images,reports and logfiles.
    2) Copy all your forms, menus and pll's in source directory
    3) All your images in your image directory
    4) All your reports in reports directory
    5) All yuor fmx,mmx and plx in executables directory
    6) Any log files in logfiles directory
    7) Add path of images and executables directory in FORMS_PATH in default.env
    8) Configure your formsweb.cfg as your need.
    9) Configure report.conf and rwservlet.properties according to your applications.
    10) Make jar of icons say myicons.jar.
    11) copy myicons.jar in forms/java directory
    12) Check yuor form services if they are running or not.
    13) Invoke the URL in internet explorer
    http://<ip_address>:<port_no>/forms/frmservlet?form=testform.fmx
    I think that's enough from my side.. For more info you can go through the documentation.
    Regards
    Anuj

  • ADF mobile application - Unable to deploy webservices on Integrated weblogi

    hi,
    I have followed video given in.
    https://blogs.oracle.com/shay/entry/developing_with_oracle_adf_mobile
    Following steps are being followed by me:
    File -> New -> General -> Application -> Fusion Web Application (ADF) Created one application 2. Right clicked on model New-> Business Tier -> Business Component from table and created Entity object and view object for department table.
    Then followed the steps as per the video. But not able to deploy webservice as given in video.
    It is not generating that link after running AppModuleServiceTest.java.
    , 2013 7:23:25 PM IST> <Warning> <Socket> <BEA-000449> <Closing socket as no data read from it on 127.0.0.1:57,071 during the configured idle timeout of 5 secs>
    This is the last line I am getting in the logs generated.
    Can you please tell whether the steps followed are correct or not?
    Or what else needs to be done?
    Please help.

    Try searching following file
    BB_ADFNMC_Bindings
    and all files with BB_ADFNMC_*
    these are approx 10 files , copy all of them into simulator folder inside RESERCH IN MOTION folder
    or load these through simultor->File->Load Blackberry Application .
    I hope it should help :)

  • Deploy WebService ERROR

    I have created webservice, at its expansion in oc4j standalone I receive the message. What to do?
    ---- Deployment started. ---- 07.07.2008 13:03:31
    Target platform is Автономное приложение OC4J 10g 10.1.3 (oc4j_extended).
    Wrote WAR file to C:\Java\jdevstudio10133\jdev\mywork\WebServiceExample\Project1\deploy\WebServices.war
    Wrote EAR file to C:\Java\jdevstudio10133\jdev\mywork\WebServiceExample\Project1\deploy\WebServiceExample-Project1-WS.ear
    Uploading file WebServiceExample-Project1-WS.ear ...
    Application Deployer for WebServiceExample-Project1-WS STARTS.
    Copy the archive to C:\Java\oc4j_extended_101310\j2ee\home\applications\WebServiceExample-Project1-WS.ear
    Initialize C:\Java\oc4j_extended_101310\j2ee\home\applications\WebServiceExample-Project1-WS.ear begins...
    Removing everything under: C:\Java\oc4j_extended_101310\j2ee\home\applications\WebServiceExample-Project1-WS
    WARNING: Error during auto unpack of C:\Java\oc4j_extended_101310\j2ee\home\applications\WebServiceExample-Project1-WS
    Unpacking WebServiceExample-Project1-WS.ear
    Done unpacking WebServiceExample-Project1-WS.ear
    Removing everything under: C:\Java\oc4j_extended_101310\j2ee\home\applications\WebServiceExample-Project1-WS\WebServices
    WARNING: Error during auto unpack of C:\Java\oc4j_extended_101310\j2ee\home\applications\WebServiceExample-Project1-WS\WebServices
    Unpacking WebServices.war
    Done unpacking WebServices.war
    Initialize C:\Java\oc4j_extended_101310\j2ee\home\applications\WebServiceExample-Project1-WS.ear ends...
    Starting application : WebServiceExample-Project1-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 : WebServiceExample-Project1-WS
    Binding web application(s) to site default-web-site begins...
    Binding WebServices web-module for application WebServiceExample-Project1-WS to site default-web-site under context root WebServiceExample-Project1-context-root
    Operation failed with error:
    Error compiling :C:\Java\oc4j_extended_101310\j2ee\home\applications\WebServiceExample-Project1-WS\WebServices: Syntax error in source or compilation failed in: C:\Java\oc4j_extended_101310\j2ee\home\application-deployments\WebServiceExample-Project1-WS\WebServices\project1\GetDate.java
    Could not create the Java virtual machine.
    Deployment failed
    Elapsed time for deployment: 7 seconds
    #### Deployment incomplete. #### 07.07.2008 13:03:38

    User,
    Are you running the standalone OC4J with the JVM (and not the JRE by mistake)?
    John

  • Deploying Webservice

    Hi,
    I am using NWDS to deploy my Java Webservice through an EAR file, and the message
    I get is: "Deployment was successful"
    But in the "Web Service Navigator" tab, I cannot see my deployed Webservice.
    Anybody can help me ?
    thanks

    I'm not sure if my scenario is the same. My scenario is like this:
    http://img688.imageshack.us/img688/3083/29070390.jpg
    And what I do is:
    - Right-click on 'LDAPManager' and 'Build EJB Archive'
    - Right-click on 'LDAPManager' and 'Add to EAR Project' and select 'LDAPMAnagerEAR'
    - Right-click on 'LDAPManagerEAR' and 'Build Application Archive'
    - Right-click on 'LDAPManagerEAR.ear' and 'Deploy to J2EE engine'
    The deployment is successful but I cannot see 'ZPRUEBA' in the tab 'Web Services Navigator'

  • Deploy webservice with oraclexmlsave

    HI all
    Hope you guy can help me
    I already deploy webservice into jboss app server
    i try to add oracle database connection into it and it working just fine
    when i try to add oracleXMLsave object it produce this error
    javax.xml.rpc.soap.SOAPFaultException: java.lang.reflect.UndeclaredThrowableException
         at weblogic.webservice.core.ClientDispatcher.receive(ClientDispatcher.java:317)
         at weblogic.webservice.core.ClientDispatcher.dispatch(ClientDispatcher.java:147)
         at weblogic.webservice.core.DefaultOperation.invoke(DefaultOperation.java:473)
         at weblogic.webservice.core.DefaultOperation.invoke(DefaultOperation.java:459)
         at weblogic.webservice.core.rpc.CallImpl.invoke(CallImpl.java:569)
         at weblogic.webservice.core.rpc.CallImpl.invoke(CallImpl.java:422)
         at project1.Xmlwebcall.main(Xmlwebcall.java:64)
    i dont know why it produce this error..is it i need to add driver or library into jboss or oracleXMLsave is only can be used by weblogic only ?
    Edited by: user11298120 on Aug 7, 2009 8:55 PM

    Hi,
    You can download samples from [here|https://www.sdn.sap.com/irj/boc/samples]
    Regards,
    Shweta

  • Error while deploying webservice on oc4j 10.1.3.4

    (posting in OC4J - Web Services )
    Hi
    When i deployed ear file on the oc4j 10.1.3.0. it get deployed properly and webservice is running fine
    When i tried to deployed same ear on OC4j to 10.1.3.4. It is giving the error
    Mar 4, 2009 1:02:08 PM Binding web application(s) to site default-web-site begins...
    Mar 4, 2009 1:02:08 PM Binding MY_WS web-module for application MY_WS to site default-web-site under context root MY_WS-context-root
    Mar 4, 2009 2:14:48 PM Operation failed with error: Error compiling :D:\jdevstudiobase10134\j2ee\home\applications\MY_WS\MY_WS: compilation error occurred
    Deployment process is also taking long time
    Please help me to resolve this error

    (posting in OC4J - Web Services )
    Hi
    When i deployed ear file on the oc4j 10.1.3.0. it get deployed properly and webservice is running fine
    When i tried to deployed same ear on OC4j to 10.1.3.4. It is giving the error
    Mar 4, 2009 1:02:08 PM Binding web application(s) to site default-web-site begins...
    Mar 4, 2009 1:02:08 PM Binding MY_WS web-module for application MY_WS to site default-web-site under context root MY_WS-context-root
    Mar 4, 2009 2:14:48 PM Operation failed with error: Error compiling :D:\jdevstudiobase10134\j2ee\home\applications\MY_WS\MY_WS: compilation error occurred
    Deployment process is also taking long time
    Please help me to resolve this error

  • Unable to see the deployed webservices in websevices list

    In SAP EP System some of the APIs are not exposed to clients and those APIs needs to be called thru webservices (like get all Roles names from the SAP-EP system, add a role to user in SAP-EP system, Remove a ole from the User in SAP EP system, get all assigned Roles of a User in SAP EP system, get all users for a role in SAP-EP system, and get users for a group in SAP-EP system).
    To achieve the above functionality, we have developed the portal (.par file) which will call the SAP EP APIs using web services.
    We have developed a piece code (.par file) in net viewer Developer studio 2.0.9; we deployed /tested  this .par file on to SAP EP6 SP2 successfully. Now, we need to test this .par file in SAP EP6 SP13 but we are not able to succeed in deploying this file like how we are doing it in SP2. After successful deployment of the PAR file we are unable to see the particular webservice in the webservices list.
    For deploying the PAR file we followed the following navigation steps:
    1.login into SAPEP as sapadmin.
    2.click the systemadministrator tab.
    3.click the support tab.
    4. select the portalruntime link.
    5.click on the AdministratorConsole link.
    upload window will open where we upload the PAR file.
    For checking the uploaded Webservices we followed the following navigation steps:
    1.login into SAPEP as sapadmin.
    2.click the systemadministrator tab.
    3.click the support tab.
    4. select the portalruntime link.
    5.click on the soapadmin link.
    In case of SP13, we are not able to see the uploaded webservices. But, when we deploy .par file it “says deployed successfully” (not throwing any errors).
    Edited by: praveen bikumalla on Jan 21, 2008 7:38 AM

    If we restart the services that is there in Systemconfiguration->servicesconfiguration->Applications i am getting the following error
    Server 1337850:Error in the listener class com.sap.ip.portal.admin.portalanywhere.QueryHandler during the process of handleTopic.

  • Error when deploying Webservices

    <PRE>
    Hi Experts,
    I have created a webservice using NWDS 7.2 IDE (Which supports JDK 1.5) and i when i am trying to deploy the same into SAP PI 7.1 (which supports JDK 1.5)
    I am getting the following exception.
    Please Advice what to do
                S U M M A R Y
    ~~~~~~~~~~~~~~~~~~~
    Successfully deployed:           1
    Deployed with warnings:           1
    Failed deployments:                0
    ~~~~~~~~~~~~~~~~~~~
    1. File:C:\Documents and Settings\itdev\workspace\HelloWorldServiceEAR\HelloWorldServiceEAR.ear
         Name:HelloWorldServiceEAR
         Vendor:sap.com
         Location:localhost
         Version:2010.10.21.17.47.16
         Deploy status:Success
         Version:HIGHER
    2. File:C:\Documents and Settings\itdev\workspace\iOLAMStockTargetWebServiceEAR\iOLAMStockTargetWebServiceEAR.ear
         Name:iOLAMStockTargetWebServiceEAR
         Vendor:sap.com
         Location:localhost
         Version:2010.10.21.17.47.19
         Deploy status:Warning
         Version:NEW
         Description:
              1. Warning occurred on server 7090050 during deploy sap.com/iOLAMStockTargetWebServiceEAR : Web Class Existence Test: The servlet "com.olam.webservices.GRN_MP_Webservices" must implement "javax.servlet.Servlet"., file: iOLAMStockTargetWebService.war#WEB-INF/web.xml, column 0, line 0, severity: warning
              2. Exception has been returned while the 'sap.com/iOLAMStockTargetWebServiceEAR' was starting. Warning/Exception :
    [ERROR CODE DPL.DS.6193] Error while ; nested exception is:
         com.sap.engine.services.deploy.exceptions.ServerDeploymentException: [ERROR CODE DPL.DS.5030] Clusterwide exception: server ID 7090050:com.sap.engine.services.deploy.exceptions.ServerDeploymentException: [ERROR CODE DPL.DS.5107] Exception during initial start of application sap.com/iOLAMStockTargetWebServiceEAR in container webservices_container.
         at com.sap.engine.services.deploy.server.application.StartInitiallyTransaction.makeStartInitially(StartInitiallyTransaction.java:195)
         at com.sap.engine.services.deploy.server.application.StartInitiallyTransaction.prepare(StartInitiallyTransaction.java:143)
         at com.sap.engine.services.deploy.server.application.ApplicationTransaction.makeAllPhasesOnOneServer(ApplicationTransaction.java:419)
         at com.sap.engine.services.deploy.server.application.StartTransaction.doStartInitiallyGlobal(StartTransaction.java:449)
         at com.sap.engine.services.deploy.server.application.StartTransaction.doStartInitially(StartTransaction.java:437)
         at com.sap.engine.services.deploy.server.application.StartTransaction.prepare(StartTransaction.java:178)
         at com.sap.engine.services.deploy.server.application.ApplicationTransaction.makeAllPhasesOnOneServer(ApplicationTransaction.java:419)
         at com.sap.engine.services.deploy.server.application.ApplicationTransaction.makeAllPhases(ApplicationTransaction.java:444)
         at com.sap.engine.services.deploy.server.application.ParallelAdapter.super_MakeAllPhases(ParallelAdapter.java:334)
         at com.sap.engine.services.deploy.server.application.StartTransaction.makeAllPhasesImpl(StartTransaction.java:550)
         at com.sap.engine.services.deploy.server.application.ParallelAdapter.runInTheSameThread(ParallelAdapter.java:248)
         at com.sap.engine.services.deploy.server.application.ParallelAdapter.makeAllPhasesAndWait(ParallelAdapter.java:389)
         at com.sap.engine.services.deploy.server.DeployServiceImpl.startApplicationAndWait(DeployServiceImpl.java:3387)
         at com.sap.engine.services.deploy.server.DeployServiceImpl.startApplicationAndWait(DeployServiceImpl.java:3373)
         at com.sap.engine.services.deploy.server.DeployServiceImpl.startApplicationAndWait(DeployServiceImpl.java:3276)
         at com.sap.engine.services.deploy.server.DeployServiceImpl.startApplicationAndWait(DeployServiceImpl.java:3249)
         at com.sap.engine.services.dc.lcm.impl.J2EELCMProcessor.doStart(J2EELCMProcessor.java:99)
         at com.sap.engine.services.dc.lcm.impl.LifeCycleManagerImpl.start(LifeCycleManagerImpl.java:62)
         at com.sap.engine.services.dc.cm.deploy.impl.LifeCycleManagerStartVisitor.visit(LifeCycleManagerStartVisitor.java:34)
         at com.sap.engine.services.dc.cm.deploy.impl.DeploymentItemImpl.accept(DeploymentItemImpl.java:83)
         at com.sap.engine.services.dc.cm.deploy.impl.DefaultDeployPostProcessor.postProcessLCMDeplItem(DefaultDeployPostProcessor.java:80)
         at com.sap.engine.services.dc.cm.deploy.impl.DefaultDeployPostProcessor.postProcess(DefaultDeployPostProcessor.java:56)
         at com.sap.engine.services.dc.cm.deploy.impl.DeployerImpl.doPostProcessing(DeployerImpl.java:741)
         at com.sap.engine.services.dc.cm.deploy.impl.DeployerImpl.performDeploy(DeployerImpl.java:732)
         at com.sap.engine.services.dc.cm.deploy.impl.DeployerImpl.doDeploy(DeployerImpl.java:576)
         at com.sap.engine.services.dc.cm.deploy.impl.DeployerImpl.deploy(DeployerImpl.java:270)
         at com.sap.engine.services.dc.cm.deploy.impl.DeployerImpl.deploy(DeployerImpl.java:192)
         at com.sap.engine.services.dc.cm.deploy.impl.DeployerImplp4_Skel.dispatch(DeployerImplp4_Skel.java:875)
         at com.sap.engine.services.rmi_p4.DispatchImpl._runInternal(DispatchImpl.java:351)
         at com.sap.engine.services.rmi_p4.server.ServerDispatchImpl.run(ServerDispatchImpl.java:70)
         at com.sap.engine.services.rmi_p4.P4Message.process(P4Message.java:62)
         at com.sap.engine.services.rmi_p4.P4Message.execute(P4Message.java:37)
         at com.sap.engine.services.cross.fca.FCAConnectorImpl.executeRequest(FCAConnectorImpl.java:872)
         at com.sap.engine.services.rmi_p4.P4Message.process(P4Message.java:53)
         at com.sap.engine.services.cross.fca.MessageReader.run(MessageReader.java:58)
         at com.sap.engine.core.thread.execution.Executable.run(Executable.java:108)
         at com.sap.engine.core.thread.execution.CentralExecutor$SingleThread.run(CentralExecutor.java:304)
    Caused by: java.lang.UnsupportedClassVersionError: Bad version number in .class file
         at java.lang.ClassLoader.defineClass1(Native Method)
         at java.lang.ClassLoader.defineClass(ClassLoader.java:654)
         at com.sap.engine.boot.loader.ResourceMultiParentClassLoader.loadClassLocal(ResourceMultiParentClassLoader.java:198)
         at com.sap.engine.boot.loader.MultiParentClassLoader.findClassInLoaderGraph(MultiParentClassLoader.java:302)
         at com.sap.engine.boot.loader.MultiParentClassLoader.loadClass(MultiParentClassLoader.java:256)
         at com.sap.engine.boot.loader.MultiParentClassLoader.loadClass(MultiParentClassLoader.java:228)
         at com.sap.engine.services.webservices.server.deploy.ws.WSInitialStartProcess.generateJAXWSFramework(WSInitialStartProcess.java:265)
         at com.sap.engine.services.webservices.server.deploy.ws.WSInitialStartProcess.generateJAXWSFramework(WSInitialStartProcess.java:220)
         at com.sap.engine.services.webservices.server.deploy.ws.WSInitialStartProcess.execute(WSInitialStartProcess.java:140)
         at com.sap.engine.services.webservices.server.deploy.WSBaseAbstractDProcess.makeProcess(WSBaseAbstractDProcess.java:316)
         at com.sap.engine.services.webservices.server.deploy.WebServicesDeployManager.makeStartInitially(WebServicesDeployManager.java:687)
         at com.sap.engine.services.deploy.server.application.StartInitiallyTransaction.makeStartInitially(StartInitiallyTransaction.java:182)
         ... 36 more
    Result
    Status:Warning
    Regards
    Hari Krishna. D
    </PRE>

    >             S U M M A R Y
    > ~~~~~~~~~~~~~~~~~~~
    >
    > Successfully deployed:           1
    >
    > Deployed with warnings:           1
    >
    > Failed deployments:                0
    >
    > ~~~~~~~~~~~~~~~~~~~
    Your development was successfully deployed.
    Have you tested it? Is there an issue on runtime?
    Check your NWDI that the JDK 1.5 is used for compiling.

  • Error deploying webService in 7.0, 'jarName is NULL'

    While trying to deploy a webservice in 7.0, I am getting the error:
    Application is not configured properly {jarName is NULL}
    I have used servicegen ant task to build my simple service consisting of two java
    classes (no EJB). Changed only 1 line from the sample build.xml in the document,
    viz. replace ejbjar attribute with javaClassComponents attribute. Deploying with
    Administration Console application.
    Thanks.
    Pratip Mukherjee

    Thanks. That solved the problem. Mostly. I had to make another change though. My
    test case java class was extending another base java class. Looks like either
    the ant build script or the Weblogic Web Services does not like that. I had to
    remove that to make it to work.
    "Neal Yin" <[email protected]> wrote:
    Nothing wrong with your build.xml or servicegen. Please try to drop
    your
    ear to application directory. I would guess something is wrong with console
    deployment.
    -Neal
    "Pratip Mukherjee" <[email protected]> wrote in message
    news:[email protected]...
    Looks like my build.xml did not make it to my previous post. Here itis as
    an attachment.
    "Pratip Mukherjee" <[email protected]> wrote:
    My servicegen in build.xml seems to be very similar to yours. It is
    as
    below. I
    am also enclosing the resulting ear file created by ant build.
    <project name="Simple" default="build-ear">
    <target name="build-ear">
    <servicegen
    destEar="SimpleService.ear"
    warName="SimpleWAR.war" >
    <service
    javaClassComponents="WebServicesTest.Server.Simple.TestService"
    targetNamespace="http://mroa590859:7010/myWAR/Simple"
    serviceName="Simple"
    serviceURI="/Simple"
    generateTypes="True"
    expandMethods="True" >
    <client
    packageName="WebServicesTest.Client.Simple"
    clientJarName="SimpleClient.jar"
    />
    </service>
    </servicegen>
    </target>
    <target name="clean">
    <delete>
    <fileset dir="."
    includes="SimpleService.ear" />
    </delete>
    </target>
    </project>
    "manoj cheenath" <[email protected]> wrote:
    I need to see your build.xml file to really know what is
    going wrong. Here is an example servicegen that works
    with the java class component.
    <servicegen
    destEar="${APPLICATIONS}/${ear_file}"
    warName="${war_file}">
    <service
    javaClassComponents="examples.webservices.basic.javaclass.HelloWorld"
    targetNamespace="${namespace}"
    serviceName="HelloWorld"
    serviceURI="/HelloWorld"
    generateTypes="True"
    expandMethods="True">
    <client
    packageName="examples.webservices.basic.javaclass"
    clientJarName="${client_jar_file}"
    />
    </service>
    <classpath>
    <pathelement path="${build}"/>
    <pathelement path="${java.class.path}"/>
    </classpath>
    </servicegen>
    regards,
    -manoj
    "Pratip Mukherjee" <[email protected]> wrote in message
    news:[email protected]...
    While trying to deploy a webservice in 7.0, I am getting the error:
    Application is not configured properly {jarName is NULL}
    I have used servicegen ant task to build my simple service consistingof
    two java
    classes (no EJB). Changed only 1 line from the sample build.xml
    in
    the
    document,
    viz. replace ejbjar attribute with javaClassComponents attribute.Deploying with
    Administration Console application.
    Thanks.
    Pratip Mukherjee

  • Deploying webservice problem

    Hi all I'm new to J2EE and am having a promlem deploying a webservice, I am using netbeans 5.5 with J2EE 5 and java Aplication server 9.0.
    I have added the web service to a bean Container when i deploy I get the following error
    Deploying application in domain failed; Error while running ejbc -- Fatal Error from EJB Compiler -- /opt/SUNWappserver/domains/domain1/generated/xml/j2ee-modules/testEJB/META-INF/wsdl/NewWebServiceBeanService.wsdl (No such file or directory)
    what have I not done any suggestions would be appreciated
    thanks in advance
    Brian

    The cluster address has a typo in it. The interesting part is weblogic does not report any errors / warning if the IP address in cluster address are invalid (not incorrect). So, if you give an IP address as 111.111.1111 you will get nothing in logs and app will not work but status of servers and app will be shown as active as if everything is fine.

  • Deploying WebServices to WebLogic 7.0

    I'm trying to test a webservice I developed with JDev 9.0.3.
    The deployment profile looks fine; it includes the web.xml with the servlet mapping and the three params (class-name; interface-name and session-timeout)
    I can get the test page of the webservice with all the methods I decided to include; i can also see the WSDL page that gets generated....
    But when I try to actually test one method of my webservice, I'm getting an exception that's confusing me.
    It's a ClassCastException referencing a WebLogic internal class but it's coming from a oracle internal class.
    I think iAS classes are expecting another class as the context of the servlet but i'm not really sure.
    What follows is the stack trace.
    javax.servlet.ServletException: Cannot compile: java.lang.ClassCastException: we
    blogic.servlet.internal.WebAppServletContext
    at oracle.j2ee.ws.BaseWebService.oc4j_compile(BaseWebService.java:1437)
    at oracle.j2ee.ws.BaseWebService.oc4j_compile(BaseWebService.java:1402)
    at oracle.j2ee.ws.RpcWebService.generateWrapperClass(RpcWebService.java:
    387)
    at oracle.j2ee.ws.RpcWebService.generate(RpcWebService.java:314)
    at oracle.j2e[i]Long postings are being truncated to ~1 kB at this time.

    If you want to deploy Web services to BEA from Oracle9i JDeveloper you will probably have to use the Oracle SOAP approach which is based on Apache SOAP. This would mean that you have to do the following:
    1. first configure Apache SOAP (2.3.1)
    2. When running the Web service publishing wizard in JDeveloper choose Oracle9iAS 1.0.2.2/Apache SOAP 2.2 as your type of Web service (it really is Apache SOAP 2.3.1 but the screen was not updated)
    3. Deploy from JDeveloper both the underlying class and descriptor (read the Oracle9i JDev help for steps for deploying the Apache SOAP as they differ from the Oracle9iAS Web services
    The first choice in the publish Web service wizard, Oracle9iAS Web services (what you describe here), is pretty much dependent on Oracle9iAS whereas the Oracle SOAP is pretty much native Apache SOAP which can be deployed from xml.apache.org/soap to BEA.
    This issue will likely get less dramatic as both Oracle and BEA move to JAX-RPC in J2EE 1.4 where the implementation model for Web services is standardized. We hope to have our first JAX-RPC release available in the first half of this year.
    Mike.

  • Issue in deploying webservice created from a JWS file.

    Hi,
    I tried deploying the helloworld sample webservice. Here are the files that i used.
    h1. HelloWorldImpl .java
    package com.agile.ws.helloworld.v1;
    import java.security.Principal;
    import javax.annotation.Resource;
    import javax.jws.WebMethod;
    import javax.jws.WebParam;
    import javax.jws.WebResult;
    import javax.jws.WebService;
    import javax.jws.soap.SOAPBinding;
    import javax.xml.ws.WebServiceContext;
    import weblogic.jws.Policy;
    @WebService(name="HelloWorld", serviceName="HelloWorldService", targetNamespace="http://xmlns.oracle.com/AgileServices/Core/HelloWorld/V1")
    @Policy(uri="policy:Wssp1.2-2007-Saml2.0-Bearer-Https.xml")
    @SOAPBinding(style=SOAPBinding.Style.DOCUMENT, use=SOAPBinding.Use.LITERAL, parameterStyle=SOAPBinding.ParameterStyle.WRAPPED)
    public class HelloWorldImpl {
    @Resource private WebServiceContext ctx;
    @WebResult(name="response", targetNamespace="http://xmlns.oracle.com/AgileServices/Core/HelloWorld/V1")
    @WebMethod()
    public HelloWorldVO sayHello(@WebParam(name="IntegerInput", targetNamespace="http://xmlns.oracle.com/AgileServices/Core/HelloWorld/V1") HelloWorldVO request) {
    Principal prp = ctx.getUserPrincipal();
    String username = prp.getName();
    String message = "User Name:" + username + "\tMessage:" + request.getMessage();
    HelloWorldVO response = new HelloWorldVO();
    response.setMessage(message);
    System.out.println(message);
    return response;
    h1. HelloWorldVO .java
    package com.agile.ws.helloworld.v1;
    public class HelloWorldVO {
    private String message;
    public void setMessage(String message) {
    this.message = message;
    public String getMessage() {
    return message;
    h1. build.xml
    <project default="generateFromWsdl">
         <taskdef name="wsdlc" classname="weblogic.wsee.tools.anttasks.WsdlcTask"/>
         <taskdef name="jwsc" classname="weblogic.wsee.tools.anttasks.JwscTask" />
         <target name="generateFromWsdl">
              <wsdlc srcWsdl="wsdl_files/HelloWorldService.wsdl" destJwsDir="output/compiledWsdl"
                        destImplDir="output/impl_output" packageName="com.agile.ws.hello.v1" type="JAXWS" />
         </target>
         <target name="buildService">
              <jwsc srcdir="src" destdir="output/wsdlcEar">
                   <jws file="com/agile/ws/helloworld/v1/HelloWorldImpl.java" type="JAXWS"/>
              </jwsc>
         </target>
    </project>
    h1. Issue
    I am able to run both the targets and the war gets generated. I copied the contents of application.xml (given below) to the existing application's application.xml file and also copied the war to the appropriate location.
    h3. application.xml contents
    <module id="WebModule_helloworld">
    <web>
    <web-uri>HelloWorldPort.war</web-uri>
    <context-root>core/services/saml</context-root>
    </web>
    </module>
    When i start the weblogic server i am getting the following exception
    <Dec 1, 2011 11:56:13 PM IST> <Error> <HTTP> <BEA-101216> <Servlet: "HelloWorldServiceServlethttp" failed to preload on startup in Web application: "core/services/saml".
    weblogic.wsee.server.ServerURLNotFoundException: Cannot resolve URL for protocol http/https
    at weblogic.wsee.server.ServerUtil.getHTTPServerURL(ServerUtil.java:204)
    at weblogic.wsee.jaxws.HttpServletAdapter.checkEndpointPolicy(HttpServletAdapter.java:129)
    at weblogic.wsee.jaxws.HttpServletAdapter.<init>(HttpServletAdapter.java:105)
    at weblogic.wsee.jaxws.HttpServletAdapter.<init>(HttpServletAdapter.java:80)
    at weblogic.wsee.jaxws.JAXWSServlet.registerEndpoint(JAXWSServlet.java:139)
    Truncated. see log file for complete stacktrace
    <Dec 1, 2011 11:56:13 PM IST> <Error> <Deployer> <BEA-149231> <Unable to set the activation state to true for the application 'AgilePLM'.
    weblogic.application.ModuleException: [HTTP:101216]Servlet: "HelloWorldServiceServlethttp" failed to preload on startup in Web application: "core/services/saml".
    weblogic.wsee.server.ServerURLNotFoundException: Cannot resolve URL for protocol http/https
    at weblogic.wsee.server.ServerUtil.getHTTPServerURL(ServerUtil.java:204)
    at weblogic.wsee.jaxws.HttpServletAdapter.checkEndpointPolicy(HttpServletAdapter.java:129)
    at weblogic.wsee.jaxws.HttpServletAdapter.<init>(HttpServletAdapter.java:105)
    at weblogic.wsee.jaxws.HttpServletAdapter.<init>(HttpServletAdapter.java:80)
    at weblogic.wsee.jaxws.JAXWSServlet.registerEndpoint(JAXWSServlet.java:139)
    at weblogic.wsee.jaxws.JAXWSServlet.init(JAXWSServlet.java:64)
    at weblogic.wsee.jaxws.JAXWSDeployedServlet.init(JAXWSDeployedServlet.java:54)
    at javax.servlet.GenericServlet.init(GenericServlet.java:241)
    at weblogic.servlet.internal.StubSecurityHelper$ServletInitAction.run(StubSecurityHelper.java:283)
    at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
    at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:120)
    at weblogic.servlet.internal.StubSecurityHelper.createServlet(StubSecurityHelper.java:64)
    at weblogic.servlet.internal.StubLifecycleHelper.createOneInstance(StubLifecycleHelper.java:58)
    at weblogic.servlet.internal.StubLifecycleHelper.<init>(StubLifecycleHelper.java:48)
    at weblogic.servlet.internal.ServletStubImpl.prepareServlet(ServletStubImpl.java:539)
    at weblogic.servlet.internal.WebAppServletContext.preloadServlet(WebAppServletContext.java:1985)
    at weblogic.servlet.internal.WebAppServletContext.loadServletsOnStartup(WebAppServletContext.java:1959)
    at weblogic.servlet.internal.WebAppServletContext.preloadResources(WebAppServletContext.java:1878)
    at weblogic.servlet.internal.WebAppServletContext.start(WebAppServletContext.java:3153)
    at weblogic.servlet.internal.WebAppModule.startContexts(WebAppModule.java:1508)
    at weblogic.servlet.internal.WebAppModule.start(WebAppModule.java:482)
    at weblogic.application.internal.flow.ModuleStateDriver$3.next(ModuleStateDriver.java:425)
    at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:52)
    at weblogic.application.internal.flow.ModuleStateDriver.start(ModuleStateDriver.java:119)
    at weblogic.application.internal.flow.ScopedModuleDriver.start(ScopedModuleDriver.java:200)
    at weblogic.application.internal.flow.ModuleListenerInvoker.start(ModuleListenerInvoker.java:247)
    at weblogic.application.internal.flow.ModuleStateDriver$3.next(ModuleStateDriver.java:425)
    at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:52)
    at weblogic.application.internal.flow.ModuleStateDriver.start(ModuleStateDriver.java:119)
    at weblogic.application.internal.flow.StartModulesFlow.activate(StartModulesFlow.java:27)
    at weblogic.application.internal.BaseDeployment$2.next(BaseDeployment.java:636)
    at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:52)
    at weblogic.application.internal.BaseDeployment.activate(BaseDeployment.java:205)
    at weblogic.application.internal.EarDeployment.activate(EarDeployment.java:58)
    at weblogic.application.internal.DeploymentStateChecker.activate(DeploymentStateChecker.java:161)
    at weblogic.deploy.internal.targetserver.AppContainerInvoker.activate(AppContainerInvoker.java:79)
    at weblogic.deploy.internal.targetserver.BasicDeployment.activate(BasicDeployment.java:184)
    at weblogic.deploy.internal.targetserver.BasicDeployment.activateFromServerLifecycle(BasicDeployment.java:361)
    at weblogic.management.deploy.internal.DeploymentAdapter$1.doActivate(DeploymentAdapter.java:51)
    at weblogic.management.deploy.internal.DeploymentAdapter.activate(DeploymentAdapter.java:200)
    at weblogic.management.deploy.internal.AppTransition$2.transitionApp(AppTransition.java:30)
    at weblogic.management.deploy.internal.ConfiguredDeployments.transitionApps(ConfiguredDeployments.java:240)
    at weblogic.management.deploy.internal.ConfiguredDeployments.activate(ConfiguredDeployments.java:169)
    at weblogic.management.deploy.internal.ConfiguredDeployments.deploy(ConfiguredDeployments.java:123)
    at weblogic.management.deploy.internal.DeploymentServerService.resume(DeploymentServerService.java:180)
    at weblogic.management.deploy.internal.DeploymentServerService.start(DeploymentServerService.java:96)
    at weblogic.t3.srvr.SubsystemRequest.run(SubsystemRequest.java:64)
    at weblogic.work.ExecuteThread.execute(ExecuteThread.java:209)
    at weblogic.work.ExecuteThread.run(ExecuteThread.java:178)
    at weblogic.servlet.internal.WebAppModule.startContexts(WebAppModule.java:1510)
    at weblogic.servlet.internal.WebAppModule.start(WebAppModule.java:482)
    at weblogic.application.internal.flow.ModuleStateDriver$3.next(ModuleStateDriver.java:425)
    at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:52)
    at weblogic.application.internal.flow.ModuleStateDriver.start(ModuleStateDriver.java:119)
    Truncated. see log file for complete stacktrace
    Caused By: weblogic.wsee.server.ServerURLNotFoundException: Cannot resolve URL for protocol http/https
    at weblogic.wsee.server.ServerUtil.getHTTPServerURL(ServerUtil.java:204)
    at weblogic.wsee.jaxws.HttpServletAdapter.checkEndpointPolicy(HttpServletAdapter.java:129)
    at weblogic.wsee.jaxws.HttpServletAdapter.<init>(HttpServletAdapter.java:105)
    at weblogic.wsee.jaxws.HttpServletAdapter.<init>(HttpServletAdapter.java:80)
    at weblogic.wsee.jaxws.JAXWSServlet.registerEndpoint(JAXWSServlet.java:139)
    I am trying with Weblogic 10.3.5 version. Any pointers to solve the issue would be of great help.
    Thanks,
    Arul

    Hi,
    I believe that the problem you are having is that you have a delimited file, of which you want to pick columns from position 2,3,5. In this case, ODI will pick the first 3 columns of a delimited file regardless of position.
    For example, if you a tab delimited file with c1,c2,c3,c4,c5 columns, and you want only columns c2,c3,c5 - when mapping these in an ODI interface, and executing, you will actually pick up the data from c1,c2,c3 as these are the first three columns in the file (reading from left to right). You can ignore "columns" on the right hand side of a file, but not the left. E.g delimited file with c1,c2,c3,c4,c5. Only pick columns c1,c2 will give you data for the first 2 columns
    Create a temporary table to load all the data from the file, and use you temp table to extract the data you require. Or you could get the file created with the first three columns as the columns you require.
    Cheers
    Bos
    Edited by: Bos on Jan 18, 2011 1:06 PM

Maybe you are looking for