Quickest way to access a webservice with WSDL in Java?

Wsimport does not only generate the Objects needed for communication with the service but also a service client. Create an instance of the class MSaleService and fetch the port with getMSaleServiceSoap() That's it.

Wsimport does not only generate the Objects needed for communication with the service but also a service client. Create an instance of the class MSaleService and fetch the port with getMSaleServiceSoap(). That's it.

There might be some problems though. Wsimport complained about WARNING SOAP port "MSaleServiceSoap12": uses a non-standard SOAP 1.2 binding. Line 530 of vas.mikro-odeme.com/services/msaleservic... but I don't know if this poses real problems.

1 Oh, I overlooked those objects. So that's all I need? That's pretty easy then.

The warning shouldn't cause trouble, since it's only an alternative port. – Bart van Heukelom Jun 8 at 15:23 Yup, that's all there is. :) – musiKk Jun 8 at 16:33.

Here is a quick link I found download.oracle.com/javaee/1.4/tutorial/... Basically, this type of calling is calling Dynamic Invocation where you would NOT need to know the WSDL apriori.

If you use Eclipse, there's this wizard that let's you create what's called a new "Web Service Client" just by pointing at your wsdl file. So if you have your wsdl in your project, then just click on "new" and choose the wizard. It'll ask you for the wsdl file and some other info (you can choose your runtime -Axis, Axis2, CXF...).

I think this wizard is part of WTP (eclipse.org/webtools). Take a look: tinyurl.com/5v56s5u http://eclipse.org/webtools/jst/components/ws/1.5/tutorials/WebServiceClient/WebServiceClient.html.

I cant really gove you an answer,but what I can give you is a way to a solution, that is you have to find the anglde that you relate to or peaks your interest. A good paper is one that people get drawn into because it reaches them ln some way.As for me WW11 to me, I think of the holocaust and the effect it had on the survivors, their families and those who stood by and did nothing until it was too late.

Related Questions