on 04-23-2008 7:49 AM
what is webservices ? is there difference between UDDI and Webservices
Use of webservices:
You expose the implementation bean as a Web service by using the Web Services wizard that is integrated in the SAP NetWeaver Developer Studio. When you expose the implementation bean, you can use service endpoint interface (SEI) to expose some or all methods of the implementation bean as Web service methods.
sample code:
package com.sap.tutorial.helloworld;
import javax.ejb.Stateless;
import javax.jws.WebService;
import com.sap.engine.services.webservices.annotations.SrPublication;
@WebService(endpointInterface="com.sap.tutorial.helloworld.HelloBean_nckRemote", portName="HelloBean_nckBeanPort", targetNamespace="http://sap.com/tutorial/helloworld/", serviceName="HelloBean_nckService")
@Stateless(name="HelloBean")
public class HelloBean_nckBean implements HelloBean_nckRemote, HelloBean_nckLocal {
private String message = "Hello, ";
public String sayHello(String name) {
return message + name + ".";
}
}
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi
Web services are software system description to support interaction between machine to machine.
Web services can convert application into webapplication,can be used by other application.
Platform is XML + HTTP:XML is to code and decode the data.
uses:reusable application components
conncet to existing software i.e. exchange data and link data and solves interoperability problem.
Major elements are:
<port type>
<message>
<types>
<binding>
VijayalakshmiY
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
Webservice is something which could be used by anyone once they have WSDL(by which we can identify a web service).
It is like an external service. The main use of webservice is that if you have some already existing system and if you want to build functionality ion top of then you can expose the existing functionality as a webservice.
This will guide you for developing basic webservice
http://help.sap.com/saphelp_nwce10/helpdata/en/46/923ee93e395823e10000000a1553f7/frameset.htm
Regards,
Srinivasan Subbiah
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
To put this really simple/basic :
A WebService is verry similar to RPC (Remote Procedure Call) or ORB (Object Request Broker). In practice, it's mainly a matter of protocols, and most ORBs and RPCs can use WebService protocols (SOAP) and therefore become WebServices themselves.
Put simply, you write a function in a server (IIS, JBOSS, NetWeaver (I suppose), ...), and you can call this function from clients.
Example (Micrtosoft IIS webservice ASP.NET):
On server, you write a file mainly containing this (not much more) :
{
...
[WebMethod]
public int GetAddition(int a, int b)
{//This executes on the server when called by client
return a+b;
}
...
}
On client :
static void Main()
{ //this executes on the client
...
WebService ws = new WebService(); //
int val = WebService.GetAddition(3,5); //This "jumps" to sevrer to executes
...
}
In practice, that just about sums up WebServices (and the "mighty SOA" at the same time...)
(in between client and server you will have clicked on a button to create WSDL, Stubs, Proxies, Factories, ... but in practice you usually hardly care about all this)
Angela
Edited by: Angela GALACY on Apr 23, 2008 8:42 PM
Hi Ragava,
Web services are self-contained, modularized, executable entities that can be published, searched for, and accessed across a network. For a caller or sender, a Web service is a black box that may require input and delivers a result
Once u have read abt webservice also read about enterprise services offered
as they r th next big thing,also the link below gives u the differnce between the two
reward points if found helpful
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
hi Praveen,
you can go through this link below for basic idea.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
87 | |
10 | |
10 | |
10 | |
7 | |
6 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.