Defining bc4j.xcfg for Webservice from ADF Application Module

Hi all,
I've already posted my previous question in JBO30003 while executing ADF Application Module WebService
but no replies at all :)
after thorough inspection, i found that why my client can connect to ADF AM and why my WebService Invocation is failed with JBO 300003. My J2EE Client application is connected to ADF AppModule with some configuration in CPX file.
<JboProject
   id="DataBindings"
   xmlns="http://xmlns.oracle.com/adfm/application"
   version="10.1.2.18.73"
   SeparateXMLFiles="false"
   Package=""
   ClientType="JClient" >
   <Contents >
      <DataControl
         id="AppModuleDataControl"
         SubType="DCBC4J"
         SupportsFindMode="true"
         SupportsTransactions="true"
         Package="package"
         FactoryClass="FactoryImpl"
         Configuration="AppModuleEmbeddedAS" >
         <Parameters >
            <Parameter
               name="Sync"
               value="Immediate" >
            </Parameter>
         </Parameters>
      </DataControl>
and so forththis CPX file define that this client connect to Application Module on my AppServer with "AppModuleEmbeddedAS" configuration, as stated in my BC4J.XCFG.
<AppModuleConfig name="AppModuleEmbeddedAS">
         <AppModuleJndiName>AppModuleBean</AppModuleJndiName>
         <java.naming.security.credentials>welcome</java.naming.security.credentials>
         <DeployPlatform>EjbIas</DeployPlatform>
         <java.naming.security.principal>admin</java.naming.security.principal>
         <jbo.internal.embedded>true</jbo.internal.embedded>
         <HostName>localhost</HostName>
         <jbo.ampool.dynamicjdbccredentials>false</jbo.ampool.dynamicjdbccredentials>
         <ApplicationName>AppModule</ApplicationName>
         <jbo.ampool.doampooling>false</jbo.ampool.doampooling>
         <java.naming.security.authentication>simple</java.naming.security.authentication>
         <java.naming.factory.initial>oracle.jbo.common.JboInitialContextFactory</java.naming.factory.initial>
         <ConnectionPort>23891</ConnectionPort>
         <JDBCDataSource>jdbc/DBGEBPOC_on_LOCALHOSTDS</JDBCDataSource>
         <java.naming.provider.url>ormi://localhost:23791/current-workspace-app</java.naming.provider.url>
         <jbo.server.internal_connection>jdbc/DBGEBPOC_on_LOCALHOSTCoreDS</jbo.server.internal_connection>
         <jbo.dofailover>false</jbo.dofailover>
         <ApplicationPath>current-workspace-app</ApplicationPath>
         <jbo.ampool.resetnontransactionalstate>false</jbo.ampool.resetnontransactionalstate>
      </AppModuleConfig>Now, how could I define configuration like my J2EE Client in my web service? as we know that web service's client is web browser. Does it mean that we can't define any CPX file?
FYI, My webservice's End Point pages is successly shown up. but when i invoke the method, it returns XML with faultmessage Error JBO30003.

Hi,
You can directly edit the bc4j.xcfg file. Note that the WebService binding is not created from the Am directly but from the deployed WSDL file.
Frank

Similar Messages

  • How to call OWSM secured web-service from ADF application

    I have a OWSM secured web-service, which takes username/password.
    I want to invoke this webservice from ADF application. ADF application has its own security and it takes its own username/password. End user can't provide the username/password for web-service call. My ADF application should call the webservice and provide it appropriate username/password.
    What is the best practice to handle such scenario. I don't want to hardcode username/password in Java (ADF) code.
    Thanks
    Sanjeev.

    it is not clear to me if you are having problems with calling java code from OIM or if the problem is the web service API.
    Lets do some divide and conquer:
    Can you create a simple java class that just writes a couple of lines to the log? Please attach this code to the OIM task and make sure it runs.
    Once this works we can start looking at the web service call.
    Best regards
    /Martin

  • Step-by-Step guide for developing a ADF application, does it exist?

    Step-by-Step guide for developing a ADF application, does it exist?
    Hi there,
    At our company we recently begun working on a project using Oracle ADF with
    UIX. We got the Oracle JDeveloper 10g handbook and we did a 5 day Oracle ADF
    course. A good way to start the project I think.
    One thing that bothers me though, is that I cannot find a simple clean example
    how to manipulate a record in the DB, going through all steps of MVC. I tried
    this forum, the books we got and google. It usualy explains a small portion
    of the steps needed, but never a complete example.
    I know people will probably say you can design what you want in various ways
    and that's its all up to the developer, this is also the power of ADF that it
    can be very flexible.
    However it would be nice to have a step-by-step example how to be able to insert,
    edit and delete a record. Showing all the steps that have to be made in the BC4J,
    struts and UIX, including creating triggers, seq, autocommitting etc.
    I think ADF is pretty complicated, therefore having a step-by-step example guide
    (design pattern) would be very handy for a beginner like me.
    Do such guides exist, are there developers who created such a guide for themselves?
    Would other developers find such a guide useful? I'm curious about everybody's
    opinion.
    A good example of what I mean by guide can be found here
    How To Build a Simple UIX Search Form, written by Shay Shmeltzer
    http://www.oracle.com/technology/products/jdev/tips/shmeltzer/setwhereclause/uix.html
    kind regards
    Ido

    Have a look at the ADF Workshop - it doesn't use UIX rather it uses JSP but I think it will give you the basics.
    http://www.oracle.com/technology/obe/obe9051jdev/ADFWorkshop/BuildingADFApplicationsWorkshop.htm
    Then have a look at the toy-store demo and the new ADF Case manual:
    http://download.oracle.com/docs/cd/B14099_10/web.1012/b19163/toc.htm
    http://www.oracle.com/technology/products/jdev/tips/muench/adftoystore1012/index.html

  • How to call webservice from Java application

    Hi XI gurus
    Pls let me know how to call a webservice from Java application.
    I wanted to build synchronous interface from Java Application to SAP using SAP XI
    For example, i need to create Material master from Java application and the return message from SAP, should be seen in Java application
    Regards
    MD

    Hi,
    If your  JAVA Application is Web based application, you can expose it as Webservice.
    JAVA People will pick the data from Dbase using their application and will send the data to XI by using our XI Details like Message Interface and Data type structure and all.
    So we can Use SOAP Adapter or HTTP in XI..
    If you use HTTP for sending the data to XI means there is no need of Adapter also. why because HTTP sits on ABAP Stack and can directly communicate with the XI Integration Server Directly
    If you are dealing with the Webservice and SAP Applications means check this
    Walkthrough - SOAP  XI  RFC/BAPI
    REgards
    Seshagiri

  • How to call webservices from ADF page

    Hi,
    I am using ADFBC.
    I want to call webservices from ADF page.please give examples of sample program on how to call a web service from the ADF pages.please give examples.
    please help me.
    Thanks,

    http://marianne-horsch-adf.blogspot.com/2011/03/how-to-create-web-service-based-adf.html
    http://www.oracle.com/technetwork/developer-tools/adf/learnmore/70-dependent-listboxes-using-ws-286107.pdf
    http://www.oracleimg.com/technetwork/developer-tools/jdev/adfcomplexwstypes-101013.html
    http://technology.amis.nl/blog/9726/quickly-creating-reploying-and-testing-a-webservice-interface-for-adf-business-components
    http://oracamp.com/passing-parameters-between-web-services-and-jsf-pages

  • Using SAML secured webservice in ADF Application

    I am looking for some tutorial/docs to use SAML secured webservice in ADF application. In my adf application, I am using the webservices using WebProxy and WebServiceDataControls.
    Any pointers in this direction will be helpful.
    Thanks,
    Rajdeep

    Take a look at the following blog posts - which provides some information regarding the SAML security in ADF
    http://biemond.blogspot.com/2009/05/sso-with-saml-adf-security.html
    http://biemond.blogspot.com/2009/05/sso-with-weblogic-103-and-saml.html
    Thanks,
    Navaneeth

  • Calling PL/SQL Functions And Open Oracle Reports From ADF Application

    Hi all,
    My company will convert some projects from Oracle forms to Oracle ADF so, we need to call the PL/SQL functions and open the Oracle Reports (which are already exist) from ADF Application.
    Thank You..
    Jack.N

    Hi Jack.N,
    calling PL/SQL Functions -----> http://sameh-nassar.blogspot.com/2010/01/create-plsql-function-and-call-it-from.html
    Open Oracle Reports ---------> http://radio-weblogs.com/0137094/2008/06/15.html
    You will find The Integration between ADF and other systems in ---> http://wiki.oracle.com/page/ADF+Integration
    Sameh Nassar

  • WebCenter Content Check In Form - CHECKIN_NEW_FORM from ADF Application

    Hi,
    How can I get the webcenter content checkin form to pop up on request from my adf application.? This is an urgent requirement.
    Thank You

    Hi Raj,
    We are running on JDeveloper PS5.
    That blog looks like its a Webcenter Portal Tutorial.
    To Simplify our use case, say you have
    a standard adf application
    With a jspx and a command button.
    Requirement:
    When a user user click on the command button from adf application, the ucm check in page should popup allowing the user to index and check in content.
    We thought the CHECKIN_NEW_FORM service is suppose to meet that requirement but we are having a problem putting it all together inside our adf application.
    Please let me know if you need more information

  • How to call oracle reports from ADF application.

    Hi
    I am migrating oracle 11g application to ADF. I would like to call oracle reports from ADF application.

    There is nothing similar to forms-reports integration, but you can invoke rwservlet url.
    Here is sample and utility class: Sameh Nassar: Call Oracle Reports From Your ADF Application
    Dario

  • Invoking BPEL process from ADF application - webservice connection failed

    Hi,
    I am trying to invoke a Bpel process from ADF page , I deployed the same in Standalone SOA server since I had to display some Human Task Forms.
    I created a webservice data control out of the bpel process and dropped the process method in my page.
    The page on which I dropped the process method stopped rendering and I checked the logs and found that I got the error mesage- webservice connection failed,the webservice url could not be reached and in the logs it also asks us to check if the connections.xml is available in the meta-inf directory. I checked the conections.xml is available in the EAR.
    So any pointers here and any one faced this error anytime?
    is there better ways to invoke the bpel flow from ADF page.
    Thanks,
    Robin

    Hi,
      Check if your wsdl endpoint can accessed properly. If yes, check the soap-binding address is properly pointing to the server hosting the webservice.
    Regards,
    Harikiran.

  • How to invoke a webservice from ADF Mobile application.

    Hi,
    I have developed a webservice from a PL/SQL Package in jdeveloper 11.1.1.5.0 by following below link
    http://www.oracle.com/webfolder/technetwork/tutorials/obe/jdev/obe1013jdev/10131/wsfromplsqlpackage/devwsfrom%20plsql.htm#p.
    it went on smooth till i reach " Deploying and Testing the Web Service " section. i could not find the Resources folder in which i have webservices.deploy file in my Project folder as shown in the example
    please let me know how to get this and i want that webservice to be deployed on to weblogic server other than OC4J.
    Kindly someone help me in this regards.
    Thanks in advance.

    Hi,
    Iam not that much familliar with using webmethods Integration server. But generally wen you are using a tool to Create webservices it will generate WSDL(Webservice Description file) and Client access classes. The Client access class contains the code for accessing the webservice. You can develop Clients by importing this class. The other way is you can use the WSDL to connect to the Webservice. WSDL file includes the End point URL (the location where to connect to access the webservice). By connecting to this URL you can access the webservice.
    Few sites which help you in getting more info on Webservices are:
    http://www.w3.org/2002/ws/
    http://www-106.ibm.com/developerworks/webservices/
    http://java.sun.com/webservices/
    You can mail me at [email protected]
    Regards
    Mahen

  • JBO30003 while executing ADF Application Module WebService

    Hi all,
    I'm using JDev 10.1.2.0 build (1913), Application Server 10g (9.0.4.0.0), Database 10g (10.2.0.1), All of them runs on Windows XP box. Currently, I'm developing a Web Service application from my existing J2EE application. The existing J2EE application uses ADF (client and server side), SpringFramework RCP (client for menu framework)+Swing. It was compiled and run succesfully. Client can connect to application server, accessing EJB, database.
    The problem occurs when I try to make another deployment that support WebService. We know that with JDev, we can easily create WS App from EJB. Since my EJBs are statefull--which cant be use for WS--I try to make WS from Application Module, by simply drag J2EE WebService in Remote App Module Dialog Box. The WSDL is created, Interface is created too.
    For deployment to AS, i'm using ant because JDev can't create EAR file with proper library. I've done this:
    1. copying snippet code web.xml from JDev generation to my web.xml, starting from Servlet tag until servlet mapping.
    2. include wsdl file for my JAR file
    3. deploy to AS with Enterprise Manager
    The WS End Points can be access from http browser. All of methods are accessible. But when I'm invoking any random method, the result is always like this:
    <?xml version='1.0' encoding='UTF-8'?>
    <SOAP-ENV:Envelope
    xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/"
    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
    xmlns:xsd="http://www.w3.org/2001/XMLSchema">
    <SOAP-ENV:Body>
    <SOAP-ENV:Fault>
    <faultcode>SOAP-ENV:Server.Exception:</faultcode>
    <faultstring>oracle.jbo.common.ampool.ApplicationPoolException: JBO-30003: The
    application pool (xxx.xxx.xxxxxx.model.service.SOSAAppModuleLocal) failed to
    checkout an application module due to the following exception:</faultstring>
    <faultactor>/serverpoc/AppModuleService</faultactor>
    </SOAP-ENV:Fault>
    </SOAP-ENV:Body>
    </SOAP-ENV:Envelope>is there some XMLs snipped code from JDev's WS generated file that i'm not put them in my ant's XMLs? because i'm sure that all of my EJBs in same EAR file with WS application are accessible from ADF Swing Client
    i'm googling the error message JBO-30003, but none of them fits my problem. Any help and suggestions are appreciated. Thanks...
    :)

    i notice that there is file Webservice.deploy. What is it for? I assume that file is used by some kind of proccess of JDev to deploy EAR file.If it is a compulsory file, how to convert it to ANT build file?
    I've modified some classes in my working J2EE application, and deploy it with JDev to my AppServer. But still, while invoking anymethods of WebService at my endpoint, it also has same XML response that an error occured with JBO-30003..
    Having searched in oracle, i found examples are using JDev 10.1.3 which is completely different with my JDev 10.1.2 (build 1913). I cant follow that tutorial. Any one know how to deal with this issues?
    Thanks

  • Invoke JCAPS webservice from Java Application

    I am getting
    AxisFault
    faultCode: {http://schemas.xmlsoap.org/soap/envelope/}Client
    faultSubcode:
    faultString: JAXRPC.TIE.01: caught exception while handling request: unrecognized operation: Test
    faultActor:
    faultNode:
    faultDetail:
    {http://xml.apache.org/axis/}stackTrace: AxisFault
    faultCode: {http://schemas.xmlsoap.org/soap/envelope/}Client
    faultSubcode:
    faultString: JAXRPC.TIE.01: caught exception while handling request: unrecognized operation: Test
    faultActor:
    faultNode:
    faultDetail:
    JAXRPC.TIE.01: caught exception while handling request: unrecognized operation: Test
    at org.apache.axis.message.SOAPFaultBuilder.createFault(SOAPFaultBuilder.java:260)
    at org.apache.axis.message.SOAPFaultBuilder.endElement(SOAPFaultBuilder.java:169)
    at org.apache.axis.encoding.DeserializationContextImpl.endElement(DeserializationContextImpl. java:1015)
    at com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.endElement(AbstractSAXParser. java:633)
    at com.sun.org.apache.xerces.internal.impl.XMLNSDocumentScannerImpl.scanEndElement(XMLNSDocum entScannerImpl.java:719)
    at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl$FragmentContentDisp atcher.dispatch(XMLDocumentFragmentScannerImpl.java:1685)
    at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scanDocument(XMLDoc umentFragmentScannerImpl.java:368)
    at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.jav a:834)
    at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.jav a:764)
    at com.sun.org.apache.xerces.internal.parsers.XMLParser.parse(XMLParser.java:148)
    at com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.parse(AbstractSAXParser.java: 1242)
    at javax.xml.parsers.SAXParser.parse(SAXParser.java:375)
    ==========================================================
    JAVA CODE :
    public static void main(String[] args) {
    // TODO code application logic here
    try {
    WebServiceClient wsClient = new WebServiceClient();
    String strTargetNameSpaceIn ="urn:stc:egate:jce roject3_Collaboration_1" ;
    String strPortNameIn = "ExecutePortType";
    String strServiceNameIn ="Project3_Collaboration_1Service" ;
    String strOperationNameIn ="Test" ;
    //String strWebserviceURLIn = "http://165.68.202.246:8080/uddidocs/Nonesecurewebservice/testweb3/jc/wsdl_jce_jc-2145777518.wsdl";
    String strWebserviceURLIn = "http://localhost:8080/uddidocs/EnvUCHDevLocal/Project3/Collaboration_1/wsdl_jce_Collaboration_1771627736.wsdl ";
    String strInputIn = " Test JCAPS WebService ";
    String output = wsClient.callWebService(strTargetNameSpaceIn,strPortNameIn,strServiceNameIn,strOperationNa meIn,strWebserviceURLIn,strInputIn);
    System.out.println("WebService Output " + output);
    } catch (Exception err) {
    System.out.println( " EXCEPTION OCCURED");
    err.printStackTrace();
    public String callWebService(String strTargetNameSpace,String strPortName,String strServiceName,String strOperationName,String strWebserviceURL,String strInput) throws ServiceException, MalformedURLException, RemoteException
    if(strTargetNameSpace==null || strPortName == null || strServiceName == null || strOperationName == null || strWebserviceURL ==null || strInput == null )
    throw new IllegalArgumentException();
    ServiceFactory factory = ServiceFactory.newInstance();
    // for webservice target namespace
    String targetNamespace =strTargetNameSpace;
    // for webservice name
    QName serviceName = new QName(strTargetNameSpace,strServiceName);
    // for webservice port name
    QName portName = new QName(strTargetNameSpace,strPortName);
    // for operation name
    QName operationName = new QName("urn:stc:egate:jce roject3:Collaboration_1WSDL:Test",strOperationName);
    // for url of webservice ".wsdl" file
    URL wsdlLocation = new URL(strWebserviceURL);
    if(wsdlLocation==null)
    throw new ServiceException();
    // for bind to service name with wsdl file
    Service service = factory.createService(wsdlLocation, serviceName);
    // for call to webservice using operation name
    Call call = service.createCall(portName, operationName);
    String result = null;
    try{
    System.out.println(" STR INPUT" + strInput);
    result = (String) call.invoke(new Object[] {strInput});
    }catch(Exception e){
    e.printStackTrace();
    result="Occur webservice processing error";
    if(result==null)
    result="Occur webservice processing error";
    String str = "Webservice Responce from :"+strWebserviceURL;
    return result;
    }//close function
    =========================================================
    WSDL FILE :
    <?xml version="1.0" encoding="UTF-8"?>
    <definitions name="Project3_Collaboration_1" targetNamespace="urn:stc:egate:jce roject3_Collaboration_1" xmlns:tns="urn:stc:egate:jce roject3_Collaboration_1" xmlns:inMsg="http://dn1318d-uwsxp:13000/repository/UCHDevLocal/Project3/UCHDevLocal23b1e1:1192e3ad66a:-8000/XSDDefinition1" xmlns:errMsg="urn:stc:egate:jce:JavaException" xmlnsutMsg="http://dn1318d-uwsxp:13000/repository/UCHDevLocal/Project3/UCHDevLocal23b1e1:1192e3ad66a:-7fff/XSDDefinition2" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns="http://schemas.xmlsoap.org/wsdl/">
    <import namespace="http://dn1318d-uwsxp:13000/repository/UCHDevLocal/Project3/UCHDevLocal23b1e1:1192e3ad66a:-7fff/XSDDefinition2" location="XSDDefinition2.xsd"/>
    <import namespace="http://dn1318d-uwsxp:13000/repository/UCHDevLocal/Project3/UCHDevLocal23b1e1:1192e3ad66a:-8000/XSDDefinition1" location="XSDDefinition1.xsd"/>
    <types>
    <xs:schema elementFormDefault="qualified" id="UID-20000000-DC88392E190100-A544977D-01" targetNamespace="urn:stc:egate:jce:JavaException" xmlns="urn:stc:egate:jce:JavaException" xmlns:xs="http://www.w3.org/2001/XMLSchema">
    <xs:element name="JavaException" type="JavaExceptionType"/>
    <xs:complexType name="JavaExceptionType">
    <xs:sequence>
    <xs:element name="Type" type="xs:string"/>
    <xs:element name="Message" type="xs:string"/>
    <xs:element name="Trace" type="xs:string"/>
    </xs:sequence>
    </xs:complexType>
    </xs:schema>
    </types>
    <message name="Output">
    <part name="Body" element="outMsg utput"/>
    </message>
    <message name="Input">
    <part name="Body" element="inMsg:Input"/>
    </message>
    <message name="JavaExceptionMessage">
    <part name="FaultDetails" element="errMsg:JavaException"/>
    </message>
    <portType name="ExecutePortType">
    <operation name="Test">
    <input name="Input" message="tns:Input"/>
    <output name="Output" message="tns utput"/>
    <fault name="JavaException" message="tns:JavaExceptionMessage"/>
    </operation>
    </portType>
    <binding name="ExecutePortTypeBinding" type="tns:ExecutePortType">
    <soap:binding style="document" transport="http://schemas.xmlsoap.org/soap/http"/>
    <operation name="Test">
    <soapperation soapAction="urn:stc:egate:jce roject3:Collaboration_1WSDL:Test" style="document"/>
    <input name="Input">
    <soap:body parts="Body" use="literal" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"/>
    </input>
    <output name="Output">
    <soap:body parts="Body" use="literal" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"/>
    </output>
    <fault name="JavaException">
    <soap:fault name="JavaException" use="literal" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"/>
    </fault>
    </operation>
    </binding>
    <service name="Project3_Collaboration_1Service">
    <port name="ExecutePortType" binding="tns:ExecutePortTypeBinding">
    <soap:address location="http://localhost:18501/WsServer/ExecutePortType"/>
    </port>
    </service>
    </definitions>

    Hi Abinap.
    If you are woking with JEE 1.3 or JAX-RPC.
    You need to add some libraries to java project.
    Go to the tab "Add Libraries" on context menu of the project: Properties --> Java build Path
    Select "Add variable" button, after select the SAP_WEBSERVICES_EXT_LIBS_HOME variable and click on "Extend" Button, finally select all the libraries under lib folder, do the same to the SAP_XML_TOOLKIT_LIBS_HOME variable.
    Greetings.
    Manuel Loayza Gahona

  • Bandwidth requirec for Oracle 11g ADF application

    Hi
    What is the idel bandwidth recomend for oracle 11g ADF web application .

    Can't be answered without knowledge of the app you are talking about.
    100 user doesn't mean they are all active at once and even if they are it depends on how much data your app processes. This can't be answered from out point of view.
    So your task is to find out how many users are doing what at a given time interval and then find out how much data is processed (there are plenty of tools available to measure this).
    How a bout a test run with e.g. 10 users doing normal work with our app, measure the amount of data and calculate the bandwidth from there. Don't forget to take service level agreements (e.g. a page has to be submitted in x seconds) into your calculations.
    Timo

  • Deployment issues for WebService from DC problem

    I created a WebService from DC, deployed to NetWeaver successfully, but I canu2019t find the WebService from the WS Navigator.
    Here is my step-by-step procedure:
    1. Create an EJB Project from DC
    2. Create a Stateless Session Bean
    3. Create a WebService from the EJB
    4. Crate an Enterprise Application Project from DC and assign the EJB project into it.
    5. Deploy EAR file after building EJB and EAR
    6. After deploying the EAR file, I can find the EAR in Visual Administrator, but I didnu2019t find the WebService in WS the Navigator.
    7. Then I deployed again, I got the error message shown below.
    What should I do to make my WebService listed in the WS Navigator?
    2008/7/18 下午 12:06:21 /userOut/deploy (com.sap.ide.eclipse.sdm.threading.DeployThreadManager) [ThreadDeploy Thread,5,main] ERROR:
    004Deployment aborted
    Settings
    SDM host : EADDEV01
    SDM port : 50018
    URL to deploy : file:/D:/DOCUME1/y_hungsy/LOCALS1/Temp/temp20894com.tsmcenginfosvcdemo1.ear
    Result
    deployment aborted : file:/D:/DOCUME1/y_hungsy/LOCALS1/Temp/temp20894com.tsmcenginfosvcdemo1.ear
    Aborted: development component 'enginfosvc/demo1'/'com.tsmc'/'IS2_APPL3_D'/'20080718120608'/'0':
    Caught exception during application deployment from SAP J2EE Engine's deploy service:
    java.rmi.RemoteException: Cannot deploy application com.tsmc/enginfosvcdemo1.. Reason: Webservices common deployment exception! The reason is: Error occurred, trying to update web services for application com.tsmc/enginfosvcdemo1. . Additional info: none; nested exception is: java.lang.Exception: com.sap.engine.interfaces.webservices.server.deploy.WSDeploymentException: Webservices common deployment exception! The reason is: Error occurred, trying to update web services for application com.tsmc/enginfosvc~demo1. . Additional info: none
    at com.sap.engine.services.webservices.server.deploy.ws.update.WSUpdateProcessor.updateWebServices(WSUpdateProcessor.java:164)
    at com.sap.engine.services.webservices.server.deploy.ws.update.WSUpdateProcessor.updateWebServices(WSUpdateProcessor.java:118)
    at com.sap.engine.services.webservices.server.deploy.ws.update.WSUpdateProcessor.updateWebServices(WSUpdateProcessor.java:86)
    at com.sap.engine.services.webservices.server.deploy.ws.update.WSUpdateManager.makeUpdate(WSUpdateManager.java:52)
    at com.sap.engine.services.webservices.server.deploy.WSDeployer.makeUpdate(WSDeployer.java:274)
    at com.sap.engine.services.deploy.server.application.UpdateTransaction.makeComponents(UpdateTransaction.java:400)
    at com.sap.engine.services.deploy.server.application.DeployUtilTransaction.commonBegin(DeployUtilTransaction.java:321)
    at com.sap.engine.services.deploy.server.application.UpdateTransaction.begin(UpdateTransaction.java:164)
    at com.sap.engine.services.deploy.server.application.ApplicationTransaction.makeAllPhasesOnOneServer(ApplicationTransaction.java:292)
    at com.sap.engine.services.deploy.server.application.ApplicationTransaction.makeAllPhases(ApplicationTransaction.java:326)
    at com.sap.engine.services.deploy.server.DeployServiceImpl.makeGlobalTransaction(DeployServiceImpl.java:3184)
    at com.sap.engine.services.deploy.server.DeployServiceImpl.update(DeployServiceImpl.java:669)
    at com.sap.engine.services.deploy.server.DeployServiceImplp4_Skel.dispatch(DeployServiceImplp4_Skel.java:1278)
    at com.sap.engine.services.rmi_p4.DispatchImpl._runInternal(DispatchImpl.java:319)
    at com.sap.engine.services.rmi_p4.DispatchImpl._run(DispatchImpl.java:200)
    at com.sap.engine.services.rmi_p4.server.P4SessionProcessor.request(P4SessionProcessor.java:136)
    at com.sap.engine.core.service630.context.cluster.session.ApplicationSessionMessageListener.process(ApplicationSessionMessageListener.java:33)
    at com.sap.engine.core.cluster.impl6.session.MessageRunner.run(MessageRunner.java:41)
    at com.sap.engine.core.thread.impl3.ActionObject.run(ActionObject.java:37)
    at java.security.AccessController.doPrivileged(Native Method)
    at com.sap.engine.core.thread.impl3.SingleThread.execute(SingleThread.java:102)
    at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java:172)
    Caused by: com.sap.engine.interfaces.webservices.server.deploy.WSDeploymentException: Webservices deployment exception! The reason is: Error occurred, trying to generate web services deployment files for application com.tsmc/enginfosvc~demo1. . The error refers to application: none, jar: , web service: .
    at com.sap.engine.services.webservices.server.deploy.ws.update.WSUpdateProcessor.generateDeployFiles(WSUpdateProcessor.java:296)
    at com.sap.engine.services.webservices.server.deploy.ws.update.WSUpdateProcessor.deployWebServices(WSUpdateProcessor.java:262)
    at com.sap.engine.services.webservices.server.deploy.ws.update.WSUpdateProcessor.updateWebServices(WSUpdateProcessor.java:155)
    ... 21 more
    Caused by: com.sap.engine.interfaces.webservices.server.deploy.WSDeploymentException: Webservices common deployment exception! The reason is: Error occurred, parsing com.sap.engine.services.webservices.server.deploy.descriptors.sapwebservices.WSDescriptor descriptor, application com.tsmc/enginfosvcdemo1, web service testDemo, location message: type: jar file, location: D:\usr\sap\IS2\JC00\j2ee\cluster\server0\.\temp\deploy\work\deploying\reader1216353976686\com.tsmcenginfosvc~demo1_ejb.jar . . Additional info:
    at com.sap.engine.services.webservices.server.deploy.ws.WSDefinitionFactory.parseWSDescriptor(WSDefinitionFactory.java:907)
    at com.sap.engine.services.webservices.server.deploy.ws.WSDefinitionFactory.loadWebService(WSDefinitionFactory.java:176)
    at com.sap.engine.services.webservices.server.deploy.ws.WSDefinitionFactory.loadWebServices(WSDefinitionFactory.java:158)
    at com.sap.engine.services.webservices.server.deploy.ws.update.WSUpdateProcessor.generateDeployFiles(WSUpdateProcessor.java:284)
    ... 23 more
    Caused by: com.sap.engine.interfaces.webservices.server.deploy.WSDeploymentException: Webservices common deployment exception! The reason is: Error occurred, trying to parse documentation for web service testDemo. . Additional info:
    at com.sap.engine.services.webservices.server.deploy.ws.WSDefinitionFactory.parseDocumentation(WSDefinitionFactory.java:1590)
    at com.sap.engine.services.webservices.server.deploy.ws.WSDefinitionFactory.parseWSDAndDocumentation(WSDefinitionFactory.java:1564)
    at com.sap.engine.services.webservices.server.deploy.ws.WSDefinitionFactory.parseWSDescriptor(WSDefinitionFactory.java:814)
    ... 26 more
    Caused by: java.io.FileNotFoundException: .\temp\webservices\deploy\com.tsmc_enginfosvc_demo1\webservices\com1\com\tsmc\testDemoWsd.wsdef (The system cannot find the path specified)
    at java.io.FileOutputStream.open(Native Method)
    at java.io.FileOutputStream.<init>(FileOutputStream.java:179)
    at java.io.FileOutputStream.<init>(FileOutputStream.java:131)
    at com.sap.engine.lib.jar.JarExtractor.extractFile(JarExtractor.java:232)
    at com.sap.engine.services.webservices.server.deploy.ws.WSArchiveFilesLocationHandler.getWsdInputStream(WSArchiveFilesLocationHandler.java:184)
    at com.sap.engine.services.webservices.server.deploy.ws.WSDefinitionFactory.parseDocumentation(WSDefinitionFactory.java:1574)
    ... 28 more
    (message ID: com.sap.sdm.serverext.servertype.inqmy.extern.EngineApplOnlineDeployerImpl.performAction(DeploymentActionTypes).REMEXC)
    Deployment exception : The deployment of at least one item aborted

    As the log describes there is already an WS with the same name. Undeploy the ear whcih contains the WS and then deploy the new definition and you're on the way ...
    Regards,
    Daniel

Maybe you are looking for

  • Why FileUtils::CopyFile doesn't work with blank space?

    Hi all, If I have a destination directory with blank space inside, looks like: "C:\Users\Pattrick James\Documents" for Windows or "Macintosh HD:Users:Pattrick James:Documents" for Mac. Then I want to copy a file to that directory, use FileUtils::Copy

  • Runnng external swf Actionscript while in fullscreen mode

    I am using Flash 9.0 (CS3 Pro). I am coding in Actionscript 3.0 I have two swf files, both interactive. During playback of the, a mouse event launches the second. I also want the mouse event to trigger a switch to fullscreen mode. The second swf is n

  • Equipment Selection/Setup Help

    I'm helping someone setup a network in their new office and want to see if my equipment selection is correct.  The products of the Small Business suite seemed to meet our needs as best I could tell. There is a dizzying array of products to choose fro

  • Logitech mouse right click  relaunching Finder

    I have been having a problem with any and all of my Logitech devices on my MacPro. Every once in a while (I hate every once in a while stuff!!) when I right click when I am in Finder or in a regular window on the desktop, the Finder re-launches immed

  • Ipod preferences missing

    I'm manually updating my selected playlists but when I connect my ipod, I get an error message saying that the ipod preferences are missing and it can't update my ipod. Anybody else see this and have a solution? Thanks