cancel
Showing results for 
Search instead for 
Did you mean: 

UDDI...

david_fryda2
Participant
0 Kudos

Hi,

Is the UDDI server obliged for web services ?

What is the goal of the UDDI ?

Isn't it enough to deploy my web service to the Portal and create a client ?

Thanx!

Accepted Solutions (1)

Accepted Solutions (1)

FredericOzon
Employee
Employee
0 Kudos

Hi,

You do not need to publish your WSDL in an UDDI, to use it. You can already create a client from the existing WSDL and call it.

Best Regards,

Frederic

david_fryda2
Participant
0 Kudos

Thanx Frederic.

1) What is the goal of a UDDI server ? I thought it was to store web services (wsdl files) ?

2) When I create a client, I have to specify a wsdl files.

I have 3 wsdl files :

<service name>_DOC_LIT.wsdl

<service name>_RPC_ENC.wsdl

<service name>_RPC_LIT.wsdl

Which one is the good one ? Maybe there is no diferences.

Former Member
0 Kudos

Hi,

1. UDDI can be thought of as a search engines for webservices. Once a fitting webservice has been found, the wsdl file for it is returned to the client so that it can call it directly. If you know which webservice you want to call and know the location of the wsdl file, you can skip UDDI completely (which is usually the case for intranet applications)

There is loads of information on UDDI available on the net

http://www.w3schools.com/wsdl/wsdl_uddi.asp

http://www.uddi.org/specification.html

2. You probably need to look at the wsdl files for more information (they are xml files). You need to look for the functions that you would like to call

david_fryda2
Participant
0 Kudos

Thanx for your precious help

Former Member
0 Kudos

And the different wsdl files you have are different encoding styles for webservices:

Document/literal

RPC/literal

RPC/encoded

RPC/encoded is the one which is usually used by developers, because it is more similar to a programming language, but this is actually bad for interoperability between .net and java (ie. problems can occur if you are calling a .net webservice from java and vice versa). See http://www-106.ibm.com/developerworks/library/ws-tip-j2eenet1/?ca=dgr-jw22J2EE.Net

So you are probably best of by using the document/literal wsdl file

david_fryda2
Participant
0 Kudos

Hi,

Thanx for the explanations.

I am not sur if I create a ws in the right way.

I am working with Netweaver 04.

Lets say I am building the ws in the tutorial (the Time Service).

I create a portal service with an interface and a class implementing it.

I create the according web service (client side).

Is it the way ?

Thanx.

Former Member
0 Kudos

I haven't used netweaver 04 yet, so I don't know much of the example.

But generally if you are consuming webservices, you import the wsdl file of the webservice in your development environment and create a webservice proxy (see the google example).

If you are creating webservices on the portal, you make a portal service through the development environment and export the wanted methods as webservices. Then you distribute the wsdl file from the server to the webservice clients

david_fryda2
Participant
0 Kudos

Ok.

I posted a new topic about the ws/EJB.

Can you check.

Thanx a lot.

Answers (0)