Sorry ,
seems that insert of the xml part failed.
I attach it in pom.xml's file.
Regards,


> Message du 05/12/14 à 11h34
> De : "Michaël OULLION" 
> A : java-user@axis.apache.org
> Copie à : 
> Objet : maven-wsdl2code-plugin and allPorts Option
> 
> Hello, 
> 
> we actually try to generate the client part with the maven-wsdl2code-plugin.
> 
> The problem is the WSDL define multiples PORT and so the plugin generate only 
> the first one.
> In the documentation, we find the allPorts parameter but if we put it to 
> true, the plugin doesn't generate all the port but only the same first one.
> 
> Any idea?
> 
> Java : 1.6
> POM.xml : 
> [...]
> 
> 
> org.apache.axis2
> axis2-wsdl2code-maven-plugin
> 1.6.2
> 
> 
> WS Multiple Ports
> 
> generate-sources
> 
> 
> wsdl2code
> 
> 
> http://fra-vsd-29327:10401/Services/mex/AdministrationSSOService
> 
> com.test.ws
> 
> true
> 
> 
> 
> 
> 
> [...]
> You can find the wsdl in attachment.
> 
> Regards, 
> Mike
> ___________________________________________________________
> Mode, hifi, maison,… J'achète malin. Je compare les prix avec Voila.fr 
> http://shopping.voila.fr/
>
> [ (pas de nom de fichier) (0.2 Ko) ]
> [ AdministrationSSOService.wsdl (108.0 Ko) ]
___________________________________________________________
Mode, hifi, maison,… J'achète malin. Je compare les prix avec Voila.fr 
http://shopping.voila.fr/
<plugin>
        <groupId>org.apache.axis2</groupId>
        <artifactId>axis2-wsdl2code-maven-plugin</artifactId>
        <version>1.6.2</version>
        <executions>
                        <execution>
                                <id>WS Multiple Ports</id>
                                <phase>generate-sources</phase> 
                                <goals>
                                        <goal>wsdl2code</goal>
                                </goals>
                                <configuration>
                                        
<wsdlFile>http://fra-vsd-29327:10401/Services/mex/AdministrationSSOService</wsdlFile>
                                        <packageName>com.test.ws</packageName>
                                        <allPorts>true</allPorts>
                                </configuration>
                        </execution>
                </executions>
</plugin>
---------------------------------------------------------------------
To unsubscribe, e-mail: java-user-unsubscr...@axis.apache.org
For additional commands, e-mail: java-user-h...@axis.apache.org

Reply via email to