Soap and webservices

I have read that the Oracle XML DB HTTP Server could be used to call PL/SQL procedures via webservices.
I have looked for examples or "how to" but I have only found some dealing with the Oracle HTTP server ... is it posible to get informations about it somewhere ?

sorry to bother you again with this subject but I am now going to start working on the web service aspect of my apllication ... I was wondering if it would be posible to install 'apache axis' or something like that on the Oracle XML DB http server.
Or do you think I should use the Oracle HTTP Server ?
This is not what I want but if I can't do it another way ... I will ;)
Thanks a lot !

Similar Messages

  • SOAP and Webservice

    Hi all,
    i am new to java..!! so can someone pls help me..its urgent?
    i want to create a agent which will read the content sent through SOAP and create an XML file and send it through web service. Can anyone help me in this regard..?
    P.S :- sorry if i am repeating this question as many of them wud have already asked this..i was not able to find anythin to match my requirement.
    thanks
    bala

    i was not able
    to find anythin to match my requirement.What you're asking is so common that I find it difficult to believe your search would come up empty. A quick google search of "java web services" returns more information than you will ever need. First link that pops up:
    java.sun.com/webservices/
    Good luck.

  • SOAP and clustering

    A management question that I have to pose:
    - is there any reason to believe SOAP and webservices should not work in
    cluster-mode?
    Eventually; have anyone tried SOAP in cluster mode and got it working?
    Thanks in advance!
    - Henning

    My understanding is that if you do some sort of non-persistent "session" on
    top of SOAP, then it can break across a cluster because SOAP doesn't take
    advantage of HttpSession and thus requests could end up on any machine in
    the cluster. That's the only issue that I am aware of.
    Peace,
    Cameron Purdy
    Tangosol Inc.
    << Tangosol Server: How Weblogic applications are customized >>
    << Download now from http://www.tangosol.com/download.jsp >>
    "Henning Storhaug" <[email protected]> wrote in message
    news:[email protected]..
    A management question that I have to pose:
    - is there any reason to believe SOAP and webservices should not work in
    cluster-mode?
    Eventually; have anyone tried SOAP in cluster mode and got it working?
    Thanks in advance!
    - Henning

  • File to SOAP and SOAP to File (Synchronous)

    Hi,
    Can anybody advice me how to do the File to SOAP and SOAP to File with Synchronous call.
    Thanks,
    Naidu.

    Hi,
    Use this blog
    RFC -> XI -> WebService - A Complete Walkthrough (Part 1)
    and create an inbound synchronous interface for soap receiver structure. provide request and response structure in it.
    Thanks!

  • J2ME and Webservices Help! Please!!!

    Hi guys, I would really like some of you're expert views and experiences with this topic.
    I basically need to access my Oracle database via a PDA or smartphone device.
    From researching the web and other resources, I think that the way to do this is to create a webservice and link it up to my Midlet.
    The only problem is, I do not know how and also, I am unsure of how to use SOAP and WSDL documents, I have read over:
    http://www.javaworld.com/javaworld/jw-08-2002/jw-0823-wireless.html?page=6
    http://developers.sun.com/techtopics/mobility/apis/articles/wsa/
    http://www.java-tips.org/java-me-tips/midp/finding-multimedia-content-type-support-of-a-mobile-d.html
    http://developers.sun.com/techtopics/mobility/midp/articles/wtoolkit/
    http://developers.sun.com/techtopics/mobility/midp/articles/tutorial2/
    http://developers.sun.com/techtopics/mobility/midp/articles/webservices/
    and I am still confused, I have tried to search for tutorials and also sample programs etc -.- but I haven't got anywhere with this.
    Can anyone please help? I need to know the code in order for my Midlet to link up to the WSDL file or generate it?!? and then, how that will interact with the webservice to send and retrieve data from the database.
    any help or suggestions would be very much appreciated, thanks for reading.

    i dont know if smartticket will help me at all, its using a weblogic server, i need to be running tomcat, any one else? please any suggestions!!?!!?

  • SOAP Based Webservices in Apex

    Can you please let me if we can create a SOAP Based Webservices in Apex.  Apex will be the provider of the webservice and my other 3rd party application will be consumer.

    Thanks for the reply.
    Now I am slightly understanding about web services. For example, If I place an order for an digital camera from a shopping site, can I route the order information from shopping site to APEX and from APEX can I process it further by integrating with paypal for online payments and get acknowledge from paypal that payment has been made and provide an acknowledgment to shopping site from APEX that order has been shipped to your shipping address. Is this possible? Please let me know regarding this..
    Thanks and Regards,
    Mahesh

  • RFC- XI -SOAP and response back to RFC

    Hi,
    I am doing RFC-XI-SOAP and get response back from SOAP to RFC.
    if I am not check the "Do Not Use SOAP Envelop" then it gives error in SXMB_MONI says  - NO SOAP envelop.
    "No SOAP Envelope but 1 {}RESPONSES; HTTP 200 OK"
    if I check thet  check bos ""Do Not Use SOAP Envelop" then it gives no error in SXMB_MONI , but message is not giving response back from webservice in SXMB_MONI it shows only
    <?xml version="1.0" encoding="UTF-8" ?>
      <ns1:MYRFC.Response xmlns:ns1="urn:sap-com:document:sap:rfc:functions" />
    gurus ...Pl. reply asap

    hi, all
    you are right the XML sp/tcpgateway response structure is different than what I used earlier,
    now I build the same structure,but then also some problem occures it is giving only one element from structure in response.
    it is giving
      <?xml version="1.0" encoding="UTF-8" ?>
    - <ns1:MYRFC.Response xmlns:ns1="urn:sap-com:document:sap:rfc:functions">
      <STATUS>Success</STATUS>
      </ns1:MYRFC.Response>
    while actual inbound from WS is ...
    <?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
    - <!--  Inbound Message   -->
    - <ns0:testrequestResponse xmlns:ns0="conversion" xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" Status="Success" DbgCmd_="testrequest" DbgTag_="REQUEST">
    - <ns0:SAP_OUTPUT>
      <ns0:E1 Value="3000194" />
      <ns0:E2 Value="300"/>
      <ns0:E3  Value="3"/>
      </ns0:E4 Value="94">
      </ns0:testrequestResponse>

  • Mx.rpc.soap.mxml.WebService DecodingError - property undefined

    I'm getting a mx.rpc.soap.mxml.WebService DecodingError -
    property undefined error when I send a SOAP webservice request. I
    run the same piece of code using Flex 2 without any problems. What
    has changed in this area between Flex 2 and Flex 3 to cause my code
    to break?

    I have the same problem. My webservice work fine in FB2, but
    in FB3 all bad. FB3 don't view the complete parameters list. Any
    Idea?

  • Could someone help me to clearly distinguish between SOAP and HTTP adapter?

    In which scenarios we can go for HTTP adapter and when to go for SOAP adapter?

    Hi Lekshmi !!
    A SOAP message will be bundled inside the soap envelope.HTTP is not an adapter in adapter engine whereas soap is an adapter i.e, HTTP doesn't require a communication channel where as SOAP requires.You can send soap messages using some SOAP client.
    SOAP Adapter is used to xchange SOAP messages bw remote clients and webservices....
    check this link for more differences..
    SOAP and HTTP adapter
    When you need to Send Data to XI from a Webservice , your SOAP adapter is used.
    HTTP adapter is used when you want to post a HTTP request message from a web application to XI.
    How can i make use of SOAP Sender Adapter without using any tools like XML Spy etc....
    XML SPy is used as a TEST tool when you are sending SOAP information to XI. TO actually send data , you need to configure a webservice and construct a SOAP request message and post the data .
    we use SOAP adapter when we need to connect to remote system or use Webservices in these cases we use SOAP adapter.
    HTTP Adapter is used by extenal systems to connect to Intergartin server using native HTTP Interface.
    the http adapter is a service which is directly connected to integration engine. Adapter Framework (Java) isnt involved. It is much more performant than SOAP adapter.
    The SOAP adapter is written in Java and is responsible for the SOAP envelope around the real XML message. You can build/remove that envelope as well in the mapping and use instead http adapter. But standard for webservices is using SOAP adapter.
    Check this thread....
    Difference between SOAP and Http Sender
    HTTP Adatpter Vs Soap Adapter
    HTPP Adatpter Vs Soap Adapter ????
    Difference between SOAP and Http Sender
    Difference between SOAP and Http Sender
    Plain HTTP Adapter vs SOAP Adapter with regards to SSL
    Plain HTTP Adapter vs SOAP Adapter with regards to SSL
    Hope it clears your doubt !!!!
    Questions are welcome here!!
    <b>Also mark helpful answers by rewarding points </b>
    Thanks,
    Abhishek Agrahari

  • SOAP and XML

    How can I setup SOAP and web services to POST and GET XML file from the third party application?
    What document can I read? Thanks!

    If you are an Oracle9i JDeveloper user, you might want to try the Oracle9i JDeveloper guide which gives you a simple helloworld sample to get you going. This uses the SOAP environment that is automatically configured by default on OC4J. See:
    http://otn.oracle.com/sample_code/products/jdev/files/JDevRGuide.zip
    The Web service demo shows how an EJB can be published on OC4J as a Web service - basically by configuring a SOAP-aware servlet that front-ends your Java/PL/SQL component.
    For a more complete example check out the sample one that just came out the other day covering stateless and stateful Java classes, an EJB and a PL/SQL stored procedure:
    http://otn.oracle.com/sample_code/tech/java/web_services/
    For a set of examples of Web services that ship with OC4J, download OC4J and look in the directory:
    <OC4J_Home>\j2ee\home\demo\web_services\
    and take a read of the readme.txt. The area of OTN describing the OC4J Web services content is at:
    http://otn.oracle.com/tech/webservices/
    If you are looking for the Apache SOAP environment that ships with Oracle9iAS, simply look for the soap.ear file that is on the distribution. Normally this is located in <OC4J_Home>/soap/webapps/ but it might be easier to search the OC4J directory structure because its location changed between the 1.0.2.2 release and Release 2 now available here as noted above.
    Hope this gives a start.
    Mike.

  • Developing SOAP based Webservice using Axis 2 Eclipse plugin

    Hi,
    I want to develop a SOAP based Webservice which connects to the PostgreSQL DB , by fetching the data for the employeeId entered and display the results in the browser. I'm using using JDK 1.6, Tomcat 6.0, Axis 2.0 , with Axis 2 Eclipse Plugin. Please send me a sample code of how to build it, i am able find some examples on the internet, but none of them are related to connecting to the DB and fetching the data. It will be great if you guys can provide the sample application which does have the same functionality as mine. Please do respond as this is urgent. Thanks in advance..
    Thanks,
    Rithu

    Thanks Adhir Mehtaji, This is what i have come up with, developing a webservices based on SAAJ and deploying that in Tomcat server, here is the Webservice and the other related files:-
    public class EmployeeService {
         * This method returns the Employee Name
         * @param empId String
         public void getEmployeeName(SOAPEnvelope req, SOAPEnvelope resp) throws javax.xml.soap.SOAPException {
              System.out.println("Inside the getEmployeeName in Employee Service");
              IEmployeeDAO employeeDAO= null;
              employeeDAO = new EmployeeDAOImpl();
              SOAPBody body = resp.getBody();
              String empId = null;
              NodeList empIdNodeList = req.getBody().getElementsByTagName("empId");
              for( int i=0; i < empIdNodeList.getLength(); i++ ) {
                   Element empIdElementElement = (Element) empIdNodeList.item(i);
                   Node empIdNode = empIdElementElement.getChildNodes().item(0);
                   empId = empIdNode.getNodeValue();
                   System.out.println("the empId in the employee service is:::"+empId);
              addNode(body,"empName",employeeDAO.getEmployeeName(empId));
              //addNode(body,"segmentName1",custSegmentDAO.getSegmentName(ZipCode));
         private static void addNode(SOAPBody body,String nodeName,String nodeValue) throws SOAPException{
              body.addChildElement(nodeName).addTextNode(nodeValue);
         This Service is exposed as a Webservice which connects to the DAO and get the response for the EmpId.
         This is the client file:-
         public class GetEmployeeNameClient {
              public static void main(String[] args) throws Exception {
                   // Invoking the Webservice endpoint which is hosted (deployed) in Tomcat by passing the SOAP Message request
                   // Get the SOAP Message response , which contains the employee name for the empId 100
                   // Parse the SOAP Message response to get the employee name (response from the WS)
                   String[] nodeNames = { "empId" };
                   String[] nodeValues = { "100" };
                   SOAPMessage message = GetEmployeeNameClient.getMessageFactory(
                             "getEmployeeName", nodeNames, nodeValues);
                   SOAPConnection conn = SOAPConnectionFactory.newInstance()
                             .createConnection();
                   SOAPMessage response = conn.call(message,
                             "http://localhost:8080/axis/services/EmployeeService");
                   // If the response is not null then everything is fine with the WS.
                   System.out.println("the response is what???"+response);
                   System.out.println("\n Soap response:\n");
                   System.out.println("\nXML response\n");
                   // Create transformer
                   TransformerFactory tff = TransformerFactory.newInstance();
                   Transformer tf = tff.newTransformer();
                   // Get reply content
                   Source sc = response.getSOAPPart().getContent();
                   // Set output transformation
                   StreamResult result = new StreamResult(System.out);
                   tf.transform(sc, result);
                   System.out.println();
                   // For these to work we need to connect to the DB - jdbc:oracle:thin:@ora-b2cd:6473:b2cd to get the segment name
                   SOAPBody soapBody = response.getSOAPBody();
                   System.out.println("the soapBody is what???"+soapBody);
                   NodeList empNameNodeList = soapBody.getElementsByTagName("empName");
                   System.out.println("the empNameNodeList.getLength is::"+empNameNodeList.getLength());
                   for (int i = 0; i < empNameNodeList.getLength(); i++) {
                        System.out.println("inside the loop");
                        Element empNameElement = (Element) empNameNodeList.item(i);
                        System.out.println("the empNameElement is what???"+empNameElement);
                        Node empNameNode = empNameElement.getChildNodes().item(0);
                        System.out.println("the empNameNode is what???"+empNameNode);
                        System.out.println("Employee Name For empId is ...... "
                                  + empNameNode.getNodeValue());
              // Construct the SOAP Message request by passing the empId 100(should come from UI)
              private static SOAPMessage getMessageFactory(String methodName,
                        String[] nodeNames, String[] nodeValues) throws SOAPException {
                   SOAPMessage message = null;
                   try {
                        System.out.println("Inside the getMessageFactory");
                        MessageFactory messageFactory = MessageFactory.newInstance();
                        message = messageFactory.createMessage();
                        SOAPPart soapPart = message.getSOAPPart();
                        SOAPEnvelope envelope = soapPart.getEnvelope();
                        SOAPBody body = envelope.getBody();
                        SOAPElement bodyElement = body.addChildElement(envelope
                                  .createName(methodName));
                        for (int index = 0; index < nodeNames.length; index++) {
                             bodyElement.addChildElement(nodeNames[index]).addTextNode(
                                       nodeValues[index]);
                        message.saveChanges();
                        // View input
                        System.out.println("\n Soap request:\n");
                        message.writeTo(System.out);
                        System.out.println();
                   } catch (Exception e) {
                        e.printStackTrace();
                   return message;
         This client will send a SOAPMessage with EmpId (100) as a request and get the response from the Webservice as SOAPMessage , which
         contains the empname for the respective empid which is passed.
    I tested this service in the browser, it is up and running through the URL : http://localhost:8080/axis/services
    But when i try to access the webservice to get the response from my client program, i am getting the following SOAP Fault string:-
    <?xml version="1.0" encoding="UTF-8"?>
    <soapenv:Envelope
    xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"
    xmlns:xsd="http://www.w3.org/2001/XMLSchema"
    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
    <soapenv:Body><soapenv:Fault>
    <faultcode>
    soapenv:Server.userException
    </faultcode>
    <faultstring>
    org.xml.sax.SAXNotRecognizedException: Feature: http://xml.org/sax/properties/lexical-handler
    </faultstring>
    <detail>
    <ns1:hostname xmlns:ns1="http://xml.apache.org/axis/">
    user-15bbc0db6e
    </ns1:hostname>
    </detail>
    </soapenv:Fault>
    </soapenv:Body>
    </soapenv:Envelope>
    My client path contains :-
    axis.jar;
    jaxrpc.jar;
    saaj.jar;
    commons-logging.jar;
    commons-discovery.jar;
    wsdlj4.jar;
    axis-ant.jar;
    log4j-1.2.4.jar
    xerces.jar
    activation.jar
    mail.jar
    Similary the in the d:/tomcat/webapps/axis/WEB-INF/lib,contains the same as that in client path.
    I am using Tomcat 6.0 , JDK 1.6, I have googled and found that the expection is due to "Xerces.jar" not in Tomcat/webapps/axis/WEB-INF/lib.
    I have copied xerces.jar in the said path, still the error persists. Please do provide a solution to this. Where i have gone wrong.
    I have one more query, If i have to rest a "list" as a response from the server (webservice), how i can add the list into the SOAPMessage? Whether i need to parse it and add the values one by one in the SOAPMessage? like
    <empname> xxxx</empname> <empage>25</empage>
    <empname> yyyy</empname> <empage>26</empage>
    Please answer these queries.
    Thanks,
    Rithu

  • Difference between RFC and Webservices.........??

    Hi
    <b>What is the difference between RFC and webServices... Like webServices these RFC also i can use in any language rite?? Then what is main difference</b>
    Can any one tell me which perfomance is good.. either webService or RFC...? and why??
    While creating webService in R/3 its asking the following details can any one explain those
    <b>
    Virtual Interface</b>
    <b>End PointType</b> : what is the end point type. please explain about the different options available...(Business Object, Funtion Group, Function Module, XI Message Interface)
    On next Screen
    <b>
    Application</b> -- ex FI-AR
    <b>Business Object</b> -- ex KNR
    Next Screen
    <b>Porfile</b>
    >>> Basci Authorization:SOAP Pro
    >>> Secure SOAP Profile
    Best Regards
    Ravi Shankar B
    Message was edited by:
            RaviShankar B
    Message was edited by:
            RaviShankar B

    Hi Ravi,
    Jin has correctly explained.
    Only two connectors are provided from SAP
    JCO- for connecting java applications
    >.Net connectors - for connecting >net applications
    And SAP has provided these connectors bcoz these the two most popular technologies or framefork these days which are very common.
    But In my previous examples , I try to explain the concepts only by giving .net as example.
    Now for making you clear, No SAP connector is available for C++ for accessing RFC but C++ can access web services using XML and SOAP
    Again Note these points.
    RFC is SAP specific.
    Used For----->
    SAP applications- SAP applications
    SAP Appl - Java Applications(Using JCO)
    SAP Applications->Net Applications( using >NEt connectorprovided by SAP)
    Web Service is open standard
    Any Platform/Any Language to Any Platform/Language( which can understand SOAp and XML).
    For Web Service Detail--
    Refer to this link
    Re: What is meant by Webservice
    Regards,
    Piyush

  • Is in PI7.1 possible asynchronous communication between SOAP and ABAPProxy?

    Hi,
    when method execute_asynchronous has disapeared since XI/PI 7.1, is
    there still way how to use ABAP proxy in asynchronous way?
    We need to build asynchronous connection SOAP->PI->ABAP_Proxy.
    In PI, both interfaces are defined as asynchronous (outbound for SOAP and
    inbound for ABAP Proxy).
    Despite of this fact, when message is sent, it is processed
    synchronous way.
    I have set breakpoint in my implementation of method for ABAP Proxy
    message processing. When message is sent and breakpoint is reached,
    whole connection stays open (between SOAP and PI and between PI and
    ABAP Proxy) and waits for processing method (the breakpointed one) to
    return. Only when processing method returns, is connection finelly
    closed.
    If i understand it correctly, this is synchronous behavior. In
    asynchronous behavior, as i understand it, should be connection
    between PI and ABAP Proxy of application server closed immediately
    after message has been delivered. This mean before my processing
    method is even called.
    The same could be said about SOAP and PI communication. Connection
    should be closed immediately after PI has received message. From
    definition of asynchronous communication of PI is obvious, that PI
    should receive message correctly and close connection to sender system
    even when receiver is unreachable. It should deliver message later
    when, receiver system is back on line. So why it keeps connection to
    sender system open while it waits for receiver?
    Why is this happening, when both interfaces are defined as
    asynchronous? Could be the reason for this, if APPLICATION
    ACKNOWLEDGEMENT is set on by default? If so, how can i change it
    to SYSTEM ACKNOWLEDGEMENT, or disable it at all?
    Or is this kind of asynchronous communication even possible since
    XI/PI 7.1 ?
    Processing of message we are sending can take some time, so we dont
    want connection pending open while waiting for finish of
    processing. Thats the reason why we have chose asynchronous model to
    use.

    Quote from How to Use the J2EE SOAP Adapter:
    "If you select Best Effort, the Web service client will receive a response
    message in the SOAP body. Otherwise, the Web service client will not receive a
    response message if no error occurs."
    "if no error occurs" - that is the problem. In either case he still
    waits if some error occure or not. I dont want it. Once PI has
    received message, I want the connection with sender to be closed. If
    there will be error in communication between PI and reciever, I want
    to see it only in PI log. That mean no notification to sender to be
    send about that error.
    Is that possible?

  • Directory structure for servlets and webservices in one application

    hi,
    Can any one help me for creating servlets and webservices in one
    application and deploying in Jboss 4.2.0.
    I want to know exactly what is the directory structure for creating this
    application and what are the additional .xml files for deploying this application.
    if any one know this answere please tell the answere.

    I figured out a solution - it's a problem of policies. In detail: Server1's codebase entry (file:) refers to the class directory of Server1's project. In the simple case of only Client1, which has no codebase entry, it works fine without a file permission on the side of Server1. In the complex case of Client1+Server2, which has to have a codebase entry (file:) refering to the class directory of the Server2's project on a separate machine, for exactly the same method call from Client1 to Server1 a file permission entry on the side of Server1 is needed for Server1's class directory. But WHY ???
    It seems to be a little confusing with the codebase entries, many of the posts are contrary to others and to my personal experiences. Some comments given by Adrian Colley throw a little light upon some aspects. Is there anybody, who can explain the whole topic, when, why, and which part of RMI application deals with codebase entries, also in case of not dynamic code downloading ? May be there is also a reference into the java docs, which I didn't found up to now.
    Thanks in advance
    Axel

  • Https for SOAP and HTTP Receiver adapters in PI 7.1

    Hi,
    We need HTTPS Transport protocol is required to send the message to receiver systems.
    Currently we are using below procedures for https:
    1)     HTTP with SSL (= HTTPS) without client authentication
    2)      HTTP with SSL (= HTTPS) with client authentication
    But client donu2019t want this procedure.
    Here my question is How to enable the https Transport protocol in SOAP and HTTP Receiver adapters.

    >>Here my question is How to enable the https Transport protocol in SOAP and HTTP Receiver adapters.
    What I see is your client wants PI to send communication via HTTPS transport protocol. That means you have to apply for trusted certificate and import that certificate root node in Netweaver keystore.
    Then change the transport protocol from http to https in soap and http receiver communication channel and communicate to client via certificate authentication.
    Plenty of documents available in sdn about https certificate authentication. Please go through those links.
    check this thread.. might be helpful
    Client Certificate for PI authentication when Web Dispatcher terminates SSL

Maybe you are looking for

  • Aperture (2.1.1.) - iWeb cannot find the Aperture Gallery in the web widget

    Hi all, I think this is not really related to MobileMe's current problems, as it shows alright on the web: If I publish a Web Album to MM (and I think it was the same issue with .Mac but am not sure), everythings working fine upload wise. Only if I w

  • How to reduce the number of crossjoin in my webi query

    All, I am running some publication base of a webi report notes that i have a profile for each of the recipient for example in the profile i have a detail objects with: recipient 1 can only see 901 recipient 2 can only see 902 In my publication I do t

  • PI 7.4 Single Stack support for Principle Propagation SAML

    Hi Folks, Que: Does the single stack now support Principle Propagation using SAML? The posts I have read so far conclude that SAML is only supported on the dual stack, not the single stack. SAP Help gives steps for dual stack: Configuring Principal P

  • Not all iPhoto albums showing up in iTunes iPod options

    Not sure when exactly this happened but I guess with the installation of iTunes 6.04. Some of the albums I've created in in iPhoto do not show up in the iTunes iPod options. I first noticed when trying to view photos on my iPod that images that had b

  • Import from 11.2.0 to 10.2.0.4.

    Hi ALL, Is it possible to do an import from 11.2. to 10..2.0.4 using imp.? If so , would u plz advice the steps to follow....