dcsimg
SOAP, WSDL, UDDI, anyone.. anyone???
1 posts in topic
Flat View  Flat View
TOPIC ACTIONS:
 

Posted By:   java_monk
Posted On:   Monday, February 11, 2002 08:01 PM

I would like to clarify the whole WebService/UDDI/WSDL thing, every tutorial I read things seem to get more difficult to follow... WHAT I HAVE: - I have a web service in java, it uses Apache SOAP 2.2 - it takes a string, queries a db and returns string - it is running on my tomcat 3.2.3 and is deployed (urn:mytest) - i wrote a simple java SOAP client, it passes a string to the service - the service response and the client spits the string out to the screen Everything is cool to this point. WHAT I WANT: - I want to publish my web service to a private UDDI (on my local machine) - I want to modify my ja   More>>

I would like to clarify the whole WebService/UDDI/WSDL thing, every tutorial I read things
seem to get more difficult to follow...




WHAT I HAVE:

- I have a web service in java, it uses Apache SOAP 2.2

- it takes a string, queries a db and returns string

- it is running on my tomcat 3.2.3 and is deployed (urn:mytest)

- i wrote a simple java SOAP client, it passes a string to the service

- the service response and the client spits the string out to the screen

Everything is cool to this point.




WHAT I WANT:

- I want to publish my web service to a private UDDI (on my local machine)

- I want to modify my java soap client to hit the UDDI first, find/discover the web service and
dynamically invoke it



WHAT I THINK I NEED TO DO: (here is where i get confused pls correct me if im wrong)

- I downloaded soapUDDI (for use as my private uddi registry) sourceforge.net

(im not using IBM's because I want to keep my tomcat config)

- I downloaded wstk-2.4 (for uddi4j / wsdl4j samples and jars)

- I configured all my classpaths (what a pain...)

- I created:

1- an interface.wsdl file (it has things like namespaces, portType, bindings, ...)

2- an implmentation.wsdl file (it has an import statement to the interface [above], service and port tags)

- I need to publish the service interface first?

- im trying to use the 'serviceInterfaceExample.java' (it came with wstk-2.4)

- Then I need to publish my Implementation next?

- I cant get past the interface part, but i plan to use 'serviceImplemetationExample.java' (it too came with the wstk-2.4)

- Then I need to ..hmm, bind it somehow, okay.. now im lost.




Can someone fill in the blanks? In an easy to understand way?

Is there a simple example zip file with all the pieces I am looking for?

Does someone have code they can share that will do everything Im looking for?

(wsdl, uddi4j, discovery, invoke?)




Please NO links to half explained WSDL tutorials..

Please NO links to demos that are confusing..




Just a zip file.. with 7 files in it::

- a simple web service using SOAP

- a simple SOAP client to query it

- a wsdl interface file for the service

- a wsdl implementation file for the service

- a simple java program (uddi4j) to register the wsdl files in a uddi

- an extended SOAP client to query uddi, and invoke the service

- a README that explains it




Am I wrong, do web services NOT do this? is it REALLY all hype?




Sorry to rant... but I am getting frusterated with the whole uddi/wsdl thing.

I am trying to prove vaule!




Thanks in advance,

javaMonk




FYI: My current configuration (and i'd like to keep it) is:

- windows 2000

- tomcat 3.2.3

- Sun java 1.3.0-C

- mySQL, MS Access 2000

- wstk-2.4 (i also have 3.01, but im currently sourcing the 2.4 jars)

- apache SOAP 2.2

- soapUDDI (private uddi registry in java 'sourceforge.net/soapuddi')



   <<Less

Re: SOAP, WSDL, UDDI, anyone.. anyone???

Posted By:   Anonymous  
Posted On:   Wednesday, March 6, 2002 09:29 AM

Hi Java Monk


I know you said you didn't want any links, but since i've read your message today and until now no one has replied...




I thought of telling you about a free tool that I use for understanding the whole web service deal. It's called WASP and you can use it from Forte or from JBuilder as an openTool. It's very complete and you can follow the steps one by one, so when you're done you can make reverse ingeneering and fill your self the blanks




this is the address for the help




http://www.systinet.com/products/tools/jbuilder/doc/users_guide_jb.html




and this is to download the program




http://www.systinet.com/products/tools/index.html




I hope it helps you get through

About | Sitemap | Contact