How to integrate deployed Web Services and Portlets

Hi All,
I am able to deploy Web Services and Portlets in the Application Server, which is in the network system.Now, I want to know how to integrate the Web Services and Portlets.I dont have any idea about this and i didn't got any good material..
Please, provide some useful links or material, if anybody has any idea about this.
Thanks in advance.
Praphul

You can consume a Web service from a JSF page for example using the ADF Web service data control:
http://www.oracle.com/technology/obe/obe11jdev/bulldog/webservices/ws.html
http://www.oracle.com/technology/obe/obe11jdev/11/wsdc/wsdc.htm
You can turn these JSF pages into portlets using WebCenter's JSF to Portlet bridge.
http://www.oracle.com/technology/products/jdev/11/cuecards111/jps_set_62/ccset62_ALL.html

Similar Messages

  • How to integrate Apache Web Server and Apache Tomcat 4.0 ?

    <pre>
    Hi All,
    Can anyone give me a detailed description(or url that tells so) of how to install the Apache Web Server, Apache Tomcat Server4.0 and Integrate both of them.
    Still now I am using Apache Tomcat 4.0 as a standalone application and now I want to learn how to install,use Apache Web Server and integrate this with Apache Tomcat.
    Please point me to exact location,url to download the recent Apache Web Server and,
    Can I use my existing Standalone Apache Tomcat 4.0 to integrate this with Apache Web Server that I am going to download.
    A detailed explanation of how to integrate both is very helpful.
    Thanks in advance.
    <pre>

    The way to integrate Apache Web Server & Apache is very easy. The first step is download the library to connect both servers. This library can be download from http://jakarta.apache.org/builds/jakarta-tomcat-4.0/release/v4.0/bin/webapp-module-1.0-tc40-windows.zip.
    Copy the files to APACHE_HOME\modules and open httpd.conf to change any lines:
    You find the section "LoadModule" and you add the next lines:
    LoadModule webapp_module modules/mod_webapp.so
    AddModule mod_webapp.c
    And the end of the file you must add these lines:
    WebAppConnection conexion warp localhost:8008
    WebAppDeploy examples conexion /examples
    The first parameter -2nd line- (examples) is the URL name application, the second is the connection's name and the last parameter is the application's name. This name is the same which in servlet.xml.
    At last you can add one more lines to check the module's configuration:
    WebAppInfo /webapp-info
    If you visit http://<yoor_host>/webapp-info you can see the configuration.

  • How to Create and Deploy Web Services Using Oracle 9i JDeveloper

    Hi,
    My Question is how to create and deploy Web Services using Oracle 9i JDeveloper.Anybody please give me a detailed Reply.Please Reply to [email protected]
    Hopr to Hear From you,
    Regards,
    G Sreekumar

    You could use datasources. You should do this in your BC4J Configuration. Then when deploying your applicaiton use the command -installDataSource (from admin.jar) to create the right datasource.
    You could probably use the name of your connection + "DS" so you can also use it locally in JDeveloper as JDev seesm to create this automaticly for your Connections.

  • How to deploy web service as part of console.war

    Hello,
    I need to expose the deploy functionality of bpel console as web service. I see that there is a JSP page which pretty much does the same thing in console.war. So I know what my Java class is going to look like the problem is I am very new to OC4J so I don't know how to deploy it as web service on this container. Any help is greatly appreciated.
    I tried going through the tutorial on deploying web services on OC4J but the sample stateless class does not compile because it cannot find some proxy classes. Also next I copied ws_example.ear in 'D:\OraBPEL_1\bpel\system\appserver\oc4j\j2ee\home\applications' and restarted server but it is not deployed.
    Thank you,
    Meghana

    Thank you for replying to my post.
    The requirement is that we deploy BPEL suitcase remotely. My impression was that one can get handle to the Locator object only if running on local machine so I was looking at how to create web service on Oracle BPEL PM itself that will accept the stream of jar and deploy it locally.
    However now looking at this tutorial and the Java docs, I know it supports RMI calls. So I can use this constructor to get Locator instance -
    public Locator(java.lang.String domainId,
    java.lang.String password,
    java.util.Hashtable pInitialContextProperties)
    throws ServerException
    Can you let me know sample initial context properties? I checked the sample InvokingProcesses' context.properties
    orabpel.platform=oc4j_10g
    java.naming.factory.initial=com.evermind.server.rmi.RMIInitialContextFactory
    java.naming.provider.url=ormi://ca-guru/orabpel
    java.naming.security.principal=default
    java.naming.security.credentials=welcome1
    My guess is I have to change that url but I don't know where to point it. Also could you please let me know what are the jars I will need on the client side?
    Thank you. I appreciate your help.
    Meghana

  • Deploying a VB dll using some web service and accessing it through java

    I'm new to Web Services Based Programming. I would like to know whether this is possible and if so has anyone tried it. I want to create a vb dll that contains the remote methods that the client will access from a java program. After going thru a lot of articles, I'm still unsure on how to do this. I found one method was to Create a VB program/dll, deploy it in a web service and create the java program that accesses by another web service.
    I'm doing this as part of my lab syllabus. The thing is My lab exercises do not state anything about the technologies that I can use to do this.
    This is all that is stated there:-
    Creation Of DLL Using VB And Deploy it in Java
    I just cant get any ideas other than deploying both the parts as web services. If anyone has Better ideas for this, I would really appreciate it.
    I dont know anything about CORBA for languages other than Java and I'm already using the servlets and EJB's in my normal life. I'm also learning the ORB based programming in java. Therefore your help will probably help me learn something new then what I know.

    Sorry I wasn't too specific in my last question.
    This is my java class calling the native method print
    //HeyWorld.java
    class HeyWorld {
    private native void print();
    public static void main(String[] args) {
    new HeyWorld().print();
    static {
    System.loadLibrary("HeyWorld");
    In this case, my C method for calling a C++ method: HelloWorld.cpp
    #include "jni.h"
    #include "stdio.h"
    #include "stdafx.h"
    #Include "HeyWorld.h" //this is where i get my function prototype
    #include "Test.h" //this is the C++ header where the print method and the Test class is
    JNIEXPORT void JNICALL
    Java_HeyWorld_print(JNIEnv *env, jobject obj)
    CTest a; //CTest is the print class I created
    a.print();
    //This is the header for Test.h
    class CTest: public CWinApp
    public:
         CTest(); //constructor
         void print(); //our method
    //And this is the implementation of the class Test.cpp
    void CTest::print()
         printf("Hey World!\n");
         return ;
    I could compile the Test.cpp, HeyWorld.cpp successfully. However when I tried to compile HeyWorld.cpp using
    cl -I<path of jdk include> -I<path of jdk include win32> -LD HeyWorld.cpp -FeHeyWorld.dll,
    the VC++ 6.0 compiler gave me this error:
    HeyWorld.obj:error LNK2001: unresolved external symbol "public:_thiscall CTest::CTest(void)"
    HeyWorld.obj:error LNK2001: unresolved external symbol "public:_thiscall CTest::print(void)"
    Thanks for the help.

  • How to create A web services step by step and their uses

    How to create A web services step by step and their uses with their T-Codes
    pls dont send any links
    thank you
    Regards,
    Jagrut Bharatkumar Shukla

    Hi
    Use the Tcode <b>WFWS</b> to create the Web service
    enter the Transaction to whih you wants create the web service and save
    Regards
    Anji

  • How to find the URL of deployed Web services?

    Hi,guys. I have created a Web service, and deployed to WAS.But where is the accessing URL? WAS has created several WSDLs for the serviece, but I can not find the URL in the files.
    I think that the URL looks like "http://localhost:50000/XISOAPAdapter/MessageServlet?channel=:WAS2:CC_GIS_Equipment_Create_SOAPOUT&version=3.0&Sender.Service=WAS2&Interface=urn%3Azpepc%3Agis%3Aequipment%3Amaintenance%5EMI_GIS_Equipment_Create"

    my accessing code is:
    public class VacationClient {
         public static void main(String[] args) throws Exception {
              System.out.println("SOAP call start");
              VacationClient helloSOAPClient = new VacationClient();
              String resultValue = helloSOAPClient.doSOAPRequest(
                        "VacationCheckerService", "getVacationDays",
                        "employed_years", 20);
         public String doSOAPRequest(String _strURI, String _strMethodName,
                   String _strName, int _strValue) throws Exception {
              Call call = new Call();
              call.setTargetObjectURI("urn:" + _strURI);
              call.setMethodName(_strMethodName);
              call.setEncodingStyleURI(Constants.NS_URI_SOAP_ENC);
              Vector params = new Vector();
              params.addElement(new Parameter(_strName, Integer.class, new Integer(
                        _strValue), null));
              call.setParams(params);
              System.out.println("&#24320;&#22987;");
              Response resp = call
                        .invoke(
                                  new URL(
                                            "http://10.136.31.121:50000/TestWeb_Config1_SoapServlet"),
              if (resp.generatedFault()) {
                   Fault fault = resp.getFault();
                   System.out.println("failed&#65281;");
                   return "failed&#65281;";
              } else {
                   Parameter result = resp.getReturnValue();
                   System.out.println("sucessful&#65281;"+result.getValue().toString());
                   return result.getValue().toString();
    But the URL is not correct ,and an exception is throwed:
    Exception in thread "main" [SOAPException: faultCode=SOAP-ENV:Client; msg=Software caused connection abort: recv failed; targetException=java.net.SocketException: Software caused connection abort: recv failed]
         at org.apache.soap.transport.http.SOAPHTTPConnection.send(SOAPHTTPConnection.java:358)
         at org.apache.soap.rpc.Call.invoke(Call.java:248)
         at test.VacationClient.doSOAPRequest(VacationClient.java:44)
         at test.VacationClient.main(VacationClient.java:18)

  • How to deploy web service/client on websphere

    Hi,
    I have developed a web service client on Jdeveloper 10.1.3.1.0 and I deployed it on the embeded OC4J and OAS and it worked fine. BUT when I packaged it as EAR file and deployed it on websphere 6.0 {the production enviroment at the client side} It gave me NoClassForService00.
    And in websphere application server it didn't recognize it as Web service client.
    Any one faced this problem b4. PLZ advice.
    Thnx

    Hi Amol,
    Thank you very much for replying my question. The contents in my application.xml are:
    <?xml version="1.0" encoding="UTF-8"?>
    <!DOCTYPE application PUBLIC "-//Sun Microsystems, Inc.//DTD J2EE Application 1.3//EN" "http://java.sun.com/dtd/application_1_3.dtd">
    <application>
    <display-name>testwsapp</display-name>
    <description>J2EE Application testwsapp</description>
    <module>
    <web>
    <web-uri>testws_War.war</web-uri>
    <context-root>testws</context-root>
    </web>
    <alt-dd>testws_War.xml</alt-dd>
    </module>
    </application>
    The contents in jaxrpc-ri-runtime.xml are:
    <?xml version="1.0" encoding="UTF-8"?>
    <endpoints xmlns='http://java.sun.com/xml/ns/jax-rpc/ri/runtime' version='1.0'>
    <endpoint
    name='testws'
    interface='contactws.testwsGenServer.testwsRPC'
    implementation='contactws.testwsGenServer.testwsRPCBean'
    tie='contactws.testwsGenServer.testwsRPC_Tie'
    model='null'
    wsdl='/WEB-INF/testws.wsdl'
    service='{urn:testws/wsdl}Testws'
    port='{urn:testws/wsdl}testwsRPCPort'
    urlpattern='/testws'
    </endpoint></endpoints>
    I tried to access and check the web service using:
    http://servername:port/testws/testws
    The first testws is contextroot named and the second testws is url pattern, which was exactly like what you mentioned but I got "404 Not Found" error.
    By the way, using the same ear to deploy to Windows Sun ONE App. Server 7 env. and then using the same url, I can access the web service. I am wondering if there is any special for deploying Web Service on Unix Sun ONE app. Server 7 env. or I missed something?
    I hope I can hear from you soon.
    Thank you again,
    Jackie

  • How to build, package & deploy web services manually without ant on JWSDP

    Hello,
    How can I Build, Package & Deploy web services manually without using ant tool on JWSDP 1.3?.
    Because I am having difficulties in using ant tool for my own webservices. ant is very tightly coupled with the directory hierarchy & configuration files (as I go throught the examples of JWSDP1.3). Also I need to learn the overall process going on behind the scene.
    I have to teach the simplest required steps to build, package & deploy any webservice to any container independent of application server & OS without using ant tool. It would also help me to understand which items are required as specified in the Web Services Specifications & which one are implementation or platform specific.
    Any help would be greatly appreciated.
    Thanks,
    Iftikhar.

    Just follow the step of the JWSDP1.3 tutorial..

  • How to connect to external web service and convert XML to a table

    Hi experts,
      I need to connect to external/non-SAP web service and convert XML in that site to a SAP table?
    Is there a function call(SE37) to do this? Is it a must for me to install AS JAVA or PI and configure enterprise service? Please provide a link for me to retrieve relevant infomation, thx.

    No, you don't need PI or the Java stack for this.  You can create an ABAP proxy using the WSDL file for the web service and call the web service using the proxy class in an ABAP program.  You can transform the XML response to internal tables/structures/variables using a transformation template that you create.

  • How to deploy web service in EP

    Hi Gurus!!!
    I am trying to connect GRC to EP. GRC system is trying to reach EP via a web service but it is giving connection failed. But it is not giving any error.
    I have a feeling that web service is not published. Somehow I published web service in EP in VA tool. But still issue is not resolved. Can any one guide me with steps to deploy web service in EP so that external systems can reach EP via web service.
    Thanks in advance,
    Sandeep

    Sandeep check if your web service requires any authentication...
    then you would need to set the same in Visual administrator...........
    refer below article....
    it is not the exact scenario as of yours....but still you might get some hint............
    http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/f0cf9e42-ccb0-2c10-d0a4-f5aa8a79e19a?QuickLink=index&overridelayout=true

  • How to call a web service that is managed by web services manager from omni

    Ok gurus... here is an interesting one for you.
    We have a set of web services that are deployed to our server. We have Oracle Web Services Manager deployed to another server and is acting as a gateway to our web services.
    We would like to call our web service and pass it the username and password that were specified in the omniportlet connection information screen. How do we go about doing this?
    PS. We are using the latest version of portal (10.1.4).
    Thanks for your help.
    Cheers,
    Cory

    Just a follow up. What I would like to do is to have omni portlet add standard header information for security such as the following:
    <soap:Header>
    <wsse:Security xmlns:wsse="http://docs.oasis-open.org/wss/200401-wss-wssecurity-secext-1.0.xsd">
    <wsse:UsernameToken xmlns:wsse="http://docs.oasis-open.org/wss/200401-wss-wssecurity-secext-1.0.xsd">
    <wsse:Username>theusername</wsse:Username>
    <wsse:Password>thepassword</wsse:Password>
    </wsse:UsernameToken>
    </wsse:Security>
    </soap:Header>
    Any ideas on how to get omniportlet do this? Any ideas on where to look for the answer? Oracle dudes: Any plans to add this to future releases?
    Thanks again folks :-)
    Cory

  • Web service and servlets in the same project...web.xml?

    Hello, I have a problem with my web service.
    I have a server, which displays a web service. I programmed this service with JAXRPC.
    I have a client, in another directory. I succeded in compiling, deploying and running the web service.
    The problem is that after I tried to integrate this service in an existing project. This project contains servlets. In these servlets, I'm using sessions.
    These servlets are on the same side as the server of the web service. Because of the implementation of my code, I'd like to use in the class that represents the server of the service, the same session as the one I'm using in the servlets.
    But of course, it's not working by itself. I know there's something to do with the web.xml files.
    The thing is that I created a web.xml file for the service, and another for the servlets.
    I was thinking of joining both of them in one xml file, but everything crashes then...
    Could someone tell me how to create a project with a web service and servlets, and mostly how to configure the xml file??
    Thanks for any help
    Philippe

    Hello, I have a problem with my web service.
    I have a server, which displays a web service. I programmed this service with JAXRPC.
    I have a client, in another directory. I succeded in compiling, deploying and running the web service.
    The problem is that after I tried to integrate this service in an existing project. This project contains servlets. In these servlets, I'm using sessions.
    These servlets are on the same side as the server of the web service. Because of the implementation of my code, I'd like to use in the class that represents the server of the service, the same session as the one I'm using in the servlets.
    But of course, it's not working by itself. I know there's something to do with the web.xml files.
    The thing is that I created a web.xml file for the service, and another for the servlets.
    I was thinking of joining both of them in one xml file, but everything crashes then...
    Could someone tell me how to create a project with a web service and servlets, and mostly how to configure the xml file??
    Thanks for any help
    Philippe

  • Difference between  a WEB service and a Enterprise Service?

    Can Anybody explain me the difference between  a WEB service and a Enterprise Service?

    Hi Anilkumar K Naidu ,
    Web service
    A Web service is a self-contained, modularized functionality, which can be published, discovered, and accessed across a network using open standards and which is supported by SAP NetWeaver. Web services cover services provision for integration within an enterprise as well as cross enterprises on top of any communication technology stack, whether asynchronous or synchronous, in any format. 
    Web Services in the NetWeaver framework play an important role in facilitating the integration of disparate applications from various departments or trading partners and thus increasing business productivity. This benefit allows small and medium businesses also to integrate their business applications with larger trading partners. The benefit derived from this seamless integration introduces security concerns when all the business logic is now being exposed through a standard interface that is a catalyst for security vulnerabilities. SAP Security Managers must use automated diagnostics tools to ensure that the security vulnerabilities are caught in pre-production and in post-production phase.
    Web Services Testing: SAP Netweaver Platform
    http://www.crosschecknet.com/web_services_testing_SAP.php
    How Web services play a key role on the SAP NetWeaver
    http://www.sap.info/public/INT/int/index/Category-28943c61b1e60d84b-int/0/articlesVersions-500244687cbd30ffd
    How to develop a Simple Web Service Application Using SAP NetWeaver Developer Studio & SAP XI 3.0
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/5f3ee9d7-0901-0010-1096-f5b548ac1555
    How To... Set Up a Web-Service Related Scenario with SAP xi
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/befdeb90-0201-0010-059b-f222711d10c0
    Enhancing Your Web Services with SAP Exchange Infrastructure
    http://www.sappro.com/downloads/SAPXI.pdf
    Web Services, Part XI: Consuming Multiple Web Services
    http://www.webreference.com/js/column106/
    Vulneribility assesment of SAP Web Services
    http://www.crosschecknet.com/resources/white_papers/sap_va.pdf
    Enterprise Service
    Enterprise Service-Oriented Architecture (Enterprise SOA)
    Enterprise SOA is a blueprint for an adaptable, flexible, and open IT architecture for developing services-based, enterprise-scale business solutions. With SAP NetWeaver as a technical foundation, enterprise SOA moves IT architectures to higher levels of adaptability – and moves companies closer to the vision of real-time enterprises by elevating Web services to an enterprise level.
    An enterprise service is typically a series of Web services combined with business logic that can be accessed and used repeatedly to support a particular business process. Aggregating Web services into business-level enterprise services provides a more meaningful foundation for the task of automating enterprise-scale business scenarios.
    SAP Enterprise Services Architecture
    http://en.wikipedia.org/wiki/SAP_Enterprise_Services_Architecture
    ENTERPRISE SERVICEORIENTED ARCHITECTURE – DESIGN,  EVELOPMENT,AND DEPLOYMENT
    http://download.sap.com/platform/esoa/brochures/download.epd?context=FB8D5E235B637255604CD1EDB755014400C523BC4E4632245A59C838A212B5F04C71A43F8B38FC591628F4C698D8CAA859405AA974284758
    Enabling Enterprise Services
    http://help.sap.com/saphelp_nw04s/helpdata/en/80/be7042f1e6d242e10000000a1550b0/content.htm
    Enterprise Service-Oriented Architecture
    https://www.sdn.sap.com/irj/sdn/enterprisesoa
    Define Enterprise Services using the Enterprise Services Community
    https://www.sdn.sap.com/irj/sdn/define-es
    Enterprise service bus
    http://en.wikipedia.org/wiki/Enterprise_service_bus
    Enterprise Services Workplace
    http://erp.esworkplace.sap.com/socoview(bD1lbiZjPTgwMCZkPW1pbg==)/flddisplay.asp
    cheers!
    gyanaraj
    ****Pls reward points if u find this helpful

  • Diff b/w Web service and window service

    What is the difference between web service and window service, whether the both are same or not, Give some explain about that each one and give some examples also.

    An XML Web service is a component that implements program
    logic and provides functionality for diseparate
    applications. These applications use standard protocols,
    such as HTTP, XML, and SOAP, to access the functionality.
    XML Web services use XML-based messaging to send and
    receive data, which enables heterogeneous applications to
    interoperate with each other. You can use XML Web services
    to integrate applications that are written in different
    programming languages and deployed on different platforms.
    In addition, you can deploy XML Web services within an
    intranet as well as on the Internet. While the Internet
    brings users closer to organizations, XML Web services
    allow organizations to integrate their applications.
    A Windows service starts much before any user logs in to
    the system (if it has been setup to start at boot up
    process). A Windows service can also be setup in such a way
    that it requires a user to start it manually ? the ultimate
    customization!
    Windows services run as background processes. These
    applications do not have a user interface, which makes them
    ideal for tasks that do not require any user interaction.
    You can install a Windows service on any server or computer
    that is running Windows 2000, Windows XP, or Windows NT.
    You can also specify a Windows service to run in the
    security context of a specific user account that is
    different from the logged on user account or the default
    computer account. For example, you can create a Windows
    service to monitor performance counter data and react to
    threshold values in a database.

Maybe you are looking for

  • Why Will Facetime not let me sign in?

    I got my iPod Touch 4 in San Francisco Apple Store, December 2010. Apple Store Rep helped me set it all up. Everything has been working fine, until a week or so ago when, out of the blue, my FaceTime just stopped working. When I click on the FaceTime

  • How to populate values for a new field in target infoprovider

    Hi Experts, am new to BI. i would like to know on how to populate values for a new field in the target cube with start rotuine.In my case,  i have a source infoprovider, which has 3 fields and a target infoprovider, which has 5 fields. i need to popu

  • ITunes and System Preferences not responding since upgrade

    Since Ive upgraded to 10.7 my MacBook Pro has slowed down (SpotLight is reporting indexing finished).  iTunes and a host of programs report not responding and after 1-2 mins fire into life then report not responding. I've noticed that the UserEventAg

  • Image Settings not working when exporting in Lightroom v1.3.1

    When I try to export Images in Lightroom v1.3.1 to jpeg the image settings do not work. Example: Color space - SRGB, resize to fit checked, long edge set to 10in and resolution set to 250 gives me a image of 24in X 34in @ 72ppi. If I do nothing but s

  • ATP Check with replenishment time

    Dear All, The system behaves, when we use the 02 availability check type in the material master and assign 02 check type to control rule A in OVZ9.In this assignment the no replenishment lead time is not selected;that's the system will take the reple