RE: Test Data creator Based on WSDL

2008-03-13 Thread Appasamy Thirugnana
Thanks a lot Charitha. Its nice 

-Original Message-
From: Charitha Kankanamge [mailto:[EMAIL PROTECTED] 
Sent: Thursday, March 13, 2008 17:20
To: axis-user@ws.apache.org
Subject: Re: Test Data creator Based on WSDL

Hi Appasamy,

SoapUI is the ideal tool for your requirement. Have a look at 
http://www.soapui.org/

regards
Charitha

Appasamy Thirugnana wrote:

> Hi, I am  looking for a test data creator  based on the WSDL and 
> allows us to create mock XML for a webservice request
>
>  
> Appasamy T
>  




-
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]



Re: Test Data creator Based on WSDL

2008-03-13 Thread Charitha Kankanamge

Hi Appasamy,

SoapUI is the ideal tool for your requirement. Have a look at 
http://www.soapui.org/


regards
Charitha

Appasamy Thirugnana wrote:

Hi, I am  looking for a test data creator  based on the WSDL and 
allows us to create mock XML for a webservice request


 
Appasamy T
 





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



Re: test asynchronous functions

2007-10-26 Thread Deepal jayasinghe
Huitang Li wrote:
> Hi,
>
> I chose to use asynchronous calls in Axis2 client to transmit soap
> messages. The test class is generated by wsdl2java. When I tested it,
> the test did not fail even if the handler is set to fail() in the
> receiveErrorXXX() which in turn indeed got called.
>
> This problem does not happen in synchronous calls.
>
> Any solution to test asynchronous calls?
please have a look at the following

http://today.java.net/pub/a/today/2006/12/13/invoking-web-services-using-apache-axis2.html


Thanks
Deepal

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



Re: test asynchronous functions

2007-10-26 Thread Charitha Kankanamge

Huitang Li wrote:


Hi,

I chose to use asynchronous calls in Axis2 client to transmit soap 
messages. The test class is generated by wsdl2java. When I tested it, 
the test did not fail even if the handler is set to fail() in the 
receiveErrorXXX() which in turn indeed got called.


This problem does not happen in synchronous calls.

Any solution to test asynchronous calls?


Thanks.



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



If you want to test Axis2 asynchronus invocation, you can follow the 
simple scenario given below. It actually verifies the asynchronus 
invocation (Verifies that the client does not block while invoking a 
service).


- create a service implementation class (a pojo with one method)
- Add Thread.sleep(some milli second value); in the service method
- Generate a sync client
- In the client add system.out("something") after service call;
- call the service
- You will observe that the client responds only after the service is 
invoked. Until that, client hangs and stops processing.


- Now generate an asynchrouns client and follow the above steps. You 
will notice that the client responds (you may see the system.out value 
before getting the service response) before getting the service 
response. (Client does not block and continues its operation)


Hope this helps you.

Bye
Charitha

--
Charitha Kankanamge
WSO2 inc.
Flower Road, Colombo 07
+94 714268070

A bug in the hand is better than one as yet undetected



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



Re: test

2006-12-14 Thread Manuel Ernstberger
I can see your mail. If you don't get the mails then you certainly haven't 
subscribed properly to the mailing list. Perhaps you have not clicked on the 
confirmation link yet?


 Original-Nachricht 
Datum: Thu, 14 Dec 2006 11:20:11 +0200
Von: "asaf.lahav" <[EMAIL PROTECTED]>
An: axis-user@ws.apache.org
Betreff: test

> Can anyone see my mail?
> 
> For some reason I'm not getting the mails I am sending to the mailing
> list.
> 

-- 
"Ein Herz für Kinder" - Ihre Spende hilft! Aktion: www.deutschlandsegelt.de
Unser Dankeschön: Ihr Name auf dem Segel der 1. deutschen America's Cup-Yacht!

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



RE: Test JWS endpoint error

2005-11-18 Thread Miller, Michael P








Well, the tools.jar is not in the
Classpath as you stated in step 2.  But tomcat compiles jsp

files when running jsp and it never had
problems finding the compiler, so why do I need

to modify my classpath now that Axis needs
to compile a jws ?

 

Mike

 









From: Developer
Developer [mailto:[EMAIL PROTECTED] 
Sent: Friday, November 18, 2005
5:36 PM
To: axis-user@ws.apache.org
Subject: Re: Test JWS endpoint
error



 



 





 





This is how it works on my machine - ( Windows XP)





 





Go to apache tomcat configure window ( Start->All
Programs->apacheTomcat->ConfigureTomcat) . Click on java tab .





 





1.make sure the java virtual machine points to correct jvm.dll ( on my
machine :C:\Java\jre1.5.0_04\bin\client\jvm.dll))





2. makesure all the necessary java jar files are listed in
javaclasspath  ( on my machine
-C:\Tomcat5_5\bin\bootstrap.jar;C:\Java\jdk1.5.0_04\bin;C:\Java\jdk1.5.0_04\lib\tools.jar)







 





On 11/18/05, Miller,
Michael P <[EMAIL PROTECTED]>
wrote: 



Installed
Axis on Tomcat 5.5 with java 1.5.  I've been deploying/ running webapps on
this

Tomcat
for some time with no problems.  Followed directions in the Install guide
by 

dropping
webapps/axis etc.  All the install tests like happyaxis, looking for
services and

Test
a SOAP endpoint work fine.  When I test a JWS endpoint it fails with:

soapenv:Server.userException


 
java.lang.RuntimeException: No compiler found in your
classpath! (you may need to add 'tools.jar') 

 

Someone
told me to set JAVA_HOME and I did that (windows XP).  It didn't work.

If
I put tools.jar from my jdk into the common/lib of Tomcat it does work but I'm
told that

is
a hack and can cause security issues.  Tomcat runs as a service.  any
help would be

greatly
appreciated.

 

Thanks,

Mike





 








Re: Test JWS endpoint error

2005-11-18 Thread Developer Developer
 
 
This is how it works on my machine - ( Windows XP)
 
Go to apache tomcat configure window ( Start->All Programs->apacheTomcat->ConfigureTomcat) . Click on java tab .
 
1.make sure the java virtual machine points to correct jvm.dll ( on my machine :C:\Java\jre1.5.0_04\bin\client\jvm.dll))
2. makesure all the necessary java jar files are listed in javaclasspath  ( on my machine -C:\Tomcat5_5\bin\bootstrap.jar;C:\Java\jdk1.5.0_04\bin;C:\Java\jdk1.5.0_04\lib\tools.jar)
 
On 11/18/05, Miller, Michael P <[EMAIL PROTECTED]> wrote:


Installed Axis on Tomcat 5.5 with java 1.5.  I've been deploying/ running webapps on this
Tomcat for some time with no problems.  Followed directions in the Install guide by 
dropping webapps/axis etc.  All the install tests like happyaxis, looking for services and
Test a SOAP endpoint work fine.  When I test a JWS endpoint it fails with:
soapenv:Server.userException 
  java.lang.RuntimeException: No compiler found in your classpath! (you may need to add 'tools.jar')

 
Someone told me to set JAVA_HOME and I did that (windows XP).  It didn't work.
If I put tools.jar from my jdk into the common/lib of Tomcat it does work but I'm told that
is a hack and can cause security issues.  Tomcat runs as a service.  any help would be
greatly appreciated.
 
Thanks,
Mike