We are trying to create source code stubs from the WSDL series (each with its own XSD). We can do it perfectly and work fine under JDK1.6, however we need it to work under JDK1.5.
We use the jaxws-maven-plugin to generate the source code, however it depends on the available wsimport binary (this is not available in JDK1.5). We found that it works around , now we can generate the source code.
The last problem occurs when we try to use the compiled stub code with Spring (2.5.6), which we use JaxWsPortProxyFactoryBean to interact with the generated client code. We get java.lang.NoClassDefFoundError: javax / xml / ws / soap / Addressing. I researched why this was, and found that the javax.xml.ws/javax-api/2.1 dependency does not contain this class. I updated the version number to version 2.1-1, and now when we create the project (to generate the source code), we get the following error:
cannot find symbol
symbol : method partName()
location : @interface javax.jws.WebParam
Can someone provide a solution for this so that we can generate our JAXWS client stub code and make it work with JaxWsPortProxyFactoryBean?
Thank you in advance
Jonathan