0

I created a web service with eclipse indigo, tomcat 7 and i used the axis2. I did a simple calculator for tests and i generate the results using the stub class. All works. The problem is when add a new method in the web service. This new method don't appear in stub class.

How do make for update the stub class?

thanks

sorry my english

Thiago C. S Ventura
  • 2,448
  • 1
  • 29
  • 43

1 Answers1

1

You may have forgotten to add the operation to the WSDL's binding section. The binding section defines how to access the operation through the protocol (SOAP, etc) which you are using. Here is a page which describes the binding section.

If you're using a WSDL editor, it may have a way to automatically generate the binding section for you. With the eclipse graphical WSDL editor for example, you'd click on the binding object and select "Generate binding content...".

Kenster
  • 23,465
  • 21
  • 80
  • 106