What is a web service

On the top of this page I read the following:
A web service is an application that exists in a distributed environment, such as the Internet. A service is made available as reusable functionality through web standards like SOAP, WSDL, UDDI registries. This functionality can be used directly from a client application, aggregated with other services and information, mediated, or converted for presentation. This Forum covers JAX-RPC, JAXR, JAXM and related APIs
Does my app tap into a web service on the internet always to get it's benifit? Or can I connect once, get the code to my machine, then be able to use the functionality offlline? Could someone give me an example of how i would use a web serice? Please.
Juan Matos

Whoa, now that's a lot to cover in one post. I would highly suggest looking at the webservices home page on this site, as well as doing some basic research into web services through tutorials or books. But to answer your questions directly:
Does my app tap into a web service on the internet always to get it's benifit? Or can I connect once, get the
code to my machine, then be able to use the functionality offlline?I think you may have a misunderstanding of the basic nature of a web service. A web service (in very simple terms) is a set of methods that can be invoked over the internet. This is generally carried out in XML requests and responses. In order to access a webservice's functionality, you have to be able to connect to it.
Could someone give me an example of how i would use a web serice?The answer depends on what you mean by "use". If by "use" you mean as a consumer of the service, then you might use Amazon.com's webservice interface to set up you're own online bookstore, or you might use a webservice to find out the real time price of a stock, or you might connect to your tea supplier in China to find out if the kind you need is in stock....any situation involving remote procedure calls is an example of where you might use a web service.
If by "use" you mean where would it be appropriate to be a provider of a web service, well just think about the flip side of the above examples. Any business function that you would like to expose to clients that might not be using the same development platform/software/version/whatever, would be an oppurtunity to use a web service for a standard communication medium.
This is all very simplistic, if you would like to learn more, I would suggest Googling for articles or picking up a book.
Hope this helps,
Webb

Similar Messages

  • What portion of Web services is using port 9010

    I can't manage to find documentation anywhere which states what portion of Web Services uses port 9010. I'm setting up a Snow Leopard server (all current updates installed) for a client, and they need to use Readerware for their library database and management: http://www.readerware.com/.
    The server component kept throwing errors about port 9010 when it would start as it uses 9010 as its "control port" in communications with client software. Readerware support pointed me in the direction of Web Services, though just turning them off doesn't fix the problem. Even though a Port Scan in Network Utility shows 9010 as clear after flipping the big switch in Server Preferences, Readerware still throws errors and refuses to work correctly. Only if I switch off Web Services, reboot the server, and immediately start Readerware, will it work. If I turn Web Services on, Readerware continues to operate correctly until the server component is quit and relaunched. Then, 9010 port-in-use errors again.
    My Snow Leopard Server install is still fairly virgin, and I haven't done anything to change Web Services other than turn it on and off. No software firewall is running. The Webmail component of Web Services is turned off as the Mail service itself is turned off. The obvious solution to me would be to customize the control port of Readerware, but they don't seem to offer that option.

    to add more to this, the Apache server status page on 9010 (http://localhost:9010/server-status/) appears to be localhost only
    That's absolutely correct. You don't typically want to expose the data that /server-status and /server-info give to the outside world.
    So would commenting this out actually break Sever Admin?
    Yes, because Server Admin doesn't communicate with Apache over port 9010.
    Server Admin.app talks to servermgrd, a daemon process that runs on Mac OS X Server. Server Admin.app tells servermgrd what information it wants and servermgrd collects that data and returns it to the GUI app.
    Since servermgrd lives on the server itself it's quite capable of communicating with Apache on localhost port 9010.
    The other possible solution to your problem is to configure your other app so that it listens on a specific IP address rather than * - that way localhost:9010 can be the regular apache/Server Admin interface, while 192.168.1.2:9010 could be your ReaderWare app (if it supports this kind of configuration).

  • What is java web services?

    Hi all,
    I would like to know what is java web services?What can be done using java webservices?
    I just go through the link
    http://java.sun.com/webservices/docs/1.6/tutorial/doc/index.html but i couldnt able to get an idea what is web services is?

    makpandian wrote:
    It describes about web services in common .I want to know what web service is in java platform..
    Thanking You.That is a slightly odd question.
    There's nothing special about web services in Java against web services in any other language...there are, after all, several web service frameworks in Java, so it's not as if there's even a single answer to it.
    Do you understand what a web service is and the associated standards around one? If you do then you should realise that your question doesn't make much sense...unless you're actually asking what ws packages there are around.

  • What is a web services

    Hello,
    Can anyone tell me the difference between a Web Service and a Java J2EE Application?.
    Both are hosted on the Application servers. Both wait for incoming requests and provide service/response based on the request.
    Here where I am getting confused is how a web service is different from a J2EE application.
    It would be of great help if any of you could provide some expert inputs clearing my doubts.
    I tried searching the same on the internet but didn't find any kind of use full information regarding the differences between both. In fact no where these two things has been compared anywhere.
    Warm Regards,
    VarmA

    Can anyone tell me the difference between a Web Service and a Java J2EE Application?.Did you read the Web Service specifications (which have nothing at all to do with Java) and the J2EE specifications? Or at least the technology overview? It's like asking what's the difference between a steel gate and a park. Or Swing/SWT/MFC and some desktop application.
    Web services provide a web-based entry point to published applications using an XML-based protocol.
    J2EE applications are (potentially) distributed (and usually) enterprise-level applications. Which are often enough not published, as opposed to the almost free-for-all webservices.
    A J2EE application might or might not be the actual implementation behind a web service.
    Both are hosted on the Application servers.Nope. Web services are hosted on web servers.
    Both wait for incoming requests and provide service/response based on the request.Well, that's how "servers" are defined in general.
    Here where I am getting confused is how a web service is different from a J2EE application.A J2EE app doesn't need to have anything to do with the internet.
    I tried searching the same on the internet but didn't find any kind of use full information regarding the differences between both. In fact no where these two things has been compared anywhere.Because they're not really comparable, probably.

  • What is a web service address book sample in IBM RAD.

    Hi,
    I started learning web services by running sample programs provided by RAD. I followed instructions to run the sample to see what the web service will do. But could not. If anyone gone through the example, Can You please take some time to explain.
    Thank you.

    R u using axis. If you want to stick with axis and don't want to use JBossWS there is nothing else you need to do. Move all the axis to Jboss. If you plan to reimplement all ur services in JBossWS here it is:
    http://jbws.dyndns.org/mediawiki/index.php?title=Quick_Start
    http://jbws.dyndns.org/mediawiki/index.php?title=User_Guide
    Let me know if you need anything else.

  • How to find what are all web services depolyed?

    Hi all,
    I am taraka working as BA. I have theoretical knowledge on how web services work. I asked to test web services using SOAP UI.
    I have a URL and soap message. But some time I am getting webservice names and not complete urls.
    I would like to find out list of web services exposed at given url.
    Is there any way to find it?
    Please let me know.
    Thank you in advance..
    Regards,
    Taraka

    Usually you would get the webservice urls from the developers?
    Some appservers can give you a list e.g on jboss you can check hostName:port/jbossws

  • What is Oracle Web Services Manager  and where can i get more information ?

    Hi,
    Can any one point me to some useful links to know abt
    Oracle Web Services Manager and some example to play with it.
    Appreciate your help !!
    Regards,
    Vijay.B

    Vijay,
    You can install Oracle Web Services Manager (OWSM) as a stand alone product, but the easiest way would be to use the OracleAS SOA Suite Developer Preview, that contains all the SOA components (OWSM, J2EE, BPEL, ESB, ...)
    Oracle Application Server 10g Release 3 (10.1.3.1.0) Developer Preview for the Oracle SOA Suite
    Regards
    Tugdual Grall

  • Calling Web Service from SIM

    Hi all,
    We have to call a web service from SIM.
    I don't have any idea how to implement this.
    Do we have to create a custom adapter for this, or we have to use SPML or we can call it direct from workflow?
    Please suggest the appropriate option and also what kind of web services can be called from SIM i.e. they are as simple as other web services or there is any specific implementation details for that. In our web service we only have to call a method that accepts an integer argument and also returns an integer.
    If there is any link or document that can be helpful please provide.
    Thanks
    Edited by: IDM_Discussion on Feb 25, 2008 5:49 AM

    Calling direct to the web service does work. But the advantage of doing a resource adapter is that the calls are integrated into the standard IdM processing. So you will have the standard auditing and tracing capabilities and the ability to see the user in the IdM GUI etc.
    I think as a short cut under time pressure calling direct is ok but architecturally the RA approach is probably better.
    Also a precision: I should have said 'mix and match alomost certainly will not work, out of the box'. We did manage to make Sun JWSDP webservice code run in Web Sphere. But you have to bung all the jars you need into the idm war file and then do a tricky WASsy thing where you set the 'Parent Last' parameter on the IdM web app AND module (two levels) to ensure that the JWSDP classes are loaded before any WAS webservice classes. Oh joy.

  • Purchase Requisition Document Upload Though Web Service

    Hi!
    I really hope someone can help me with this one. My client creates purchase requisitions from an external system that interfaces into SAP. In SAP there is functionality to attach documents to a purchase req by choosing "Services for object". However, the client now has a new requirement that they want to upload and attach certain documents to the purchase req from their external system through a web service.
    Is this possible? If not, is there another way they can upload the document to SAP? I stumbled upon the following web service: ECC_DOCUMENTCRTRC1. I have not been able to find any documentation on this web service. Can I use this web service for my requirement? If not, what does this web service do and does anyone maybe have some example code where this service is used?
    Thank you!
    Iwan Ferreira

    Hi Iwan,
    Where you able to perform this? Dis you find the WS? I'm facing the same situation...
    Thanks a lot and best regards!
    Maria Margarita

  • Which tools build a web service application

    i am a greenhorn in web services.
    i want to build a the example " <INSTALL>/javaeetutorial5/examples/jaxws/helloservice/"
    This are the steps am following
    -open the cmd prompt;
    -type cd C:\Documents and Settings\Guest\Desktop\francis\sun\tutorials\jwstutorial20\jwstutorial20\examples\jaxws\helloservice
    -type asant build
    i get the message : asant is not recognised as a batch command.................
    i get the problem is that i have not set the classpath, but i need to now what builds the web service application or the directory which has the tool.

    If you want to create web service in java then you can use Apache Soap or Weblogic web services using EJBs.

  • Web  Services in OC4J 10.1.2 0.0 vs 10.1.2.0.2

    Does anyone out there know what changed for Web Service clients between 10.1.2.0.0 and 10.1.2.0.2. I have a Stub generated via JDeveloper 10.1.2 what works fine on all operations ona 10.1.2.0.0 server, but on a 10.1.2.0.2 server one of the critical services fails with the following exception:
    06/09/14 13:50:14 JAXRPCTIE01: caught exception while handling request:
    deserialization error: unexpected XML reader state. expected: END but
    found: START: noteBody
    06/09/14 13:50:14 [SOAPException: faultCode=env:Client; msg=JAXRPCTIE01:
    caught exception while handling request: deserialization error:                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   

    I have found the solution:
    The Content Services Libraries include a saaj-api.jar (for soap messages between the cs client java code and the server side webservices api).
    Unfortunately, the preconfigured oc4j container downloaded from otn included an older version of saaj.jar in its j2ee/home/applib directory, which of course was found before the cslib version according to the default order in which class paths are read.
    All I had to do was remove he saaj.jar from the oc4j/j2ee/home/applib directory so that content services could find its own (more upto date) version

  • Standard Web services for Business Partner

    Hi Experts,
    Currently I am working on web service in abap.Can somebody tell me what all standar web services are available related to Business Partner Search and Business Partner creation..?
    Thanks
    Samii

    Hi,
    If you want to create a web service definition then below are the steps,
    1. Create a RFC enabled function module with your functionality
    2. Then in menu bar go to Utilities->More Utilities->Create Web Service->From the Function module.
    3. This will open a wizard, Just follow the wizard. This will create your web service.
    4. You can see the web service in SE80. Enter the package in which the webservice was created. Then select Enterprise Services and select your web service.
    5. To test the web service, go to transaction SOAMANAGER
    6. In the web interface select Application and Secario communication tab, then select Service Administration
    7. In the web service administration page you can search for your web service and test it.
    You can refer this Wiki,
    http://wiki.sdn.sap.com/wiki/display/CRM/CreatingWebServiceinSAP+CRM
    Regards,
    Arun Kumar

  • 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

  • Programatically calling Web Service DataControl from App Module

    Hey,
    I've been following the 4GL ADF tutorial recently but have a question regarding initiating a web service call instead of using an entity object. The tutorial I am using is located at:
    http://www.oracle.com/technology/products/adf/learnadf.html
    On Page 102 - Adding Custom Methods to the Application Module there is a little piece of code to transfer some data from a transient view object into an entity object. The code is
    public void createNewServiceRequestFromGlobals() {
    ServiceRequestImpl sr =
    (ServiceRequestImpl)getDBTransaction().createEntityInstance(ServiceReques
    tImpl.getDefinitionObject(),null);
    Row globalsRow = getGlobals().first();
    sr.setProblemDescription((String)globalsRow.getAttribute("ProblemDescript
    ion"));
    sr.setProdId((Number)globalsRow.getAttribute("ProductId"));
    getDBTransaction().commit();
    What I would really like to be able to do is use a web service datacontrol instead of the entity object. Can anyone point me in the right direction?
    Thanks,
    Mark

    I have the same problem
    1. I have a data control what is a web service client to URL https:
    2. JDev 11g build a model
    3. I need to call this data control from java class
    4. My java class simply must call a method of the web service, this method I see in the DAta Control, with the parameter and just return the String,
    5. this is not a Web Application, is swing, I not have a Context
    method in WS
    public String ConsultaPlaca(String arg1);
    How I can implement this?
    Just in Java Class, not in page JSP. the java class is a library of other Java class, I need to build a file .jar

  • Web Services - General

    I need to do a project about Web Services.
    Could anyone tell me where to find, or just tell me:
    1- What is a Web Service?
    2- What a Web Service do?
    3- Why I need one?
    4- How can I build (a real SIMPLE) one? (in Java)
    All I need is basic tutorials to explain it to my class.
    Thanks.

    Here are some links to get you started:
    OTN Web Services Center - Learner's page
    Web Services Overview
    Regards,
    -rh

Maybe you are looking for

  • Firefox has been crashing nonstop for days now - what is the problem? I downloaded 4 and it's even worse now!

    It is not just one site I am in - it just keeps crashing - asks me if I want to start over or go back but never goes back so have to completely get back into mail or whatever. It's becoming very annoying and will have to go to another internet site b

  • Javascript error in Content Admin- Portal Content

    Hi Experts, We have just installed SAP Netweaver Portal 7.0. We get an error of javascript when we navigate to Content Administration->Portal Content and due to this Portal Content Folder is not displayed. While through Super Admin role Portal Conten

  • Raid Utility wont Initialize a volume

    Hi. My Raid Utility won't initialize last two volumes. I have 3 tasks, 2 volume initialize tasks are Suspended, after that there is one Rebuild task that has a Scheduled status (the loading bar, no status bar). I did some digging and cleared all the

  • Forgot password for os 10.4.11

    forgot password got mac tower power pc the model non intel chip  tiger 10.4.11

  • Need help installing Adobe Reader on my Mac

    I am trying to download Adobe Reader XI onto my mac running OS X Yosemite 10.10.2 through Safari.  Every time I download it gets almost through the installation and then gives me the error "Installer: Installing at base path/installer:  The install f