You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-dev@axis.apache.org by Robert Seletsky <rs...@unm.edu> on 2017/07/13 15:58:09 UTC

axis2-wsdl2code-maven-plugin generating improper Java Stub File

Not generating xmlns:t=\"http://docs.oasis-open.org/ws-sx/ws-trust/200512\" on the appropriate lines in the java stub file, so getting runtime error 'undeclared namespace prefix "t"'


  Please advise.






  Here is Maven snippet:





<plugin>
        <groupId>org.apache.axis2</groupId>
         <artifactId>axis2-wsdl2code-maven-plugin</artifactId>
        <version>1.6.2</version>
    <configuration>
    <wsdlFile>src/main/resources/wsdl/unmcusthelpcom.wsdl</wsdlFile>  <!-- https://unm.custhelp.com/cgi-bin/unm.cfg/services/soap?wsdl=typed -->
         <databindingName>adb</databindingName>
        <packageName>com.rightnow.ws.wsdl</packageName>
        <outputDirectory>src/main/java</outputDirectory>
        <unpackClasses>true</unpackClasses>
        <unwrap>true</unwrap>
        <syncMode>sync</syncMode>
   </configuration>
    <executions>
        <execution>
            <goals>
                <goal>wsdl2code</goal>
            </goals>
        </execution>
    </executions>
</plugin>

Robert

Re: axis2-wsdl2code-maven-plugin generating improper Java Stub File

Posted by Robert Seletsky <rs...@unm.edu>.
  Is there a web link that mentions axis2 1.6.2 is no longer supported?

  Tried google, but no luck.


Robert
________________________________
From: Andreas Veithen <an...@gmail.com>
Sent: Thursday, July 13, 2017 12:23:38 PM
To: java-dev
Subject: Re: axis2-wsdl2code-maven-plugin generating improper Java Stub File

Note that 1.6.2 was released more than 5 years ago and is no longer supported.

Andreas

On Thu, Jul 13, 2017 at 4:58 PM, Robert Seletsky <rs...@unm.edu> wrote:
> Not generating xmlns:t=\"http://docs.oasis-open.org/ws-sx/ws-trust/200512\"
> on the appropriate lines in the java stub file, so getting runtime error
> 'undeclared namespace prefix "t"'
>
>   Please advise.
>
>
>
>   Here is Maven snippet:
>
> <plugin>
>         <groupId>org.apache.axis2</groupId>
>          <artifactId>axis2-wsdl2code-maven-plugin</artifactId>
>         <version>1.6.2</version>
>     <configuration>
>     <wsdlFile>src/main/resources/wsdl/unmcusthelpcom.wsdl</wsdlFile>  <!--
> https://unm.custhelp.com/cgi-bin/unm.cfg/services/soap?wsdl=typed -->
>          <databindingName>adb</databindingName>
>         <packageName>com.rightnow.ws.wsdl</packageName>
>         <outputDirectory>src/main/java</outputDirectory>
>         <unpackClasses>true</unpackClasses>
>         <unwrap>true</unwrap>
>         <syncMode>sync</syncMode>
>    </configuration>
>     <executions>
>         <execution>
>             <goals>
>                 <goal>wsdl2code</goal>
>             </goals>
>         </execution>
>     </executions>
> </plugin>
>
> Robert

---------------------------------------------------------------------
To unsubscribe, e-mail: java-dev-unsubscribe@axis.apache.org
For additional commands, e-mail: java-dev-help@axis.apache.org


Re: axis2-wsdl2code-maven-plugin generating improper Java Stub File

Posted by Martin Gainty <mg...@hotmail.com>.
______________________________________________



________________________________
From: Andreas Veithen <an...@gmail.com>
Sent: Thursday, July 13, 2017 5:07 PM
To: java-dev
Subject: Re: axis2-wsdl2code-maven-plugin generating improper Java Stub File

I don't see any trace of this in the java-dev archives. Anyway Martin
Gainty is not a developer; he is just a troll posting random nonsense
to various mailing lists. I think it's time to consider banning him.


MG>

name-calling doesnt accomplish anything


sadly recent protocols and technologies are'nt supported in axis
There have been more than a few times when axis-devs commit code that used to work but the new version does'nt accomplish a feature anymore ...

its an uphill battle to get buy-in for axis anymore when you get defensive answers belittling the op or anyone attempting to help


the intelligent man knows his limitations as well as the limitations of the product so

I encourage you to send your question to CXF...cxf integrates flawlessly with esb.

An additional benefit is CXF staff is dedicated to giving you a response that directly addresses your need

if there is an omission or something doesnt work they will admit to it and implement a bug fix


let me know if you need any help implementing a CXF war robert

keep in touch

Martin
MG>


Andreas

On Thu, Jul 13, 2017 at 8:46 PM, Robert Seletsky <rs...@unm.edu> wrote:
> Martin Gainty via java-dev@axis.apache.org emailed:
>
>
> 2.1.7.5 is beta so caveat emptor
>
> better off with known released version e.g. 2.1.7.3
> http://axis.apache.org/axis2/java/core/download.html
[http://axis.apache.org/axis2/java/core/images/axis.jpg]<http://axis.apache.org/axis2/java/core/download.html>

Apache Axis2 – Releases<http://axis.apache.org/axis2/java/core/download.html>
axis.apache.org
Releases. The current release is 1.7.5 and was published on May 06, 2017. The release note for this release can be found here. The following distributions are ...



>
>
> Robert
> ________________________________
> From: Andreas Veithen <an...@gmail.com>
> Sent: Thursday, July 13, 2017 1:24:54 PM
>
> To: java-dev
> Subject: Re: axis2-wsdl2code-maven-plugin generating improper Java Stub File
>
> On Thu, Jul 13, 2017 at 8:00 PM, Robert Seletsky <rs...@unm.edu> wrote:
>> Thanks Andreas!
>>
>> Hoped I could use axis2 1.6.2 since rebuilding WebApp from existing (old)
>> source that uses 1.6.2, but looks like will have to use axis2 1.7.3 (?).
>>
>>   Know most current version is axis2 1.7.5.
>>
>>  I previously heard that axis2 1.7.5 is a beta release and an axis2
>> developer recommended to uses axis2 1.7.3?
>
> Where was this statement made?
>
>>
>>
>> Robert
>> ________________________________
>> From: Andreas Veithen <an...@gmail.com>
>> Sent: Thursday, July 13, 2017 12:23:38 PM
>> To: java-dev
>> Subject: Re: axis2-wsdl2code-maven-plugin generating improper Java Stub
>> File
>>
>> Note that 1.6.2 was released more than 5 years ago and is no longer
>> supported.
>>
>> Andreas
>>
>> On Thu, Jul 13, 2017 at 4:58 PM, Robert Seletsky <rs...@unm.edu> wrote:
>>> Not generating
>>> xmlns:t=\"http://docs.oasis-open.org/ws-sx/ws-trust/200512\"
OASIS WS-Trust Specification<http://docs.oasis-open.org/ws-sx/ws-trust/200512/>
docs.oasis-open.org
WS-Trust 1.3. March 2007. Introduction. This document describes version "200512" of the WS-Trust namespace. It also contains a directory of links to related resources ...



>>> on the appropriate lines in the java stub file, so getting runtime error
>>> 'undeclared namespace prefix "t"'
>>>
>>>   Please advise.
>>>
>>>
>>>
>>>   Here is Maven snippet:
>>>
>>> <plugin>
>>>         <groupId>org.apache.axis2</groupId>
>>>          <artifactId>axis2-wsdl2code-maven-plugin</artifactId>
>>>         <version>1.6.2</version>
>>>     <configuration>
>>>     <wsdlFile>src/main/resources/wsdl/unmcusthelpcom.wsdl</wsdlFile>
>>> <!--
>>> https://unm.custhelp.com/cgi-bin/unm.cfg/services/soap?wsdl=typed -->
>>>          <databindingName>adb</databindingName>
>>>         <packageName>com.rightnow.ws.wsdl</packageName>
>>>         <outputDirectory>src/main/java</outputDirectory>
>>>         <unpackClasses>true</unpackClasses>
>>>         <unwrap>true</unwrap>
>>>         <syncMode>sync</syncMode>
>>>    </configuration>
>>>     <executions>
>>>         <execution>
>>>             <goals>
>>>                 <goal>wsdl2code</goal>
>>>             </goals>
>>>         </execution>
>>>     </executions>
>>> </plugin>
>>>
>>> Robert
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: java-dev-unsubscribe@axis.apache.org
>> For additional commands, e-mail: java-dev-help@axis.apache.org
>>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: java-dev-unsubscribe@axis.apache.org
> For additional commands, e-mail: java-dev-help@axis.apache.org
>

---------------------------------------------------------------------
To unsubscribe, e-mail: java-dev-unsubscribe@axis.apache.org
For additional commands, e-mail: java-dev-help@axis.apache.org


Re: axis2-wsdl2code-maven-plugin generating improper Java Stub File

Posted by Andreas Veithen <an...@gmail.com>.
I don't see any trace of this in the java-dev archives. Anyway Martin
Gainty is not a developer; he is just a troll posting random nonsense
to various mailing lists. I think it's time to consider banning him.

Andreas

On Thu, Jul 13, 2017 at 8:46 PM, Robert Seletsky <rs...@unm.edu> wrote:
> Martin Gainty via java-dev@axis.apache.org emailed:
>
>
> 2.1.7.5 is beta so caveat emptor
>
> better off with known released version e.g. 2.1.7.3
> http://axis.apache.org/axis2/java/core/download.html
>
>
> Robert
> ________________________________
> From: Andreas Veithen <an...@gmail.com>
> Sent: Thursday, July 13, 2017 1:24:54 PM
>
> To: java-dev
> Subject: Re: axis2-wsdl2code-maven-plugin generating improper Java Stub File
>
> On Thu, Jul 13, 2017 at 8:00 PM, Robert Seletsky <rs...@unm.edu> wrote:
>> Thanks Andreas!
>>
>> Hoped I could use axis2 1.6.2 since rebuilding WebApp from existing (old)
>> source that uses 1.6.2, but looks like will have to use axis2 1.7.3 (?).
>>
>>   Know most current version is axis2 1.7.5.
>>
>>  I previously heard that axis2 1.7.5 is a beta release and an axis2
>> developer recommended to uses axis2 1.7.3?
>
> Where was this statement made?
>
>>
>>
>> Robert
>> ________________________________
>> From: Andreas Veithen <an...@gmail.com>
>> Sent: Thursday, July 13, 2017 12:23:38 PM
>> To: java-dev
>> Subject: Re: axis2-wsdl2code-maven-plugin generating improper Java Stub
>> File
>>
>> Note that 1.6.2 was released more than 5 years ago and is no longer
>> supported.
>>
>> Andreas
>>
>> On Thu, Jul 13, 2017 at 4:58 PM, Robert Seletsky <rs...@unm.edu> wrote:
>>> Not generating
>>> xmlns:t=\"http://docs.oasis-open.org/ws-sx/ws-trust/200512\"
>>> on the appropriate lines in the java stub file, so getting runtime error
>>> 'undeclared namespace prefix "t"'
>>>
>>>   Please advise.
>>>
>>>
>>>
>>>   Here is Maven snippet:
>>>
>>> <plugin>
>>>         <groupId>org.apache.axis2</groupId>
>>>          <artifactId>axis2-wsdl2code-maven-plugin</artifactId>
>>>         <version>1.6.2</version>
>>>     <configuration>
>>>     <wsdlFile>src/main/resources/wsdl/unmcusthelpcom.wsdl</wsdlFile>
>>> <!--
>>> https://unm.custhelp.com/cgi-bin/unm.cfg/services/soap?wsdl=typed -->
>>>          <databindingName>adb</databindingName>
>>>         <packageName>com.rightnow.ws.wsdl</packageName>
>>>         <outputDirectory>src/main/java</outputDirectory>
>>>         <unpackClasses>true</unpackClasses>
>>>         <unwrap>true</unwrap>
>>>         <syncMode>sync</syncMode>
>>>    </configuration>
>>>     <executions>
>>>         <execution>
>>>             <goals>
>>>                 <goal>wsdl2code</goal>
>>>             </goals>
>>>         </execution>
>>>     </executions>
>>> </plugin>
>>>
>>> Robert
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: java-dev-unsubscribe@axis.apache.org
>> For additional commands, e-mail: java-dev-help@axis.apache.org
>>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: java-dev-unsubscribe@axis.apache.org
> For additional commands, e-mail: java-dev-help@axis.apache.org
>

---------------------------------------------------------------------
To unsubscribe, e-mail: java-dev-unsubscribe@axis.apache.org
For additional commands, e-mail: java-dev-help@axis.apache.org


Re: axis2-wsdl2code-maven-plugin generating improper Java Stub File

Posted by Robert Seletsky <rs...@unm.edu>.
Martin Gainty via java-dev@axis.apache.org emailed:


2.1.7.5 is beta so caveat emptor

better off with known released version e.g. 2.1.7.3
http://axis.apache.org/axis2/java/core/download.html



Robert
________________________________
From: Andreas Veithen <an...@gmail.com>
Sent: Thursday, July 13, 2017 1:24:54 PM
To: java-dev
Subject: Re: axis2-wsdl2code-maven-plugin generating improper Java Stub File

On Thu, Jul 13, 2017 at 8:00 PM, Robert Seletsky <rs...@unm.edu> wrote:
> Thanks Andreas!
>
> Hoped I could use axis2 1.6.2 since rebuilding WebApp from existing (old)
> source that uses 1.6.2, but looks like will have to use axis2 1.7.3 (?).
>
>   Know most current version is axis2 1.7.5.
>
>  I previously heard that axis2 1.7.5 is a beta release and an axis2
> developer recommended to uses axis2 1.7.3?

Where was this statement made?

>
>
> Robert
> ________________________________
> From: Andreas Veithen <an...@gmail.com>
> Sent: Thursday, July 13, 2017 12:23:38 PM
> To: java-dev
> Subject: Re: axis2-wsdl2code-maven-plugin generating improper Java Stub File
>
> Note that 1.6.2 was released more than 5 years ago and is no longer
> supported.
>
> Andreas
>
> On Thu, Jul 13, 2017 at 4:58 PM, Robert Seletsky <rs...@unm.edu> wrote:
>> Not generating
>> xmlns:t=\"http://docs.oasis-open.org/ws-sx/ws-trust/200512\"
>> on the appropriate lines in the java stub file, so getting runtime error
>> 'undeclared namespace prefix "t"'
>>
>>   Please advise.
>>
>>
>>
>>   Here is Maven snippet:
>>
>> <plugin>
>>         <groupId>org.apache.axis2</groupId>
>>          <artifactId>axis2-wsdl2code-maven-plugin</artifactId>
>>         <version>1.6.2</version>
>>     <configuration>
>>     <wsdlFile>src/main/resources/wsdl/unmcusthelpcom.wsdl</wsdlFile>  <!--
>> https://unm.custhelp.com/cgi-bin/unm.cfg/services/soap?wsdl=typed -->
>>          <databindingName>adb</databindingName>
>>         <packageName>com.rightnow.ws.wsdl</packageName>
>>         <outputDirectory>src/main/java</outputDirectory>
>>         <unpackClasses>true</unpackClasses>
>>         <unwrap>true</unwrap>
>>         <syncMode>sync</syncMode>
>>    </configuration>
>>     <executions>
>>         <execution>
>>             <goals>
>>                 <goal>wsdl2code</goal>
>>             </goals>
>>         </execution>
>>     </executions>
>> </plugin>
>>
>> Robert
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: java-dev-unsubscribe@axis.apache.org
> For additional commands, e-mail: java-dev-help@axis.apache.org
>

---------------------------------------------------------------------
To unsubscribe, e-mail: java-dev-unsubscribe@axis.apache.org
For additional commands, e-mail: java-dev-help@axis.apache.org


Re: axis2-wsdl2code-maven-plugin generating improper Java Stub File

Posted by Andreas Veithen <an...@gmail.com>.
On Thu, Jul 13, 2017 at 8:00 PM, Robert Seletsky <rs...@unm.edu> wrote:
> Thanks Andreas!
>
> Hoped I could use axis2 1.6.2 since rebuilding WebApp from existing (old)
> source that uses 1.6.2, but looks like will have to use axis2 1.7.3 (?).
>
>   Know most current version is axis2 1.7.5.
>
>  I previously heard that axis2 1.7.5 is a beta release and an axis2
> developer recommended to uses axis2 1.7.3?

Where was this statement made?

>
>
> Robert
> ________________________________
> From: Andreas Veithen <an...@gmail.com>
> Sent: Thursday, July 13, 2017 12:23:38 PM
> To: java-dev
> Subject: Re: axis2-wsdl2code-maven-plugin generating improper Java Stub File
>
> Note that 1.6.2 was released more than 5 years ago and is no longer
> supported.
>
> Andreas
>
> On Thu, Jul 13, 2017 at 4:58 PM, Robert Seletsky <rs...@unm.edu> wrote:
>> Not generating
>> xmlns:t=\"http://docs.oasis-open.org/ws-sx/ws-trust/200512\"
>> on the appropriate lines in the java stub file, so getting runtime error
>> 'undeclared namespace prefix "t"'
>>
>>   Please advise.
>>
>>
>>
>>   Here is Maven snippet:
>>
>> <plugin>
>>         <groupId>org.apache.axis2</groupId>
>>          <artifactId>axis2-wsdl2code-maven-plugin</artifactId>
>>         <version>1.6.2</version>
>>     <configuration>
>>     <wsdlFile>src/main/resources/wsdl/unmcusthelpcom.wsdl</wsdlFile>  <!--
>> https://unm.custhelp.com/cgi-bin/unm.cfg/services/soap?wsdl=typed -->
>>          <databindingName>adb</databindingName>
>>         <packageName>com.rightnow.ws.wsdl</packageName>
>>         <outputDirectory>src/main/java</outputDirectory>
>>         <unpackClasses>true</unpackClasses>
>>         <unwrap>true</unwrap>
>>         <syncMode>sync</syncMode>
>>    </configuration>
>>     <executions>
>>         <execution>
>>             <goals>
>>                 <goal>wsdl2code</goal>
>>             </goals>
>>         </execution>
>>     </executions>
>> </plugin>
>>
>> Robert
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: java-dev-unsubscribe@axis.apache.org
> For additional commands, e-mail: java-dev-help@axis.apache.org
>

---------------------------------------------------------------------
To unsubscribe, e-mail: java-dev-unsubscribe@axis.apache.org
For additional commands, e-mail: java-dev-help@axis.apache.org


Re: axis2-wsdl2code-maven-plugin generating improper Java Stub File

Posted by Robert Seletsky <rs...@unm.edu>.
Thanks Andreas!

Hoped I could use axis2 1.6.2 since rebuilding WebApp from existing (old) source that uses 1.6.2, but looks like will have to use axis2 1.7.3 (?).

  Know most current version is axis2 1.7.5.

 I previously heard that axis2 1.7.5 is a beta release and an axis2 developer recommended to uses axis2 1.7.3?


Robert
________________________________
From: Andreas Veithen <an...@gmail.com>
Sent: Thursday, July 13, 2017 12:23:38 PM
To: java-dev
Subject: Re: axis2-wsdl2code-maven-plugin generating improper Java Stub File

Note that 1.6.2 was released more than 5 years ago and is no longer supported.

Andreas

On Thu, Jul 13, 2017 at 4:58 PM, Robert Seletsky <rs...@unm.edu> wrote:
> Not generating xmlns:t=\"http://docs.oasis-open.org/ws-sx/ws-trust/200512\"
> on the appropriate lines in the java stub file, so getting runtime error
> 'undeclared namespace prefix "t"'
>
>   Please advise.
>
>
>
>   Here is Maven snippet:
>
> <plugin>
>         <groupId>org.apache.axis2</groupId>
>          <artifactId>axis2-wsdl2code-maven-plugin</artifactId>
>         <version>1.6.2</version>
>     <configuration>
>     <wsdlFile>src/main/resources/wsdl/unmcusthelpcom.wsdl</wsdlFile>  <!--
> https://unm.custhelp.com/cgi-bin/unm.cfg/services/soap?wsdl=typed -->
>          <databindingName>adb</databindingName>
>         <packageName>com.rightnow.ws.wsdl</packageName>
>         <outputDirectory>src/main/java</outputDirectory>
>         <unpackClasses>true</unpackClasses>
>         <unwrap>true</unwrap>
>         <syncMode>sync</syncMode>
>    </configuration>
>     <executions>
>         <execution>
>             <goals>
>                 <goal>wsdl2code</goal>
>             </goals>
>         </execution>
>     </executions>
> </plugin>
>
> Robert

---------------------------------------------------------------------
To unsubscribe, e-mail: java-dev-unsubscribe@axis.apache.org
For additional commands, e-mail: java-dev-help@axis.apache.org


Re: axis2-wsdl2code-maven-plugin generating improper Java Stub File

Posted by Andreas Veithen <an...@gmail.com>.
Note that 1.6.2 was released more than 5 years ago and is no longer supported.

Andreas

On Thu, Jul 13, 2017 at 4:58 PM, Robert Seletsky <rs...@unm.edu> wrote:
> Not generating xmlns:t=\"http://docs.oasis-open.org/ws-sx/ws-trust/200512\"
> on the appropriate lines in the java stub file, so getting runtime error
> 'undeclared namespace prefix "t"'
>
>   Please advise.
>
>
>
>   Here is Maven snippet:
>
> <plugin>
>         <groupId>org.apache.axis2</groupId>
>          <artifactId>axis2-wsdl2code-maven-plugin</artifactId>
>         <version>1.6.2</version>
>     <configuration>
>     <wsdlFile>src/main/resources/wsdl/unmcusthelpcom.wsdl</wsdlFile>  <!--
> https://unm.custhelp.com/cgi-bin/unm.cfg/services/soap?wsdl=typed -->
>          <databindingName>adb</databindingName>
>         <packageName>com.rightnow.ws.wsdl</packageName>
>         <outputDirectory>src/main/java</outputDirectory>
>         <unpackClasses>true</unpackClasses>
>         <unwrap>true</unwrap>
>         <syncMode>sync</syncMode>
>    </configuration>
>     <executions>
>         <execution>
>             <goals>
>                 <goal>wsdl2code</goal>
>             </goals>
>         </execution>
>     </executions>
> </plugin>
>
> Robert

---------------------------------------------------------------------
To unsubscribe, e-mail: java-dev-unsubscribe@axis.apache.org
For additional commands, e-mail: java-dev-help@axis.apache.org