Win a copy of Programmer's Guide to Java SE 8 Oracle Certified Associate (OCA) this week in the OCAJP forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

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

 
jim li
Ranch Hand
Posts: 180
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 577
Java Notepad Tomcat Server
  • Likes 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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!
 
Ivan Krizsan
Ranch Hand
Posts: 2198
1
  • Likes 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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!
 
jim li
Ranch Hand
Posts: 180
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 986
Eclipse IDE Firefox Browser Tomcat Server
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.


 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic