I need to access a web service with Java. The WSDL service has . Now, what can I call his operation?
wsimport
wsimport , , . MSaleService getMSaleServiceSoap(). .
MSaleService
getMSaleServiceSoap()
. wsimport
[] SOAP "MSaleServiceSoap12": SOAP 1.2.530 http://vas.mikro-odeme.com/services/msaleservice.asmx?wsdl
, .
,
http://download.oracle.com/javaee/1.4/tutorial/doc/JAXRPC5.html
, , WSDL.
If you use Eclipse, there is this wizard that allows you to create what is called the new “web service client” by simply pointing to your wsdl file.
therefore, if you have wsdl in your project, just click "new" and select the wizard.
it will ask you for the wsdl file and some other information (you can choose your working environment - Axis, Axis2, CXF ...).
I think this wizard is part of WTP (www.eclipse.org/webtools).
take a look:
http://tinyurl.com/5v56s5u
http://www.eclipse.org/webtools/jst/components/ws/1.5/tutorials/WebServiceClient/WebServiceClient.html