Is Axis-C packaged for RHEL or SLES?

2006-06-02 Thread Rose Knain
Hi, Is Axis-C packaged for RHEL or SLES? I mean when I installed RHEL or SLES Linux, Axis-C is ready for me? If Not, is there any other C++ webservices stacks (e.g. gSOAP) are packaged into RHEL or SLES? Best Regards, Rose _

Stop and start Tomcat, or restart Axis from commandline

2006-06-02 Thread Stig Christensen
Anyone know how to do that? Each time I deploy new code I do it manually. :( Stig Christensen Telefon:+45 77 30 91 23 __ BankInvest Gruppen, Sundkrogsgade 7, Postboks 2672, 2100 København Ø Telefon 77 30 90 00, Fax 77 30 91 00,

Re: Stop and start Tomcat, or restart Axis from commandline

2006-06-02 Thread Indra Syafruddin
use ant. On 6/2/06, Stig Christensen [EMAIL PROTECTED] wrote: Anyone know how to do that?Each time I deploy new code I do it manually. :(Stig Christensen Telefon:+45 77 30 91 23__BankInvest Gruppen, Sundkrogsgade 7, Postboks 2672, 2100 København

Read Time Out?

2006-06-02 Thread nancy
Hi, I am using axis 2 for implementing my web service client.whenever I invoke the webservice,I get error: Read Time Out I have set options.setTimeOutInMilliSeconds(1000*60*60*60); in client but then also error is occurring. Caused by: java.net.SocketTimeoutException: Read

ApacheCon EU 2006 - Secure Web Services with Apache Axis2 and Apache WSS4J

2006-06-02 Thread Ruchith Fernando
Hi All, Want to find out how to secure Apache Axis2? Apache Rampart as the ideal module for the job !!! If you are anywhere near Ireland on the 26th of June or really want to know how it all works, come on over to ApacheCon EU 2006 where I will be presenting a tutorial on Secure Web Services

Re: [axis2] problem with Userexception and AxisFault

2006-06-02 Thread studium-sbr
Thanks Ali for your comments. But in my case I do not use WSDL and code generation for stubs and skeletons. I wrote my service by hand. All works fine except the ErrorHandling I have to configure. Any other suggestions concerning the UserException and AxisFault issue depicted below?? Bille

Re: [axis2] How to write the implementation class

2006-06-02 Thread studium-sbr
Hi Dave, another hint concerning DataBinding; have a look at this Howto: http://ws.apache.org/axis2/1_0/adb/adb-howto.html HTH Bille -Ursprüngliche Nachricht- Von: axis-user@ws.apache.org Gesendet: 02.06.06 02:20:26 An: axis-user@ws.apache.org Betreff: [axis2] How to write the

[Axis2 1.0][Sandesha2] Problem connecting server RMSampleService

2006-06-02 Thread Mancinelli Elodie
Hello Tools use: Axis2 1.0, Sandesha2 1.0 and apache-tomcat-5.5.15 I'm trying to use the User guide example with the client UserguideClient.java in sandesha2 1.0-bin.zip. I use the RMSampleService.aar given in the Sandesha2-1.0-bin.zip. When I launch the client, it could never get a

Read time out?

2006-06-02 Thread nancy
Hi, I am using axis 2 for implementing my web service client.whenever I invoke the webservice,I get error: Read Time Out I have set options.setTimeOutInMilliSeconds(1000*60*60*60); in client but then also error is occurring. Caused by: java.net.SocketTimeoutException: Read

Re: [axis2] design issues on client authentication

2006-06-02 Thread Ruchith Fernando
Hi Bille, How about using rampart module to enable UsernameToken authentication on that particular service. This will force all your clients to send requests with a UsernameToken. With this approach you can limit your configurations to the service only. If you use a plain text password with the

Re: Need help with eclipse code generator plugin - generate WSDL from java

2006-06-02 Thread Mark Pitts
I downloaded a binary version of the axis plugin. Are you suggesting that the eclipse plugin needs to be recompiled using jdk 1.5? Thanks, Mark --- Deepal Jayasinghe [EMAIL PROTECTED] wrote: As I can understand ,you have compile code the codes in JDK1.5 and try to run in JDK 1.4 Mark

Re: [axis2] design issues on client authentication

2006-06-02 Thread studium-sbr
Hi Ruchith, thanks for your advice. I read about rampart (WSS4j) but didn't get in too deep. Using plain text password isn't suitable for my goals. As I said, this password could be directly accessed by other parties, who should definitely not use my service. I thought about using a combination

[Axis2] module design issue

2006-06-02 Thread Michele Mazzucco
Hi all, I would like to redirect client requests (eventually because the target node doesn't provide the required service), so I need to intercept them through a message handler. client (handler - pretended target) real target (i.e. the node providing the service) Could anybody of

Re: unable to get soap header in Axis2

2006-06-02 Thread Håkon T Sønderland
Gopal Patwa wrote: Axis2 0.95 on Tomcat 5.5, even I tried using wsdl from source /axis2/modules/codegen/test-resources/headers.wsdl and generated server code form WSDL2Java and included headers.wsdl in service archive, it read the wsdl but still has same result no soap header. This is still

Re: Multiple methods in RPC-based service

2006-06-02 Thread GOBE HOBONA
I have placed the source at the following URL http://www.students.ncl.ac.uk/g.e.hobona/rsrc/project001.zip It's only about five or so classes and the entry point is CatalogueService.java Gobe From: Deepal Jayasinghe [EMAIL PROTECTED] Reply-To: axis-user@ws.apache.org To:

Re: [Axis2 1.0][Sandesha2] Problem connecting server RMSampleService

2006-06-02 Thread Charles Souillard
Hi all, I am trying to use the same example. I am encoutering the same problem. I have also caught the http request inside tcpmon. You can find it hereafter : POST /axis2/services/RMSampleService HTTP/1.1 User-Agent: Axis2 SOAPAction: http://schemas.xmlsoap.org/ws/2005/02/rm/CreateSequence

Re: [Axis2] module design issue

2006-06-02 Thread Martin Gainty
Good Morning Michele I would suggest the use of a filter as in this crude example JSP - ServletFilter - those items that are 'validated' - AxisService I found this White Paper from Sun to be a good resource http://java.sun.com/products/servlet/Filters.html Thank You, Martin --

Re: Axis2 with Kodo JPA

2006-06-02 Thread Martin Gainty
Good Morning James- Just a thought but I usually find classes identified externally thru a properties file which are incorrectly pathed or non-existent cause this situation I would take a look at META-INF/jdo.properties and make sure all your classes are configured correctly-paying

Problems with Axis2

2006-06-02 Thread aliban
Hi, I am trying to use axis2 in my eclipse plugin with the JDK 1.5 I generated a stub and a callback handler of a WSDL with the WSDL2Jave eclipse plugin. I tried to use the auto-generated classes both ways: callback and direct calling a function. However nothing *happens*, the plugin/eclipse

RE: [axis2] How to write the implementation class

2006-06-02 Thread Dave Hoffer
Deepal, Thanks for the reply and link it is very helpful! Regarding this approach I have a couple of questions. - Is there any rules/requirements of the POJO's, such as, can the methods return other custom Java objects? Can the methods throw Exceptions? Is there any need to make these objects

Re: [Axis2] module design issue

2006-06-02 Thread Michele Mazzucco
Hi Martin, thanks for your reply. My concern is, how can you access the SOAP message content from a filter? Thanks, Michele Martin Gainty wrote: Good Morning Michele I would suggest the use of a filter as in this crude example JSP - ServletFilter - those items that are 'validated' -

Re: Problems with Axis2

2006-06-02 Thread studium-sbr
Hi, the easiest way to initialize Log4J; put this line in the main() of your client: org.apache.log4j.BasicConfigurator.configure(); All the log-output then is given to the console. HTH Bille -Ursprüngliche Nachricht- Von: axis-user@ws.apache.org Gesendet: 02.06.06 14:29:57 An:

Re: [axis2] design issues on client authentication

2006-06-02 Thread Reshef Roy
Hi Bille, Ruchith. I was facing more or less the same issue. I have a Webservice and a client application which should access it securely. I am using rampart and WSS4J, and am using a *keystore* in a similar way to that of the security sample of Axis2 1.0. One thing troubled me though - the

Re: Problems with Axis2

2006-06-02 Thread aliban
Hello, thank you for the tip. However the thing still does not work and I still get: Unhandled event loop exception Reason: java.lang.NullPointerException I think the log question was not the main issue. Any idea how using the classes creadted by WSDL2Java can cause this problem? [EMAIL

[Axis2] How get IP address of client

2006-06-02 Thread Roman Weidlich
Where is the (remote) IP address of the service invoker located? ConfigurationContext ? - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

[Axis2] pls help about sending XML file -- enclosing in the SOAP message vs. attachment?

2006-06-02 Thread Jenny ZHANG
Hey all, My project asks for server and client to exchange policy file (in the format of XML). By exchanging, I mean Server side reads the policy file sent by Client, and tell whether it is acceptable or not, if not, then Server respond with reasons (also in the format of XML) to Client. I

CORBA UNKNOWN 1398079690 exception

2006-06-02 Thread Roy
Hi,I have implemented an EJB method that returns a complex object (it has 2 strings, 2 long variables ). I have declared this in the deployment.wsdd When i try to call this method i get the following message. I use Sun application server 8.1: I give the full exception stack because i don't know

RE: Axis 2 example web service fails

2006-06-02 Thread Scudder, Jeffrey W
Hi Kinichiro, Thank you for the idea, but I'm afraid it made no difference. -Jeff -Original Message- From: Kinichiro Inoguchi [mailto:[EMAIL PROTECTED] Sent: Thursday, June 01, 2006 9:37 PM To: axis-user@ws.apache.org Subject: RE: Axis 2 example web service fails Jeff, Seeing your

Re: ApacheCon EU 2006 - Secure Web Services with Apache Axis2 and Apache WSS4J

2006-06-02 Thread B R
For those who can't make it to ApacheCon, can you make slides/sources available if possible? :-) Thanks, Bhaskar On 6/1/06, Ruchith Fernando [EMAIL PROTECTED] wrote: Hi All, Want to find out how to secure Apache Axis2? Apache Rampart as the ideal module for the job !!! If you are anywhere

Re: Axis Compiler Support Jikes Javac Gcj

2006-06-02 Thread Michael Schwarz
Switched to jikes. Just goes to show, you need to look at the source. I assumed that I could nominate any compiler class directly in axis.Compiler, not realizing that it had to be an instance of org.apache.axis.component.compiler.AbstractCompiler, which, of course, the eclipse compiler class was

Re: [axis2] design issues on client authentication

2006-06-02 Thread Reshef Roy
Sorry Bille but I don't really understand what you are looking for... The database connection works for all Intranet application, they can in principle all access the database. If you are talking about extranet or internet clients, then if you want your service to to be called from everywhere

[Axis2] MTOM

2006-06-02 Thread Hoda Nadeem
Does anybody know of a sample WSDL for MTOM that is not WSDL 2.0? I am getting an error with my test MTOM WSDL (2.0) using WSDL2Java with Axis 2. I have used the following constructs: In wsdl types: element name="XMLDataPayload" xmime:expectedContentType="text/xml"/ In wsdl

org.xml.sax.SAXException: Processing instructions are not allowed

2006-06-02 Thread eliza_222
I have attempted to add Axis to my own webapp, per the installation instructions. The necessary libraries are present and the servlet declarations are in the web.xml. I can run the admin client using the axis web application url and receive the expected results. But when I attempt to run the

Re: [axis2] problem with Userexception and AxisFault

2006-06-02 Thread studium-sbr
Sorry for putting up the thread again, I did not manage to solve the problem. Could someone please be so kind and provide some working code with the service throwing an userException, which is send back to the client with all the details and messages set while instantiating the Exception. I did

RE: using autogeerated code when i need to use actual impl

2006-06-02 Thread James Armstrong
Hi, I am using ant wsdl2java task and than deploying code to tomcat 5.x. the WS impl uses a class with several protected methods to generate objects that the WS will send back to the client. The problem is: when I use wsdl2java and deploy, the autogeneration facility strips out all but public

Re: [axis2] problem with Userexception and AxisFault

2006-06-02 Thread Davanum Srinivas
Bille, Please open an issue - http://issues.apache.org/jira/ with your custom code for throwing an exception. thanks, dims On 6/2/06, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: Sorry for putting up the thread again, I did not manage to solve the problem. Could someone please be so kind and

Re: [Axis2] Nightly build

2006-06-02 Thread Davanum Srinivas
woohoo! thanks, dims On 6/1/06, Ken Campbell [EMAIL PROTECTED] wrote: Hi, Having had problems with the 1.0 release and XmlBeans, I left it alone and returned to 0.95. I'm really happy to find that the problems have been resolved in the current nightly build and I was able to upgrade my

Re: [Axis2] MTOM

2006-06-02 Thread Davanum Srinivas
Nadeem, Yes, we need to fix this - Please log a bug report - http://issues.apache.org/jira/ thanks, dims On 6/2/06, Hoda Nadeem [EMAIL PROTECTED] wrote: Does anybody know of a sample WSDL for MTOM that is not WSDL 2.0? I am getting an error with my test MTOM WSDL (2.0) using WSDL2Java

Re: Return Type

2006-06-02 Thread Davanum Srinivas
Try: setProperty(org.apache.axis.client.Call.SEND_TYPE_ATTR, Boolean.TRUE); -- dims On 6/1/06, Jeffrey Ng [EMAIL PROTECTED] wrote: Hi, Sorry all, I am really at my wits end… look thru everywhere but just can't seems to find my answers… I am trying to get a SOAP response

Re: [Axis2] FireAndForget and Thread.sleep()

2006-06-02 Thread Davanum Srinivas
Could u please open up an enhancement request with your sample code? http://issues.apache.org/jira/ thanks, dims On 6/1/06, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: Hello! I'm using fireAndforget() operation to send one-way SOAP messages. Is there any way to get along without using the

Re: SOAP Literal style and nillable fields

2006-06-02 Thread Davanum Srinivas
Please hand edit the wsdl after you generate it. thanks, dims On 6/1/06, Daniel Destro [EMAIL PROTECTED] wrote: Hi all, Since I started using LITERAL style to generate my WSDL and then Skeleton classes, I can not use nillable fields. Instead of Long, Integer (classes) I get long and integer

Re: SOAP Literal style and nillable fields

2006-06-02 Thread Daniel Destro
This sounds stupid.ThanksOn 6/2/06, Davanum Srinivas [EMAIL PROTECTED] wrote: Please hand edit the wsdl after you generate it.thanks,dimsOn 6/1/06, Daniel Destro [EMAIL PROTECTED] wrote: Hi all, Since I started using LITERAL style to generate my WSDL and then Skeleton classes, I can not use

Re: axis2 servlet, trouble generating wsdl

2006-06-02 Thread Davanum Srinivas
Jen, weird. That would qualify for creating a new bug report. http://issues.apache.org/jira/ thanks, dims On 6/1/06, JJC [EMAIL PROTECTED] wrote: Hi Deepal, There seems to be additional problems with service deployment that I don't quite understand - 1) From the first message below I have

WSDL-First (Re: SOAP Literal style and nillable fields)

2006-06-02 Thread Davanum Srinivas
When you use java2wsdl it's a best efforts atab at trying to create something that you can start with. So once you have that, you can tweak it to you hearts content and check it into your source repo. From then on you need to start from the tweaked wsdl. thanks, dims On 6/2/06, Daniel Destro

[AXIS2] encryption issues

2006-06-02 Thread Anamitra . Bhattacharyya
Hi I am trying to test the Axis 2 WS Security features and I have engaged the rampart module. I have tested the signature and the usernametoken profile so far but having issues with the Encrypt action. I have 2 key stores one for the client and another for the server. I have added the server

Tomcat5.5+Axis

2006-06-02 Thread Sidney Senna
Tomcat5.5+Axis This combination functions correctly? i have problems with Tomcat5.5+Axis1.0 regards - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Axis+64bits

2006-06-02 Thread Sidney Senna
Are there problems with Axis + 64Bits processor regards - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

RE: running into a snag

2006-06-02 Thread James Armstrong
Hi, Set-up: WS impl consisting of 3 methods: public Entry[] getEntries(Calendar startDate, Calendar endDate) public Category[] getCategories() public Entry[] getEntryOverrides(Calendar startDate, Calendar endDate) On the client-side, Category is a complex object capable

Re: org.xml.sax.SAXException: Processing instructions are not allowed

2006-06-02 Thread Jeff Greif
The appearance of the crimson parser in your stack trace suggests that the better and more up-to-date xerces parsers are not being found in your classpath. Please review the installation instructions to ensure that you've installed the proper version of xerces. See if the problem reoccurs after

RE: Axis 2 example web service fails

2006-06-02 Thread Scudder, Jeffrey W
Hi all, I finally got my client to work by changing the underlying mechanism to send the message to the server. I was operation on a HTTP connection making a POST request in my previous examples. I decided to see if I could get the system working by using the Axis2 ServiceClient class to make the

Re: Problems with Axis2

2006-06-02 Thread Martin Gainty
dont forget log4.properties must be on the classpath -- Viel Gluck, Martin -- This email message and any files transmitted with it contain confidential information intended only for the person(s) to whom this email message is addressed. If you have received this email message in error, please

Re: ApacheCon EU 2006 - Secure Web Services with Apache Axis2 and Apache WSS4J

2006-06-02 Thread Ruchith Fernando
Sure :-) Thanks, Ruchtih On 6/2/06, B R [EMAIL PROTECTED] wrote: For those who can't make it to ApacheCon, can you make slides/sources available if possible? :-) Thanks, Bhaskar On 6/1/06, Ruchith Fernando [EMAIL PROTECTED] wrote: Hi All, Want to find out how to secure Apache Axis2?

Re: [AXIS2] encryption issues

2006-06-02 Thread Ruchith Fernando
Hi Anamitra, The problem is that you don't have the bouncycastle JCE provider set at the server side and it uses the default (SUN) JCE provider. Where have you hosted the service? If it is Apache Tomcat please try adding the bcprov-jdk15-132.jar (since you are on JDK 1.5) into the lib dir of