Soap mustunderstand attribute : SimpleAxisServer

2003-12-01 Thread Ravindra Sharadchandra Godbole
Hi I wanted to invoke simple method using SimpleAxisServer. This method is invoked fine when used without soapenv:mustUnderstand attribute. But when I add this attribute to the header, I was expecting that method wont be called as server can not understand the security related attributes ( which i

Re: Limiting Max Number Of Concurrent Requests

2003-12-01 Thread Rodrigo Ruiz
AFAIK, no mechanism is implemented in Tomcat to limit the number of concurrent requests for a specific request. I think your only option is to implement a Semaphore mechanism to control the max number of requests executing your service. Once implemented, you could have something like: public cl

Java Interfaces

2003-12-01 Thread Yves
Hi, I'm using JBuilder 9 Ent. Which, of course, comes bundled with Axis, as it supports SOAP. I'm getting the hang of using WSDL, SOAP on web interfaces but my Java programming capabilities are limited. I'd like to know if anyone knows of a place where I can download sample/example Java web apps (o

Re: Java Interfaces

2003-12-01 Thread Chandrasegaram Jeyakumaran
Hi, I think you just want to know how to use webervices and codes related to it.(Isn't it?). I think to start with, better go in to the apache axis directory and download the userguide samples there. (They are very easy samples to start.) Every thing is explained in the axis userguide. wishes.. r

Re: Java Interfaces

2003-12-01 Thread Yves
Hmmm, thanks, but that's not exactly it, basically, I'm just looking for a working example of an actual application. JBuilder 7 came with an IP Works SOAP example that converts national currencies- it doesn't work with JBuilder 9. So that's basically what I'm looking for: an application using SOAP

'java.lang.exception FIXME' while deploying a WebService

2003-12-01 Thread Arne Wolf Kösling
Hi ! I've got a problem with Axis 1.1 and any (makes no difference, if its 1.4.29 or 5.x) Tomcat Version. :-( Ive made a wsdd file for deployment. the syntax of that file is correct, i am pretty sure, because i took an example of a webservices book and it has only 5 lines. i placed my class in the

Remote method with no arguments?

2003-12-01 Thread Daniel Leivers
Hi I’m trying to call a remote method which takes no arguments however I have found no way to do this other than to pass a variable which never gets used (i.e. in the code below I am passing an empty string to the method). I have tried using call.invoke(); but I get a null pointer error. A

Re: Java Interfaces

2003-12-01 Thread Guillaume Sauthier
Try www.xmethods.net There is a lot of webservices examples ... Regards Guillaume

Dynamic service deployment?

2003-12-01 Thread Lachezar Dobrev
Hello group. I am implementing a Soap gateway to a JRMP service server. The server has an always-bound service, that is responsible for authenticating the remote users. Upon successful login the server object instantiates and exports a worker object of a specific type: public interface

Dynamic service deployment?

2003-12-01 Thread Lachezar Dobrev
Hello group. I am implementing a Soap gateway to a JRMP service server. The server has an always-bound service, that is responsible for authenticating the remote users. Upon successful login the server object instantiates and exports a worker object of a specific type: public interface

How to control access to certain fields in a bean map.

2003-12-01 Thread pratibha dadegaonkar
Hi I have a bean class wherein i have the details like address id, place, state and all info. In the address class, i have get,set methods for all fields but the id has only get method. Id can be set only using the constructor. The end user i.e. web service user can only access it. I have

helper classes

2003-12-01 Thread Alex Harvey
I asked this question last week but didn't get a response. Perhaps the answer is too obvious but I could really use some help.   I have a message I need to send to a server that contains a custom header for authentication. I've generated my classes with WSDL2Java and created a helper class for the

Re: How to control access to certain fields in a bean map.

2003-12-01 Thread Rodrigo Ruiz
I guess you will not have access at either side of your application. Axis bean serialization / deserialization needs all fields to have setter and getter methods. Bean instances are created through the default constructor (with no parameters), so your ID initialization will not be executed. AF

Database web service: AdminClient

2003-12-01 Thread neil.2.robinson
Title: Database web service: AdminClient Hello, I want to create a simple web service that connects to a database and provides an operation to query this database (and return the results). However, the first operation of the web service is to connect to the database. I have tested this code

Re: Database web service: AdminClient

2003-12-01 Thread Michael Mangeng
Hi Neil The default URL the AdminClient uses to connect to the AxisServlet is: http://localhost:8080/axis/servlet/AxisServlet If you use another port/url you have to specify this with the -l attribute. e.g.: java -cp . org.apache.axis.client.AdminClient -lhttp://localhost/myApp/servlet/AxisServle

security

2003-12-01 Thread Tony Vieitez
Hi Can anyone tell me how to enable username and password on the AxisServlet? I am accessing the servlet like this: java org.apache.axis.client.AdminClient -l http://localhost/myApp/servlet/AxisServlet list and I want to set up the servlet so that a username and password is needed to access it.

soap over tcp

2003-12-01 Thread Srilekha Mudumbai
Group, This is what I am trying to do and I am unable to read the last line of the SOAP message. on the client side SOAPMessage msg; //created and loaded with contents msg.writeTo(socket.getOutputStream()); socket.getOutputStream().flush(); - on the server side - SOAPPart sp //

Re: soap over tcp

2003-12-01 Thread Aaron Hamid
Do you know if is ever emitted on the client? For debugging purposes, read the stream entirely into a byte array and then print the contents out as a string. The parser may either not be getting the final tag (I doubt this, the flush() on client side should send it), OR it may be default have

RE: security

2003-12-01 Thread Ravindra Sharadchandra Godbole
Tony Are you planning to use HTTPAuthenticaion or soap message level authentication ? - Ravi -Original Message- From: Tony Vieitez [mailto:[EMAIL PROTECTED] Sent: Monday, December 01, 2003 9:23 PM To: [EMAIL PROTECTED] Subject: security Hi Can anyone tell me how to enable username an

Server-Config and SOAP Header

2003-12-01 Thread PILLAI,RANJITH (HP-PaloAlto,ex1)
Hi, I have a WSDL file where I have to explicitly show required SOAP Header Elements. It's fine if I invoke my WSDL file directly. But after I add these entries in Server-Config, the resulting WSDL fails to show the required SOAP Header Elements. How do I add this into Server-Config so that when

multi language support in Axis

2003-12-01 Thread Shah, Soniya M.
Hi All, I had posted this before but did not get a positive answer. Theoritically it should work. Is anyone using SOAP (with Axis) in a language other than English? Thanks, Soniya -Original Message- From: Shah, Soniya M. Sent: Tuesday, November 11, 2003 1:34 PM To: '[EMAIL PROTECTE

RE: multi language support in Axis

2003-12-01 Thread Samir Shaikh
Soniya, I am using axis for US and European languages, it works well. thanks, Samir -Original Message- From: Shah, Soniya M. [mailto:[EMAIL PROTECTED] Sent: Monday, December 01, 2003 10:32 AM To: '[EMAIL PROTECTED]' Subject: multi language support in Axis Hi All, I had posted this be

RE:Security

2003-12-01 Thread tony vieitez
Hi Ravi   I'm not sure what the difference is! I currently have axis installed as a web application on Tomcat, and I have implemented a security constraint in the web.xml file for the axis web app, but when I try to run the AdminClient with the remote AxisServer, I get a 401 permission de

Re: name='sendXsiTypes' value='false' does not work for int ?

2003-12-01 Thread Dimuthu Leelarathne
Hi Jorg, I had the same problem in a different context. I had set call.sendXsiTypes(false) in a wrap\literal client. This didn't work for integers - i.e. client send xsi types for integers. It worked fine for String values - i.e. it didn't send xsi types for strings. Later I discovered the proble

RE:Security

2003-12-01 Thread vairamuthu thayapavan
hi Tony in the HttpAuthentication u can use http header element to pass the authentication information and u can use the HttpServletRequest methods to get the user name and the password. but in the soap message level authentication u need to deserialize ur message to get the password. in ur case