I'm using wsdl2java to generate service. Arguments for generation are following:
-p com.dummy.tst.service -u -f -sp -s -b -ssi -d xmlbeans -uri /some/path/service.wsdl -ss -g -sd -o /some/path/gen
After generation I've got a services.xml file with line like
<parameter name="ServiceClass">com.dummy.tst.service.TestSoapBindingImpl</parameter>
Then in gen directory I've got TestSoapBindingImpl.java with list of methods but every method is defined as follows
throw new java.lang.UnsupportedOperationException("Please implement " + this.getClass().getName() + "#myMethod");
And also there's a TestSoapBindingStub.java file which actually contains implemented methods. In axis-1 there was only one file with methods description and implementation and in axis-2 I've got 2 files.
What should I do with these files? Impl file, that is specified as default service methods container (in services.xml) contains only dummies, so I can't use deployed service and replacing TestSoapBindingImpl with TestSoapBindingStub in services.xml also does not lead to the desired result.