Exposing DB adapter as webservice

Hi ,
Is it possible to expose DB adapter as webservice?
Thanks,
Ramesh

Yes it is possible. Create a new project in Jdeveloper. Create new dbadatpter. Then create a deployment profile and deploy it to the server.
Alternatively, if the dbadapter is deployed with the BPEL process, go to the BPEL Console and click the process. Click on the Descriptors tab and you can see a link to the wsdl of the dbadapter there.
Deepak

Similar Messages

  • Exposing Database adapter as Webservice : Urgent

    Hi
    Is it possible to expose the Database Adapter as a web service using the polling strategies??
    Thanks
    Brett
    Edited by: user11688998 on Oct 18, 2009 2:50 AM

    yes u can create a BPEL Process in which use a database adapter to poll on the particular table and then invoke some process as pe your requirement
    Every BPEL Process is deployes on the app server as a webservice

  • Exposing business services as webservices

    Hi All,
    Im new to webservices.I have a running java web application.
    I need to expose some methods as webservices.
    Can it be possible to create a single ear file,using which i can access webapplication and webservice wsdl file and how
    Regards,
    Bhuvan.

    Yes, you can mix different type of J2EE artifacts in a single application. The easiest way to do this may be to use JDeveloper 10g (or the 11g Tech Preview) and to build you web service application, then add the remaining of you web application into the same project.
    Hope it helps,
    -Eric

  • Exposing AQ's as Webservices

    Hi,
    Is there a working example to expose AQ's as Webservices.
    Regards
    Deepak

    Yes, you can mix different type of J2EE artifacts in a single application. The easiest way to do this may be to use JDeveloper 10g (or the 11g Tech Preview) and to build you web service application, then add the remaining of you web application into the same project.
    Hope it helps,
    -Eric

  • Exposing OIM APIs as webservice

    Hi,
    I wanted to know if i can expose OIM APIs as webservice?
    As per my reqmnt, i need to implement forgot password and change password functionality for OIM users from a portal application.
    So wanted to know if I can use OIM APIs say getChallengeValuesForSelf , compareChallengeValuesForSelf, changePasswordForSelf and then expose them as webservice?

    Can I do this...
    Create a WebService using NetBeans Editor...
    In it add a web method, which basically is using OIM API say getChallengeValuesForUser to fetch some value and then returning it as output of this web method?
    I'll be setting all the system properties required for calling OIM API here itself and also would make the connection to OIM here.
    I tried doing so, but getting an exception while I try to deploy the webservice,
    com.sun.xml.ws.model.RuntimeModelerException: The web service defined by the class weblogic.wsee.async.AsyncResponseBeanSoap12 does not contain any valid WebMethods.
    Kindly suggest.

  • 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

  • SOAP Adapter with Webservice Provider URL

    This is what I did. Configured a Receiver SOAP adapter with SOAP 1.1 Message Protocol. Target URL is the WSDL URL Binding (SOAMANAGER) with authentication.
    When I test the scenario the Message is through PI and Communication Channel - No errors
    However strangely I do not see anything happening in ECC. Sometimes a log shows up in SOAMANGER "SOA Runtime Log/Trace Viewer" which has SOAP Runtime Error Information. This is very inconsistent again.
    I have tested SOAP with XI 3.0 Message Protocol and the messages are through in ECC. No problems there.
    Also Tried with directly using "SOAP Location URL" from within the Binding WSDL URL. This also results in DUMP in ECC.
    Does SOAP adapter with SOAP 1.1 Message Protocol support Webservice Provider in ECC EHP5(SOAMANAGER Binding)? Is it built to support this kind of scenario? Or only WS adapter can invoke the Binding URL?
    Is there any other URL that can be invoked with SOAP -SOAP1.1?
    Using PI 7.1 Service Pack 5.
    Pavan.
    Edited by: pavan sodani on Aug 12, 2011 4:57 AM

    Did you properly expose the RFC/Class in SOAMANAGER of the backend system? there is no endpoint created by default. You have to create and endpoint for a logical system (I guess). Then try calling the webservice from any 3rd party tool like Altova XML Spy. If that works then the ABAP webservice is working good and could be called from PI.
    VJ

  • Error while using  soap adapter in webservice to sap system scenario

    Hi everybody,
    i got the error while using saop adapter in scenario(sender webservice----->sap system)
    error is
    HTTP error:couldnot post file
    '/XISOAPAdapter/MessageServlet:Channel=:BS1:SPA.&
    version+3.0&sender.Service=BS1&interface=http%3ASP%5OUTBOUND'on server 'XI03'(500)

    check with ur basis people

  • XI SOAP adapter vs webservice testing tools

    Actually I have creted simple xslt mapping and managed to come up with exactly in the format of endpoint request format of the webservice.
    here is the payload( I have created the SOAP Envelop, Header and body in the payload)
    <?xml version="1.0" encoding="utf-8"?>
    <SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" xmlns:eb="http://www.ebxml.org/namespaces/messageHeader" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:xsd="http://www.w3.org/1999/XMLSchema">
      <SOAP-ENV:Header>
        <eb:MessageHeader SOAP-ENV:mustUnderstand="1" eb:version="1.0">
          <eb:ConversationId>sucesss</eb:ConversationId>
          <eb:From>
            <eb:PartyId type="urn:x12.org:IO5:01">applevac.com</eb:PartyId>
          </eb:From>
          <eb:To>
            <eb:PartyId type="urn:x12.org:IO5:01">webservices.sabre.com</eb:PartyId>
          </eb:To>
          <eb:CPAId>P4XC</eb:CPAId>
          <eb:Service eb:type="sabreXML">session</eb:Service>
          <eb:Action>SessionCreateRQ</eb:Action>
          <eb:MessageData>
            <eb:MessageId>mid:[email protected]</eb:MessageId>
            <eb:Timestamp>2001-02-15T11:15:12Z</eb:Timestamp>
            <eb:TimeToLive>2001-02-15T11:15:12Z</eb:TimeToLive>
          </eb:MessageData>
        </eb:MessageHeader>
        <wsse:Security xmlns:wsse="http://schemas.xmlsoap.org/ws/2002/12/secext" xmlns:wsu="http://schemas.xmlsoap.org/ws/2002/12/utility">
          <wsse:UsernameToken>
            <wsse:Username>5555</wsse:Username>
            <wsse:Password>password</wsse:Password>
            <Organization>L5x5</Organization>
            <Domain>DEFAULT</Domain>
          </wsse:UsernameToken>
        </wsse:Security>
      </SOAP-ENV:Header>
      <SOAP-ENV:Body>
        <eb:Manifest SOAP-ENV:mustUnderstand="1" eb:version="1.0">
          <SessionCreateRQ>
            <POS>
              <Source PseudoCityCode="P4XC"/>
            </POS>
          </SessionCreateRQ>
        </eb:Manifest>
      </SOAP-ENV:Body>
    </SOAP-ENV:Envelope>
    I want XI to post just the payload and nothing else so....
    I selected Do not use envelope in the adapter configuration because we have every thing( SOAP envelop, header and body in the payload) but it is not working as i am still getting the same error message before implementing this xslt.
    Error Message:
    <StackTrace>com.sabre.universalservices.base.session.SessionException: errors.session.USG_CONVERSATION_ID_REQUIRED at com.sabre.universalservices.gateway.control.SecurityInterceptor.executeOnRequest(SecurityInterceptor.java:116) at com.sabre.universalservices.base.interceptor.Interceptor.execute(Interceptor.java:113) at com.sabre.universalservices.base.interceptor.InterceptorChain.applyInterceptors(InterceptorChain.java:32) at com.sabre.universalservices.base.interceptor.InterceptorManager.process(InterceptorManager.java:121) at com.sabre.universalservices.gateway.control.WSGateway.onMessage(WSGateway.java:415) at com.sabre.universalservices.gateway.control.WSGateway.handleRequest(WSGateway.java:313) at com.sabre.universalservices.gateway.control.WSGateway.doPost(WSGateway.java:247) at javax.servlet.http.HttpServlet.service(HttpServlet.java:709) at javax.servlet.http.HttpServlet.service(HttpServlet.java:802) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter
    Do you have any idea like XI will add anything to this pay load when it sends out to the webservice?
    If i take the payload from the XI and try it in SOAPUI(tool to test webservice, you would know it already ) it works fine, I mean I was able to get the proper response but in XI it does not work.
    Any help in this regards is highly appreciated.
    we are using PI 7.0 and SP 9.
    Message was edited by:
            Venkat Marni
    Message was edited by:
            Venkat Marni

    Hi,
    Finally I could solve the problem.
    I was actually trying to post the information from the http client at the sender and receiver side I am getting the error.
    Later i have actually created the webservice for my sender interface in XI then post the info using the SOAPUI(3rd party tool) to post the info to XI and then Xi will communicate the webservice using SOAP adapter then I got the proper response from the webservice.
    In this whole episode I guess there is some thing wrong in using a htp client but technically we should be able to use http client as XI will take the payload and use xslt mapping to come up with target interface soap message( but i do not know why XI failed in that).
    thanks for all your help and hope this is clear.
    thanks,
    Venkat

  • Exposing Oracle CEP as WebService

    Can you explain a step by step process to expose an Oracle CEP application through web services?
    I was using the steps mentioned into the following link -
    http://download.oracle.com/docs/cd/E14571_01/doc.1111/e14301/webservconfig.htm - Step 14.3
    I have followed the steps but while deploying the Oracle CEP server was throwing error stating - 'bea-jaxws.xml' is not found.
    If you know some way to make 'bea-jaxws.xml' recognizable by the server please let me know.

    You need to
    1) configure glashfish webservice at server's config.xml:
    <glassfish-ws>
    <name>JAXWS</name>
    <http-service-name>JettyServer</http-service-name>
    </glassfish-ws>
    2) configure a bea-jaxws.xml at META-INF
    <endpoints>
    <endpoint>
    <name>EchoService</name>
    <implementation-class>
    sample.echoservice.EchoService
    </implementation-class>
    <url-pattern>/echo</url-pattern>
    <wsdl-location>
    /META-INF/wsdl/echoservice.wsdl
    </wsdl-location>
    <service-name>
    {http://example.cep.oracle.com}EchoService
    </service-name>
    <port-name>
    {http://example.cep.oracle.com}EchoPort
    </port-name>
    </endpoint>
    </endpoints>
    3) state the webservice configuration location at META-INF/MANIFEST.MF
    BEA-JAXWS-Descriptor: META-INF/bea-jaxws.xml
    4) implement the webservice like below:
    import javax.jws.WebMethod;
    import javax.jws.WebResult;
    import javax.jws.WebParam;
    import javax.jws.WebService;
    import javax.jws.soap.SOAPBinding;
    @WebService(name="SimplePortType", serviceName="EchoService",
    portName="EchoPort",
    targetNamespace="http://example.cep.oracle.com")
    @SOAPBinding(style=SOAPBinding.Style.DOCUMENT,
    use=SOAPBinding.Use.LITERAL,
    parameterStyle=SOAPBinding.ParameterStyle.BARE)
    public class EchoService{
    @WebMethod()
    @WebResult(name="echoWorldResponse", targetNamespace="http://example.cep.oracle.com", partName="parameters")
    public String echoWorld(String message) {
    System.out.println("echo:" + message);
    return "echo:" + message;
    Note that only SOAPBinding.ParameterStyle.BARE is supported in OCEP for now.
    Let me know if you still have question.
    Junger

  • Exposing MDM LOGS as webservices

    Hi Experts,
    Does anybody knows if it's possible to expose the MDM logs as a webservice or even connect trough any Portal iview on it?
    Thanks in advance,
    Armando Martines Neto

    Hi,
    Logs are just the files. So, as per my knowledge, you can connect to the logs folder usin portal and display the files on that...Or if possible, you can directly connect to Logs in MDM Console under server node and display it on portal.
    Regards,
    Dheeraj.

  • Exposing cached data as webservice

    Hi all,
    I am planing to put an xml file data in cache i.e by making the xml data as a string and putting it in the cache. Now I want to expose this cached data as webservice. How can I do that. I am a newbie, pardon my ignorance.
    Thanks,
    PS

    Hi,
    You can either place your config file in your application classpath.
    http://wiki.tangosol.com/display/COH32UG/Cache+Configuration+Elements
    Or you can set from the command line or maybe from a startup script like catalina.bat using
    the following -D argument.
    -Dtangosol.coherence.cacheconfig=pathtofile
    The following has more information as well.
    http://wiki.tangosol.com/display/COH32UG/Command+Line+Setting+Override+Feature
    Thanks,
    -Dave

  • Consume Adaptive Model Webservice in the webdynpro java Exception.

    Hi  Experts:
    i had developed a Adaptive Webservice  Model  on CE7.1 to consume the webservie of  PI7.1 .and then i deploy the webdynpro project to the ce7.1,but when invork the webservice ,the  exception throwed is :
    Exception on execution of web service on destination 'MANUALRUN' for operation 'MANUALSENDER_SI' in interface 'MANUAL_SENDER_SI'_
    i had maintained the  destination of 'MANUALRUN'  and 'MANUALMetadata', and test successful in the webservice navigater .
    i dont know how to solve the problem.
       best regards
    Edited by: kevin liang on Oct 21, 2009 3:50 AM

    Hi  Experts:
    i had developed a Adaptive Webservice  Model  on CE7.1 to consume the webservie of  PI7.1 .and then i deploy the webdynpro project to the ce7.1,but when invork the webservice ,the  exception throwed is :
    Exception on execution of web service on destination 'MANUALRUN' for operation 'MANUALSENDER_SI' in interface 'MANUAL_SENDER_SI'_
    i had maintained the  destination of 'MANUALRUN'  and 'MANUALMetadata', and test successful in the webservice navigater .
    i dont know how to solve the problem.
       best regards
    Edited by: kevin liang on Oct 21, 2009 3:50 AM

  • Authentication when Exposing EJB as a webservice

    Hello,
    can anybody advice me on how to expose a webservice for an ejb on the CE plattform, that requires authentication from the consumer.
    In earlier EJB EP7 implementation I had the possiblity to work with the webservice configuration and define it in the security section.
    This feature I miss, when I use @webservice annotation?
    Thanks in advance.
    Regards, Jens

    got it...
    if you run into the same problem,here's the solution
    go to nwa --> configuration management --> infrastructure and then to the
    webservice configuration section...
    the rest is straight forward.
    best regards, Jens

  • Adapter for webservices

    Hi All,
    If I want to communicate with Webservices which adapter I have to select as Adapter type?
    regards,
    Sridhar

    Hi Sridhar reddy,
       Xi has come up with the SOAP Adapter. Using this SOAP adapter you communicate with webservice.
      Hope I am clear.
      For more clarification please refer this below link:
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/befdeb90-0201-0010-059b-f222711d10c0
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/d23cbe11-0d01-0010-5287-873a22024f79
    Please let me know if you have any queries..!
    Thanks and Regards,
    Chandu.

Maybe you are looking for