English 中文(简体)
tell wsdl2java not to generate code if file is not modified since last code was generated
原标题:

basically i am using ant to generate webservice client and server stubs. We don t change wsdl as frequently as our java code. But since wsdl2java generated code is always new, javac target always compiles code (too slow). Is there a way to tell wsdl2java task that gensrc is not modified so don t generate code ?

最佳回答

You should excecute wsdl2java task only if the wsdl was modified. How to execute an Ant task only when wsdl files have been modified?

问题回答

暂无回答




相关问题
Backwards compatibility and Web Services

So I m a bit new to web services and a situation recently came up where we added an element to a data-type that gets returned to the client. The clients complained that this broke their ...

Cannot create Java Webservice in Eclipse

I would like to create a Web Service in Eclipse. I already wrote a class and generated a WSDL file from it with Java2WSDL. I started a new "Dynamic Web Project" and added the axis2 facet to it. After ...

how to customize the xsd that axis2 generates

I am following the "web service from pojo"[1] bottom-up guide in axis2 documentations, but the wsdl that is generated is not good. Specifically, the xsd schema that is embedded in the wsdl is not good ...

Consume a webservice - WS Security

I am about to develop a windows applikation which need to communicate with an Axis2 webservice using Web Service Security - all the documentation says is, that the SOAP security communication is ...

How do you Change a Package s Log Level using Log4j?

I ve encountered the following bug: http://issues.apache.org/jira/browse/AXIS2-4363 It states the following: This error only occurs when log level for org.apache.axiom is DEBUG so a ...

热门标签