wood burning stoves*
The moose likes Web Services Certification (SCDJWS/OCEJWSD) and the fly likes What is the proper web service tool that i can use in the preparation for the exam? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Spring in Action this week in the Spring forum!
JavaRanch » Java Forums » Certification » Web Services Certification (SCDJWS/OCEJWSD)
Bookmark "What is the proper web service tool that i can use in the preparation for the exam?" Watch "What is the proper web service tool that i can use in the preparation for the exam?" New topic
Author

What is the proper web service tool that i can use in the preparation for the exam?

haitham raik
Greenhorn

Joined: Aug 08, 2004
Posts: 17
Hello everybody

I am just a little confused what is the proper tool that I can use to study the web services certificate. I mean when I was reading the SCWCD I have used the tomcat because it forced me to write every thing by myself (servlet, web.xml, etc). so, are there any tool that can be used to create a simple exmples without help?

thanks in advance.


Haitham Raik<br />SCJP 1.4 SCWCD 1.4 SCBCD 1.3 SCJA 1.0
Theodore Casser
Ranch Hand

Joined: Mar 14, 2001
Posts: 1902

Well, if you've already installed Tomcat for practicing on the SCWCD, I'd suggest adding Apache Axis to the install to work on Web Services. (It's what I did.) It's fairly easy to install and the directions are very straight-forward for getting up to speed quickly on the concepts.


Theodore Jonathan Casser
SCJP/SCSNI/SCBCD/SCWCD/SCDJWS/SCMAD/SCEA/MCTS/MCPD... and so many more letters than you can shake a stick at!
Peer Reynders
Bartender

Joined: Aug 19, 2005
Posts: 2922
    
    5
Originally posted by haitham raik:
Are there any tool that can be used to create a simple exmples without help?


The Java Web Services development Kit (JWSDP) is the proper tool, but it isn't necessarily simple.

To use it you will need to deploy J2EE 1.4 SDK and Sun Java System Application Server Platform Edition 8.1 2005Q2 UR2. The modified Tomcat webcontainer isn't enough as you will need to know about the service endpoint interface which is an EJB interface for web services.

Get the J2EE 1.4 Tutorial Update 6 (for Sun Java System Application Server Platform Edition 8.1 2005Q2 UR2)

Also get the The Java Web Services Tutorial

To familiarize yourself with the technology you can work through the following:

jee - J2EE Tutorial
wst - Web Services Tutorial

jee: 2 Understanding XML
jee: 4 Java API for XML Processing
jee: 5 When to Use SAX
jee: 6 When to Use DOM
jee: 7 XML Stylesheet Language for Transformations
wst: 1 Binding XML Schema to Java Classes with JAXB
wst: 2 Using JAXB
jee: 8 Building Web Services with JAX-RPC
jee: 9 SOAP with Attachments API for Java
jee: 10 Java API for XML Registries
jee: 32 Security
wst: 6 Java XML Digital Signature API

Also take a look at the Web Services Faq where you'll find items like: Getting Started with JAX-RPC.

Then you can move on to Designing Web Services with the J2EE 1.4 Platform: JAX-RPC, SOAP, and XML Technology for which you will proboably want to get a hold of the Java Adventure Builder Reference application.

Don't forget about J2EE Web Services.
Peer Reynders
Bartender

Joined: Aug 19, 2005
Posts: 2922
    
    5
Originally posted by Theodore Casser:
Adding Apache Axis to the install to work on Web Services. (It's what I did.)


. You should know - however it was my impression that using Axis to prepare for the SCDJWS is the really long way to go about it, as you need to know the APIs used by JWSDP not Axis. Granted XML, XML Schema, SOAP, WSDL, UDDI, and the other WS standards are covered by both but Axis doesn't use Sun's J2EE API's that Sun wants you to know.
Ulf Dittmer
Marshal

Joined: Mar 22, 2005
Posts: 42277
    
  64
@Peer: Now I'm curious - what other J2EE APIs does the certificate cover, apart from the WS standards, and Java APIs like SAAJ and JAX-RPC, which Axis supports as well?


Ping & DNS - my free Android networking tools app
Peer Reynders
Bartender

Joined: Aug 19, 2005
Posts: 2922
    
    5
Originally posted by Ulf Dittmer:
What other J2EE APIs does the certificate cover, apart from the WS standards, and Java APIs like SAAJ and JAX-RPC, which Axis supports as well?


I assume you mean which API's are covered in the SCDJWS that aren't part of Axis?

Hence my use of the word impression. I've come across some accounts where preparation for the SCDJWS with Axis was not recommended. I assumed at first that this was based on the lack of coverage of the necessary API's but now I'm starting to wonder if Axis makes you feel (prematurely) competent because it hides the details that you need to know for the SCDJWS.

In general the suggestion seems to be that the Sun Java System Application Server Platform/JWSDP is more appropriate than Tomcat/Axis as the SCDJWS preparation "sandbox" - but not necessarily simpler.

I can't see EJB service endpoints being supported in the Tomcat/Axis combo because that requires an EJB container.

JAXR (javax.xml.registry) doesn't seem to be part of Axis - I suspect its in UDDI4J and/or jUDDI.

I also haven't found JAXB (javax.xml.bind) yet in Axis - but I haven't looked that hard and it could be part of another subproject.

BTW: As I got your attention could you please give me a pointer to the information that you were refering to:
The Axis documentation does not mention anywhere what the lifecycle semantics are, but it does mention the various drawbacks the .jws approach has, which make it unsuitable for serious use.

[ October 25, 2005: Message edited by: Peer Reynders ]
Ulf Dittmer
Marshal

Joined: Mar 22, 2005
Posts: 42277
    
  64
@Peer: Thanks for the info. You're right, those are not part of Axis.

Regarding JWS deficiencies, I was referring to this page, especially the two paragraphs before and after the "Custom Deployment - Introducing WSDD" heading.
Peer Reynders
Bartender

Joined: Aug 19, 2005
Posts: 2922
    
    5
Originally posted by Ulf Dittmer:
Regarding JWS deficiencies, I was referring to this page


Thank You Ulf.
haitham raik
Greenhorn

Joined: Aug 08, 2004
Posts: 17
Thank you all.
haitham raik
Greenhorn

Joined: Aug 08, 2004
Posts: 17
what about NetBeans 4.1? is it useful for the exam?
Peer Reynders
Bartender

Joined: Aug 19, 2005
Posts: 2922
    
    5
Originally posted by haitham raik:
what about NetBeans 4.1? is it useful for the exam?


Its just an IDE - you could also use Eclipse. As neither is related to the exam you may want to defer learning a new IDE - Ant however would be useful in case you run into trouble with the sample code.
haitham raik
Greenhorn

Joined: Aug 08, 2004
Posts: 17
Dear all

I have another question. are any of the following topics are required for the exam:
1) SwA (SOAP messages with Attachments).
2) RPC/Encoded.
3) DTD.
4) XML Schema Regular Expressions.
5) using SAAJ to create a soap message with attachement.
Peer Reynders
Bartender

Joined: Aug 19, 2005
Posts: 2922
    
    5
CX-310-220 (SCDJWS) Testing Objectives

1) SwA (SOAP messages with Attachments).
2.4 Create a SOAP message that contains an attachment.
SOAPatt: 2(SOAP Message Packages), 3(SOAP Reference to Attachments)
SAAJ1.2: 1 (Package Overview), 2 (Package: javax.xml.soap)
JeeTut: 9 (SOAP with Attachments API for Java)

2) RPC/Encoded.
Don't think so. Basic Profile 1.0a deprecated the use of RPC-encoded "indicating a shift to the use of schema as the interoperable type system".

3) DTD
Not that I'm aware of. I think the exam focuses XML Schema because its part of Basic Profile 1.0a.

4) XML Schema Regular Expressions.
Possibly because of the pattern facet - however I can't see more than one question on that, there is just too much other ground to cover. However Regular Expressions are a useful skill Mastering Regular Expressions, 2e is an excellent reference.

5) using SAAJ to create a soap message with attachement.
2.2 Describe how SOAP message header blocks are used and processed.
SAAJ1.2: 2.22 (SOAPHeader), 2.23 (SOAPHeaderElement)
2.3 Describe the function of each element contained in a SOAP message, the SOAP binding to HTTP, and how to represent faults that occur when processing a SOAP message.
SAAJ1.2: 1 (Package Overview), 2 (Package: javax.xml.soap)
2.4 Create a SOAP message that contains an attachment.
SAAJ1.2: 1 (Package Overview), 2 (Package: javax.xml.soap)
4.7 Use the JAX-RPC Handler API to create a SOAP message handler, describe the function of a handler chain, and describe the role of SAAJ when creating a message handler.
JSR912: 6.1 (Handlers: Concepts), 6.2 (Specification), 6.4 (Object Interaction Diagrams)
JAXRPC1.1: 3.R017 (SOAP Message Handler), 12 (SOAP Message Handlers)
5.4 Use the SAAJ APIs to create and manipulate a SOAP message
JeeTut: 9 (SOAP with Attachments API for Java)
7.3 Describe the functions and capabilities of the JAXP, DOM, SAX, JAXR, JAX-RPC, and SAAJ in the J2EE platform.
WSBP: 2.2 (J2EE: The Integrated Platform for Web Services)
J2ee1.4: 6.2.4.9 (JAXP API), 6.10 (Java� API for XML Processing (JAXP) 1.2 Requirements), 6.13 (Java� API for XML-based RPC (JAX-RPC) 1.1 Requirements), 6.14 (SOAP with Attachments API for Java� (SAAJ) 1.2), 6.15 (Java� API for XML Registries (JAXR) 1.0 Requirements)

Valentin, your friendly neighborhood Gold Digger/Sheriff kindly provided these links - I'm just parroting them.
[ October 27, 2005: Message edited by: Peer Reynders ]
haitham raik
Greenhorn

Joined: Aug 08, 2004
Posts: 17
thank you alot
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: What is the proper web service tool that i can use in the preparation for the exam?