You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by Janos Mucsi <mu...@yahoo.com> on 2005/03/02 00:52:24 UTC

maven axis plugin

Hi
When I run maven axis:deploy I get this:

C:\ccviews\RedeemOnly\dev\modules\redeemonly-web>maven
axis:deploy
 __  __
|  \/  |__ _Apache__ ___
| |\/| / _` \ V / -_) ' \  ~ intelligent projects ~
|_|  |_\__,_|\_/\___|_||_|  v. 1.0.2

Processing file
C:\ccviews\RedeemOnly\dev\modules\redeemonly-web\target\axis\src
\org\tempuri\RedeemService\deploy.wsdd
build:start:

axis:copy-deploy:

axis:deploy:
    [axis-admin] [ERROR] AxisFault
 faultCode: {http://xml.apache.org/axis/}HTTP
 faultSubcode:
 faultString: (404)Not Found
 faultActor:
 faultNode:
 faultDetail:
        {}:return code:  404
Error 404: File not found: AdminService

        {http://xml.apache.org/axis/}HttpErrorCode:404

    [axis-admin] [ERROR] Running axis-admin with
parameters:
    [axis-admin] [ERROR]   action:
    [axis-admin] [ERROR]  
url:http://sa72frsappdev01:9080/RedeemOnlyWeb/AdminSe
rvice?wsdl
    [axis-admin] [ERROR]   hostname:null
    [axis-admin] [ERROR]   port:0
    [axis-admin] [ERROR]   servletPath:null
    [axis-admin] [ERROR]   fileProtocol:null
    [axis-admin] [ERROR]   username:null
    [axis-admin] [ERROR]   password:null
    [axis-admin] [ERROR]   transportChain:null
    [axis-admin] [ERROR]   debug:false

BUILD FAILED
File...... C:\Documents and
Settings\jmucsi\.maven\cache\maven-axis-plugin-0.7\p
lugin.jelly
Element... axis-admin
Line...... 288
Column.... 44
axis-admin failed with 
{http://xml.apache.org/axis/}HTTP (404)Not Found
Total time: 3 seconds
Finished at: Tue Mar 01 15:49:46 PST 2005

Can anybody please help?
Thanks.

Janos


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org


Re: maven axis plugin

Posted by Lukasz Bajorski <lb...@gmail.com>.
On Wed, 2 Mar 2005 07:12:03 -0800 (PST), Janos Mucsi <mu...@yahoo.com> wrote:
> 
> Lukasz
> 
> Thanks for the reply. I am starting to figure it out
> now.
> 
> What would be the typical sequence of events in an
> automated build? First I call axis:compile, then
> deploy the application (ear) and once it is started I
> call axis:deploy from some postGoal?

I'd do it that way.

> The stubs generated by WSAD give all kinds of strange
> errors, not even the operation name is properly
> resolved. Do you think I should just call the axis
> plugin for everything and leave out WSAD altogether?

Haven't worked in WSAD yet but I can guess the errors may come from 
1. not adding generated stuff to your project's classpath (or lib dir
or whatever WSAD uses)
2. not properly set the namespace mappings (see
http://ws.apache.org/axis/java/reference.html for NStoPkg modifier or
NStoPkg.properties file)

As for using the plugin to do all the work - that depends. If you can
easily use this approach in your IDE then that's what you should
probably do (another reason for it is that all other developers might
wanna to compile and deploy the service and they would do that by
calling the maven's build script - so it's a reasonable thing to do,
at least for checking if the build is valid).

> Thanks.

I isn't much help but still it is some so you're welcome :D

-- 
Lukasz Bajorski
tel. +48 508 609 414   GG: 3318146
www.jroller.com/page/benjie

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org


maven axis plugin - SOAP Binding and Encoding Styles

Posted by Janos Mucsi <mu...@yahoo.com>.
Hi
Does anybody know how to specify document binding and
literal encoding when running maven axis:compile?

I do not see anything in the plugin.jelly file
regarding this.

By default it generates rpc when running java2wsdl.

Thanks.

Janos

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org


maven axis plugin

Posted by Janos Mucsi <mu...@yahoo.com>.
Lukasz 

Thanks for the reply. I am starting to figure it out
now.

What would be the typical sequence of events in an
automated build? First I call axis:compile, then
deploy the application (ear) and once it is started I
call axis:deploy from some postGoal?

The stubs generated by WSAD give all kinds of strange
errors, not even the operation name is properly
resolved. Do you think I should just call the axis
plugin for everything and leave out WSAD altogether?

Thanks.

Janos

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org


Re: maven axis plugin

Posted by Lukasz Bajorski <lb...@gmail.com>.
On Tue, 1 Mar 2005 15:52:24 -0800 (PST), Janos Mucsi <mu...@yahoo.com> wrote:
> Hi
> When I run maven axis:deploy I get this:
> 
> C:\ccviews\RedeemOnly\dev\modules\redeemonly-web>maven
> axis:deploy
>  __  __
> |  \/  |__ _Apache__ ___
> | |\/| / _` \ V / -_) ' \  ~ intelligent projects ~
> |_|  |_\__,_|\_/\___|_||_|  v. 1.0.2
> 
> Processing file
> C:\ccviews\RedeemOnly\dev\modules\redeemonly-web\target\axis\src
> \org\tempuri\RedeemService\deploy.wsdd
> build:start:
> 
> axis:copy-deploy:
> 
> axis:deploy:
>     [axis-admin] [ERROR] AxisFault
>  faultCode: {http://xml.apache.org/axis/}HTTP
>  faultSubcode:
>  faultString: (404)Not Found
>  faultActor:
>  faultNode:
>  faultDetail:
>         {}:return code:  404
> Error 404: File not found: AdminService

[snip]

>         {http://xml.apache.org/axis/}HttpErrorCode:404
> 
>     [axis-admin] [ERROR] Running axis-admin with
> parameters:
>     [axis-admin] [ERROR]   action:
>     [axis-admin] [ERROR]
> url:http://sa72frsappdev01:9080/RedeemOnlyWeb/AdminSe
> rvice?wsdl

Aren't you supposed to pass within maven.axis.admin.url the address of
AdminService itself and not the wsdl definition of it? So it'd look
like: url:http://sa72frsappdev01:9080/RedeemOnlyWeb/AdminService

Are you sure the address is not something like:
url:http://sa72frsappdev01:9080/RedeemOnlyWeb/services/AdminService ?

Maybe you need your call has to be authenticated (username,password) ?

Also, this post belongs to maven-plugins-user@lists.sourceforge.net.



>     [axis-admin] [ERROR]   hostname:null
>     [axis-admin] [ERROR]   port:0
>     [axis-admin] [ERROR]   servletPath:null
>     [axis-admin] [ERROR]   fileProtocol:null
>     [axis-admin] [ERROR]   username:null
>     [axis-admin] [ERROR]   password:null
>     [axis-admin] [ERROR]   transportChain:null
>     [axis-admin] [ERROR]   debug:false
> 
> BUILD FAILED
> File...... C:\Documents and
> Settings\jmucsi\.maven\cache\maven-axis-plugin-0.7\p
> lugin.jelly
> Element... axis-admin
> Line...... 288
> Column.... 44
> axis-admin failed with
> {http://xml.apache.org/axis/}HTTP (404)Not Found
> Total time: 3 seconds
> Finished at: Tue Mar 01 15:49:46 PST 2005
> 
> Can anybody please help?
> Thanks.
> 
> Janos
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> For additional commands, e-mail: users-help@maven.apache.org
> 
> 


-- 
Lukasz Bajorski
tel. +48 508 609 414   GG: 3318146
www.jroller.com/page/benjie

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org