javaee / metro-jaxws-commons

Metro has been contributed to Eclipse Foundation. This repository is for legacy review only. Please refer to the Eclipse EE4J Metro project for the very latest
https://eclipse-ee4j.github.io/metro-wsit/
Other
10 stars 9 forks source link

extension option of wsgen seems to be not implemented which is a problem to generate soap1.2 wsdl #36

Closed glassfishrobot closed 15 years ago

glassfishrobot commented 15 years ago

I have problems to execute wsgen with the jaxws-maven-plugin the protocol Xsoap1.2 and -extension option. The plug-in get the protocol option but the extension option does not apear in the command. So, when I execute maven I get this error.

[INFO] [jaxws:wsgen

{execution: default}

] The optional protocol "Xsoap1.2" must be used in conjunction with the "-extension" option.

In the wsgen comman generated by the plug-in, the -extension option has not been generated. Looking the source code it seem there is not any extension option however it is in the documentation. Maybe, the extension argument implementation is missing? Has anybody had the same error? Do you know If I am doing something wrong?

This is the plugin part of the pom.xml

com.sun.xml.ws jaxws-rt 2.1.3 com.sun.xml.ws jaxws-tools 2.1.3 com.sun.xml.messaging.saaj saaj-impl 1.3 es.bsc.brein SRLM 1.0-SNAPSHOT compile es.bsc.brein SLARepositoryWSITClient 1.0-SNAPSHOT compile

maven-repository.dev.java.net Java.net Repository for Maven 1 [http://download.java.net/maven/1/](http://download.java.net/maven/1/) legacy maven2-repository.dev.java.net Java.net Repository for Maven 2 [http://download.java.net/maven/2/](http://download.java.net/maven/2/) maven2-repository.dev.java.net [http://download.java.net/maven/2/](http://download.java.net/maven/2/) org.codehaus.mojo jaxws-maven-plugin 1.11 org.apache.maven.plugins maven-compiler-plugin 1.5 1.5 compile compile initialize org.codehaus.mojo jaxws-maven-plugin 1.11 wsgen true Xsoap1.2 es.bsc.brein.srlm.SrlmWSIT.SrlmWS true true com.sun.xml.ws jaxws-tools 2.1.3 #### Environment Operating System: Linux Platform: All #### Affected Versions [current]
glassfishrobot commented 15 years ago

Reported by jorgejar@java.net

glassfishrobot commented 15 years ago

scm_issue_link@java.net said: Code changed in jax-ws-commons User: : ramapulavarthi Path: trunk/jaxws-maven-plugin/src/main/java/org/codehaus/mojo/jaxws/AbstractWsGenMojo.java http://fisheye4.cenqua.com/changelog/jax-ws-commons/?cs=807 Log: JAX-WS-COMMONS-36: Pass -extension option to wsgen, when extension parameter is passed.

glassfishrobot commented 15 years ago

ramapulavarthi@java.net said: Fixed in 1.12 release.

glassfishrobot commented 11 years ago

@lukasj said: Closing old and already fixed issues

glassfishrobot commented 15 years ago

Was assigned to jax-ws-commons-issues

glassfishrobot commented 7 years ago

This issue was imported from java.net JIRA JAX_WS_COMMONS-36

glassfishrobot commented 15 years ago

Marked as fixed on Wednesday, April 29th 2009, 4:05:21 am