Apologises for deplay in reply
is it a general rule?
- Yes it is a general standard rule. For example - you can not use URL which do not ends with ?wsdl in wsimport command.
I think if developer does certain customizations this will not work as it is and if developer does not do any customization it work as you wrote above.
- did not quite understand this line ? Did you meant about external / internal wsdl binding customizations when you say "certain customization" ? If ,yes, then these binding custonization is
not related to adding ?wsdl to endpoint url.
Apart from this. To cosume a web service what do we need.?
Here i shall assume you are asking if we have a WSDL URL, what else do we need to make client of this web service and start calling web methods in this Web Service.
You shall need
a. WSDL URL (or Endpoint URL [ to which you can add '?wsdl' to get corresponding WSDL URL)
b.
Java version which has wsimport command utility. wsimport shall generate all required client side web service artificats (incluiding JAXB artifacts also)
Oracle certified JPA Developer (1Z0-898),Oracle certified Java 8 Programmer I (1Z0-808), Oracle Java Web Service Developer (1z0-897), Oracle certified Java 7 Programmer, SCJA 1.0, SCJP 5.0, SCWCD 5.0, Oracle SQL Fundamentals I, CIW Certified Ecommerce specialist