Why should I use Web Services?

I am managing an Internet project for my company. We exhaustively use IIS, ASP and SQL 2000 Server and until today we feel very comfortable with those tools. We successfully developed some COMs also to make additional work. As a personal interest in my free time I am learning Java. I began two months ago and using certain APIs downloaded from the net I could develope applications and applets for an SMS messaging system interacting with a real cellular phone provider. I also had to learn about RMI and implement it in this project. That system now is working nice. So I was encouraged to learn more about Java and I found the Web Services world. Everybody is talking about it(and .NET of course), in the net, in magazines etc.. So, I decided to learn about Web Services.
I read these paragraphs at the beginning of the Web Services Tutorial:
"In a typical Web services scenario, a business application sends a request to a service at a given URL using the SOAP protocol over HTTP. The service receives the request, processes it, and returns a response. An often-cited example of a Web service is that of a stock quote service, in which the request asks for the current price of a specified stock, and the response gives the stock price. This is one of the simplest forms of a Web service in that the request is filled almost immediately, with the request and response being parts of the same method call."
Maybe I am not able to understand the concept but this is more or less what I get using for example an ASP or an RMI or a Servlet, don't I?. Ok, there is no SOAP involved in those methods mentioned but still I have a request, and response and so on. So, what is the advantage I will get working with a Web Service?. Can anybody explain me?
Regards,

Here are a few reasons why. Enjoy!!
A
What Can Amazon Web Services Be Used For?
Although Amazon Web Services is a cool technology, it also provides the very useful function of enabling business partners to interact with Web site through standard protocols. This interaction can lead to a deeper, more valuable relationship for parties involved. Here are a few of the ways that partners are benefiting from Web Services:
Associates: Associates program enables Web sites to link to Amazon.com and earn referral fees for sales that they drive through their links. Many Associates are now using Web Services to build more effective links to our store, thus enhancing their sites and earning more money.
Sellers and Vendors: Amazon.com has thousands of third-party sellers who offer their products on our Web site. Using Web Services, these sellers can more easily manage large quantities of inventory on our platform, and download the latest product information to make sure that their products are competitively priced.
Developers: Among the thousands of developers who have signed up to our Web Services program, many are now creating solutions to help other people work with Amazon. These solutions are powered using our Web Services APIs.
www.amazon.com/gp/aws/landing.html

Similar Messages

  • Why Using Web Service

    I'm currently constructing a helpdesk system using JSP and Servlet
    I'd read some articles about Web Services, (WSDL, JAXP, JAX-RPC, SAAJ and so on)
    Since I'm still a newbie using Java Technology and web development,
    Can anybody please tell me why should we deploy web service into the product we'd done?
    What's the differences we build a website using or not using the webservice?

    I think you stil not so clear about the web services. Web services is a services that provided at Internet. It can advertise their services and allow the other people to invoke it. The advantages is the customer no need the fully code their application and they only can use the metod that provided on the Internet. Besides that, the the application customer and application business can straight away communicated. It allow the diffrent application which write in diffrent language the communicated each other. If the website, they only can communicated with the server only, not the application of the other side.
    I think I can help you.

  • Why should I use EJB

    Hi,
    My name is Gandharv Sirohi. I am a student, and new to EJB. I want to know why should I use EJB, before I can start learning it if every thing can be done using Java Servlets and JSP.
    I tried to find out the answer to this question in books but there is no satisfactory answer.
    Can some body help me understand this simple question. I will be thankfull

    Hi gandharv,
    It's true there are a lot of services available to both the web tier and the EJB tier. One of the
    real strengths of EJB is support for transactional business logic. Web components can
    explicitly demarcate transactions via UserTransaction, but container-managed transaction
    support in EJB components at the business method level offers a much simpler approach
    for developing and maintaining such applications. An example of some EJB services not available
    in the web tier are : method-level security, RMI-IIOP access, message-driven beans,
    transactional/persistent timer service, stateful components, extended container-managed
    persistence contexts, guaranteed single-threaded execution, and interceptors.
    Of course there are many services available to the web tier that are not in EJB. It's not
    about picking one of the two that should always be used. Like any tool/technology, each has its strengths, weaknesses, and design center.
    --ken                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       

  • Why should i use Apple 'Mail' if i use others like G-Mail?

    Simply:  Can or should i just remove 'A-Mail' so it's icon stops jumping & bothering me to sign up? 
    •THANK YOU, and gratitude to whoever can help me unerstan.
    *I'm 67 and not up to speed on such things.
    BACKGROUND, if necessary:
    •For years I've used only the Mail service of my ISP, Dslextreme ('DSLX').
    I've never used Apple 'Mail' , & never set it up to service mail from any of the mail services that i do use.
    I never activated 'A-Mail'  and i don't think there is mail in it.  Nor have i deactivated 'A-Mail', and it's still on my screen in the 'Dock'.
    •But from time to time, and inexplicably to me,  the 'A-Mail' icon seems prompted to start 'jumping' and wanting me to use it somehow, like sign up for it.  This was a minor annoyance so i just clicked to close it and so ignored it and moved on.
    This seems to happen when a website i'm on wants me to e-mail them and on their page i seem only have a choice to use 'A-Mail', none other, so i am pre-cluded from communication.
    •Just recently DSLextreme switched all us users over to G-Mail.   They turned over their mail operation to GMail and urged us to also getting a G-Account, which i have finally done.
    •I know that A-Mail 'works with the most popular email systems' like G-Mail.
    •"A-Mail"  = Apple's 'MAIL'.   To avoid confusion caused by the generic word 'Mail',  I'm going to call Apple's 'Mail' "A-Mail".
    I've spent over an hour trying to make my problem clear to you.    I hope i have succeeded.

    Apple mail is simply the default email application in OS X. It is not an email service/email address.
    Using an email application, you can read all your email in the same place and store them on your local drive.
    To answer your question, "Why should i use Apple 'Mail' if i use others like G-Mail?"
    You use a mail application for the same reason you use the internet when you could simply drive to the store to buy things or go get a newspaper or go to the library or go to the movie theater, etc.
    But from time to time, and inexplicably to me,  the 'A-Mail' icon seems prompted to start 'jumping' and wanting me to use it somehow, like sign up for it.  This was a minor annoyance so i just clicked to close it and so ignored it and moved on.
    This seems to happen when a website i'm on wants me to e-mail them and on their page i seem only have a choice to use 'A-Mail', none other, so i am pre-cluded from communication
    because the website is attempting to open your email application.
    Sounds like you simply use a web browser to view all your email.
    If you want to send an email from a web page, you need to copy an email address,  open your email account in your web browser, create a new email and paste the address.

  • Why should we use WSDL for developing webservices

    I need to develop Webservice Application for our Client .
    I dont know anything about WSDL4J
    Hi from the net i found this
    "The Web Services Description Language for Java Toolkit (WSDL4J) allows the creation, representation, and manipulation of WSDL documents.
    Is the reference implementation for JSR110 'JWSDL' (jcp.org)."
    But anybody please tell me why should we use WSDL for developing webservices ??
    Is there any specific advantage we will get ??
    And Can body please point me a link where to start for working with WSDL4j ?
    Thank you very much

    i seriously doubt you want to use wsdl4j unless you are doing really advanced webservice work. assuming you are developing this webservice from scratch, you basically want to use JAXWS: define an appropriate interface and your value classes, and let JAXWS do the rest. metro is the JAXWS implementation included in the oracle jdk and it has great tutorials and reference documentation online. i'd suggest you start here: http://metro.java.net/getting-started/

  • Workflow : User Decision on Email using Web Services

    Hi,
    I have the requirement of sending User Decision on Email Using Web Services.
    Eg : I have created one ECR Using T-Code "CC31" and on status change "CC32" of this ECR, My workflow triggers. Now what i want is to send the User Decision on maintain User Email ID  as URL link. This link will contain the ECR Nos. There will be "N" nos of Links send on email depending on Requirement. By clicking on that Particular Link , Action taken should be updated in sap.
    URL Link is just like confirmation link send on our email id during user Registration on some Website or when we create our Gmail / Yahoo Account.

    Why not use the extended notifications? - it has an option to send links to approve/reject or any other option in the decision task and use a standard web service. See the document attached to note 1646056 - Workflow Quick Start Guide to Extended Notifications.

  • How to get the list of values for a dynamic parameter using Web Services SDK?

    <p>I am struggling to get the list of values for a dynamic parameter of a report.</p><p>I am using Java Web Services SDK ... I tried to use PromptInfo.getLOV().getValues() method but it does not work.</p><p>First of all ... is this possible (to get the list of values for a dynamic param) using Web Services?</p><p>Second of all, if this is possible, how should I do it ... it seems it works fine when running the report from CMC. It asks for DB logon info and after that it provides a list of values.</p><p>Thx </p>

    <p>Your assumption is correct. We are trying to get the LOVs from the Crystal Report. I was not aware that this is not supported by Web Services SDK.</p><p>We used Web Services SDK to integrated the Crystal Reports in our web application. We implemented some basic actions for reports: schedule, view instances, run ad-hoc reports.</p><p>We encountered this problem when trying to run/schedule reports with dynamic parameters (a list of values from DB). We were unable to get the LOVs.</p><p>Please let me know if you can think of an alternative to look at.</p><p>Thanks a lot,</p><p>Catalin </p>

  • Invoking a scenario using web service

    Hi Experts,
    Could anyone pls suggest how to pass variables from SOAP to ODI 11g(11.1.1.6.3)
    Here we are using wsdl utility to invoke a scenario using web service and trying to pass a variable like the below
    The scenario is triggered successfully without passing a parameter.
    But when i try to pass a variable like the below,am getting error
    Variables name='PROJECT_CODE'
    Variables value='JI-2015'
    In ODI 11g, i have generated a scenario with a variable PROJECT_CODE as a declare variable and tried triggering from both the environments
    From ODI 11g:
    When I try to trigger the scenario from wsdl, in that variable step(in operator), I got error as ODI-17546: Specified variable not found in the Repository
    But in the work repository SNP_VAR table I could still see the variable name under VAR_NAME column.
    From ODI 10g:
    When i try to do the same from odi 10g, the scenario execution is success.
    But the variable had taken only NULL value instead of taking the value which i passed from wsdl.
    Could you pls advise where am going wrong

    variable should be passed in the soap message by adding variables elements. Refer to Note ID [1499852.1]
    <Variables>
    <Name>Project.Variable1</Name>
    <Value>Variable1Value</Value>
    </Variables>
    <Variables>
    <Name>Project.Variable2</Name>
    <Value>Variable2Value</Value>
    </Variables>
    <Variables>
    <Name>Project.Variable3</Name>
    <Value>Variable3Value</Value>
    </Variables>

  • OutofMemory Error while sending file to database using Web services

    I have a file of 30MB to be written to the MySQL database. I am doing this in Axis web services and it gives me the following error:
    (I am using Tomcat as the application server and Apache as the web server, Axis 1.3 and MySQL standard 5.0.21 version. I have set the minimum and maximum heap size and it works well without using the web service (just uploading and downloading from the database using a simple java program). Another thing to notice is that I can send a file of almost 10MB size to the database using web service without any problem. But it doesn't work with the 30 MB .)
    java.lang.OutOfMemoryError: Java heap space; nested exception is:
         java.lang.OutOfMemoryError: Java heap space
    AxisFault
    faultCode: {http://schemas.xmlsoap.org/soap/envelope/}Server.generalException
    faultSubcode:
    faultString: java.lang.OutOfMemoryError: Java heap space; nested exception is:
         java.lang.OutOfMemoryError: Java heap space
    faultActor:
    faultNode:
    faultDetail:
         {http://xml.apache.org/axis/}hostname:dbr221d.dbr.louisville.edu
    java.lang.OutOfMemoryError: Java heap space; nested exception is:
         java.lang.OutOfMemoryError: Java heap space
         at org.apache.axis.message.SOAPFaultBuilder.createFault(SOAPFaultBuilder.java:222)
         at org.apache.axis.message.SOAPFaultBuilder.endElement(SOAPFaultBuilder.java:129)
         at org.apache.axis.encoding.DeserializationContext.endElement(DeserializationContext.java:1087)
         at com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.endElement(AbstractSAXParser.java:633)
         at com.sun.org.apache.xerces.internal.impl.XMLNSDocumentScannerImpl.scanEndElement(XMLNSDocumentScannerImpl.java:719)
         at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl$FragmentContentDispatcher.dispatch(XMLDocumentFragmentScannerImpl.java:1685)
         at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scanDocument(XMLDocumentFragmentScannerImpl.java:368)
         at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:834)
         at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:764)
         at com.sun.org.apache.xerces.internal.parsers.XMLParser.parse(XMLParser.java:148)
         at com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.parse(AbstractSAXParser.java:1242)
         at javax.xml.parsers.SAXParser.parse(SAXParser.java:375)
         at org.apache.axis.encoding.DeserializationContext.parse(DeserializationContext.java:227)
         at org.apache.axis.SOAPPart.getAsSOAPEnvelope(SOAPPart.java:696)
         at org.apache.axis.Message.getSOAPEnvelope(Message.java:435)
         at org.apache.axis.handlers.soap.MustUnderstandChecker.invoke(MustUnderstandChecker.java:62)
         at org.apache.axis.client.AxisClient.invoke(AxisClient.java:206)
         at org.apache.axis.client.Call.invokeEngine(Call.java:2784)
         at org.apache.axis.client.Call.invoke(Call.java:2767)
         at org.apache.axis.client.Call.invoke(Call.java:2443)
         at org.apache.axis.client.Call.invoke(Call.java:2366)
         at org.apache.axis.client.Call.invoke(Call.java:1812)
         at edu.louisville.bcc_ma.ws.lab.LabServiceSoapBindingStub.storeGZIPFile(LabServiceSoapBindingStub.java:472)
         at edu.louisville.bcc_ma.lims.labclient.container.SendGZIPFile.sendFile(SendGZIPFile.java:69)
         at edu.louisville.bcc_ma.lims.labclient.container.LoginContainer.login(LoginContainer.java:58)
         at edu.louisville.bcc_ma.lims.labclient.container.LoginContainer.main(LoginContainer.java:44)

    Sorry for the delayed response here, forget to add it to my watchlist. I didn't catch if you were using Java 1.5 or not. Prior to 1.5 the default maximum heap space was 64MB which with the overhead of the appserver might be your problem.
    Take a look at http://java.sun.com/j2se/1.5.0/docs/guide/vm/gc-ergonomics.html and the java -Xmx <size> command line option to change the default (I believe the size argument is in bytes, but don't hold me to that). I think you can pass that as a command line option to the startup script, but you should check the doco to see if it needs to be wrapped in some other arg etc.,
    I seem to recall running into this same problem a few years back when I had a servlet doing some intense graphics processing on the fly and setting this option fixed the problem.

  • Report that uses web services as data source, prompts for database logon

    I have a crystal report that uses web services as a data source. When I deploy the report to Infoview it prompts me for a database username and password. Since I am not using a database it should not prompt me for these. I tried various options in the CMC->database settings for this report but it still prompts me for the database logon info or tells me that the database logon information is incorrect.
    The report work fine in the Crystal Reports Designer.
    Does anyone know how I can prevent this report from prompting me for the database logon info ?
    Thanks,

    What options have you tried in the CMC?
    Have you tried running the report in Crystal Reports installed directly on the Enterprise machine?

  • How to use web services in JSF app

    I am unsure if this is the right forum for this question. Let me know if it is not - and where I should go.
    Anyways, I'm building a JSF web app, in which there is a datatable page displaying some business data. The app is going to be deployed and run in the customer's web server, but the data to be displayed is from the business solution provider's database. Currently the provider supplies web services to retrieve the data. So, my task is to call these web services from my JSF page, get and display the data.
    I've never used web services before. Can someone give me a quick start, as what I need to know to use these web services, and how to use them in coding terms. I googled the web quite a bit and finally decided to turn to SDN forum.
    Thanks!

    http://help.sap.com/saphelp_nw04/helpdata/en/9b/dad1ae3908ee44a5caf57e10918be9/content.htm
    http://help.sap.com/saphelp_47x200/helpdata/en/2d/64d029e74911d6b2e400508b6b8a93/content.htm

  • How to create a Sales Lead and Sales Lead Contact using Web Services

    Hi,
    I am working on integration of sales lead with third party application. I want to create a sales lead and sales lead contact using web services.
    The question is What WSDLs should I use to create Sales Lead and sales lead Contact? And What are the required parameters to pass to that WSDL?
    Please let me know if any information required.
    Thanks and Regards,
    Jason

    Hi,
      Sample soap messages for creating Sales Lead ::
    <soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:typ="http://xmlns.oracle.com/apps/marketing/leadMgmt/leads/leadService/types/" xmlns:lead="http://xmlns.oracle.com/oracle/apps/marketing/leadMgmt/leads/leadService/" xmlns:lead1="http://xmlns.oracle.com/apps/marketing/leadMgmt/leads/leadService/" xmlns:not="http://xmlns.oracle.com/apps/crmCommon/notes/noteService" xmlns:not1="http://xmlns.oracle.com/apps/crmCommon/notes/flex/noteDff/">
       <soapenv:Header/>
       <soapenv:Body>
          <typ:createSalesLead>
             <typ:salesLead>
                <lead:Name>Lead Created For Migrration Test4</lead:Name>
                <lead:Rating_c>A</lead:Rating_c>
             </typ:salesLead>
          </typ:createSalesLead>
       </soapenv:Body>
    </soapenv:Envelope>
      Sample soap messages for creating Opportunity ::
    <soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:typ="http://xmlns.oracle.com/apps/sales/opptyMgmt/opportunities/opportunityService/types/" xmlns:opp="http://xmlns.oracle.com/apps/sales/opptyMgmt/opportunities/opportunityService/" xmlns:rev="http://xmlns.oracle.com/apps/sales/opptyMgmt/revenues/revenueService/" xmlns:not="http://xmlns.oracle.com/apps/crmCommon/notes/noteService" xmlns:not1="http://xmlns.oracle.com/apps/crmCommon/notes/flex/noteDff/" xmlns:rev1="http://xmlns.oracle.com/oracle/apps/sales/opptyMgmt/revenues/revenueService/" xmlns:act="http://xmlns.oracle.com/apps/crmCommon/activities/activitiesService/">
       <soapenv:Header/>
       <soapenv:Body>
          <typ:createOpportunity>
             <typ:opportunity>
                <opp:Name>Test Opportunity</opp:Name>
             </typ:opportunity>
          </typ:createOpportunity>
       </soapenv:Body>
    </soapenv:Envelope>
    Please revert if you have any clarifications.
    Best Regards,
    Mohd Sabeer

  • Issue using web-service with forms9i

    using web-service with forms9i
    Hi
    I have a setup of oracle9ias release 2 on solaris machine. I have made a web-service which is deployed on nt machine on weblogic server. I have made a call from my form (forms9i) to this web-service. When i try to use that web-service after deploying my form on solaris, it initializes the web-service and performs the action successfully. Now the problem is that my form also makes a call to report server to generate a report. The problem is when i initialize the web-service and uses its function it works but after that making a call to report server will fail. Also if i make a call to report server first, it generates the report and then i make call to the web-service, then that web-service fails to run. And in both cases, the forms application stops saying session has aborted.
    Why cant i make call to both the things in one session of application? What could be the reason for that? Need help urgently.

    Sorry,
    I didn't know that this was necessary to find a solution.
    Here are the definition out of the WSDL File:
    <xsd:complexType name="ZS_EQART_RANGE_LINE">
         <xsd:sequence>
              <xsd:element name="SIGN" type="tns:char1"/>
              <xsd:element name="OPTION" type="tns:char2"/>
              <xsd:element name="LOW" type="tns:char10"/>
              <xsd:element name="HIGH" type="tns:char10"/>
         </xsd:sequence>
    </xsd:complexType>
    Thanks for Help
    Ron

  • How to use web services in Excelsius 2008

    I am new  to this tool. I have trial version on excelsius 2008 and i would like to build a dashboard that should query our corporate database (in oracle). I think web services is a option to do it.  Any samples available?.Please help me
    Edited by: AshishDatar on Jul 27, 2009 6:29 PM

    Hi AshishDatar:
        For you question you want to get data from data base using web service connection. Here I can give you some suggestions
    1.Write a web service to retrieve data from data base, then use Xcelsius u201Cweb service connectionu201D under u201CManage Connectionu201D section to consume the service and get the data from data base to spread sheet.
    2.Xcelsius also provide you a tool to generate web service with easy way (without coding). (Suggested)
    Using flynet, you can get flynet installation file under Xcelsius installation folder u201CXcelsius\Connectivity\Flynet Webservice Generatoru201D for more information about flynet please refer to
    http://myxcelsius.com/2008/11/07/generating-web-services-for-xcelsius-using-flynet-web-service-generator/
    Here is also a demo on how to use  web service conneciton with Xcelsius + Flynet
    https://businessobjects.webex.com/ec0600l/eventcenter/enroll/register.do?siteurl=businessobjects&formId=50213992&confId=50213992&formType=1&loadFlag=1&eventType=1&accessType=
    Hope it helps with your work! And let me know if you need any further help.
    Thanks!
    Bill
    Edited by: Bill Xu on Jul 28, 2009 8:02 AM

  • ABAP source code to connect to third party systems using web service calls?

    Hi all,
              can any one provide an example ABAP source code to connect to third party systems using web service calls? The base system is CRM.

    Do you want to call a web service in a remote system, or do you want to provide a web service?
    If you want to call a web service you should create a proxy object via SE80. Open your development package, right click on the tree entry and choose: Create -> Enterprise Service / Web Service -> Proxy Object and provide the needed information (including the WSDL description file). You may then use the proxy object to call the web service (if the connection and everything else works right).
    See [http://help.sap.com/saphelp_nw04/helpdata/en/9b/dad1ae3908ee44a5caf57e10918be9/content.htm|http://help.sap.com/saphelp_nw04/helpdata/en/9b/dad1ae3908ee44a5caf57e10918be9/content.htm]

Maybe you are looking for

  • Downloads to wrong folder

    Hello, When I sync music or podcasts onto my ipod nano (4th generation 16 GB) from my powerbook (OS X 10.4.11) using itunes (9.0.2) it appears, on the summary page of itunes, to be downloading into the correct blue audio folder however once the ipod

  • Billing Customer for Services given by vendor - RRB

    Hi, In Scenario - Resource Related Billing (PS - SD) for Customer Projects, we receive services from External vendors & we want it to bill to our customer via RRB. What config settings are required?

  • XI java mapping using SAX

    Hi, im using java mapping for complex IDOC structure. If I run program localy, it works great, but when XI runs mapping, I have problems with xml file, some elements are not there ?! I don't know why it happens.....i said that i'm using complex logic

  • Miro to be booked @ purchase order amount.

    Dear All, I had a query related to MIRO-when we book MIRO on a purchase order , we can only book as per the quantity in GR.Is there a way that i can control the amount while booking the MIRO i.e tolerance +- 15000/- or smaller amount.right now i can

  • Set run as administrator

    Hi, I would like to know how to let the setup run as administrator (first launch) after install. Currently i set the app.manifest execution level to requireAdministrator but it will prompt run as administrator message every time i launch the software