RE: Classpaths for WSDD

2004-08-01 Thread Srinath Perera
If the Admin client say deployment succsessful but the service has not deployed (have not added to the server-config.wsdd) file the reson may be the class given by the wsdd is not in the classpath. (copy the class in to the Axis before you try deployment.) try and let us know :). If that is the cas

Re: Really need your help with AXIS error: No deserializer defined f or array type {http://www.w3.org/2003/05/soap-encoding}string

2004-05-21 Thread Srinath Perera
> Could you provide me with the syntax or point me in the direction of some > resources? Axis user guide is having a example show how to add type mapping at the wsdd. (see ws.apache.org/axis then link to uesr guide) then serach for "Arbitrary Objects without Pre-Registration" :) hope this helps

RE: Using tcpmon to monitor web conversation

2003-12-21 Thread Srinath Perera
Hi Oliver; how tcpmon work is it listen to a port then read what come to the port and print them and direct them to other port. just say you have web server at 80. then set the tcpmon to listen a random port and set the tcpmon to send the rquest to 80. than send your browser request to the

RE: Bug? Stateful Session EJB support

2003-12-04 Thread Srinath Perera
yap; even the JSR109 (Webservice's for J2EE) spec allow espose only the stateless EJB as web services. Does axis supporting statefull beans as well. Srinath On Thu, 2003-12-04 at 21:24, Ekbote, Niranjan wrote: > Has Axis started supporting "Stateful" session beans? I thought for the EJB > prov

Re: Exposing ejb stateless beans as Webservices

2003-11-17 Thread Srinath Perera
Hi Pradeep; To the best of my knowladge there is not such tool so far. But such tool is under dervelopment as a JSR109 impl with geranimo. more info please see http://nagoya.apache.org/wiki/apachewiki.cgi?JSR109Proposal it will take some time for that to avalible. Until then try to use EJB provi

Re: java.lang.reflect.InvocationTargetException, Server.userException?

2003-11-06 Thread Srinath Perera
sounds like it is at the client side, Check all the get set methods of your beans exists. hope this helps Srinath On Thu, 2003-11-06 at 21:53, Christopher A. Brooks wrote: > Hi, > > I built a webservice, deployed it into tomcat/axis with no problems, but > when I try to consume the web servic

RE: Method overloading

2003-11-06 Thread Srinath Perera
Hi Srinivas; Personally I belive do not rely on the method overloading is better. Axis does support method overloding but WSDL1.2 does remove it and support for the method overloading might disapper form axis in the future. (IMO)Web service is exposing a interface but not exposing All OOP conc

Re: Parameter base class

2003-11-06 Thread Srinath Perera
Hi Jonathan; To me this is impossible. If you derived the class A from B. You have to specify B in the WSDL (Schema). (hope I haven't miss understood you) Srinath On Thu, 2003-11-06 at 17:27, Jonathan Melvin wrote: > I would like the java objects I am returning from a webservice to be > derived

Re: JSR 109 implementation for Apache

2003-10-23 Thread Srinath Perera
nds interesting. Is the code available somewhere for us to look at? > > On 10/22/03 5:41 AM, "Srinath Perera" <[EMAIL PROTECTED]> > wrote: > > > Hi Dims, > > > > we agree the changes to axis should be minimal (preferably no changes.) > > > >

Re: JSR 109 implementation for Apache

2003-10-23 Thread Srinath Perera
nto account the jaxrpc mapping file. After dev, this > tool should be integrated/used into JOnAS as well as Geronimo... > > What do you think ? > > Regards > Guillaume > > > Srinath Perera wrote: > > > > Hi Dims, > > > > we agree the changes to axis s

Re: JSR 109 implementation for Apache

2003-10-22 Thread Srinath Perera
e > done in > geronimo with minimum changes to axis itself. Since there needs to be tight > integration with > Geronimo and the target is to provide a 109 impl for geronimo. > > Thanks, > dims > > --- Srinath Perera <[EMAIL PROTECTED]> wrote: > > Hi All, &g

Re: JSR 109 implementation for Apache

2003-10-22 Thread Srinath Perera
Hi All, There is a wiki proposal page created for the JSR109 implementation. it can be found by url http://nagoya.apache.org/wiki/apachewiki.cgi?JSR109Proposal Srinath

Re: do not use server-config.wsdd but another one

2003-10-13 Thread Srinath Perera
Hi Do not know a graceful method to do it, yet this is the place org.apache.axis.configuration.EngineConfigurationFactoryServlet that has the logic of loading the config file. If u do not get other option may be worth trying change the logic to get the param at the place rather than use just "W

Re: Turning off multirefs

2003-10-06 Thread Srinath Perera
Hi Doran I belive the global parameter at the server-config.wsdd should do the trick. it was called "sendMultiRefs" have a look at the wsdd in the org.apache.axis.server(classpath) Srianth On Tue, 2003-10-07 at 00:47, Doron Rosenberg wrote: > Is there a way to do this (disabling multirefs) at t

Re: Per client instantiation

2003-10-04 Thread Srinath Perera
Hi Antonio   read about the scope parameter given for the service in the wsdd file. using it u can control the creation of service obj.   hope that helps   regards   Srinath - Original Message - From: Antonio Morales To: [EMAIL PROTECTED] Sent: Saturday, October 04, 20

Re: EJB/SOAP/WEB Architechture

2003-10-02 Thread Srinath Perera
Hi Asier sounds good. If am right this is what the JSR109 from jcp defined. there are lot of statndreads define to do this i JSR 109 spec regards Srinath On Thu, 2003-10-02 at 16:32, Asier Murciego wrote: > Hi! > > > > I’m designing a simple architecture prototype for my university. The

Re: Serializing a SOAPEnvelope

2003-09-30 Thread Srinath Perera
Hi Ric try this Writer w = new Writer(); //create some kind of writer org.apache.axis.encoding.SerializationContest sc = new org.apache.axis.encoding.SerializationContestImpl(w); SOAPEnvelope env = new SOAPEnvelope(); env.output(sc); if the content (object value for your SOAPEnv

Re: The AXIS engine could not find a target service to invoke! targetService is null

2003-09-26 Thread Srinath Perera
Hi Sunnay does your endpoint uri is right means is it like http://host:port/axis/services/ e.g. http://127.0.0.1:8080/axis/services/Calculator hope this helps. Srianth On Fri, 2003-09-26 at 17:25, Sunil Iyengar wrote: > Hi Axis Users, > I am currently using axis in a tomcat and jsp environmen

Re: SerializationTester: Why would an object fail?

2003-09-26 Thread Srinath Perera
Hi Findlay I think you should be more specific on what you want to do. If Company is bean it can be serialized but you should registor it with a BeanSerializer in the client/Server. regards Srinath On Fri, 2003-09-26 at 23:20, Adhamh Findlay wrote: > Hello, > > I'm fairly new to this world o

Re: SAX Only

2003-09-26 Thread Srinath Perera
t absolutely requires the DOM parser and > cannot be SAXified ? > > Thanks, > > Simon > > Srinath Perera wrote: > > Hi > > > > among other thing the wsdd package depends on the DOM parser so the > > deployment reqiure DOM parser to be in the class path. But

Re: SAX Only

2003-09-26 Thread Srinath Perera
Hi among other thing the wsdd package depends on the DOM parser so the deployment reqiure DOM parser to be in the class path. But the desiralization work without help from DOM parser Am not sure am this answers your Q. hope this help Srianth On Fri, 2003-09-26 at 12:17, Simon Bretin wrote: >

RE: EJB provider and JSR109

2003-09-23 Thread Srinath Perera
cently) if you want to generate wsdl? > for the web-service thus deployed. > > Do not know JSR 109, Shmuel Koller > > -Original Message- > From: Srinath Perera [mailto:[EMAIL PROTECTED] > Sent: Friday, September 19, 2003 5:43 AM > To: [EMAIL PROTECTED]; [EMAIL P

Re: can "address location" be flexible?

2003-09-23 Thread Srinath Perera
Hi Rob In genarated classes when u called get() there is a method with get(url). e.g. public com.bookshop.soap.AmazonSearchPort getAmazonSearchPort() is what we are using yet there is a public com.bookshop.soap.AmazonSearchPort getAmazonSearchPort(java.net.URL portAddress) as

Re: Statefull service with axis

2003-09-23 Thread Srinath Perera
Hi Piero There is a scope parameter given in the WSDD if tou need there are three scopes Application - only one instance is used all the time Session - new instance for each session request - new instance for each request Hope this helps Srinath - Original Message - From: "Piero

Re: Bypass Service

2003-09-21 Thread Srinath Perera
Hi Richard I am strongly belive that doing so . changing the execution flow by the handlers is against axis semantics. what u need to do is sounds like caching..(the context of the caching is "n this case, only when the reply message is not ready, the service will be ca

Re: WSDL to HTML documentation generator

2003-09-21 Thread Srinath Perera
it, > possibly, depending on what your expectations are. > > -danch > > Srinath Perera wrote: > > Hi Pablo > > > > it is possible. (answer depend on what type of doc u r expecting .. yet > > theoritically if you can exact the information from the wsdl u ca

EJB provider and JSR109

2003-09-18 Thread Srinath Perera
Hi All Am looking at the JSR109 spec. I see that the axis has EJB provider with it. I want to know does EJB provider gives the minimal functionalty or is it powerful enough to supply the EJB functionalities the JSR109 speaks about. I am only started with it. But to continue it will be very help

Re: WSDL to HTML documentation generator

2003-09-18 Thread Srinath Perera
Hi Pablo it is possible. (answer depend on what type of doc u r expecting .. yet theoritically if you can exact the information from the wsdl u can genarate the document u need we know there is a mechanisum to get this information as wsdl4j exists :) ) I do not know abut is there a one alre

Re: settting soapaction

2003-09-06 Thread Srinath Perera
Hi abhijat if u using the Service, Call interface (SDI am I right )to send the request you can use setSOAPAction() method on the call. If u are using the stubs genarating fro the wsdl file using wsdl2java then go to *Stub class and do a serach on "setSOAPAction" you can find palces the SOAP act

The desialization problem at the Client (engine go to top and start desirialization agien)

2003-09-05 Thread Srinath Perera
in case somebody need it give a idea) ( sorry for the mess below if somebody can help I send the file as attachment) == import javax.xml.namespace.QName; import javax.xml.rpc.ParameterMode; import org.apache.axis.client.Call; import org.apache.axis.cli

Re: Where do axis w.s. execute?

2003-07-31 Thread Srinath Perera
Hi Perry usally axis does not run from the tomcat webapps dirctory. we add new context to the tomcat called axis by putting axis.xml into tomcat webapps. (sure you can run it by coping to the webapps at the tomcat but then u should not have that axis.xml .?? do u have it or not ) hope this

Re: How to deploy as a standalone server?

2003-07-29 Thread Srinath Perera
Hi Adhamh there is a class called org.apache.axis.transport.http.SimpleAxisServer there is a main method too. if u run the main the axis will start on port 8080. to start in other port (I haven done it with main method ) create new SimpleAxisServer obj and set a socket in to it and call that obj

Performence monitoring tool

2003-07-28 Thread Srinath Perera
Hi All I want to monitor the axis performence with diff service. Are there any perormence monitoring tool ect or should I write something with java clock thanks for your time. regards Srinath

Re: Firewall / CVS Access

2003-07-24 Thread Srinath Perera
Hi All I was behind a firewall and I downloaded cvsgrab and it is working Thanks for help. I need to create a patch for the submit. Anybody knows how to do it with cvs grub. (How should I use diff command, I do not know much about those things.) Thanks for your time Srinath On Wed, 2003-07-

Re: How to disable sending xsi types in Axix 1.1 client?

2003-07-23 Thread Srinath Perera
Hi try this engine.setOptions(AxisEngine.PROP_DOMULTIREFS,new Boolean(boolean)) at org.apache.axis.client.AxisCilent constructor will turn off the multiref. Try to do it for xsi. else try with client-config.wsdd change setting. Sorry not given a concreate answer. regards Srinath On Wed, 2

Re: SimpleAxisServer

2003-07-23 Thread Srinath Perera
Hi Darie yah once you have called start it will create a server listen on 50020 ! what you should do is direct the HTTP SOAP request to the that port. You can use usual client (See user guide samples in samples eg 2,3) change the end point url. you can give your deployment info by editing server

Re: Multirefs

2003-07-22 Thread Srinath Perera
ializationContext basis via > >context.setDoMultiRefs(false); > > Sorry, don't know how to do it via WSDD. Hope this helps. > > Brian > > Srinath Perera wrote: > > > Hi reinhard / All > > > > Thanks very much u put me in right track. &g

Re: newbie

2003-07-22 Thread Srinath Perera
Hi Harsh read ws.apache.org and read the user guide. there is part called **Custom Deployment - Introducing WSDD** read from there. will take bit time will worth it. best of luck!!! regards Srinath On Tue, 2003-07-22 at 17:47, Harsh Nagpal wrote: > Hi! > > I'm new to axis. Ive written a cl

Help - The Axis standarad test failed

2003-07-22 Thread Srinath Perera
Hi all I had change the axis source code and need to verify it with run ant tests. It fails. Then I check it for unaltered source code. But it fails too. This cant happen since lot should have gone though the staff before the faliure is as shown in report properties.. junit.fra

Re: SimpleAxisServer deploy a webservice & AxisServlet

2003-07-22 Thread Srinath Perera
Hi harry If u want is to run axis without servlet contanier use main method of the SimpleAxisServer with port as a argument. Then the Axis server is listening. send your request to the that port. then you are there. Srinath for your INFO - Else use create SimpleAxisServer and set a ServerSocket

Re: Newbie

2003-07-22 Thread Srinath Perera
Hi Denero welcome.. The Axis can be said to be the next genaration of Apache SOAP. It much more improved thing. go for axis. regards Srinath On Tue, 2003-07-22 at 17:03, Denero Watz wrote: > I am new to WebServices and planning start with Apache. When I go to > http://ws.apache.org/ I can see li

submitting a patch

2003-07-22 Thread Srinath Perera
Hi All How can I create a patch if I do not have axis project checkout in a cvs client. Am behind a firewall and port 2401 is closed. So I can't check out from cvs.apache.org (At least still am fails tring). 1) Is there any way I can make patch trough net (I don't know) 2) is there any way with

Re: Multirefs

2003-07-22 Thread Srinath Perera
t; You find the description on http://ws.apache.org/axis -> Reference Guide > -> Global Axis Configuration. > > regards > > Reinhard > > Srinath Perera wrote: > > > Hi all > > > > Anybody knows how I can stop axis Client sending multirefs. &

Multirefs

2003-07-21 Thread Srinath Perera
Hi all Anybody knows how I can stop axis Client sending multirefs. Is it server-config.wsdd or there any parameter call on service or call regards Srinath

Re: Simple example of typemapping

2003-07-16 Thread Srinath Perera
Hi andrei you should extends from the Serializer, and Desirializer (in org.apache.encoding i think). Then should create SerializerFactory and desirializerFactory. I will not write lot. see Aixs user giude about beans and custom type mapping. (even though it pretty thin has links to cuple of

Re: Newbie Question: Where to start when no WSDL file provided ?

2003-07-14 Thread Srinath Perera
Hi, have a look at axis user guide, in which there is a example for complex type (about BeanSerialization and custom type mapping.) It has a pointer to associated example. have a look at it regards Srinath On Mon, 2003-07-14 at 15:54, Irial Conroy wrote: > Hi, > > I am trying to talk to a Web Ser

Re: TCPMON Port

2003-07-10 Thread Srinath Perera
Hi I do not think that there is any way that u can listen to all ports. anyhow how tcpmon work is say your Axis (tomcat liten on 8080) then what you do is ask our Axis client to send the message via some other port say . Then u set tcpmon to liten to message at print it and send the mes

Re: custom (de) serializer

2003-07-09 Thread Srinath Perera
examples uses the serializer). and add it to server-config.wsdd by deploy the your example(webservice) with tag to dscibe them. hope this helps. Srinath On Wed, 2003-07-09 at 16:20, Joachim (PROGS) wrote: > - Original Message - > From: "Srinath Perera" <[EMAIL PROTEC

Re: custom (de) serializer

2003-07-08 Thread Srinath Perera
Hi If the (De)Serializers are not mention in the deploymnt discriptor axis can't find it unless you give him this info by hack into src code ect. for more info Axis userguide cutom type mapping part(If am rember correct). It has few samples named to look at. regards Srianth On Wed, 2003-07-

Re: Access to serialization

2003-07-07 Thread Srinath Perera
Hi Tamas, Do not know weather this helps. To serialize the SOAPHeaderElement ect u can use following output(SerializationContext) //create the header ignore SOAPHeaderElement h = new SOAPHeaderElement("www.opensource.lk/axis2", "user"); h.setObjectValue("hemapani");

Re: xml parser problem

2003-07-07 Thread Srinath Perera
Hi Olaf I belive the Axis does not work on **/tomcat/common/endorsed/xercesImpl.jar!** PLS correct me if I am wrong. These staff are for (common) for tomcat to work, axis is a application on TomCat(Remember). What matter is what in WEB-INF. (WEB-INF/lib) axis need XML parser (is it SAX/DOM comp

Re: examples stock doesn't work

2003-07-07 Thread Srinath Perera
Hi It(SAXParser exception) sounds like something wrong with the xml file. am not sure anyway if you have some xml editor try to validate it. It seems ok for me. if get other services fine i belive you cn forget this one. If not get Axis user guide and go through it. I answer since no body ansers

Re: Error deploying WSDD

2003-07-03 Thread Srinath Perera
Hi just a TIP try weather "http://localhost:8080/axis/servlet/AdminServlet".works with your browser. if not you should enable the AdminServlet with editing \webapps\axis\WEB-INF\web.xml. To do this you have to uncomment the servlet mapping for /servlet/AdminServlet. i belive this is your first

Re: newBie's SOS: HTTP Status 404 - /axis/servlet/AdminServlet

2003-07-03 Thread Srinath Perera
Hi The SOAP Monitor is not compiled. you have to compile it before your commnad runs.I belive then it should work. see axis user guide for more info. Srianth On Thu, 2003-07-03 at 12:33, Tom jun wrote: > yes, I copy-pasted the WEB-APPS folder from the Axis directory to > your tomcat directory

Re: Trouble connecting web service in Axis to Oracle DB

2003-07-02 Thread Srinath Perera
dear Chen, Li Am not sure about the oracle exception. one simple things you can try is to try to deploy the service with a wsdd(if need more info look at axis user guide) file rather than using .jws. I grant you nothing. But i feel it worth a try.(when you use the jws it has certain limitaions)

Re: Newbie Question

2003-07-02 Thread Srinath Perera
Hello Arvin I belive you got it right. The thing is for each user define type there should be a serializer and desiralizer registered. thats all. The Axis will go in to it recurviely and take care of that. regards Srianth On Wed, 2003-07-02 at 17:26, Arvin Jay Cando wrote: > Good day. > > I am v

Re: Application/Web Servers supported by AXIS 1.1?

2003-07-01 Thread Srinath Perera
project? > > - Original Message ----- > From: "Srinath Perera" <[EMAIL PROTECTED]> > To: <[EMAIL PROTECTED]> > Sent: Tuesday, July 01, 2003 1:55 PM > Subject: Re: Application/Web Servers supported by AXIS 1.1? > > > > Hello Anne > >

Re: Application/Web Servers supported by AXIS 1.1?

2003-07-01 Thread Srinath Perera
Hello Anne yes you are right if we say Axis 1.1 and java version. the C++ code is underdevelopment and is in apache repositary. **It is still usder developmet** but it can be add to the Apache http server or IIS as a module. (for Apache already done and IIS same thing should be possible.) regar

SOAP intermediatries - explanation

2003-07-01 Thread Srinath Perera
Hi All In soap spec it describes about SOAP intermediatries (with this must understand attrbute ect..) Q) What is an SOAP intermediatrie. is it a soap server ... that the requst is pass from the server to server go to end point and came back. is it a handler ... the message is passed from handl

Re: Stand alone Axis service?

2003-06-26 Thread Srinath Perera
Hi what u ask for is theoritically possible (at least!!!). the axis engine is independent of the TransportListener(The part who recives the request from the web). In the general case a servlet For e.g. in the C++ implemantation this is a apache module or IIS module. if you not going to use a c

Re: One step beyond .jws files

2003-06-24 Thread Srinath Perera
Now you should proceed with write your web service and deploy it with wsdd file. (You can use AdminClient for that.). go to http://ws.apache.org/axis/ and go to user guide. You may start from the middle e.g. Publishing Web Services with Axis may be. Go through it. you will know every thing. Srianth

HTTP tunneling -CVS

2003-06-23 Thread Srinath Perera
I am trying to set up my CVS client to accsess axis source code. Am behind a firewall and the attempt failed saying "SSH http tunneling not supported on port 3128" Can anybody help. Do the HTTP tunneling should enabled in Apache web server to acsess it. (mean adding plugin ect). OR is it ther

RE: Programmatic deployment of services

2003-06-22 Thread Srinath Perera
Dear Steve Am answering ur Thursday, June 19, 2003 2:26 PM posting Am a novice with axies and I do not know about the 1) but i myself also going through those things for few days hope the comment done on your question (see below) helpful. Srinath > > -Original Message- > > From: Steve