axis2-wsdl2code maven plugin throws exception when generating code

2009-12-13 Thread Xiaohui Chen
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

RE: Problem running axis2-wsdl2code-maven-plugin

2009-11-18 Thread Parmelee,Sean
, 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

Re: Problem running axis2-wsdl2code-maven-plugin

2009-11-17 Thread Joselito D. Moreno
...@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

Re: Problem running axis2-wsdl2code-maven-plugin

2009-11-17 Thread Joselito D. Moreno
: 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

RE: Problem running axis2-wsdl2code-maven-plugin

2009-11-16 Thread Parmelee,Sean
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

Problem running axis2-wsdl2code-maven-plugin

2009-11-14 Thread Joselito D. Moreno
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

[AXIS2] A question on axis2-wsdl2code-maven-plugin

2009-09-22 Thread Indrit Selimi
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

Re: [AXIS2] A question on axis2-wsdl2code-maven-plugin

2009-09-22 Thread Andreas Veithen
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

Re: axis2-wsdl2code-maven-plugin use

2009-07-13 Thread HÃ¥kon Sagehaug
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

axis2-wsdl2code-maven-plugin use

2009-07-10 Thread Larry Meadors
/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

RE: axis2-wsdl2code-maven-plugin use

2009-07-10 Thread Martin Gainty
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

Re: axis2-wsdl2code-maven-plugin use

2009-07-10 Thread Larry Meadors
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

how to handle multi wsdl files in Maven Axis2 WSDL2Code Plug-in

2009-05-24 Thread ye
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

axis2-wsdl2code-maven-plugin generated code GET/POST

2008-10-01 Thread Perry-Pelletier, Adam
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

Re: remote wsdl axis2-wsdl2code-maven-plugin

2007-12-20 Thread Amila Suriarachchi
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

[Axis2] wsdl2code maven2 plugin support for several wsdl files?

2007-12-06 Thread Ove Gram Nipen
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

RE: [Axis2] wsdl2code maven2 plugin support for several wsdl files?

2007-12-06 Thread sietsenicolaas.tenhoeve
!-- 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

RE: [Axis2] wsdl2code maven2 plugin support for several wsdl files?

2007-12-06 Thread Ove Gram Nipen
[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

[axis2] axis2-wsdl2code-maven-plugin

2007-06-18 Thread SoftwareEngineering Hauschel
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

axis2-wsdl2code-maven-plugin

2006-11-14 Thread Martin Strand
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/

Re: [Axis2] WSDL2Code ?

2006-05-30 Thread Paul Gonchar
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

Re: [Axis2] WSDL2Code ?

2006-05-30 Thread Ajith Ranabahu
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

Re: [Axis2] WSDL2Code ?

2006-05-27 Thread Ajith Ranabahu
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

[Axis2] WSDL2Code ?

2006-05-26 Thread Paul Gonchar
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