re: maven-wsdl2code-plugin and allPorts Option

Michaël OULLION <[email protected]>
Newsgroups gmane.text.xml.axis.user
Message-ID <980550249.35741417776183016.JavaMail.www@wwinf7125>
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 : [email protected]
> 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/


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]
pom.txt (text/plain, 526 B)
<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>
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.