REST and SOAP

Hi all,
I just read that REST and SOAP are available for use in APEX.
Yet I do not know what these terms are, why would I want to use these technologies over the simple forms and reports?
Where can I get information about REST and SOAP in relation to what I am used to working with (PL/SQL and APEX)?

Dear all,
Did I ever say that I needed it explained to me?
Wasn't I clear enough when I said:
Hope that somebody read a book and could refer it to me.
I am already busy looking in google and bing and yahoo.
Hoping somebody knows who did the research, so i can read up on it and test out the difference. why invent the wheel aggain?
Dear Tony,
I see that you have alot of posts, so maybe you were in a bad mood.
But when people ask questions, you should asume that they done all they could in their power or knowledge.
Google gives alot of suggestions but not all of them help in peoples questions.
It is up to people like yourself who volunteerd to join a community to guide them so they can improve. Saying stuff like go google it is like saying somebody whoa asks where he could watch whales to go to the ocean. But my ocean does not have whales, so that would not help someone from my town.
Sorry if you had a bad day, sorry if I struck a nerve.
But as we learned when we were young: “If you can’t say something nice . . . don’t say nothing at all.” - Thumper
And to anwser the question:
w3school has the basic on soap and rest
I will have to learn web services first
oreilly has some books on the subjects. guess i will go for the most popular ones.
But the difference between (rest, soap) webservices and standard reports and forms i could not find. Will post when I find something.
Raoul
Suriname, Paramaribo

Similar Messages

  • Java and SOAP

    I am trying to use Java and SOAP to call a Coldfusion CFC file. The problem is that I can not figure out how to call the coldfusion function by using a url to direct the SOAP request, within java. The cfc file does sql queries on a separate network so I need to send a string parameter to the function and be able to return one back to the java program.
    I have done a lot of internet research and I can not get it to work out right. My coldfusion is working correctly.

    But the Coldfusion server would still have to present a "service". This could be using web services or it could be something as simple as a small HTTP based page to take the parameters and pass back results. Somehow the Coldfusion server must present a service for this to work.
    Think of a standard HTML page with a form on it. What you're describing is similar to that - you take in parameters (the HTML form) and return results (the result from an HTTP POST). Coldfusion is acting as the web server and your Java client is acting as the browser. Until the Coldfusion server is ready to accept requests (in your case SOAP formatted requests) there is not point worrying about the client side (the Java client in your case).
    Is the Coldfusion server presenting something that can run the CFC file and return the results? Again, it could be a web service or even a REST-like service (like I described above) that your client could talk to.

  • REST to SOAP: Invalid number of elements in URL "/"

    Hi,
    So having read the great blog series PI Rest Adapter - Don't be afraid by Alexander Bundschuh and I decided to try and set up my first scenario using the REST adapter in the same vain as Working with REST Adapter: A REST to SOAP Scenario in SAP PI/PO .
    When I come to test the service from SOAPUI I get a 404 error with the message "Invalid number of elements in URL "/". 3 expected, 0 received."
    As you can see it is hitting the correct sender communication channel as the response comes back with the channel name "RESTSenderMyService".
    The Channel has been set up as follows:
    Input and output format = XML
    Channel selection = MyService   (The 'Specify Endpoint' flag is ticked)
    There is no limit set for the HTTP operation.
    Everything else is left unchanged....left as their default values
    Also I've tried adding the full URL in SOAPUI in the endpoint field - the attached screenshot shows when I tried moving the /RESTAdapter/MyService into the Resource field.
    I've also fiddled with the media type of the payload from text/xml to application/xml.
    So the mystery is what does the error message refer to and what are the 3 elements it's expecting?
    Thanks in advance.

    Hi Peter,
    This has happened because you have not defined the values for the url pattern you have defined in the REST sender channel (I am talking about Service resource and id).
    Provide them in the resource section and you will get the message through.
    eg- /RESTAdapter/MyService/service/resource/id
    Thanks,
    Vikas Singh

  • REST VS SOAP

    Hi Friends,
    While there are multiple articles around this topic I wanted to seek advice from Gurus on this very important topic.
    Can someone suggest on when to use :
              1. REST VS SOAP OSB Services
              2. REST VS SOAP BPEL Services
    Any pointers to guideline/informative documents will also be helpful.
    Thanks,
    Sachin.

    Hope you don't mind if I butt in on this
    conversation...
    I would say that what you choose depends on your
    developing style.
    If you're a Big Architecture type and you don't mind
    using complex tools to generate your code, then SOAP
    is for you.
    If you're a do-it-yourself type and don't mind
    designing your own home-grown framework, then use
    REST.
    And I have no idea why somebody requires REST to be
    stateless either. We've been writing non-stateless
    web applications for years and REST just formalizes
    the communication between client and server. I don't
    see why it should dictate what the server does."Java� Servlet's HttpSession API provides an example of this strain. HttpSession lets you associate session state with a particular user. This API seems deceptively simple to novice developers. Indeed, it appears that you can store any object in HttpSession and pull it out without ever coding any special lookup logic yourself. But as you start putting more objects in HttpSession, you start to notice that your application server uses more and more memory and processing resources. Soon you decide that you need to deploy your application in a clustered environment to help with growing resource needs. Then you realize that for HttpSession to work in a clustered environment, each object must implement Java's Serializable interface so that session data can be transmitted between servers in a clustered environment. Then you must decide whether or not your application server should persist session data in the case of a shutdown/restart cycle. Soon you begin to question whether violating the client-stateless-server constraint was such a good idea after all. (Actually, many developers are ignorant of this constraint.)"
    http://www-128.ibm.com/developerworks/xml/library/wa-ajaxarch/
    MeTitus

  • Xmlrpc and soap, looking for a simple answer to a simple question

    Hello,
    Can someone tell me, are java implementations of web service protocols such as soap and xmlrpc built around servlets (and supporting classes of course) that know how to deal with these specific xml formats? I know there are various libraries for handling these things but on the most basic level it's still using a Servlet as an end point for an http request and then handing out the request to the supporting classes isn't it?
    thanks a bunch
    -seth

    XML-RPC and SOAP were developed outside of Sun, outside of Java. They are uniform international standards of communications developed on top of XML standards to be easily used by applications of different types.
    XML, like Java, is cross-platform, but for applications. XML defines document structure, and because it is an international standard, many people have access to the "format." An application, like Microsoft Word, can read an XML document created by some other Application that is written in XML because both understand XML. Although they can read the document, they may not understand the data. Various other XML technologies enable the application to retrieve another XML document that describes the elements or that defines how the data is to be displayed and/or used. XML Style Sheets and XML Translations are just two such things.
    Not everyone knows the Adobe PDF format, so a program like MS Word is not able to read it, but if it was written in XML, then Word could read the document, get the technology that describes how to handle the data, and then properly display it to the user, allow editing, then save it back into XML format, and then Acrobat could read the edited data and display it correctly as well. Two different applications, one common format.

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

  • Need to get SOAP request and SOAP response message.

    Hi All,
    I need to know that how can I get the SOAP request and SOAP response message. Now I am using WSDL2Java tool from Axis to generate the stub classes (such as ServiceLocator, SoapBindingStub, and soapPort ) and applying the classes to make the SOAP request. I have seen the solution for getting the SOAP request with Dynamic invocation interface (DII) style (http://mail-archives.apache.org/mod_mbox/ws-soap-user/200310.mbox/%[email protected]%3e), but not Static stub like what I did. Could anyone suggest me how to do it please ( I can't run tcpcom on the linux server, because x-window is not allowed to install ). Thank you for any help in advance.

    You can try writing a client-side handler.
    Handler gets called before the actual request is sent, and you can get the SOAP
    message in it.
    You have to deploy the handler in client-config.wsdd.
    Handler is just like Servlet Filter.
    I think there might be a simpler solution, but I dont know.

  • RFC sender and SOAP receiver data is not posting

    Dear Experts,
    we creating one scenario
    R3-PI-Third party(WSDL).so we are creating  RFC as Sender and SOAP as Receiver.in SXMB_MONI no error.Message monitoring also showing delivered and both payloads also showing.but in thirdparty system data is not posting.third party system is handling messages, but not showing any error also.we call the WSDL using WSNAVIGATOR to post data working fine.
    Thnaks,
    ajai

    Dear Stefan,
    we are getting below message in TCP Gateway.
    POST /AdvancedMeteringInfrastructure-UtilitiesDeviceERPSmartMeterBulkCreateRequest-context-root/UtilitiesDeviceERPSmartMeterBulkCreateRequest_OutPort?wsdl HTTP/1.0Accept: /Host: gts-poc1:50081User-Agent: SAP-Messaging-com.sap.aii.af.sdk.xi/1.0505content-id: <soap-00237D5E14C01DEF9BC72C1A7C0FFCA3(at)sap.com>Content-Type: text/xml; charset=utf-8Content-Length: 1746SOAPACTION: "http://sap.com/xi/IS-U/Global2/UtilitiesDeviceERPSmartMeterBulkCreateRequest_Out"<SOAP:Envelope xmlns:SOAP='http://schemas.xmlsoap.org/soap/envelope/'><SOAP:Header/><SOAP:Body><ns1:UtilitiesDeviceERPSmartMeterBulkCreateRequest xmlns:ns1='http://sap.com/xi/SAPGlobal20/Global'><MessageHeader><ID schemeID='Device' schemeAgencyID='www.infotech.com'>4446364533373842</ID><UUID schemeID='Device' schemeAgencyID='www.infotech.com'>DF6E378B-D76E-DDF1-B9A3-0013725B3FAB</UUID><CreationDateTime>2010/06/02 T16:54:17</CreationDateTime><TestDataIndicator>true</TestDataIndicator><ReconciliationIndicator>true</ReconciliationIndicator><SenderBusinessSystemID>SLD_B001</SenderBusinessSystemID><RecipientBusinessSystemID>SLD_B002</RecipientBusinessSystemID></MessageHeader><UtilitiesDeviceERPSmartMeterCreateRequestMessage><MessageHeader><ID schemeID='Device' schemeAgencyID='www.infotech.com' schemeAgencySchemeAgencyID='001'>4446364533373842</ID><UUID schemeID='Device' schemeAgencyID='www.infotech.com'>DF6E378B-D76E-DEF1-B9A3-0013725B3FAB</UUID><CreationDateTime>2010/06/02 T16:54:17</CreationDateTime><TestDataIndicator>true</TestDataIndicator><ReconciliationIndicator>true</ReconciliationIndicator><SenderBusinessSystemID>SLD_B001</SenderBusinessSystemID><RecipientBusinessSystemID>SLD_B001</RecipientBusinessSystemID></MessageHeader><UtilitiesDevice><ID schemeID='DEID' schemeAgencyID='115'>1200000120001556</ID><StartDate>2010.06.02</StartDate><EndDate>9999.12.31</EndDate><SerialID>1200000120001556</SerialID><MaterialID schemeID='MaterialID' schemeAgencyID='MPL_002'>85</MaterialID><ProductUniqueItemID schemeID='Smart Meter' schemeAgencyID='MPL_002'>SM1165HS</ProductUniqueItemID></UtilitiesDevice></UtilitiesDeviceERPSmartMeterCreateRequestMessage></ns1:UtilitiesDeviceERPSmartMeterBulkCreateRequest></SOAP:Body></SOAP:Envelope>
    HTTP/1.1 404 Not Foundconnection: closepragma: no-cachecache-control: no-cacheexpires: 0sap-isc-etag: J2EE//content-type: text/htmlcontent-length: 1571server: SAP NetWeaver Application Server 7.10 / AS Java 7.10date: Wed, 02 Jun 2010 11:24:17 GMT<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"><html><head>     <title>Error Report</title><style>td {font-family : Arial, Tahoma, Helvetica, sans-serif; font-size : 14px;}A:link A:visited A:active </style></head><body marginwidth="0" marginheight="0" leftmargin="0" topmargin="0" rightmargin="0"><table width="100%" cellspacing="0" cellpadding="0" border="0" align="left" height="75"><tr bgcolor="#FFFFFF">    <td align="left" colspan="2" height="48"><font face="Arial, Verdana, Helvetica" size="4" color="#666666"><b>  404 &nbsp Not Found</b></font></td></tr><tr bgcolor="#3F73A3">    <td height="23" width="84"><img width=1 height=1 border=0 alt=""></td>    <td height="23"><img width=1 height=1 border=0 alt=""></td>    <td align="right" height="23"><font face="Arial, Verdana, Helvetica" size="2" color="#FFFFFF"><b>SAP NetWeaver Application Server 7.10 / AS Java 7.10 </b></font></td></tr><tr bgcolor="#9DCDFD">    <td height="4" colspan="3"><img width=1 height=1 border=0 alt=""></td></tr></table><br><br><br><br><br><br><p><font face="Arial, Verdana, Helvetica" size="3" color="#000000"><b>  The requested resource does not exist.</b></font></p><p><font face="Arial, Verdana, Helvetica" size="2" color="#000000"><table><tr><td valign="top"><b> Details:</b></td><td valign="top"><PRE>Go to <A HREF="/" target="_parent">main page</A> of this application!</PRE></font></td></tr></table></font></p></body></html>
    Thaks,
    Ajai

  • Web-services.xml for EJB component and SOAP Message Handler Chain

    I have used the following example for my own web service with EJB component and SOAP
    Message Handler Chain:
    http://e-docs.bea.com/wls/docs70/webServices/dd.html#1058208
    I have a deployment error:
    javax.naming.NameNotFoundException: Unable to resolve 'app/ejb/DocumentService.j
    ar#DocumentService/home' Resolved: 'app/ejb' Unresolved:'DocumentService.jar#Doc
    umentService' ; remaining name 'DocumentService.jar#DocumentService/home'
    In attachement is the ear file.
    Is there a problem in web-services.xml?
    Thanks
    [ws_dox_sdi.ear]

    It works. Thanks,
    Ioana
    "Neal Yin" <[email protected]> wrote:
    The error means your EJB is not deployed.
    Adding a EJB module to your application.xml file of the ear should fixe
    it.
    <application>
    <display-name />
    <module>
    <web>
    <web-uri>dox_sdi.war</web-uri>
    </web>
    </module>
    <module>
    <ejb>DocumentService.jar</ejb>
    </module>
    </application>
    "Ioana Meissner" <[email protected]> wrote in message
    news:3cf640cc$[email protected]..
    I have used the following example for my own web service with EJBcomponent and SOAP
    Message Handler Chain:
    http://e-docs.bea.com/wls/docs70/webServices/dd.html#1058208
    I have a deployment error:
    javax.naming.NameNotFoundException: Unable to resolve'app/ejb/DocumentService.j
    ar#DocumentService/home' Resolved: 'app/ejb'Unresolved:'DocumentService.jar#Doc
    umentService' ; remaining name 'DocumentService.jar#DocumentService/home'
    In attachement is the ear file.
    Is there a problem in web-services.xml?
    Thanks

  • REST and ODATA service

    Hi,
    I am using PI 7.4.
    I have few queries regarding REST and ODATA service -
    What is REST based services in PI?
    If there is an ODATA service in SAP, how can we use that in PI for mapping needs?
    Where we need to use BAPIs and where we can consume odata services that are being built for SAP UI5 project.

    Hi
    Kindly check the following links:
    REST Adapter on Advanced Adapter Engine (New) - What's New in SAP NetWeaver 7.4 (Release Notes) - SAP Library
    REST Adapter on Advanced Adapter Engine (New) - What's New in SAP NetWeaver 7.3 EHP1 (Release Notes) - SAP Library
    https://www.advantco.com/product/REST
    PI REST Adapter - Blog Overview
    Regards,
    Xineohpi

  • Jax-rpc and soap

    I have implemented a web service using jax-rpc and soap however i am unsure how to go about validating my soap package with my own schema before using the web service. How do i use my own schema to validate this, i think it may be with the wsdl file but i am not sure. At present the wsdl file points to a non existing .xsd file which the soap envelope uses, what i need i to replace this with my own schema, or is there a better way to do this than using jax-rpc and soap?
    cheers
    Andy

    I am in the same situation as you are. Got any solution? please let me know.
    Appreciate your valuable reply

  • Java Web Service Access SOP Header and SOAP Body

    Hi
    I am newbie to Web Service. I had a Java class and I converted it to Web Service(LoginWebService has methods login, register).
    Now my client is accessing my web services and calling methods login and register.
    Now I want to add few values in SOAP header in client side.
    My Questions:
    1. How can I access the SOAP headers and SOAP Body in my Server Web Service method implementations?
    2. Is there any API that I have to use?
    3. Does anyone have any sample code for these things?
    Thanks

    Seems like the exception handling logic is not sound - but your posting is difficult to read. Please use the *\* tag to mark and end source code snippets.
    Have a look at the sample code in {message:id=4205205} - does a SOAP call using PL/SQL only.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               

  • What is the best book on XML and SOAP with Java?

    I need to learn xml and soap. Could someone recommend a book or tutorials on the subject. I have just went through teach yourself java in 21 days.
    Thank you
    Noah

    Well using XML is very easy and I can assure you that a simple tutorial can get you on the right track quickly. A quick google search gave me this one, which looks like a good start: [http://totheriver.com/learn/xml/xmltutorial.html|http://totheriver.com/learn/xml/xmltutorial.html]
    As for SOAP, that is a more complex subject. You are looking for JAX-WS (Java API for XML webservices). I suggest checking out amazon.com searching for "java web services". The user reviews should give you a very good idea which book is good and which one stinks.

  • OSB: Soap 1.1 and Soap 1.2

    Hello i am tasked with a wsdl file that contains two port types one with soap 1.1 and the other with soap 1.2
    Now I need both the soap 1.1 and soap 1.2 to be available to the end user
    however in osb when creating the proxy service i am forced to choose either hte soap 1.1 binding or the soap 1.2 binding... will i have to create two separate proxy services for each or is there a way to have it where one proxy service can support both soap types?

    How come a SOAP 1.2 request can go through the whole flow even though the local PS and provider BS I chose the SOAP 1.1 ports?Make your PS_3 as Any XML Service proxy service and the select Local Transport.
    come a SOAP 1.2 request can go through the whole flow even though the local PS and provider BS I chose the SOAP 1.1 ports?Your PS_3 can accept both SOAP1.1 and SOAP1.2 as it's based on Any XML service.
    Regards,
    Abhinav

  • Basics of HTTP and SOAP

    Hi All,
    Can anybody tell me the Use of HTTP and SOAP adapter
    And ware to use HTTP and ware to use SOAP adapter with any Example
    it will be much helpfull to me
    Thanks
    Shakif

    Hi Shakif,
    to knoe in details about adapter (specifically about SOAP and HTTP adapter)
    you can refer TBIT 42 whic contails details about each adapter
    if you are new to SAP XI  then i advice you to go through TBIT (bible of SAP XI )
    these contains step by step and also contains many exercises with screen shot
    hope this mayhelp you in learning sap xi
    links are as follows
    TBIT40:
    https://websmp109.sap-ag.de/~form/ehandler?_APP=00200682500000001337&_EVENT=DISPLAY&COURSE=TBIT40
    TBIT41:
    https://websmp201.sap-ag.de/~form/ehandler?_APP=00200682500000001337&_EVENT=DISPLAY&COURSE=TBIT41&LANGUAGE=
    TBIT42:
    https://websmp206.sap-ag.de/~form/ehandler?_APP=00200682500000001337&_EVENT=DISPLAY&COURSE=TBIT42&LANGUAGE=
    TBIT43:
    http://www50.sap.com/useducation/curriculum/course.asp?cid=60161651
    TBIT44:
    https://websmp102.sap-ag.de/~form/ehandler?_APP=00200682500000001337&_EVENT=DISPLAY&COURSE=TBIT44
    Thanks
    Sandeep
    PS: if helpful plz reward points

Maybe you are looking for