aspose file tools*
The moose likes Web Services and the fly likes web service questions to ask based on the client wsdl file and  XML sample files Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Web Services
Bookmark "web service questions to ask based on the client wsdl file and  XML sample files" Watch "web service questions to ask based on the client wsdl file and  XML sample files" New topic
Author

web service questions to ask based on the client wsdl file and XML sample files

jim li
Ranch Hand

Joined: May 20, 2008
Posts: 180
Hi Everyone,

I got the wsdl files, XML sample files and schema which used to generate the sampel files.

we are trying to create our own web service which will send and comsume the information from our client. so what kind of information i need to ask our client in order to clarify all the concerns what we need in

order to accompanishi our job.
(i am very new to ws, and please help me, we will have conference meeting very soon)

Thank you
Naren Chivukula
Ranch Hand

Joined: Feb 03, 2004
Posts: 577

Hi Jim,
so what kind of information i need to ask our client in order to clarify all the concerns what we need in order to accompanishi our job.

If you're provided with WSDL, XSD and XML samples files then I think you will not need anything atleast till the end of your development.

WSDL with XSD - To create web service or web service client, whichever you're asked to do.
XML samples - To test your service or service client.

That's it!

Cheers,
Naren
(OCEEJBD6, SCWCD5, SCDJWS, SCJP1.4 and Oracle SQL 1Z0-051)
Ivan Krizsan
Ranch Hand

Joined: Oct 04, 2006
Posts: 2198
    
    1
Hi!
I don't quite understand whether you are trying to create a web service client or a web service.
Anyway, in both cases you need the WSDL and XML schemas, which you already got.
This is all good and well, since it describes which operations are available and the data structures you use to communicate.
On thing that I often see overlooked is some kind of description of the behaviour of a web service.

For instance, if an operation allows me to query for the status of one or more orders and I the client supply one correct order number and one order number that does not exist.
What will the service respond? Will there be a fault?
Another important matter is how the service communicates errors. In the WSDL you may see faults in connection to certain operations, but that does not say anything about when faults will be produced and little about how to interpret them.

As you may suspect, this is no trivial topic, but the above hopefully give you a hint about what to ask for.
Best wishes!


My free books and tutorials: http://www.slideshare.net/krizsan
jim li
Ranch Hand

Joined: May 20, 2008
Posts: 180
Ivan Krizsan wrote:Hi!
I don't quite understand whether you are trying to create a web service client or a web service.
Anyway, in both cases you need the WSDL and XML schemas, which you already got.
This is all good and well, since it describes which operations are available and the data structures you use to communicate.
On thing that I often see overlooked is some kind of description of the behaviour of a web service.

For instance, if an operation allows me to query for the status of one or more orders and I the client supply one correct order number and one order number that does not exist.
What will the service respond? Will there be a fault?
Another important matter is how the service communicates errors. In the WSDL you may see faults in connection to certain operations, but that does not say anything about when faults will be produced and little about how to interpret them.

As you may suspect, this is no trivial topic, but the above hopefully give you a hint about what to ask for.
Best wishes!


the followings are more details.
1. i am trying to create a web service which consume and send message to the client.
2. the wsdl file i got is from client side.

thank you for your help
William Barnes
Ranch Hand

Joined: Mar 16, 2001
Posts: 986

the wsdl file i got is from client side

The WSDL describes the web service. It is used to create a web service, and it is also used by the client to create the classes needed to make a request to the web service.



Please ignore post, I have no idea what I am talking about.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: web service questions to ask based on the client wsdl file and XML sample files