Here is my configuration section for the plugin. When I generate the code
for the first time, everything is fine. But after that every time fails with
the exception shown below. And the service.xml is wiped out. How can I fix
this and move forward?
plugin
,
Sean
-Original Message-
From: Joselito D. Moreno [mailto:joenmor...@gmail.com]
Sent: Tuesday, November 17, 2009 10:03 AM
To: axis-user@ws.apache.org
Subject: Re: Problem running axis2-wsdl2code-maven-plugin
Hi Sean,
Using the workaround mentioned in that JIRA issue, the first error I
am
...@gmail.com]
Sent: Saturday, November 14, 2009 3:22 PM
To: axis-user@ws.apache.org
Subject: Problem running axis2-wsdl2code-maven-plugin
Hello,
I do not know if this is the correct mailing list to ask about the
axis2 wsdl2code maven plugin so please let me know and point me to the
correct one
: Joselito D. Moreno [mailto:joenmor...@gmail.com]
Sent: Saturday, November 14, 2009 3:22 PM
To: axis-user@ws.apache.org
Subject: Problem running axis2-wsdl2code-maven-plugin
Hello,
I do not know if this is the correct mailing list to ask about the
axis2 wsdl2code maven plugin so please let me
Message-
From: Joselito D. Moreno [mailto:joenmor...@gmail.com]
Sent: Saturday, November 14, 2009 3:22 PM
To: axis-user@ws.apache.org
Subject: Problem running axis2-wsdl2code-maven-plugin
Hello,
I do not know if this is the correct mailing list to ask about the
axis2 wsdl2code maven plugin so
Hello,
I do not know if this is the correct mailing list to ask about the
axis2 wsdl2code maven plugin so please let me know and point me to the
correct one.
I have followed the instructions here
http://ws.apache.org/axis2/tools/1_4/maven-plugins/maven-wsdl2code-plugin.html
with no luck. When I
Dear all,
I'm using the maven plugin of axis2. As a maven plugin I thought that giving an
output directory of
outputDirectorysrc/main/java/outputDirectory(or better nothing at all)
and the right package name I could find the generated sources on my package,
but I'm seeing that the plugin
In a Maven build you should never let a plugin output generated code
into src/main/java, but instead into a temporary directory under
target (so that it will be removed by mvn clean). In that case it
doesn't matter that axis2-wsdl2code-maven-plugin places the code in a
subdirectory called src
Hi
Not sure this is exact what you are asking about but here is how I use the
plugin, I have a separate class stored in src/main/java that extends the
skeleton created by wsdl2code tool and implements the service. Then change
the ServiceClass parameter in service xml file to refer to the new
/generated-sources/axis2/wsdl2code/src).
One of the generated classes is the skeleton for the service, so if I
change it and run maven clean package to build a new war file...it
gets deleted. :-)
If I copy that class to my src/main/java directory, then I get a
[INFO] Compilation failure message
assume you're referring to
http://ws.apache.org/axis2/tools/1_2/maven-plugins/maven-wsdl2code-plugin.html
where the default of Target directory, where sources are being
target/generated-sources/axis2/wsdl2code generated.
what if you redirect the parameter outputDirectory to point
That wouldn't solve the issue - the problem is that I have to edit one
of the files that it creates, but it creates it in a temporary
location (everything under target is wiped when you run mvn clean),
and if I have a second copy, then the compile blows chunks. :-(
I will stick with my ant trick
Hi, folks:
I noticed maven axis2 wsdl2code plugin only accepts one WSDL file via
parameter wsdlFile, what should I do if I have, say, 5 wsdl files?
Cheers,
ye
I have used the Eclipse WebServices Client wizard to generate axis WS. The
tool properly creates bindings that allow me to connect to the web service.
But I want my project to be maven based, so I used the
axis2-wsdl2code-maven-plugin to generate bindings. The pom entry is as follows:
plugin
the wsdlFile config parameter. I haven't used the command line tool
with Axis 2 but I know the Axis 1 Java2WSDL command line interface supported
this. I'm sure it would be a quick change to the
axis2-wsdl2code-maven-plugin but I was hoping this was already implemented.
Thanks,
Brice
Hi,
I am trying to use the wsdl2code maven2 plugin to generate client stubs
for a couple of web services. The old axis1 wsdl2java maven2 plugin took
all the wsdl files it could find and generated stubs for each of them.
As far as I can tell, the new plugin for axis2, wsdl2code, only accepts
one
!-- Insert other 'b' specific configuration --
/configuration
/execution
/executions
---
-Original Message-
From: Ove Gram Nipen [mailto:[EMAIL PROTECTED]
Sent: 06 December 2007 14:58
To: axis-user@ws.apache.org
Subject: [Axis2] wsdl2code maven2 plugin support for several
[EMAIL PROTECTED] wrote:
Ove Gram Nipen wrote:
Is it possible to use wsdl2code to generate stubs for more
than one wsdl? If not, are there any plans to support this?
Is it desirable to do so, or am I trying to use the plugin in
the wrong way?
Hi Ove,
It is possible with the
Hey is someone using this plugin successfully???
I can't interprete the following error ;-(
The wsdl is ok, with the axis 1.4 maven2 Plugin the code gen works!
The path to the wsdl is ok!
The outputDirectory path is existing!
Thanks!
[DEBUG] Configuring mojo '
org.apache.axis2.maven2:axis2
Hi all.
I'm trying to use the m2 plugin as described here:
http://ws.apache.org/axis2/tools/1_1/maven-plugins/maven-wsdl2code-plugin.html
But Maven says it can't find the plugin. Is that plugin deployed anywhere?
I couldn't find it in any of these repos:
http://people.apache.org/repository/
I resolved the problem with OMElement.Factory - indeed
this was a WSDL problem. I had
w:part name=getUserProfileByIdInput
element=getRequest/
instead of
w:part name=getUserProfileByIdInput
type=typens:getRequest/
But still I'm getting problems with generated code.
XSD data types token are
Hi Paul,
Thanks for the info. I'll look into this
Ajith
On 5/30/06, Paul Gonchar [EMAIL PROTECTED] wrote:
I resolved the problem with OMElement.Factory - indeed
this was a WSDL problem. I had
w:part name=getUserProfileByIdInput
element=getRequest/
instead of
w:part
Hi,
Can you post the WSDL ? It seems that your WSDL may have a namespace issue !
On 5/26/06, Paul Gonchar [EMAIL PROTECTED] wrote:
Has anyone used WSDL2Code generator successfully? I
keep getting code that contains call to
org.apache.axiom.om.OMElement.Factory.parse().
Axiom spec says
Has anyone used WSDL2Code generator successfully? I
keep getting code that contains call to
org.apache.axiom.om.OMElement.Factory.parse().
Axiom spec says OMElement is an interface and it can't
contain any Factory.
Any ideas?
Thanks!
Paul.
P.S. Data binding mode does not matter - in all cases
24 matches
Mail list logo