I have a project which has multiple WSDL's that contain the same namespace. Does anyone know how to map these WSDL/namespaces to separate packages? Below is an example.
<plugins> <plugin> <groupId>org.codehaus.mojo</groupId> <artifactId>axistools-maven-plugin</artifactId> <configuration> <urls> <url>http://someServer/SomePath/SomeWSDL.asmx?wsdl</url> <url>http://someServer/SomePath2/SomeWSDL2.asmx?wsdl </url> </urls> <fileNamespaceToPackage>NStoPkg.properties</fileNamespaceToPackage> <testCases>true</testCases> <serverSide>false</serverSide> </configuration> <executions> <execution> <goals> <goal>wsdl2java</goal> </goals> </execution> </executions> </plugin> </plugins> my NStoPkg.properties contains the following entries. somenamespace.Busobjs= somepackage.Busobjs The thing is that both WSDL's contain a definition for somenamespace.Busobjs but I want each wsdl to go into a separate package ie. I want http://someServer/SomePath/SomeWSDL.asmx?wsdl's <http://someserver/SomePath/SomeWSDL.asmx?wsdl's> to go into somepackage.Busobjs and http://someServer/SomePath2/SomeWSDL2.asmx?wsdl's <http://someserver/SomePath2/SomeWSDL2.asmx?wsdl's> to go into somepackage2.Busobjs I tried just adding two plugin references each with the different WSDL but it only executed the first plugin reference. Has anyone come across this problem and how can I solve it? Thanks Kenton