How to expose ODI scenario as a web service

How to expose ODI scenario as a web service?
Can we generate wsdl of ODI scenario if yes then how?

SSZ wrote:
Yes.But couldn't understand where to start.In that case use the magic wand.
Ask specific questions, Many of your posts have an underlying tone , that of you not having read any documentation of bothered to research anything yourself I havent got the time to tell you how if you havent got the time to tell me what you have read , what you grasp and what you do not grasp.

Similar Messages

  • How to execute ODI scenario from a web application

    Hi
    I need to execute ODI scenario from ApEx form.
    how to execute ODI scenario from application. Using 10.1.3.5.5
    -app

    In the SQL property of the TQuery object, enter the call as an anonymous block:
    begin
      pkg_name.procedure_name(true);
    end;

  • How to expose sort attributes in a web service created on a AM 11g TP4

    I'm using Jdeveloper 11g TP4 to create a web service on the application module.
    When I run the web service, it is working fine. Can someone tell me how to expose the sort attributes for the user to choose?
    How do I expose the sort Order for the user to select?
    These are the steps I followed:
    1) Created a new application.
    2) Created a view object in the Model project.
    Created one bind variable.
    Created new view Criteria and used the bind variable.
    3) Created a new jspx page.
    From the Data control dragged and dropped the Named Criteria on to the page and used "ADF Query Panel with Table..."
    4) Ran the Jspx page. It works fine.
    Double Click Application Module.
    Click on tab Service Interface.
    Hit New, this will open the Wizard to Create a new Service Interface.
    Followed instructions and selected all the applicable methods to expose as web service.
    At the end of the process, wsdl, xsd, java files are created.
    I'm able to run this web service.
    The field to query the data is exposed in the Web Service.
    Is there a way to expose the sorting attributes to be selected by the user? i.e. I want to expose the fields to the user.
    Thanks,
    Jagadish.

    Why bother with TP 4? JDev 11g is already production.
    --olaf                                                                                                                                                                                                   

  • Q: How to expose EEWB custom enhancements via Web Service Tool

    How do you expose custom enhancements so that when Selecting Attributes (step 2) of web service tool, you will be able view your custom enhancements?  We are able to see the our enhancements via GENIL_MODEL_BROWSER.  However, the enhancements are not carried forward to the Web Service Tool, any pointer or help would be rewarded with points.

    Hi Michael,
    I have a similar requirement, just wanna know how did you solved this?
    Could you please share your solution?
    Thanks...
    //Abhishek

  • Running ODI Interface from BPEL WEB SERVICE

    Guys,
    How to invoke ODI Interface from BPEL Web service?
    i.e can we use odistartscenerio?if we can then how to pass conext/agent as parameters?
    Cheers

    You need JavaEE agent and configure odi run time service. BPEL can then call this service to start an odi scenario.
    For details refer to http://docs.oracle.com/cd/E15586_01/integrate.1111/e12643/running_executions.htm#BABDHJJF
    and for installation of JavaEE agent http://www.oracle.com/webfolder/technetwork/tutorials/obe/fmw/odi/odi_11g/setup_jee_agent/setup_jee_agent.htm (as part of extending the domain you get the option to deploy this service)
    Regards,
    Harris

  • How to expose ODI package as webservice..?

    hi,
    We are having a requirement where other application needs to call ODI package.
    How to expose ODI package as webservice..?

    hi John,
    when I tried to upload odi-public-ws.aar service , it faulted.
    plase help...
    This Web axisService has deployment faults
    Error: org.apache.axis2.deployment.DeploymentException: null; nested exception is: java.lang.NullPointerException; nested exception is: org.apache.axis2.AxisFault: null; nested exception is: java.lang.NullPointerException; nested exception is: org.apache.axis2.deployment.DeploymentException: null; nested exception is: java.lang.NullPointerException; nested exception is: org.apache.axis2.AxisFault: null; nested exception is: java.lang.NullPointerException at org.apache.axis2.deployment.repository.util.ArchiveReader.processWSDLs(ArchiveReader.java:273) at org.apache.axis2.deployment.DeploymentEngine.doDeploy(DeploymentEngine.java:604) at org.apache.axis2.deployment.repository.util.WSInfoList.update(WSInfoList.java:195) at org.apache.axis2.deployment.RepositoryListener.update(RepositoryListener.java:207) at org.apache.axis2.deployment.RepositoryListener.checkServices(RepositoryListener.java:155) at org.apache.axis2.deployment.RepositoryListener.startListener(RepositoryListener.java:199) at org.apache.axis2.deployment.scheduler.SchedulerTask.checkRepositary(SchedulerTask.java:61) at org.apache.axis2.deployment.scheduler.SchedulerTask.run(SchedulerTask.java:68) at org.apache.axis2.deployment.scheduler.Scheduler$SchedulerTimerTask.run(Scheduler.java:76) at java.util.TimerThread.mainLoop(Timer.java:512) at java.util.TimerThread.run(Timer.java:462) Caused by: org.apache.axis2.deployment.DeploymentException: null; nested exception is: java.lang.NullPointerException; nested exception is: org.apache.axis2.AxisFault: null; nested exception is: java.lang.NullPointerException at org.apache.axis2.deployment.repository.util.ArchiveReader.processWSDLFile(ArchiveReader.java:194) at org.apache.axis2.deployment.repository.util.ArchiveReader.processWSDLs(ArchiveReader.java:261) ... 10 more Caused by: org.apache.axis2.AxisFault: null; nested exception is: java.lang.NullPointerException at org.apache.axis2.description.WSDL2AxisServiceBuilder.populateService(WSDL2AxisServiceBuilder.java:243) at org.apache.axis2.deployment.repository.util.ArchiveReader.processWSDLFile(ArchiveReader.java:192) ... 11 more Caused by: java.lang.NullPointerException at org.apache.ws.commons.schema.SchemaBuilder.setNamespaceAttributes(SchemaBuilder.java:235) at org.apache.ws.commons.schema.SchemaBuilder.setNamespaceAttributes(SchemaBuilder.java:232) at org.apache.ws.commons.schema.SchemaBuilder.setNamespaceAttributes(SchemaBuilder.java:232) at org.apache.ws.commons.schema.SchemaBuilder.setNamespaceAttributes(SchemaBuilder.java:232) at org.apache.ws.commons.schema.SchemaBuilder.handleXmlSchemaElement(SchemaBuilder.java:59) at org.apache.ws.commons.schema.XmlSchemaCollection.read(XmlSchemaCollection.java:250) at org.apache.axis2.description.WSDL2AxisServiceBuilder.getXMLSchema(WSDL2AxisServiceBuilder.java:959) at org.apache.axis2.description.WSDL2AxisServiceBuilder.copyExtensibleElements(WSDL2AxisServiceBuilder.java:1067) at org.apache.axis2.description.WSDL2AxisServiceBuilder.populateService(WSDL2AxisServiceBuilder.java:221
    regards,
    Amey

  • How to run ODI scenario from java?

    I am new to java, need to do some testing on how to invoke ODI scenarios from java.
    Can somebody drop me some simple code?
    Thanks a lot,
    Lei

    Hi there
    1. Start your agent (double click agent.bat)
    2. generate scenario for ur package(right click ur package , select generate scenario)
    3. Add the odi-sdk-invocation.jar file to your java project
    ODIcmdScenario=new OdiCommandScenario();
    ODIConnection=new OdiRepositoryConnection();
    ODIConnection.setOdiUser("ur-username");
    ODIConnection.setOdiPassword("ur-password");
    ODIConnection.setJdbcDriver("Driverdetail");
    ODIConnection.setJdbcUrl("url-details");
    ODIConnection.setJdbcUser("dbusername");
    ODIConnection.setJdbcPassword("dbpass");
    ODIcmdScenario.setScenName("scenarioname");
    ODIcmdScenario.setScenVersion("scenarioversion");
    ODIcmdScenario.setLogLevel(5);
    ODIcmdScenario.setContext("context");
    ODIConnection.setWorkRepositoryCode("repository");
    ODIInvocation = new OdiInvocation("hostname", 20910); //20910 default port
    OdiInvocationResult result=ODIInvocation.invokeCommand(ODIcmdScenario,ODIConnection);
    Hope this helps!
    Cheers

  • Pass ODI User/Password To Web Services

    Hi Experts,
    If we use 11g ODI WebService to invoke an ODI scenario, what's the best practice to pass in the ODI username/password to the web services client, in a passwd ecypted format?
    Thanks for your input.

    The answer to this question was to use another function exposed by the Directory Management Web services, {domain}/soap/services/DirectoryManagerService?WSDL&lc_version=9.0.1.
    The function in question is called updateLocalUser().
    You can find more information here, http://help.adobe.com/en_US/livecycle/9.0/programLC/javadoc/com/adobe/idp/um/api/Directory Manager.html#updateLocalUser%28com.adobe.idp.um.api.infomodel.User,%20java.lang.String%29.

  • Expose ADF Business Components as Web Service

    Hi,
    In order to expose ADF BC as Web Services, and return a set a rows from a table, I have followed the tutorial on this page :
    http://www.oracle.com/technology/tech/webservices/htdocs/series/pattern/
    However, the set of rows returned are un-typed XML elements, because the method is :
    public Element getEmp(int empNo)
    getEmpView1().setWhereClause("empno = ?");
    getEmpView1().setWhereClauseParam(0, new Number(empNo));
    return (Element)getEmpView1().writeXML(1,Row.XML_OPT_ALL_ROWS);
    As a consequence, in the WSDL the response port is returning a complex type with an "<any />" element. Instead, I would like the response complex type to be an Employee type.
    How can I get the AppModule method to be something like :
    public Employee getEmp(int empNo)
    < what is here ? >
    Can I generate the Employee class automatically with ADF BC and serialize it to expose the method as a Web Service ?
    Thanks.

    up

  • Expose C based system as Web Service

    hi,
    I have a C based MES which is storing data in non-relational file based DB from Stratus.
    I need to integrate this system with SOA.
    Not sure how do I expose this system as a web service.
    Any thoughts, any links are most welcomed.
    Thanks in advance.
    Regards,

    No, it is not yet possible.
    You can only create a web service for an RFC Function Module, Function Group or Business Object.
    You may create a RFC FM as a wrapper to your Class methods and create a web service on the RFC FM.
    Regards,
    Naimesh Patel

  • How can I create a query with web service data control?

    I need to create a query with web service data control, in WSDL, it's query operation, there is a parameter message with the possible query criteria and a return message contains the results. I googled, but cannot find anything on the query with web service. I cannot find a "Named Criteria" in web service data control like normal data control. In Shay's blog, I saw the topics on update with web service data control. How can I create a query with web service data control? Thanks.

    Hi,
    This might help
    *054.     Search form using ADF WS Data Control and Complex input types*
    http://www.oracle.com/technetwork/developer-tools/adf/learnmore/index-101235.html

  • How can I authenticate and authorize with Web Service on ESB ?

    Hello,
    I want to authenticate and authorize client with Web Service published
    by HTTP/SOAP BC.
    Simply if it is an Web Service as J2EE application, I will use
    Basic Authentication with JAX-RPC and Realm.
    But I think that Web Service published by HTTP/SOAP BC is not belong
    to J2EE Application. Threre is no place to describe security role mapping
    (like web.xml).
    JBI 1.0 the section "5.5.1.1.3 Normalized Message Properties" comments
    JAAS Subject is given in the NM Properties. Really in this package
    com.sun.jbi.internal.security.*
    implements JAAS autentication and authorization (at JaasAuthenticator).
    But I can't see how to configure my Service to use this.
    How can I authenticate and authorize with Web Service on ESB ?
    I referred to the resources.
    Mutual Authentication for Web Services: A Live Example
    http://developers.sun.com/prodtech/appserver/reference/techart/mutual_auth.html
    XML and Web Services Security
    http://java.sun.com/j2ee/1.4/docs/tutorial/doc/Security7.html
    JAAS Authentication Tutorial
    http://java.sun.com/j2se/1.4.2/docs/guide/security/jaas/tutorials/GeneralAcnOnly.html
    Thanks,
    Takurou
    - environment ---------------------------------------------
    OpenESB : Project Open ESB Starter Kit
    AppServer : Sun Java Systems Application Server 9.0 PE
    OS : Windows XP
    I don't assume to use SSL (if It's necessary I will try).
    User information is stored in a LDAP Server.
    -----------------------------------------------------------

    Hello,
    I read this resource.
    SecurityDesign
    http://www.glassfishwiki.org/jbiwiki/Wiki.jsp?page=SecurityDesign
    Then I think [non-ssl and ssl/tls and so on] securing by basic authentication is ongoing feature at this time.
    But I can't see well why this page comments 'HTTP over SSL, TLS'.
    HTTP/SOAP Binding Component Overview
    http://download.java.net/general/open-esb/docs/jbi-components/httpsoap-bc.html
    Does BC support only "SSL server authentication" ?
    Doesn't BC support "SSL client authentication" by username/password ?
    Thanks,
    Takurou

  • How to access HTTP Header from within Web service?

    Hello,
    Is there a way to access HTTP header variables like CONTENT_TYPE, CONTENT_LENGTH from within Web Logic web service.
    I was able to get the HTTP header variable from within Apache AXIS services by calling context.getProperty(HTTPConstants.MC_HTTP_SERVLETREQUEST
    How can i do this from weblogic web service.
    I need this to verify the client SSL_CLIENT_DN
    In access I can get the header as follows.
    HttpServletRequest req = (HttpServletRequest) context
              .getProperty(HTTPConstants.MC_HTTP_SERVLETREQUEST);
    clientID = req.getHeader("SSL_CLIENT_S_DN_Email");
    Thanks
    --Arun                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   

    hi
    the following link may helpful to you
    http://e-docs.bea.com/wls/docs81/webserv/anttasks.html#1111537
    Regards
    Prasanna Yalam

  • How to retrieve the HttpSession from Axis Web Service

    hello,
    How can I get the HttpSession in Web Service ???
    Eric

    Hi,
    I have generated the java classes from a WSDL using WSDL2Java using the following command line options.
    java -classpath .;%AXISCLASSPATH%;%CLASSPATH% org.apache.axis.wsdl.WSDL2Java -s -S true -d Session -Nhttp://localhost:
    7001/axis=samples.grapha -a samples\grapha\grapha.wsdl
    I need to retrieve HTTPSession in the generated GraphASOAPBindingImpl class. Can you help me?
    Thanks,
    vc

  • Expose a class method as web service

    hi ABAPers,
    is it possibile to expose a class method as web service? I would like to write a base class with common code, while derived classes implement specific application logic.
    I have both R/3 6.40 and Netweaver 7.0 kernels, so I'm interested in both.
    thank you.

    No, it is not yet possible.
    You can only create a web service for an RFC Function Module, Function Group or Business Object.
    You may create a RFC FM as a wrapper to your Class methods and create a web service on the RFC FM.
    Regards,
    Naimesh Patel

Maybe you are looking for

  • Adding a screen element in Module pool

    Hi Experts,          How to add a screen element in module pool programming? Thanks, Sudha...........

  • Having problem with header(location)

    I want to have a visitor to a site agree to some terms before being allowed to access a page.  There is no logon so the approval is only for the current session. If we call the page with the terms (and the agree button) "portal.php" and the page with

  • Confirmation Based IV / GR based IV

    Hi All, We are working on SRM5.0 , SP4 , Backend R/3 4.7 , ECS scebario. When Vendor master is created with out GR Based IV check box flagged in R/3 , it is getting replicated to SRM with out the Flag for Confirmation related IV as expected. But when

  • Sensore di prossimità - Problemi dopo aggiornamento ios 6.1.3

    Buongiorno. Mi hanno appena sostituito il mio 4s con uno nuovo di zecca. Ho effettuato aggiornamento a IOS 6.1.3 e il sensore ha smesso di funzionare. Qualcuno ha avuto il mio stesso problema ??? Grazie

  • Can AppleTV allow me to open a safari screen on my TV

    Does AppleTV operate like a mac mini attached to my TV allowing me to essentially use my TV screen as a computer monitor?