How to expose a application service as web service?

<UL>Hi Experts,
   <LI>I have created a business component and application service. i have also built and deployed it,
   <LI>Now I want to expose the application service operation as web service so that I can call the application service from XI or any webservice testing tool like SOAPUI or SOAPSONAR?
   <LI>What are the steps involved in doing this?
   <LI>I have selected application service then right clicked and selected "Expose service as web service".
   <LI>This has generated the WSDL file. After this I don't know what to do.
   <LI>In the WSDL file the soap address location is pointing to a default link (<soap:address location="http://www.example.org/"/>).
   <LI>What will be the actual location look like?
   <LI>For example: http://<CE server>:<Port>/?  <--- what will I have to put here so as to give the exact location?
<LI>Thanks & Regards
<LI>Gopal
</UL>

Hi Gopal,
If I am not wrong, you need not do anything to the WSDL.
If you carefully look at your WSDL in your NWDS, the soap:address attribute will point to the default location. However, the 'location' attribute will be 'Empty'. When you Deploy the Composite Application on the server, the location attribute value will be replaced by http://<server host name>:<port>/<WebService Name>/<Application  Service Name> in the WSDL on the server. The WSDL URL  is generated using the same format, and that is how it recognizes the service.
You can deploy your application on the server and go to the Web Service Navigator and check the WDSL.
Regards,
Ajay

Similar Messages

  • 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.

  • 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

  • ODI:Expose an ODI scenario as Web service

    how to expose an ODI scenario as web service.

    Hi
    Hope following link will helps you
    OdiInvokeWebService - How to pass a variable in the request value
    Thanks
    Phani

  • How to Expose CAF services as web services?

    Hi friends,
    I want to expose my CAF entity services and application services as web services.
    Can I do that, if yes How?
    In NWDS While designing the application service I have found two options in the <b>General</b> tab:
    1) Remote Enabled Service    [I am able to select it]
    2) Web Service Enabled        [I am not able to select it]
    What is the significance of each
    Also I am able to check first option but second option is disabled in my NWDS,
    Can you guide me how can do that?
    Thanks in advance for your time,
    Deepak

    Hi Deepak,
    Please have a look at this tutorial written by Austin:
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/5e9ca25b-0e01-0010-bbaa-f3b963e89edd
    in there is a kind of step by step solution how to enable your application service as web service.
    I am not sure if you can expose a entity service as a ws. The only way i know is mapping to an application service.
    I hope this helps..
    best regards,
    rene

  • Publishing Application Modules as Web Services runs into error

    Hello,
    I want to create a web service based upon and ADF BC Application (in other words, based upon a data control).
    I want to expose the ADF BC Application functionality (DML, calling of procedures) via Web Service.
    I read in the Developers Guid for Forms4GL Developers, parapragh 33.4 (Publishing Application Modules as Web Services), how this can be done:
    How to Enable the J2EE Web Service Option for an Application Module
    To enable your application module as a web service:
    1. Enable a custom Java class for your application module and add to it one or more
    custom methods that you want to appear on the web service interface.
    2. Open the Application Module editor and on the Client Interface tab, select one or
    more custom methods to appear on the client interface.
    3. With the Application Module editor still open, on the Remote panel, select
    Remoteable Application Module, select J2EE Web Service in the Available list
    and shuttle it to the selected list.
    4. Then click OK to save your changes.
    When I follow this series of actions I get the following error:
    Failed to validate method
    oracle.javatools.parser.java.v2.classfile.ClClass$ClMethod@3146a021
    java.lang.IllegalStateException: Failed to validate method oracle.javatools.parser.java.v2.classfile.ClClass$ClMethod@3164a021 whether it is publishable
         at oracle.jbo.dt.jdevx.JdvWebServicePlatform2.getMethodPublishableStatus(JdvWebServicePlatform2.java:254)
         at oracle.jbo.dt.objects.JboWebServicePlatform.generateWebServiceCode(JboWebServicePlatform.java:308)
         at oracle.jbo.dt.objects.JboWebServicePlatform.createServer(JboWebServicePlatform.java:100)
         at oracle.jbo.dt.objects.JboDeployPlatform.createRemoteClass(JboDeployPlatform.java:2077)
         at oracle.jbo.dt.ui.module.AMSaveRemoteThread.doGeneration(AMRemotePanel.java:671)
         at oracle.jbo.dt.ui.module.AMSaveRemoteThread.run(AMRemotePanel.java:658)
    Who has any ideas?
    Regards Leon Smiers

    repost

  • IWAB0014E Unexpected exception - Exposing Portal Services as Web Services

    Hi!
    I try to expose a Portal Service as a Web Service:
    [Exposing Portal Services as Web Services |http://help.sap.com/saphelp_nw72/helpdata/en/49/e44e702784751be10000000a42189b/frameset.htm]
    While using the wizard the following exception is rising:
    IWAB0014E Unexpected exception occurred.
          java.lang.IllegalArgumentException
          at org.eclipse.wst.server.core.internal.facets.FacetUtil.getRuntime(FacetUtil.java:89)
          at org.eclipse.jst.server.core.FacetUtil.getRuntime(FacetUtil.java:59)
          at org.eclipse.jst.ws.internal.consumption.command.common.CreateFacetedProjectCommand.setFacetRuntime(CreateFacetedProjectCommand.java:283)
          at org.eclipse.jst.ws.internal.consumption.command.common.CreateFacetedProjectCommand.getFacetsToAdd(CreateFacetedProjectCommand.java:219)
          at org.eclipse.jst.ws.internal.consumption.command.common.CreateFacetedProjectCommand.execute(CreateFacetedProjectCommand.java:115)
          at org.eclipse.jst.ws.internal.creation.ui.extension.PreServiceDevelopCommand.execute(PreServiceDevelopCommand.java:191)
          at org.eclipse.wst.command.internal.env.core.fragment.CommandFragmentEngine.runCommand(CommandFragmentEngine.java:419)
          at org.eclipse.wst.command.internal.env.core.fragment.CommandFragmentEngine.visitTop(CommandFragmentEngine.java:359)
          at org.eclipse.wst.command.internal.env.core.fragment.CommandFragmentEngine.moveForwardToNextStop(CommandFragmentEngine.java:254)
          at org.eclipse.wst.command.internal.env.ui.widgets.SimpleCommandEngineManager$6.run(SimpleCommandEngineManager.java:294)
          at org.eclipse.jface.operation.ModalContext.runInCurrentThread(ModalContext.java:464)
          at org.eclipse.jface.operation.ModalContext.run(ModalContext.java:372)
          at org.eclipse.jface.wizard.WizardDialog.run(WizardDialog.java:934)
          at org.eclipse.wst.command.internal.env.ui.widgets.SimpleCommandEngineManager.runForwardToNextStop(SimpleCommandEngineManager.java:264)
          at org.eclipse.wst.command.internal.env.ui.widgets.WizardPageManager.runForwardToNextStop(WizardPageManager.java:91)
          at org.eclipse.wst.command.internal.env.ui.widgets.WizardPageManager.getNextPage(WizardPageManager.java:154)
          at org.eclipse.wst.command.internal.env.ui.widgets.SimpleWizardPage.getNextPage(SimpleWizardPage.java:136)
          at org.eclipse.jface.wizard.WizardDialog.nextPressed(WizardDialog.java:813)
          at org.eclipse.jface.wizard.WizardDialog.buttonPressed(WizardDialog.java:369)
          at org.eclipse.jface.dialogs.Dialog$2.widgetSelected(Dialog.java:624)
          at org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:228)
          at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)
          at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1003)
          at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3823)
          at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3422)
          at org.eclipse.jface.window.Window.runEventLoop(Window.java:825)
          at org.eclipse.jface.window.Window.open(Window.java:801)
          at org.eclipse.wst.command.internal.env.ui.widgets.popup.DynamicPopupWizard.run(DynamicPopupWizard.java:130)
          at org.eclipse.ui.internal.PluginAction.runWithEvent(PluginAction.java:251)
          at org.eclipse.jface.action.ActionContributionItem.handleWidgetSelection(ActionContributionItem.java:583)
          at org.eclipse.jface.action.ActionContributionItem.access$2(ActionContributionItem.java:500)
          at org.eclipse.jface.action.ActionContributionItem$5.handleEvent(ActionContributionItem.java:411)
          at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)
          at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1003)
          at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3823)
          at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3422)
          at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:2384)
          at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2348)
          at org.eclipse.ui.internal.Workbench.access$4(Workbench.java:2200)
          at org.eclipse.ui.internal.Workbench$5.run(Workbench.java:495)
          at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:288)
          at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:490)
          at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149)
          at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:113)
          at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:193)
          at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:110)
          at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:79)
          at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:386)
          at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:179)
          at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
          at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
          at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
          at java.lang.reflect.Method.invoke(Method.java:597)
          at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:549)
          at org.eclipse.equinox.launcher.Main.basicRun(Main.java:504)
          at org.eclipse.equinox.launcher.Main.run(Main.java:1236)
    Has anybody an idea, or can tell me another way to do for NW 7.2?
    Thanks Daniel

    Hi Ankur,
    Please go through the below link please. It may be helpful.
    Eclipse WTP Tutorials - Creating Bottom Up Web Service via Apache Axis2
    Thanks,
    Hamendra

  • 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

  • Exposing legacy-system's service using web services

    Hi everybody,
         I have questions about how web services can be used with legacy system.
    Let�s say I have a server serving stock data. The server is just POJO, it isn�t web module, doesn�t run on any J2EE container and client will request for data using my proprietary API which run over TCP/IP. My question is that what is the best practice or widely used pattern for exposing my stock service through web services.
         I�m not a web service expert so I think the easiest patter may be using web services as an adapter for my API. I�ll use jax-rpc to create web services StockWS.war and deploy it on a web server running on the same machine with my stock server. The web services will, in turn, internally use my proprietary API to request data.
    I can see 2 problems in the above approach.
    1. The need of web server. Administrator needs to start 2 processes; stock server and the web server containing StockWS.war. It would be great if I can get everything work in one process. Is there any framework or API that my stock server can internally use to intercept soap request over HTTP so that I don�t need a web server and everything is encapsulated in one process?
    2. Performance. There will be my API sit between web services runtime layer and my stock server which may cause performance issue. If I can find a framework I�ve mentioned in problem1 then I can get rid of the API layer.
    Please ignore my grammar mistakes.
    Any suggestion is welcome, and if you have experiences integrating web services with your legacy system, feel free to share it here.
    Thanks in advance.

    Hi,
    With regards to your statemetn "SDN downloaded document says to Generate Webservice URL through ABAP"   <- can you tell me more please? references/links/attachment?
    As far as I am aware, that the type of web service required for integration it a 'normal' Netweaver Web app server web service.
    There are limitations about the complexity of the WSDL - see Notes:
    1653655 - Limitations in Web Service WSDL URL usage in Xcelsius 4.0
    1703839 - Limitations of Web service usage in Xcelsius / Dashboard Design
    also , changes between SAP versions requires reworking the WSDL
    Note 1625091 - The WSDL URL for web service which generated in SAP Enterprise Central Component cannot be loaded into Xcelsius
    regards,
    H

  • 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

  • Help - developing a web-based application and supporting web service

    I am in need of creating a web service that provides some reusable components, and then creating a web application that is also a client of the web service. Is it ok to put both on the same application server? Can anyone give me a timeframe for how long it takes to create a web service + web application from scratch? I'm sorry if the questions sounds dumb, I am a newbie to this and am just trying to learn as I go. Thank you for any help!

    In answer to your first question, yes. You can have both your web service and web application on the same application server. This is a normal development scenario for lots of applications. As far as a timeframe on how long it takes to create a web service + web application from scratch that depends on the complexity of both the web service and application you are writing. A simple web service and application written by an experienced web services developer could be written in a day. A more complex application could take weeks/months.
    Hope this helps!

  • 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

  • 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

  • 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

Maybe you are looking for

  • New Bootcamp Install Win 8.1

    I have a brand new iMac and need to install Windows 8.1 Pro using Bootcamp.  I have a retail disc version of 8.1 and can't select the location for the ISO image when using Bootcamp assistant.  I've tried downloading a 64-bit ISO image and have tried

  • Times changing in iCal

    I have input my work schedule in iCal and set it to repeat. When I work I always start at 7am, but as I scan through the year, the start time reads 7am some times, but also has patches of weeks that read 6am and 8am. Why? I have the time zone assist

  • How do I create a rule that only applies to one mailbox?

    How do I create a rule that only applies to one mailbox? For example deleting the messages in the box after 10 days.

  • Where I can store tariff code in material master

    Hi, I am wondering if you also know whether SAP material master is able to store tariff code. This tariff code is use by the custom department to keep track of their material code. Any clue? Thanks. tuff

  • White noise on SPA3102?

    Hi, Today I tried to dial out on line 1 and got white noise instead of the american dialtone for line 1. I unplugged the units several times before I could get the dialtone. Unfortunately now when someone dials the pstn line, the phone rings and pick