Win a copy of Cross-Platform Desktop Applications: Using Node, Electron, and NW.js this week in the JavaScript forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Is it a web service instance?  RSS feed

 
Hongqing Lu
Greenhorn
Posts: 13
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Now let's take following scenario into consideration:
Some customers want to get information(product list, price,inventory etc) from their supplier thru. their own information system. Their system may be developed by different language.
How to implement it? Is it an instance of web service? If so, how to develop the system?
Please give me some instruction....
Thanks in advance
 
Lasse Koskela
author
Sheriff
Posts: 11962
5
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
This sounds like a situation where one would seriously consider web services as the implementation technology.
You basically have two ways of approaching the development:
First:
1) Design the message flow between systems and write it down to a WSDL document
2) Generate the service classes from that WSDL
3) Generate the client classes from that WSDL
Second:
1) Write the service code
2) Generate the WSDL from service code
3) Generate the client code from the WSDL
Before doing any of this, I'd suggest reading up on web services in general. Consider Richard Monson-Haefel's J2EE Web Services or Ray Lai's J2EE Platform Web Services if you're going to write those web services on a relatively new J2EE application server.
 
Hongqing Lu
Greenhorn
Posts: 13
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
If there are only two parties need to communicate in the system,one is customer and another is supplier. The supplier has the web site.Is it necessary to build a web service system for them.
Is there any method to implement it? Suppose the customer want to communicate with the supplier by http post.
 
Lasse Koskela
author
Sheriff
Posts: 11962
5
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
If the supplier only has a "web site", then yes, you need to build a web service for them (assuming that the customer wanting to "communicate with the web site using HTTP POST" isn't satisfied by filling HTML forms and submitting them...).
In order to build a web service, you need to set up a web services platform, such as Axis, BEA WebLogic, IBM WebSphere, WebMethods GLUE, or Systinet WASP.
 
Hongqing Lu
Greenhorn
Posts: 13
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks for your reply.
For set up a web services platform, how about use Tomcat with jwsdp?
I think it's free and convenient to get.
Thanks
 
Lasse Koskela
author
Sheriff
Posts: 11962
5
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Originally posted by Hongqing Lu:
For set up a web services platform, how about use Tomcat with jwsdp?
I think it's free and convenient to get.
Tomcat and JWSDP should be just fine.
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!