RE: [axis2] maven plugin for wsdl2java

2007-11-16 Thread David Wilkinson
Hi Sietse

I had the same problem about a week ago and found that if you add the
repository


apache-repo
apache repo
 
http://people.apache.org/repo/m2-ibiblio-rsync-repository
default

true
always
warn


false
never
fail



Then you will be able to use the wsdl2code plugin as follows


org.apache.axis2
axis2-wsdl2code-maven-plugin
1.3


Hope this helps

Regads

David

-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]

Sent: 16 November 2007 11:02
To: axis-user@ws.apache.org
Subject: [axis2] maven plugin for wsdl2java

Hi everybody,

I tried to find a suitable wsdl2java plugin for maven. The one linked in
the tools section at the axis2 website is dead.

Is there any new news about this plugin or a alternative? Or is an ant
task the only option to automate the code generation in the build
process?

Thanks,
Sietse

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Serverside Code Generation

2007-11-12 Thread David Wilkinson
Hi All

I am using the WSDL2Code maven tool to generate my web service server code
and service.xml file but have come across a problem I can't find a solution
to and that is how do I get the tool to continue to generate the service.xml
file and the server side interface class without it generating the skeleton
class and the MessageReceiverInOut class. I don't want to regenerate these
two classes as I have added methods into the MessageReceiverInOut class to
validate the incoming message to the web service and also the skeleton class
has my code to call the backend business logic.

At the same time I don't want to just create a copy of the services.xml and
server side interface and have to rely on people remembering to update these
if a new operation is added to the WSDL file.

Is there any way to stop the tool from generating the Skeleton class and
MessageReceiverInOut but still generate all the other Server side classes,
interfaces and config file.


Thanks in advance for any pointers people can give me

Regards

David


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: [Axis2]Maven2 plugins for WSDL2Code Generation

2007-11-08 Thread David Wilkinson
Hi Suran

Thanks one of my other questions was going to be where do I find the source
code for the plugins which you have answered.

Thanks again

David

-Original Message-
From: Suran Jayathilaka [mailto:[EMAIL PROTECTED] 
Sent: 08 November 2007 02:50
To: axis-user@ws.apache.org
Subject: Re: [Axis2]Maven2 plugins for WSDL2Code Generation

David Wilkinson wrote:
> Hi
>
> I am starting a new project and have started to put a POM file together
for
> an axis web service, and I'm looking for a plugin to generate my code. I
> have spotted the one under the tools section of the web site but when I
> tryed to down load the plugin from the site all the links are broken and
> there are no maven 2 repositories that have version 1.3. The only version
I
> have found so far is version 1.1 which also seams to suffer from
dependency
> issues.
>
> Has anyone got this working or is there any other maven 2 plugin about
that
> I can use. Any help would be grateful
>
> Regards
>
> DRAW
>
>
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>
>   
Greetings!

You can get the maven2 wsdl2java plugin in this way, until the download 
links are fixed.
Checkout the axis2 source from the links at 
http://ws.apache.org/axis2/svn.html
Go to the /modules/tool/axis2-wsdl2code-maven-plugin folder.
And build the plugin using "mvn clean install".

Cheers!
Suran

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



__ NOD32 2644 (20071107) Information __

This message was checked by NOD32 antivirus system.
http://www.eset.com



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: [Axis2]Maven2 plugins for WSDL2Code Generation

2007-11-08 Thread David Wilkinson
Hi Upul

Thanks for that IO will give it a go and see where i get

Regards

David

-Original Message-
From: Upul Godage [mailto:[EMAIL PROTECTED] 
Sent: 08 November 2007 03:16
To: axis-user@ws.apache.org
Subject: Re: [Axis2]Maven2 plugins for WSDL2Code Generation

This pom.xml worked for me.
mvn console printed,
Downloading:
http://repo1.maven.org/maven2/org/apache/axis2/axis2-wsdl2code-maven-plugin/
1.3/axis2-wsdl2code-maven-plugin-1.3.pom
3K downloaded
Downloading:
http://repo1.maven.org/maven2/org/apache/axis2/axis2-wsdl2code-maven-plugin/
1.3/axis2-wsdl2code-maven-plugin-1.3.jar
11K downloaded


http://maven.apache.org/POM/4.0.0";
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";
  xsi:schemaLocation="http://maven.apache.org/POM/4.0.0
http://maven.apache.org/maven-v4_0_0.xsd";>
  4.0.0
  com.test
  hello
  jar
  1.0-SNAPSHOT
  hello
  http://maven.apache.org
  

  junit
  junit
  3.8.1
  test

  



org.apache.axis2

axis2-wsdl2code-maven-plugin
1.3




wsdl2code



com.test.service









Upul



On Nov 7, 2007 7:02 PM, David Wilkinson <[EMAIL PROTECTED]> wrote:
> Hi
>
> I am starting a new project and have started to put a POM file together
for
> an axis web service, and I'm looking for a plugin to generate my code. I
> have spotted the one under the tools section of the web site but when I
> tryed to down load the plugin from the site all the links are broken and
> there are no maven 2 repositories that have version 1.3. The only version
I
> have found so far is version 1.1 which also seams to suffer from
dependency
> issues.
>
> Has anyone got this working or is there any other maven 2 plugin about
that
> I can use. Any help would be grateful
>
> Regards
>
> DRAW
>
>
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



__ NOD32 2644 (20071107) Information __

This message was checked by NOD32 antivirus system.
http://www.eset.com



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



[Axis2]Maven2 plugins for WSDL2Code Generation

2007-11-07 Thread David Wilkinson
Hi

I am starting a new project and have started to put a POM file together for
an axis web service, and I'm looking for a plugin to generate my code. I
have spotted the one under the tools section of the web site but when I
tryed to down load the plugin from the site all the links are broken and
there are no maven 2 repositories that have version 1.3. The only version I
have found so far is version 1.1 which also seams to suffer from dependency
issues.

Has anyone got this working or is there any other maven 2 plugin about that
I can use. Any help would be grateful

Regards

DRAW


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: [axis2] Getting Axis2 working under Websphere 5.1

2006-05-25 Thread David Wilkinson
Hi Robert
 
Thanks for that it has given me a direction to look-in.
 
I have also noticed that Websphere 5.1.x is not handling HttpServletRequest
parameters in a way that is expected, if a parameter is passed to the server
with no value the method getParameter is returning "null" and therefore the
wsdl is not being displayed but if I change the URL to
http://localhost:9080/Test/services/version?wsdl=true then the wsdl is
displayed as expected.


Thanks again

David Wilkinson



From: robert lazarski [mailto:[EMAIL PROTECTED] 
Sent: 25 May 2006 13:14
To: axis-user@ws.apache.org
Subject: Re: [axis2] Getting Axis2 working under Websphere 5.1


I'll take a shot at trying to help...

My guess is that you are running WAS 5.1 using JDK 1.4 . If so, try putting
the stax-api jar that comes with axis2 somewhere in one of the lib
directories that WAS uses to find its jars. This jar should already be
present in the axis2 war. 

This error would probably cause the war not to start, and somewhere (been a
few years since I ran WAS) there should be logs saying so. You can turn on
logging by putting an apropriate log4j.properties under
axis2/WEB-INF/classses , assuming the commons-logging is pointing to log4j .


HTH,
Robert
http://www.braziloutsource.com/


On 5/25/06, David Wilkinson <[EMAIL PROTECTED] > wrote: 

Hi

I'm currently trying to get the Axis2 War Distribution to work under

websphere 5.1. I have managed to get round the error Invalid service
version.aar due to java.lang.NoSuchMethodError:
javax.xml.namespace.QName:
method
(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)V not 
found by setting the Classloader Mode to PARENT_LAST

But when I go to the url
http://localhost:9080/Test/services/version?wsdl
all I get is a 404 error Requested resource not found! 

There are no error messages appearing in my log files and so I'm
feeling a
bit stumped.

Has anyone else come across the same issue and can suggest anything
else
that I need to do


Thanks in advance 
    
    
David Wilkinson



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
<mailto:[EMAIL PROTECTED]> 
For additional commands, e-mail: [EMAIL PROTECTED]






-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



[axis2] Getting Axis2 working under Websphere 5.1

2006-05-25 Thread David Wilkinson
Hi

I'm currently trying to get the Axis2 War Distribution to work under
websphere 5.1. I have managed to get round the error Invalid service
version.aar due to java.lang.NoSuchMethodError: javax.xml.namespace.QName:
method (Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)V not
found by setting the Classloader Mode to PARENT_LAST

But when I go to the url http://localhost:9080/Test/services/version?wsdl
all I get is a 404 error Requested resource not found!

There are no error messages appearing in my log files and so I'm feeling a
bit stumped.

Has anyone else come across the same issue and can suggest anything else
that I need to do


Thanks in advance


David Wilkinson


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]