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.

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

  • Problem deploying webservice application to cluster

    My web service is packaged inside an ear file generated by WLS workshop. The ear deploys and runs fine on standalone WLS 9.2.2 when deployed through console. When same ear file is deployed to cluster, the webservice does node show up on the managed nodes. Under test endpoints, WLS console shows links only to wsdl locations. WSDL is available on clicking the link. The console does not show links to webservice test client as it does on standalone installation. If I type in the expected test client location I get an HTTP 404 error. I do not see any obvious error messages during application deployment or runtime in the log file of admin server or managed nodes.
    Any help on troubleshooting this issue is appreciated. Thanks.

    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.

  • Problem deploying webservice client app

    I have a JAX-RPC webservice client application which works flawlessly from within JDeveloper 10.1.3 EA1. However, after deploying the application and running it, I get the following error which I have been unable to trace to a missing library:
    Exception in thread "AWT-EventQueue-0" java.lang.NoClassDefFoundError: javax/xml /rpc/ServiceFactory
    at com.brunata.ptd.proxy.TempmonSoapHttpPortClient.<init>(TempmonSoapHtt pPortClient.java:17)
    at com.brunata.ptd.proxy.PTDProxy.<init>(PTDProxy.java:24)
    at com.brunata.ptd.proxy.PTDProxy.sharedInstance(PTDProxy.java:35)
    at com.brunata.ptd.views.PTDAppView.<init>(PTDAppView.java:71)
    at com.brunata.ptd.PTDApp.createGUI(PTDApp.java:93)
    I made sure to include all libraries I can see JDeveloper is referencing, yet obviously I must be missing something. I include the following:
    \j2ee\home\lib
    \webservices\lib
    \jlib
    \lib\xmlparserv2.jar
    \xdk\lib\xml.jar
    \j2ee\home
    \rdbms\jlib\xdb.jar
    \diagnostics\lib\ojdl2.jar
    \jakarta-taglibs\commons-logging-1.0.3\commons-logging.jar
    \jakarta-taglibs\commons-logging-1.0.3\commons-logging-api.jar
    I must admit, I am a bit shocked that/if I will have to deploy all these files into a some 40MB jar, not exactly fitting for the Java Web Start appliation I am working on.
    Any help greaty appreciated,
    Casper Bang

    Hi Eric,
    Thanks for the single-jar solution tip. Unfortunately I still get the same error (javax.xml.rpc.ServiceFactory) even with the use of that file. If I try to run manually from a commandline and include jaxrpc-api.jar, I get a little further though:
    java -classpath J:\jdevstudiobase1013\jdev\mywork\PTD\PTD\classes;J:\jdevj2eebase1013\webservices\lib\jaxrpc-ap
    i.jar;J:\jdevstudiobase1013\jdev\mywork\PTD\PTD\deploy\jcommon-1.0.0-rc1.jar com
    .brunata.ptd.PTDApp
    javax.xml.rpc.ServiceException: Provider oracle.j2ee.ws.client.ServiceFactoryImp
    l not found
    at javax.xml.rpc.FactoryFinder.newInstance(FactoryFinder.java:44)
    at javax.xml.rpc.FactoryFinder.find(FactoryFinder.java:137)
    at javax.xml.rpc.ServiceFactory.newInstance(ServiceFactory.java:69)
    at com.brunata.ptd.proxy.TempmonSoapHttpPortClient.<init>(TempmonSoapHtt
    pPortClient.java:17)
    at com.brunata.ptd.proxy.PTDProxy.<init>(PTDProxy.java:24)
    Which lib is this? (Any documentation somewhere for where packages are stored?)
    Thanks a lot,
    Casper

  • 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

  • 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

  • WebService problem: only the first element of a string array is returned

    Hello,
    i did the J2EE QuickCarRental tutorial and extended it by some features: I created another entity bean and implemented four new methods in the QuickOrderProcessor. Then i deployed it as a WebService and accessed it using the Visual Composer.
    Everything works fine except the return value of one WebService method. I created a method with the return value String[]. But the Visual Composer reads it as String. Only the first element of the resulting string array is displayed. Although the test at the web-page http://<server>:<port>/QuickCarRentalService/Config1 displays the whole string array with all its elements. What did i wrong?
    Another problem is that after deploying the J2EE-Application with new WebService methods the changes are not visible inside the visual composer. Although the test at the web-page http://<server>:<port>/QuickCarRentalService/Config1 displays the changes. Do i have to restart the WebService system in the portal content? If yes how can i do that?

    Here are details about setting up and using web services and some examples:
    /people/prakash.darji/blog/2006/10/10/external-web-service-proxy-configuration-for-visual-composer

  • Weblogic webservice problem

    Hi , friends, I have a problem regarding web services in oracle weblogic workshop.
    In our application we need to create 2 web services. We have 10 to 12 packages under src folder , i.e.,
    src(under this folder)------------------>com.abc.des.desk (like this we have couple of packages). All those packages are having different java related file, porlets etc.
    I need to create another package called com.abc.des.webservices
    under this I have to create 2 webservice (JAX-WS) with annotations.All these webservices along with remaining above mentioned packages goes to one single EAR file.
    I am unable to select JAX-WS related facets.
    When I select weblogic webservices , it is giving a warning message that "No projects found that support web services.The Standard Annotated Web Service facet must be enabled".I didn't understand where I need to enable them.
    Please suggest on this problem.
    Thanks a lot
    Peter.

    Hi Peter
    1. Since you used the words like portlets etc, I am assuming you have a PortalWeb Project. So you have like portalEAR, portalWeb and may be portalDataSync project. NOW under portalWeb project src you have your own packages. This is where you need to create a new WebService also under a new package. FIRST of all, you need to add Web Services Project Facet to this portalWeb pojrect. Still it may NOT work. But I will give you an idea. Select your portalWeb project. Right clikc mouse, select Properties. From Properties window on left side, select Project Facets. On right side you will see list of Facets already selected. Click on Modify Project button on bottom right hand corner. This opens up Project Facets window. Check the Facet named Web Services. NOW immediately in the bottom you may see some Errors like "Standard Annotated Web Services 2.0 and Beehive Controls 1.0.1 cannot both be selected" etc. I am talking about WLP 10.3 version. This means by default portalWeb project will have Beehive stuff facets Enabled to allow use of Pageflow Portlets. So you cannot add Web Services Facet to this Same portalWeb project. Unless you want to manully remove Beehive Facets (means you cannot use Pageflow portlets), then may be Web Services Facets can be added.
    One work around or more elegant solution is create a another brand new project like myWebServices project and enable Web Services for this. Nothing but create a new WebServices project with all Web Services Facets. Add this to the same portalEAR project. Then add all your webservices to this new project. NOW you can always invoke these Web Services from portalWeb project src code like utility classes or Pageflows etc. Incase if you want to use some utility classes across both portalWeb and webServices project, then you need to add all these classes into another simple Java Project. Then import this into both portalWeb and webServices projects.
    I saw another opotion also. When you select Web Services Project Facet, it has 2 child facets. Standard Annotated Web Services whose default version is 2.0. If you choose version 1.0, look like there are no dependencies. Means poralWeb project can have Web Services Facet provided you use Standard Annotated Web Sevices Version 1.0 (instead of default 2.0). Now using this you may loose some new features from 2.0. I am not sure to what extent this will work. But give this a shot in your dev Env. And see if you can create a simple webservice and live with that.
    portalEAR can have both portalWeb project and any other projects like webServices or Java utility porjects etc. All these projects will be bundled into one single .EAR file only for deployment.
    Thanks
    Ravi Jegga

Maybe you are looking for

  • Need to develop this report plezzzz help

    the requirement says When a user submits an ID they have to choose who sold the product from the sold by field.This has to be chosen correctly otherwise there will be issues in sales and commission process.I need to develop a report to detect immedia

  • System is not recorded in the system list

    Hi all, I am using BI 7 system which is connected with a source system of SAP R/3 system and there is no problem in the connectivity between these sytems. When I tried to save a user defined ztable in BI system it shows an error below and also the de

  • How to find the transaction code for the particular program or include

    Dear All, Please help me on this queary. 1) How to find what is the transaction assigned for the particular Report 2) How to find the particular include is used in which programs and also transaction codes I have one ZProgram that contains only inclu

  • Why doesn't Adobe have 3d modeling program?

    It seems silly to me why I have to use other programs like Blender to design complex 3d models to import into Adobe Director? Adobe is the most well known and established software companies ever, and they can't make a simple program to design complex

  • How do I transfer an itune into another software program like Vegas Studio?

    I purchased an itune but can't figure out how to import it into vegas studio. The only way I've figured out to work around it is by burning the song onto a CD and then importing it back onto my computer with Sound Forge. Any other suggestions? I hate