• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Blueprints Doubt-Page 116 Chapter 3

 
Niranjan Deshpande
Ranch Hand
Posts: 1277
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
It's said in the blue prints - Page 116 Chapter 3 that there are two xml files when a web service is deployed:

1.webservices.xml
2.ejb-jar.xml or web.xml depending on the type of service end point
3. WeatherWebServiceMapping.xml as on page 117-code 3.23

I had tried this tutorial. This talks of many xmls like config.xml, mapping.xml, config-wsdl.xml. I was trying to map all these xmls to those in the blueprints.
But a bit lost in doing so. Can any one help?
 
Sandip Kaviman
Ranch Hand
Posts: 49
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Niranjan,

This tutorial is specific to Sun App Server/Glass Fish, In case you are creating the web service in Netbeans using Sun App server then you do not have to specify this config file, Netbeans will do it for you.

If you use WebSpehere, there will be different tools used by IBM to do the same task. (WSDL2WebService, WSDL2Client,Bean2WebService and EJB2WebService)

Anyway to clear your doubts regarding xml files Sun Appserver Specific:
Config.xml:Config.xml tells wscompile to create a WSDL file , you need to provide service name, namespace and Service Endpoint Interface.
Mapping.xml: is generated by wscompile tool and is nothing but java to WSDL mapping.

Hope this clears the doubt.

Thanks
Sandip
 
Niranjan Deshpande
Ranch Hand
Posts: 1277
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I think I hsould follow the blue prints rather thando too much digging on the tutorial, except the fact that it's the only Hello World sort of service example that I found good so far.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic