jQuery in Action, 3rd edition
The moose likes Web Services and the fly likes Web Service Newbie!! Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Make it so: Java DB Connections & Transactions this week in the JDBC forum!
JavaRanch » Java Forums » Java » Web Services
Bookmark "Web Service Newbie!!" Watch "Web Service Newbie!!" New topic

Web Service Newbie!!

A Kumar
Ranch Hand

Joined: Jul 04, 2004
Posts: 980
I am new to web services...I have very little knowledge about XML..

How much of XML is needed to get started with web services...

Thanks in advance

Chris Nappin
Ranch Hand

Joined: Aug 04, 2005
Posts: 36
I'm afraid you need to learn quite a lot. Even if you use a toolkit that hides a lot of the underlying details, you need to know what you're looking at when debugging your service.

If your services are non-trivial, or are going to involve more than one programming language (e.g. Java <=> .Net) I strongly recommend you use WSDL.

www.w3schools.com is a good place to start. You need to look at:

  • XML
  • Namespaces
  • SOAP

  • To learn WSDL you'll also have to learn XML Schema.

    Technical Architect, SCJP, SCWCD
    A Kumar
    Ranch Hand

    Joined: Jul 04, 2004
    Posts: 980
    Thanks Chris!!
    Kimberly Layton

    Joined: Aug 09, 2006
    Posts: 1
    I am also a newbie to coding webservices. Although I am more familiar with xml , soap etc. as I have spent some time debugging. However I need to create all the java classes that go along with my wsdl definition. Anyone know a good place to start?
    Joe Shy
    Ranch Hand

    Joined: Dec 09, 2005
    Posts: 38

    If you have your WSDL already apache axis has an app that you can use called WSDL2Java to create some of the java.

    [URL= http://ws.apache.org/axis/java/user-guide.html#WSDL2JavaBuildingStubsSkeletonsAndDataTypesFromWSDL ]Apache Doc on WSDL2Java[/url]

    SCJP, SCJD(In Progress)<br /> <br />"They whom make no mistakes usually make nothing at all."
    I agree. Here's the link: http://aspose.com/file-tools
    subject: Web Service Newbie!!
    It's not a secret anymore!