How to deploy JAR as a Web Service

Hi,
I am new to BPEL and interested in building Web Services using BPEL. For this I am using Oracle BPEL Process Manager(JDeveloper).
I have a standalone Java application (which I run from command prompt) and ant script which generates the JAR file. Can I deploy this JAR as a web service using Oracle BPEL.
I have seen the examples given by Oracle BPEL and it was mentioned that using WSIF we can create WSDL file for our java class and call this WSDL as a partner link in my BPEL process. But how should I replicate it to my application.
Can you please direct me in proceeding further.
Thanks
/Kiran.

Hi,
This is a forum for BI Beans questions - your question seems to be purely related to ADF and BC4J, not to BI Beans..

Similar Messages

  • How to deploy and debug java web service in eclipes or using any other soft

    Hai,
    can any one tell me how to deploy and debug java web service in eclipes or using any other software.
    i have used tomcat web server and jdk1.4.0 to develop web service.
    we have used web service to interact with MS outlook .
    bye
    sudhakar.m

    Hi Sudhakar,
    If you are used to working with ant then you can very well use eclipse to deploy your web service.
    You would usually have the ant script in the source root working directory. From eclipse if you select the build file from the navigator view and right click you will see a run ant option in the pop up menu.
    Select that option and you would be able to see each targets with a checkbox select option. So define each target maybe one for wsdl2java conversion, one for compilation and one for deploying your web services. You can either make all of them run by having depends option on or you can run them individually as it takes your fancy.
    I am not sure about debugging a web service yet.
    Hope this helps
    Aviroop
    The truth is out there? Does anyone know the URL?

  • How to Deploy a Simple Java Web service in Oracle E Business Suite Server

    Hi,
    I have created a simple Java webservice using Jdev11g.
    I am able to Test the Webservice using Jdev11g itself.
    How Can i migrate the same to Oracle E Busienss Suite( - 9iAS ) so that webservice clients connect to 9iAS instead of my local machine
    Thanks,
    Gowtam.

    Hi Sudhakar,
    If you are used to working with ant then you can very well use eclipse to deploy your web service.
    You would usually have the ant script in the source root working directory. From eclipse if you select the build file from the navigator view and right click you will see a run ant option in the pop up menu.
    Select that option and you would be able to see each targets with a checkbox select option. So define each target maybe one for wsdl2java conversion, one for compilation and one for deploying your web services. You can either make all of them run by having depends option on or you can run them individually as it takes your fancy.
    I am not sure about debugging a web service yet.
    Hope this helps
    Aviroop
    The truth is out there? Does anyone know the URL?

  • How to deploy and start PHP web services required for a process

    hello everyone!
    i ve implemented some php web services. One of them is ManagePatientsImpl.php class
    and the corresponding ManagePatients.wsdl.
    How can deploy it? What are the files required apart from them?
    In addition there are some GUI-files. Should these files be deployed together?
    Thank you in advance!
    Edited by: user643354 on 14-Jul-2010 09:40

    i'm sorry, i assumed you were running weblogic server.
    in case of oc4j you could try this :
    http://tugdualgrall.blogspot.com/2005/03/php-on-oc4j-yes-with-jsr-223-ri.html
    OC4J communication with PHP

  • How to deploy a report with web service datasource

    Hi Guys,
               I have a RPT file(report) which is using some web service call to get data source and Information.
               I am not able to deploy it properly as It gives " Error in file testReport Unknown Database Connector Error " while click at preview at server Central management Console.
    Please tell me some way to resolve the issue.
    I am not sure If I need to configure something at C:\Business Objects\common\3.5\java\CRConfig.xml for web service.
    Actually, We are using web service call from report it self and probably there are some steps missed by me for deployment.
    Sincerely,
    Sanjay Patel
    Edited by: Adlyd Joseph on Mar 19, 2009 6:57 AM

    Hi Sanjay
    First you create a report using the data source in Crystal Reports DesignerStand Alone Application and then save it to repository.
    This is the easiest way to do it.
    You can refer to Crystal Reports User guide and also BOXI Admin guide for the version you are using.
    You can download the above from help.sap.com
    Hope this helps!!
    Regards
    Sourashree

  • How to deploy flex2 application using web service to server

    Hi all.
    I have created flex2 application in that i am calling
    webservice, when i deployed this application to server the buttons
    which calls webservice is not working it is showing error, i even
    uploaded crossdomain.xml to server,
    please tell me how to deploy to server.
    thanks in advance
    regards
    Avanthika

    I have had the same or similar problem, in my case with
    ColdFusion projects. I have uploaded several sample projects to my
    shared hosting web server; all the projects that do not use a
    server run fine, buit I have never been able to make the CF
    projects run. I have posted about this two or three times, but
    nobody ever answered.
    Maybe our question was too stupid to deserve an answer from
    busy people. I never thought of this, but today I got an email from
    my Hosting provider. Quoting part of that message:
    “We will be performing a ColdFusion upgrade to CFMX
    7.02 on the
    server where your account(s), timo, mochica, is/are hosted.
    We have
    scheduled the upgrade to take place between 3:00 AM EDT and
    6:00 AM
    EDT on Saturday, August 5th, 2006.
    We do not anticipate more than 15 minutes of downtime once
    the
    maintenance begins .....”
    Also, I found that the projects that do run require all those
    files that are generated when FB builds the project, so I have been
    uploading the entire output folder (usually, but not always,
    ‘bin’).
    I’m hoping I won’t have any more problems after
    Saturday.
    Peace,
    Carlos

  • InstantiationException when trying to reference an external jar in my web service sample

    Dear all,
    I'm working with Weblogic 6.1 SP3 (on NT platform) and, starting from weather
    weblogic web service sample, I'm trying to build my first web service sample.
    I developed a simple EJB (called OrderManager) that exposes the following functionalities
    in its remote:
    import com.bosslab.abs.beb.sci.ServiceHeaderVO;
    public interface OrderManager extends EJBObject {
    public OrderManagerServiceResponseVO
         submitOrder(
    ServiceHeaderVO header,
         OrderManagerServiceVO data) throws Throwable;
    the ServiceHeaderVO interface is in another package and it is included in an external
    Beb.jar.
    This Beb.jar is located under serverclasses in mydomain directory and it is included
    in the classpath set in startWeblogic.cmd.
    Using wsgen weblogic task & ant I created my WSOrderManager.ear and I deployed
    it.
    Now no problem testing the EJB (OrderManager) with a simple client (in order to
    verify that classpath is correct and also the EJB is running properly).
    Also no problem pointing out to this URL "http://localhost:7011/ordermanager/com.bosslab.abs.mediator.OrderManager/com.bosslab.abs.mediator.OrderManager.wsdl"
    to see the WSDL of my web service.
    But when I run the web service client I got the following error:
    Exception in thread "main" ------------- Remote Stack Trace ------------
    Server side error:
    java.lang.InstantiationException: com.bosslab.abs.beb.sci.ServiceHeaderVO
    at weblogic.soap.codec.SimpleSoapEncodingCodec.newInstance(SimpleSoapEncodingCodec.java:198)
    at weblogic.soap.codec.SimpleSoapEncodingCodec.decode(SimpleSoapEncodingCodec.java:178)
    at weblogic.soap.codec.SimpleSoapEncodingCodec.decode(SimpleSoapEncodingCodec.java:151)
    at weblogic.soap.codec.CodecFactory.decode(CodecFactory.java:96)
    at weblogic.soap.codec.Operation.read(Operation.java:100)
    at weblogic.soap.codec.SoapMessage.readOperation(SoapMessage.java:200)
    at weblogic.soap.codec.SoapMessage.read(SoapMessage.java:130)
    at weblogic.soap.server.servlet.StatelessBeanAdapter.getInputMessage(StatelessBeanAdapter.java:162)
    at weblogic.soap.server.servlet.StatelessBeanAdapter.doPost(StatelessBeanAdapter.java:105)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:760)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
    at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:265)
    at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:200)
    at weblogic.servlet.internal.WebAppServletContext.invokeServlet(WebAppServletContext.java:2546)
    at weblogic.servlet.internal.ServletRequestImpl.execute(ServletRequestImpl.java:2260)
    at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:139)
    at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:120)
    ------------- Local Stack Trace ------------
    weblogic.soap.SoapFault:
    org.xml.sax.SAXException
    at weblogic.soap.codec.FaultOperation.getException(FaultOperation.java:16)
    at weblogic.soap.WebServiceProxy.processResult(WebServiceProxy.java:487)
    at weblogic.soap.WebServiceProxy.invoke(WebServiceProxy.java:434)
    at weblogic.soap.SoapMethod.invoke(SoapMethod.java:186)
    at weblogic.soap.wsdl.WebServiceInvocationHandler.invoke(WebServiceInvocationHandler.java:27)
    at $Proxy0.submitOrder(Unknown Source)
    at StaticWSOrderManagerClient.main(StaticWSOrderManagerClient.java:30)
    It seems that there is a problem to instantiate the com.bosslab.abs.beb.sci.ServiceHeaderVO
    class included in the Beb.jar, so I thought the problem was related to the classpath
    setting, maybe Beb.jar is not set properly in some place ...
    To try solving this problem I did these steps:
    -> exploded my WSOrderManager.ear
    -> created a lib directory and put into it the Beb.jar
    so now the ear structure is:
    lib/Beb.jar
    MediatorOrderManager.jar
    META-INF
    web-services.war
    -> modified the application.xml, adding:
    <module>
    <java>lib/Beb.jar</java>
    </module>
    -> modified the Manifest.mf, adding:
    Manifest-Version: 1.0
    Created-By: 1.3.1_03 (Sun Microsystems Inc.)
    Class-Path: lib/Beb.jar
    -> regenerate the WSOrderManager.ear
    jar cvf WSOrderManager.ear lib MediatorOrderManager.jar ...
    -> and redeployed the ear
    But after stopping/starting my instance, I got yet the same error when I run my
    client.
    Could you please help me to understand how solving this problem ?
    I thank you in advance
    Kind regards

    The WSDL is generated from my web service. I made heavy revisions to my web service which, in turn, affected the resultant WSDL. The changes I made to my web service were almost exclusively related to object substitution. For example, prior to the change I was referencing object A from my web service; after the change, I was referencing object B. The objects that I'm referring to are XMLBeans, if that matters. I can't really describe it more than that without actually showing you the WSDL.
    I would post the WSDL file here to allow you to try to create a types jar out of it, but the WSDL exceeds the 30000 character limit for this field. There is no way for me to attach the WSDL to this post.

  • JDeveloper Configuration to Deploy the pl/sql web services to external oc4j

    Hello
    I am using JDeveloper 10.1.3.1.0,
    I have a created a pl/sql webservice and when i deply, it was working
    successfully with embedded OC4j.
    I want to deply that web serive to external oc4j.
    Could any suggest me, what are configurations required to set in external oc4j
    to deploy the pl/sql web services.
    Regards
    Malathi

    Hi
    We have already registered the application server and Database in the connections navigator.In the Application server,we have created different domains.
    We used to deploy the bpel process to particular domain in the appplication server.
    But for the web services,when we deply the web service, we were getting only the application server name,how can we deploy our process to external oc4j(Application server)?
    Regards
    Malathi

  • How can I call a SAPME web service from MII such as PlaceFutureHold?

    Dears,
    How can I call a SAPME web service from MII such as PlaceFutureHold?
    By using MII, I would like to develop some logic to check some values which query from SAPME database, if the value is out of spec, it needs to send a emal to inform user ans also hold the SFC.
    Thanks!

    With Web service action block you can view all ME available services
    in I.E
    https://sapme:5000/manufacturing-services/ProductionServiceService?wsdl  you could see your FutureHold service
    To do that in MII, you need Web Service action block. Have you work with MII transaction before?
    (saw your post in MII)

  • How to install and consume GroupWise Web Service (SOAP)

    Hello! I'm Razvan, programmer from Romnia, and I am new to GroupWise development.
    I am asking if anyone could help me with a C# Visual Studio 2010 example of how to install and consume GroupWise Web Service (SOAP).
    The documentation from novell site didn't help me, i didn't understant much of it.
    All I need is either a link to a documented GroupWise C# developer step-by-step tutorial, or some code examples.
    Can you please show me some code examples in C# with:
    1)loging in using a username and a password,
    2)retrieving contact list,
    3)retrieving appointment list,
    4)sending a mail,
    5)setting an appointment
    I don't know how to use "groupwise.wsdl" and customise it so that it points to our GroupWise server.
    Please, I really need this because I am working at a project right now which involves GroupWise integration.
    I hope I haven't disturbed anyone with my simple question.
    I know this might be a very simple question given the complexity of the other posts here, but that's why I really hope I will get an answer soon.
    Thank you very much!
    Signature:
    How old is the Orthodox faith?
    How old is the orthodox faith?

    Just a comment.
    The value for the version element should be "1.02"
    not "1.2".
    Preston
    >>> On Tuesday, March 01, 2011 at 8:06 AM,
    TheRomanian<[email protected]> wrote:
    > I have great news! After strong documentation yesterday and today, I've
    > just made a successfull example that actually connects to our GroupWise
    > server.
    >
    > I made it in PHP.
    >
    > I need an ASP.NET + C# application, but now is very simple to convert
    > it. I post the PHP code here for other people who in future might be
    > interested in finding out.
    >
    > So a simple PHP GroupWise Login code using "groupwise.wsdl" web
    > service:
    >
    >
    > require_once('./GWService/GroupwiseService.php');
    > require_once('FB.class.php');
    >
    > $classmap = array(
    > 'Authenication' => 'Authenication',
    > 'PlainText' => 'PlainText',
    > 'loginRequest' => 'loginRequest',
    > 'loginResponse' => 'loginResponse',
    > 'logoutRequest' => 'logoutRequest',
    > 'logoutResponse' => 'logoutResponse',
    > 'UserInfo' => 'UserInfo',
    > );
    >
    > $gwservice = new GroupwiseService(
    > "./WSDL/groupwise.wsdl",
    > array(
    > "location" => "http://11.150.40.78:8756/soap",
    > *Your GroupWise server IP:
    > and PORT*
    > "classmap" => $classmap,
    > "trace" => true)
    > );
    >
    > // do login
    > $pt = new PlainText();
    > $pt‑>username = *"YOUR GROUPWISE USERNAME"*;
    > $pt‑>password = *"YOUR GROUPWISE PASSWORD"*;
    >
    > $lr = new loginRequest();
    > $lr‑>auth = $pt;
    > $lr‑>language = "en";
    > $lr‑>version = "1.2";
    > $lr‑>application = "phpClient";
    >
    > $lres = $gwservice‑>loginRequest($lr);
    > //print_r($lres);
    >
    >
    > I Hope this will help others.
    >
    > ‑‑
    > Signature:
    >
    > How old is the Orthodox Faith?
    > 'How old is the orthodox faith?'
    > (http://www.orthodoxphotos.com/history.shtml)

  • Help me!    How to use it as a web service from third party application?

    After using JDeveloper to develop BSSV object e.g. JP550010, how to use it as a web service from third party application?
    TKS!

    Obviously the OP is working on a project for the Bead Society of Southeastern Virginia http://www.bssv.org. Oh, wait, maybe he's researching the Blueberry Shoestring Plant Virus http://abbreviations.yourdictionary.com/bssv
    :D
    John

  • How to connect to database in web service??

    Hi all,
    How to connect to database in web service ? Can anyone give some advice what kind of database should i use? thanks

    No difference. Just connect as usual!
    Let me give you an example:
    Code to connect to postgresql db ...
    public Connection connectPostgresql(String servername, String dbname, String username, String password)
              Connection conn = null;
              try
                        // Load the JDBC driver
                        String driverName = "org.postgresql.Driver";
                        Class.forName(driverName);
                        // Create a connection to the database
                        String url = "jdbc:postgresql://" + servername +  "/" + dbname;
                        conn = DriverManager.getConnection(url, username, password);
                        return conn;               
              catch (ClassNotFoundException e)
                        // Could not find the database driver
                        return conn;
              catch (SQLException e)
                        // Could not connect to the database
                        return conn;
    }Code for an axis web service ...
    public Element[] updateProfile(Element[] params)
              String message = "";
              // get str 1
              Node node1 = params[0].getFirstChild();
              String str1= node1.getNodeValue();
              // get str 2
              Node node2 = params[1].getFirstChild();
              String str2= node2.getNodeValue();
              Connection conn = connectPostgresql ("localhost","myDatabase","myUsername","myPassword");
              // there is a method to insert these params to db
              boolean isInserted = insertParams(conn, str1, str2);
              if(isInserted )
                        message = "OK";
              else
                        message = "Not OK";
              // constructs an array of DOM Elements for message to send back to client
              SOAPBodyElement[] response = new SOAPBodyElement[1];
              response[0] = new SOAPBodyElement(XMLUtils.StringToElement("urn:foo", "e1", message));
              return response;
    }Gokce.

  • How to consume sap xi pi web services or sap RFC with oracle 11g forms.

    Dear All
    how to consume sap xi pi web services or sap RFC with oracle 11g forms.
    or
    how to config 11g forms with sap xi....
    or how to call sap xi web services in 11g forms....
    or can send sample code....
    Regards
    smfatmi
    Edited by: smfatmi on Oct 17, 2011 2:16 AM
    Edited by: smfatmi on Oct 17, 2011 2:17 AM

    Dear All
    how to consume sap xi pi web services or sap RFC with oracle 11g forms.
    or
    how to config 11g forms with sap xi....
    or how to call sap xi web services in 11g forms....
    or can send sample code....
    Regards
    smfatmi
    Edited by: smfatmi on Oct 17, 2011 2:16 AM
    Edited by: smfatmi on Oct 17, 2011 2:17 AM

  • How to develop and call Asynchronous web service

    Hi All,
    I need to have a java web service that will be called asynchronously.
    That should execute, once triggered and caller shouldnt need to wait till its completion.
    How to develop and call asynchronoue web service ?
    Thanks
    Saikrishna

    Let your web service start its own background thread (*) somehow and move your business logic from web service to this thread. Then you can return from your web service. The client won't be blocked and your application will run on your server after service callout will be finished.
    I hope that's what you need. Anyway, there is only "asynchronous communication" and nothing like "asynchronous web service". At least from HTTP point of view, every call is synchronous - you have request and response.
    (*) You shouldn't start your own thread since you are in JEE world. Look at documentation for your container. E.g. for weblogic there are workers you can use this way. Or you can choose the other way. I hope that for any container you can just enqueue your web service request to any JMS queue and move your business logic to an appropriate MDB. Then, your web service will be just a simple JMS producer and your web service client won't be forced to wait for business logic to finish.
    Last but not least, next time choose a better forum. :-)

  • How to create Query as a web service in  Business Objcets

    Hi Friends,
    Can any one please guide me ' How to create Query as a web service in Business Objects'.
    Thanks in advance.
    Thanks & Regards,
    Ramnaresh.P.

    Hi,
    which version of BOBJ are you using?
    Regards
    Stratos

Maybe you are looking for

  • KKAK - sales document missing

    Hi After we run the KKAK (RA analysis) product cost by sales order, there are some sales order that is suppose to be shown on the report list is missing and not there, can any one let me know why it is missing or not showing up the report? Thank you

  • Mapping shipment idoc with XI internal structure.

    Hi, we are sending shipment idoc to PI system, there mapping is required like for each Matnr of EIEDT43 , we need to map with EIEDL24-ARKTX with XI data type structure where material number and Item description field is at same level but in idoc it i

  • Batch monitor doesn't launch and doesn't exist at all :(

    Hi, I desperately need your help. My problems started a couple of months ago when a less than 2-hour project in Final Cut was converted by compressor into a 6-gig file. Following basic troubleshooting steps described in FAQ, I deleted user preference

  • OSB: Calling XQuery from XQuery function

    Hi, In OSB, is it possible to call XQuery functions from an XQuery. I have a number of XQuery files (.xq) and I want to call them from another xquery file, is that possible. I tried calling directly but it didn't work. Is there a way? Thank you Matt

  • Get Album Artwork doesn't recognize mainstream artists

    I ripped my mp3 collection from Audiograbber using Freedb (a free database for album info) and put them onto an external hard drive. I've added the folder to my iTunes music library, but when I try to get album artwork, it says "Could not get artwork