Rampart - rahas

2007-10-20 Thread Arlindo Gmail

Hi All...

newbie in WS-Trust...

I would like to create an Axis2 client/service with the Rampart module 
to make use the WS-Trust specification... but to me, at this moment, be 
difficult to find examples about the use of this API...


Could one of yours give-me a direction?

Many thank in advance
Any help is welcome
@jr@

I need a simple RST/RSTR...
a kick start
( sorry my poor english )
begin:vcard
fn:Arlindo Luis Marcon Junior
n:Luis Marcon Junior;Arlindo
adr;quoted-printable:;;;Curitiba;Paran=C3=A1;80050240;Brasil
email;internet:[EMAIL PROTECTED]
url:http://lattes.cnpq.br/6483462042489662
version:2.1
end:vcard


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

FW: Axis overload

2007-02-20 Thread Gmail
Hi,

 

I have a distributed system which exchange information base on WS. The
average number of WS invocation is 1 per second. In this system execution
time is vital. My question is: do you know how could I reduce invocation
time of WS? I was thinking about some management system which could keep
information about server and when needed used this information/connection to
invoke WS.

 

Best,

 

Kris



Axis 1.4 and header

2006-09-19 Thread Sergey GMAIL
Hello, axis-user.
How generate using WSDL2Java correct headers? In the Axis2 this is correct.
WSDL:


http://schemas.xmlsoap.org/soap/http"/>



http://com/nuance/pws/middleware/beans/calculator";>



After generation using Axis2 I had a insert Header Class in the stub
client -side
and reader Header Class in the ..INOUT.. class in the
server-side,
But after generation using Axis 1.4 I don't have it .. :(

Help me please .
-- 
WBR,
 Sergey  mailto:[EMAIL PROTECTED]


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



Re[2]: Axis2 import xsd into WSDL and generator WSDL2Java

2006-09-18 Thread Sergey GMAIL
Hello, Anne.

Âû ïèñàëè 16  2006 ?., 3:32:58:

ATM> To clarify, You may not use  to import an XSD file. You
ATM> must use . It would look like this:

ATM>  targetNamespace="http://com/nuance/pws/middleware/beans/calculator";
ATM> .
ATM>
ATM> xmlns:tns1="http://com/nuance/pws/middleware/beans/calculator/schemas";
ATM> 
ATM> 
ATM>   
ATM> targetNamepsace="http://com/nuance/pws/middleware/beans/calculator";
ATM>xmlns:xsd="http://www.w3.org/2000/10/XMLSchema";>
ATM>
ATM> namespace="http://com/nuance/pws/middleware/beans/calculator/schemas";
ATM> 
schemaLocation="http://com/nuance/pws/middleware/beans/calculator/Calculator_new.xsd"/>
ATM> 
ATM>
ATM> 
ATM>  element="tns1:TradePriceRequest"/>
ATM>  
ATM>

ATM> Anne

ATM> On 9/15/06, Spies, Brennan <[EMAIL PROTECTED]> wrote:
>> Are you using the  inside the  section of your WSDL (i.e., is
>> it the xsd:import rather than the wsdl:import)?
>>
>> -Original Message-
>> From: Sergey GMAIL [mailto:[EMAIL PROTECTED]
>> Sent: Friday, September 15, 2006 7:07 AM
>> To: axis-user@ws.apache.org
>> Subject: Axis2 import xsd into WSDL and generator WSDL2Java
>>
>> Hello, axis-user.
>> I have a problem, as correctly to import *.xsd chart in WSDL and then
>> correctly using a WSDL2Java generate code ?
>> My code:
>> WSDL:
>>
>> > targetNamespace="http://com/nuance/pws/middleware/beans/calculator";
>>  .
>>
>> xmlns:tns1="http://com/nuance/pws/middleware/beans/calculator/schemas";
>>  
>> > namespace="http://com/nuance/pws/middleware/beans/calculator/schemas";
>>
>> location="http://com/nuance/pws/middleware/beans/calculator/Calculator_new.xs
>> d"/>
>>  
>>  
>>  > element="tns1:TradePriceRequest"/>
>>   
>> 
>>
>> XSD:
>> 
>> > targetNamespace="http://com/nuance/pws/middleware/beans/calculator/schemas";
>>xmlns="http://www.w3.org/2000/10/XMLSchema";>
>>
>>  
>>
>> 
>> 
>> 
>> 
>> 
>> 
>> 
>>  ...
>>
>>  doesn't work  :(
>>
>>  How do correct wsdl?
>>
>>  Thanks.
>> --
>> WBR,
>>  Sergey  mailto:[EMAIL PROTECTED]
>>
>>
>> -
>> 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]
>>
>>

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

O, ok Thanks!

-- 
WBR,
 Sergey  mailto:[EMAIL PROTECTED]


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



Axis2 import xsd into WSDL and generator WSDL2Java

2006-09-15 Thread Sergey GMAIL
Hello, axis-user.
I have a problem, as correctly to import *.xsd chart in WSDL and then
correctly using a WSDL2Java generate code ?
My code:
WSDL:

http://com/nuance/pws/middleware/beans/calculator";
 .
 
xmlns:tns1="http://com/nuance/pws/middleware/beans/calculator/schemas";
 
http://com/nuance/pws/middleware/beans/calculator/schemas";

location="http://com/nuance/pws/middleware/beans/calculator/Calculator_new.xsd"/>
 
 
 
  


XSD:

http://com/nuance/pws/middleware/beans/calculator/schemas";
   xmlns="http://www.w3.org/2000/10/XMLSchema";>

 
 







 ...

 doesn't work  :(
 
 How do correct wsdl?
 
 Thanks.
-- 
WBR,
 Sergey  mailto:[EMAIL PROTECTED]


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



Re: WSDL2Java does not generate WSDD files!

2006-09-15 Thread Sergey GMAIL




Hello, Roberto.

What version of the Axis do you use? 




>


I can succesfully generate the classes but no wsdd appears (which is what I actually want).

I did specify --server-side and -ss.

There is a weird warning about not log4j being found though, could this be the cause? also, everyone says the -s switch activates server side code generation (and thus, the wsdd making) but in my version of wsdl2java ( 1.0) the -s switch activates synchronous code generation instead.

There is also a wsdl2Code.bat in the download but it didn't generate it either.

Am I using the right program? missing an option? is there any other tool to make a wsdd file from a wsdl? 

please help.






-- 
WBR,
 Sergey                          mailto:[EMAIL PROTECTED]




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



Re[2]: AxisFault

2006-09-15 Thread Sergey GMAIL
Hello, Deepal.
This defect was fixed
http://issues.apache.org/jira/browse/AXIS2-802?page=comments#action_12421813
I download the nightly build
http://people.apache.org/dist/axis2/nightly/ and and stab works
correctly.

Thanks.

DJ> Hi Sergey;

DJ> Can you please create a JIRA attaching your client code.

DJ> Thanks
DJ> Deepal

>>Hello, axis-user.
>>
>>I auto generated stub
>>and every time I invoke the service it returns the following message:
>>
>>org.apache.axis2.AxisFault: SOAPEnvelope must contain a body element
>>which is either first or second child element of the SOAPEnvelope.
>>
>>The service works fine if the header is not set.  The header is a simple
>>object with 2 string fields and 1 int field.
>>
>>Any help would be appreciated!
>>
>>  
>>




-- 
WBR,
 Sergey  mailto:[EMAIL PROTECTED]


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



Axis2 and C++

2006-09-14 Thread Sergey GMAIL
Hello, axis-user.
We use Axis2 for create server side app in the Java. But we must
create two
clients one of which in the Java language and second in the C++
language. For java client we generate code using WSDL2Java.
For C++ client we created by manually with using libriary Axis2C 0.93.

Our server has redirector and we don't receive response from server in
C++ client, but in Java client all OK.
Also we have server without redirector and both client working
correctly.
What can be problems in С++ client with redirector?
How correct create of the C++ client before the realised WSDL2C in the Axis2C
1.0?


-- 
WBR,
 Sergey  mailto:[EMAIL PROTECTED]


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



Re: Migrate from axis 1.4 to axis2

2006-09-14 Thread Sergey GMAIL
Hello, shrabank.

This resource http://ws.apache.org/axis2/1_0/migration.html describe
your problem.


s> Hi all,

s> I have one webservice which is using axis 1.4 and now i migrate that
s> service to axis 2.
s> What are the necessary steps required to achieve that. Is there any
s> good documents which explain on migrating from axis1.4 to axis2.
s> Please guide me on this.

s>   Thanks in advance.

s>  
s>   




s> This e-mail and any files transmitted with it are for the sole use
s> of the intended recipient(s) and may contain confidential and
s> privileged information. If you are not the intended recipient or
s> received it in error, please contact the sender by reply e-mail and
s> destroy all copies of the original message. Please do not copy it
s> for any purpose or disclose its contents.

s> Copyright Tarang Software Technologies Pvt. Ltd. 2004. All rights Reserved




-- 
WBR,
 Sergey  mailto:[EMAIL PROTECTED]


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



Nightly Axis2

2006-09-14 Thread Sergey GMAIL
Hello, axis-user.

What is Nightly Axis2 ? This is a beta realise? I can use it in the
corporation project. What differences between Axis2 and Axis2 Nightly?
When possibilities of Axis Nightly will be added in realise of Axis2?

Thanks.
-- 
WBR,
 Sergey  mailto:[EMAIL PROTECTED]


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



AxisFault

2006-09-14 Thread Sergey GMAIL
Hello, axis-user.

I auto generated stub
and every time I invoke the service it returns the following message:

org.apache.axis2.AxisFault: SOAPEnvelope must contain a body element
which is either first or second child element of the SOAPEnvelope.

The service works fine if the header is not set.  The header is a simple
object with 2 string fields and 1 int field.

Any help would be appreciated!

-- 
WBR,
 Sergey  mailto:[EMAIL PROTECTED]


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



Axis2 and Soap Header and Skeleton

2006-09-13 Thread Sergey GMAIL
Hello!
I have the next wsdl:
..








 








 
 ..
 
 After generation, using WSDL2Java from Axis2 I get code which have
 loginContext in the client Stub class and in the server
 MessageReceiverInOut class. How get loginContext in the Skeleton?

-- 
WBR,
 Sergey  mailto:[EMAIL PROTECTED]


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



Re[2]: [Axis2] Axis and session management tutorial

2006-09-13 Thread Sergey GMAIL
Hello, Michele.

MM> hmmm.., I'm sorry, but I'm using services in application scope.

MM> Maybe the following links could help:
MM> http://www-128.ibm.com/developerworks/edu/os-dw-os-ag-onbank1.html
MM> http://www.ibm.com/developerworks/edu/os-dw-os-ag-onbank2.html
MM> http://www.ibm.com/developerworks/edu/os-dw-os-ag-onbank3.html


MM> Regards,
MM> Michele

MM> Sergey GMAIL wrote:
>> Hello, Michele.
>> 
>> MM> http://www.developer.com/java/web/article.php/3620661
>> 
>> MM> Michele
>> 
>> MM> Vyacheslav Yakovenko wrote:
>>>> Hi All!
>>>>
>>>> I'm interesting how can I organize a session management in Axis2? For
>>>> example I need to receive a SESSIONID from container after successful
>>>> user login store it in somewhere and check it during ws-calls. Can
>>>> anybody recommend any good tutorial about this subject?
>>>>
>>>> Any hints will be helpful too.
>>>>
>>>> Thanks,
>>>> Vaclav
>>>>
>> 
>> MM> -
>> MM> To unsubscribe, e-mail: [EMAIL PROTECTED]
>> MM> For additional commands, e-mail: [EMAIL PROTECTED]
>> 
>>   Do you have a test source code with using session management in
>>   Axis2, send me, please.
>>   Thanks.
>> 

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

Thanks.

-- 
WBR,
 Sergey  mailto:[EMAIL PROTECTED]


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



Re[2]: [Axis2] Axis and session management tutorial

2006-09-13 Thread Sergey GMAIL
Hello, Michele.

MM> http://www.developer.com/java/web/article.php/3620661

MM> Michele

MM> Vyacheslav Yakovenko wrote:
>> Hi All!
>> 
>> I'm interesting how can I organize a session management in Axis2? For
>> example I need to receive a SESSIONID from container after successful
>> user login store it in somewhere and check it during ws-calls. Can
>> anybody recommend any good tutorial about this subject?
>> 
>> Any hints will be helpful too.
>> 
>> Thanks,
>> Vaclav
>> 

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

  Do you have a test source code with using session management in
  Axis2, send me, please.
  Thanks.

-- 
WBR,
 Sergey  mailto:[EMAIL PROTECTED]


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



[axis2] - wsdl2java - exception

2006-06-23 Thread Gmail
hey I have similar problem. I'm new to axis2. I have wsdl from which in 
axis 1.* I have succesfully generated java code, but in axis2 I got 
following exception:


Exception in thread "main" 
org.apache.axis2.wsdl.codegen.CodeGenerationException: 
org.apache.axis2.wsdl.codegen.CodeGenerationException: 
java.lang.NullPointerException
   at 
org.apache.axis2.wsdl.codegen.CodeGenerationEngine.generate(CodeGenerationEngine.java:185)
 

   at org.apache.axis2.wsdl.WSDL2Code.main(WSDL2Code.java:32)
   at org.apache.axis2.wsdl.WSDL2Java.main(WSDL2Java.java:21)
Caused by: org.apache.axis2.wsdl.codegen.CodeGenerationException: 
java.lang.NullPointerException
   at 
org.apache.axis2.wsdl.codegen.emitter.AxisServiceBasedMultiLanguageEmitter.emitStub(AxisServiceBasedMultiLanguageEmitter.java:171)
 

   at 
org.apache.axis2.wsdl.codegen.CodeGenerationEngine.generate(CodeGenerationEngine.java:176)
 

   ... 2 more
Caused by: java.lang.NullPointerException
   at 
org.apache.axis2.wsdl.codegen.emitter.AxisServiceBasedMultiLanguageEmitter.getFaultParamElements(AxisServiceBasedMultiLanguageEmitter.java:1511)
 

   at 
org.apache.axis2.wsdl.codegen.emitter.AxisServiceBasedMultiLanguageEmitter.getFaultElement(AxisServiceBasedMultiLanguageEmitter.java:1449)
 

   at 
org.apache.axis2.wsdl.codegen.emitter.AxisServiceBasedMultiLanguageEmitter.loadOperations(AxisServiceBasedMultiLanguageEmitter.java:1199)
 

   at 
org.apache.axis2.wsdl.codegen.emitter.AxisServiceBasedMultiLanguageEmitter.createDOMDocumentForCallbackHandler(AxisServiceBasedMultiLanguageEmitter.java:572)
 

   at 
org.apache.axis2.wsdl.codegen.emitter.AxisServiceBasedMultiLanguageEmitter.writeCallBackHandlers(AxisServiceBasedMultiLanguageEmitter.java:551)
 

   at 
org.apache.axis2.wsdl.codegen.emitter.AxisServiceBasedMultiLanguageEmitter.emitStubFromService(AxisServiceBasedMultiLanguageEmitter.java:266)
 

   at 
org.apache.axis2.wsdl.codegen.emitter.AxisServiceBasedMultiLanguageEmitter.emitStub(AxisServiceBasedMultiLanguageEmitter.java:169)
 

   ... 3 more

linux: i686
java: sun-jdk1.5.0_06
axis:  2

I typed command :
sh WSDL2Java.sh -uri xxx.wsdl -ss -sd -d xmlbeans -o xxx

Is there any problem with wsdl types, namespaces in axis2 or something 
else please help me.

best regards
Borowski Filip

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



Re: [axis2] failure when trying to build axis2

2006-03-19 Thread Sean Doyle (Gmail)

Loreno Oliveira wrote:


In really, I did two changes before get my axis copy buiding:

1) turn off Norton Worm Protection
2) applied the recomendation for users of JDK 1.5 
(http://ws.apache.org/axis2/faq.html 
<http://ws.apache.org/axis2/faq.html>)


Well - I was going to reply - of *course* I did this - but then I 
thought of something else to try & now the problem is solved - how do I 
make sure that this gets to the right person maintaining the FAQ?


The FAQ is slightly wrong. It says to change this java.security file:
   Add the following entry to JDK_HOME/jre/lib/security/java.security file
But - that's not the correct file on my machine.

   * I don't have a JDK_HOME defined - but I do have a JAVA_HOME
 defined as C:\Program Files\Java\jdk1.5.0_01\
   * So - I assumed that the file I should change would be C:\Program
 Files\Java\jdk1.5.0_01\jre\lib\security\java.security. But it's not.
   * When I installed my JDK it was configured to update itself
 periodically. When I run 'java -version' I get java version "1.5.0_06"
   * So - I have a JDK of 1.5.0_01 and a JRE of 1.5.0_06 because the
 JRE has been upgraded several times since my install of the JDK.
   * When I update the java.security file in C:\Program
 Files\Java\jre1.5.0_06\lib\security then the errors I had
 disappear - I can now build the war file!

Perhaps the FAQ should say something like this:
"You have to add Bouncy Castle as a JCE provider. Add the following 
entry to java.security file of the appropriate JRE on your machine. For 
Windows XP the correct version is found by entered 'java -version'. The 
correct file is JRE (typically c:\Program 
Files\Java\jre\lib\security\java.security.


Failure to modify the correct java.security file on your machine will 
result in the build failing certain tests"


It might save time of people like me if the type of test that failed 
could be described here - they look like RPC-like but I don't know the 
root of the failure.


Thanks!





What is your java version?

Loreno

On 3/17/06, *Sean Doyle (Gmail)* <[EMAIL PROTECTED] 
<mailto:[EMAIL PROTECTED]>> wrote:


Loreno Oliveira wrote:

> I got also problems with some tests, just like Sean and Bruno.
> My problem was fixed when I turned off the Norton Worm Protection...

No such luck here - I've turned off my Trend Micro, ran svn
update, and
still see errors.

After

>[junit] [ERROR] TEST org.apache.axis2.rpc.RPCCallTest FAILED
>[junit] Running
org.apache.axis2.security.AddressingMTOMSecurityTest


you see

> BUILD FAILED
> File.. C:\Documents and
> Settings\sean\.maven\cache\maven-
multiproject-plugin-1.3.1\plugin.jelly
> Element... maven:reactor
> Line.. 217
> Column 9
> Unable to obtain goal [multiproject:install-callback] --
C:\Documents
> and Settings\sean\.maven\cache\maven-test-plugin-1
> .6.2\plugin.jelly:181:54:  There were test failures.
> Total time: 20 minutes 39 seconds
> Finished at: Fri Mar 17 15:25:25 EST 2006

This was in response to a 'maven release'.


>
> Now I'm building and testing axis2 fine...
>
> Loreno
>
> On 3/16/06, *Eran Chinthaka* <[EMAIL PROTECTED]
<mailto:[EMAIL PROTECTED]>
> mailto:[EMAIL PROTECTED]>>> wrote:
>
> Hi Sean and Bruno,
>
> We experience a build failure in Axis2 main branch now.
Please give us
> time till tomoro for us to fix it.
>
> Thanks,
> Chinthaka
>
> Sean Doyle (Gmail) wrote:
> > bruno wanadoo wrote:
> >
> >> Hi Chinthaka & everybody else
> >>
> >> I followed instructions in the FAQ ( with jdk1.5 I modify the
> >> security file to add BC as provider)
> >> But when I launch maven , a lot of targets are built but
at the
> end I
> >> got this
> >>
> > I'm getting the same
> >Unable to obtain goal [multiproject:install-callback] --
> > C:\Documents and
> >
>
Settings\bruno\.maven\cache\maven-test-plugin-1.6.2\plugin.jelly:181:54:

>
> > I've also put in the same attribute for BC. And svn is current
> as of a
> > few minutes ago.
> >
> > Here's what works and doesn't work - I'm a bit confused by the
> site's
> > documentation since it has two different calls to maven
> specified for
> > building the project. One fails with the plugin.jelly
message, the

Re: [axis2] failure when trying to build axis2

2006-03-17 Thread Sean Doyle (Gmail)

Loreno Oliveira wrote:


I got also problems with some tests, just like Sean and Bruno.
My problem was fixed when I turned off the Norton Worm Protection...


No such luck here - I've turned off my Trend Micro, ran svn update, and 
still see errors.


After


   [junit] [ERROR] TEST org.apache.axis2.rpc.RPCCallTest FAILED
   [junit] Running org.apache.axis2.security.AddressingMTOMSecurityTest



you see


BUILD FAILED
File.. C:\Documents and 
Settings\sean\.maven\cache\maven-multiproject-plugin-1.3.1\plugin.jelly

Element... maven:reactor
Line.. 217
Column 9
Unable to obtain goal [multiproject:install-callback] -- C:\Documents 
and Settings\sean\.maven\cache\maven-test-plugin-1

.6.2\plugin.jelly:181:54:  There were test failures.
Total time: 20 minutes 39 seconds
Finished at: Fri Mar 17 15:25:25 EST 2006


This was in response to a 'maven release'.




Now I'm building and testing axis2 fine...

Loreno

On 3/16/06, *Eran Chinthaka* <[EMAIL PROTECTED] 
<mailto:[EMAIL PROTECTED]>> wrote:


Hi Sean and Bruno,

We experience a build failure in Axis2 main branch now. Please give us
time till tomoro for us to fix it.

Thanks,
Chinthaka

Sean Doyle (Gmail) wrote:
> bruno wanadoo wrote:
>
>> Hi Chinthaka & everybody else
>>
>> I followed instructions in the FAQ ( with jdk1.5 I modify the
>> security file to add BC as provider)
>> But when I launch maven , a lot of targets are built but at the
end I
>> got this
>>
> I'm getting the same
>Unable to obtain goal [multiproject:install-callback] --
> C:\Documents and
>
Settings\bruno\.maven\cache\maven-test-plugin-1.6.2\plugin.jelly:181:54:

> I've also put in the same attribute for BC. And svn is current
as of a
> few minutes ago.
>
> Here's what works and doesn't work - I'm a bit confused by the
site's
> documentation since it has two different calls to maven
specified for
> building the project. One fails with the plugin.jelly message, the
> other works but doesn't make the war file.
>
> I'm running this in WindowsXP. My version of Maven is 1.0.2. My
> version of Java is java version " 1.5.0_06".
>
>
> According to http://ws.apache.org/axis2/svn.html - you just type
> 'maven'. This fails -
>
>> test:test:
>> [junit] Running org.apache.axis2.om.impl.dom.DocumentImplTest
>> [junit] Tests run: 3, Failures: 0, Errors: 0, Time elapsed:
0.39 sec
>> [junit] Running
org.apache.axis2.om.impl.dom.DOMImplementationTest
>> [junit] Tests run: 1, Failures: 0, Errors: 0, Time elapsed:
0.28 sec
>> [junit] Running org.apache.axis2.om.impl.dom.ElementImplTest
>> [junit] Tests run: 6, Failures: 0, Errors: 0, Time elapsed:
0.381
>> sec
>> [junit] Running org.apache.axis2.om.impl.dom.MessagesTest
>> [junit] Tests run: 4, Failures: 0, Errors: 4, Time elapsed:
0.471
>> sec
>> *[junit] [ERROR] TEST org.apache.axis2.om.impl.dom.MessagesTest
>> FAILED*
>> [junit] Running org.apache.axis2.om.impl.dom.OMDOMFactoryTest
>> [junit] Tests run: 1, Failures: 0, Errors: 0, Time elapsed:
0.281
>> sec
>> [junit] Running org.apache.axis2.om.impl.dom.TextImplTest
>> [junit] Tests run: 3, Failures: 0, Errors: 0, Time elapsed:
0.28 sec
>>
>> BUILD FAILED
>> File.. C:\Documents and
>>
Settings\sean\.maven\cache\maven-multiproject-plugin-1.3.1\plugin.jelly

>> Element... maven:reactor
>> Line.. 217
>> Column 9
>> Unable to obtain goal [multiproject:install-callback] --
C:\Documents
>> and Settings\sean\.maven\cache\maven-test-plugin-1
>> .6.2\plugin.jelly:181:54:  There were test failures.
>> Total time: 4 minutes 9 seconds
>> Finished at: Thu Mar 16 10:22:34 EST 2006
>
>
> According to http://ws.apache.org/axis2/siteHowTo.html - you type
> 'maven multiproject'. This worked yesterday - but it didn't make the
> war file. And - although it worked there are several errors of
the sort:
>
>> Error retrieving artifact from
>>
[http://www.ibiblio.org/maven/axis2/jars/axis2-codegen-0.95-SNAPSHOT.jar]:
>> java.net.Conne
>> ctException: Connection timed out: connect
>> 192K downloaded
>
>
>
> Somewhere on the apache site there was a suggestion to use
'maven.war'
> - this failed with (I believe) t

Re: [axis2] failure when trying to build axis2

2006-03-16 Thread Sean Doyle (Gmail)

bruno wanadoo wrote:


Hi Chinthaka & everybody else

I followed instructions in the FAQ ( with jdk1.5 I modify the security 
file to add BC as provider)
But when I launch maven , a lot of targets are built but at the end I 
got this



I'm getting the same
   Unable to obtain goal [multiproject:install-callback] -- 
C:\Documents and 
Settings\bruno\.maven\cache\maven-test-plugin-1.6.2\plugin.jelly:181:54:
I've also put in the same attribute for BC. And svn is current as of a 
few minutes ago.


Here's what works and doesn't work - I'm a bit confused by the site's 
documentation since it has two different calls to maven specified for 
building the project. One fails with the plugin.jelly message, the other 
works but doesn't make the war file.


I'm running this in WindowsXP. My version of Maven is 1.0.2. My version 
of Java is java version "1.5.0_06".



According to http://ws.apache.org/axis2/svn.html - you just type 
'maven'. This fails -



test:test:
[junit] Running org.apache.axis2.om.impl.dom.DocumentImplTest
[junit] Tests run: 3, Failures: 0, Errors: 0, Time elapsed: 0.39 sec
[junit] Running org.apache.axis2.om.impl.dom.DOMImplementationTest
[junit] Tests run: 1, Failures: 0, Errors: 0, Time elapsed: 0.28 sec
[junit] Running org.apache.axis2.om.impl.dom.ElementImplTest
[junit] Tests run: 6, Failures: 0, Errors: 0, Time elapsed: 0.381 sec
[junit] Running org.apache.axis2.om.impl.dom.MessagesTest
[junit] Tests run: 4, Failures: 0, Errors: 4, Time elapsed: 0.471 sec
*[junit] [ERROR] TEST org.apache.axis2.om.impl.dom.MessagesTest 
FAILED*

[junit] Running org.apache.axis2.om.impl.dom.OMDOMFactoryTest
[junit] Tests run: 1, Failures: 0, Errors: 0, Time elapsed: 0.281 sec
[junit] Running org.apache.axis2.om.impl.dom.TextImplTest
[junit] Tests run: 3, Failures: 0, Errors: 0, Time elapsed: 0.28 sec

BUILD FAILED
File.. C:\Documents and 
Settings\sean\.maven\cache\maven-multiproject-plugin-1.3.1\plugin.jelly

Element... maven:reactor
Line.. 217
Column 9
Unable to obtain goal [multiproject:install-callback] -- C:\Documents 
and Settings\sean\.maven\cache\maven-test-plugin-1

.6.2\plugin.jelly:181:54:  There were test failures.
Total time: 4 minutes 9 seconds
Finished at: Thu Mar 16 10:22:34 EST 2006



According to http://ws.apache.org/axis2/siteHowTo.html - you type 'maven 
multiproject'. This worked yesterday - but it didn't make the war file. 
And - although it worked there are several errors of the sort:


Error retrieving artifact from 
[http://www.ibiblio.org/maven/axis2/jars/axis2-codegen-0.95-SNAPSHOT.jar]: 
java.net.Conne

ctException: Connection timed out: connect
192K downloaded




Somewhere on the apache site there was a suggestion to use 'maven.war' - 
this failed with (I believe) the same plugin.jelly error.


Also - I've been running 'maven clean' between runs if that makes any 
difference.


I did invoke

%MAVEN_HOME%\bin\install_repo.bat c:\.maven\repository
when I installed Maven a few days ago.

What should I try next if I want to build the war file?


Thanks..

Sean




/+
| Executing multiproject:install-callback Apache Axis 2.0 - DOM over OM
| Memory: 8M/12M
+
Tentative de tÚlÚchargement de axiom-1.0-SNAPSHOT.jar.
Tentative de tÚlÚchargement de axis2-common-0.95-SNAPSHOT.jar.
Tentative de tÚlÚchargement de axis2-core-0.95-SNAPSHOT.jar.

jar:jar:

jar:install:


build:end:

build:start:

multiproject:install-callback:
[echo] Running jar:install for Apache Axis 2.0 - DOM over OM
java:prepare-filesystem:

java:compile:
[echo] Compiling to D:\work\axis2-dev\modules\doom/target/classes

java:jar-resources:

test:prepare-filesystem:

test:test-resources:

test:compile:

test:test:
[junit] Running org.apache.axis2.om.impl.dom.DocumentImplTest
[junit] Tests run: 3, Failures: 0, Errors: 0, Time elapsed: 0,5 sec
[junit] Running org.apache.axis2.om.impl.dom.DOMImplementationTest
[junit] Tests run: 1, Failures: 0, Errors: 0, Time elapsed: 0,39 sec
[junit] Running org.apache.axis2.om.impl.dom.ElementImplTest
[junit] Tests run: 6, Failures: 0, Errors: 0, Time elapsed: 0,406 sec
[junit] Running org.apache.axis2.om.impl.dom.MessagesTest
[junit] Tests run: 4, Failures: 0, Errors: 4, Time elapsed: 0,672 sec
[junit] [ERROR] TEST org.apache.axis2.om.impl.dom.MessagesTest FAILED
[junit] Running org.apache.axis2.om.impl.dom.OMDOMFactoryTest
[junit] Tests run: 1, Failures: 0, Errors: 0, Time elapsed: 0,296 sec
[junit] Running org.apache.axis2.om.impl.dom.TextImplTest
[junit] Tests run: 3, Failures: 0, Errors: 0, Time elapsed: 0,297 sec

BUILD FAILED
File.. C:\Documents and 
Settings\bruno\.maven\cache\maven-multiproject-plugin-1.3.1\plugin.jelly

Element... maven:reactor
Line.. 217
Column 9
Unable to obtain goal [multiproject:install-callback] -- C:\Documents 
and 
Settings\bruno\.maven\cache\mav