aspose file tools
The moose likes Web Services and the fly likes How do WSDL and services.xml relate Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login
JavaRanch » Java Forums » Java » Web Services
Reply Bookmark "How do WSDL and services.xml relate " Watch "How do WSDL and services.xml relate " New topic
Author

How do WSDL and services.xml relate

Andy Wold
Greenhorn

Joined: Nov 05, 2009
Posts: 2
Hello, I'm new to the creation of web services. I've been going through some tutorials/samples and I have a question about the wsdl file and the services.xml file in a Contract First context.

I manually created a WSDL file. I use it to generate my server and client side code. I allow the services.xml file to be automatically generated. Then I create an Axis2 Service Archive that contains the WSDL and services.xml and I deploy that.

So who is really helping defining my web service requirements while being consumed at runtime? Is it the WSDL file or the services.xml file? I can create an archive without the WSDL, but not without the services.xml.

Or is the WSDL file inconsequential at this point because I used it to generate all of my java code and that really defines the runtime consumption?

Overall I'm just trying to understand Contract First vs Contract Last (where the wsdl is dymanically generated).

Thanks.

Bear Bibeault
Author and ninkuma
Marshal

Joined: Jan 10, 2002
Posts: 56177
    
  13

"Aaaaaaa Wold", please check your private messages for an important administrative matter.


[Smart Questions] [JSP FAQ] [Books by Bear] [Bear's FrontMan] [About Bear]
Andy Wold
Greenhorn

Joined: Nov 05, 2009
Posts: 2
Done. Thanks.
 
I agree. Here's the link: http://ej-technologies/jprofiler - if it wasn't for jprofiler, we would need to run our stuff on 16 servers instead of 3.
 
subject: How do WSDL and services.xml relate
 
Similar Threads
JAXWS Problem with WSDL and WebService on WebSphere using RAD
Help with WebService on RAD and WebSphere
Creating webservice using Axis2
The service cannot be found for the endpoint reference (EPR)
URL parameter passing