Re: MessageContext.setMaintainSession

2002-09-30 Thread Matthias Brunner
On Monday 30 September 2002 18:34, Ricky Ho wrote: > How does the handler detect the incoming request belongs to some > existing sessions ?? (is it assessible via MessageContext ?) And > then throw a SOAP Fault if not. The class which implements the service is loaded in session scope, that mean

RE: Dynamic publishing

2002-09-30 Thread Shankar S
Hi, You are right with regard to your example. But, lets think in this perspective. WS could be used in cases like provding an interface to a very generic and basic information on the web like weather forecast, Forex informatiom, Stocks and exchange of any business information between hetrogenous

RE: Dynamic publishing

2002-09-30 Thread Ricky Ho
SOAP is more an RPC mechanism than a "remote Object" mechanism. I doubt it would be scalable. From the lesson we learnt in EJB, if we shouldn't expose EntityBean, then expose a web service per object instance is even much worse. Rgds, Ricky At 10:48 AM 10/1/2002 +0700, Tuan Le Viet wrote: >

RE: Soap and JRun version 4.0

2002-09-30 Thread Shankar S
Hi, I am sorry...I could not find the .war for AXIS and not SOAP. Thanks, Shankar Shanmugam -Original Message- From: Shankar S [mailto:[EMAIL PROTECTED]] Sent: Tuesday, October 01, 2002 10:53 AM To: '[EMAIL PROTECTED]' Subject: RE: Soap and JRun version 4.0 Hi, Please let me know the

RE: Dynamic publishing

2002-09-30 Thread Tuan Le Viet
Dug, My idea was to have a more OO approach. I'll have a manager which manages lifetime of Account service. Each service will be published when necessary and unpublished when it's no longer needed. This would not be a nightmore for scalability right? Cheers, Tuan -Ori

RE: Dynamic publishing

2002-09-30 Thread Doug Davis
Sorry - missed that, but why would you really want to deploy one service per account? That's going to be a scalability nightmare. Why not just have the account number in a soap header, as a param on an rpc call or even in the URL (ie. http://localhost:8080/axis/services/BankServices?account=

how to registering type mapping..

2002-09-30 Thread Sreekanth Thirunagari
Hi all, i see that we can register custom serializer/deserializer mappings on client side using the call object.. and on server side this can be done through wsdd file. I am wondering if the type registering on client side can also be done through wsdd file ..something like client-deploy.wsdd w

NumberFormatException

2002-09-30 Thread Paul Hunnisett
I am currently trying to build a server specifically for Axis, with a few extra features, in order to provide something of a complete Java web services solution (see www.lombok.org.uk for details). I am, however, stuck in that every time I try to access a service, including the AdminService at de

RE: org.xml.sax.SAXException: No deserializer, problem

2002-09-30 Thread Zhifeng (George) An
Title: RE: org.xml.sax.SAXException: No deserializer, problem Hi, Jian How about a work around, define a class which holds your array, and make the new class a bean. Something like this class Folders {     Folder[] folders;   getter/setter functions } In deployment file, also def

RE: Adding SOAP header in Axis client

2002-09-30 Thread Naresh Bhatia
Title: RE: Adding SOAP header in Axis client I am trying to transmit a SOAP header from my Axis client, but it is not working. Below is the manually modified stub code that tries to add the header to the SOAP message:     Document doc = XMLUtils.newDocument();     Element root = doc.createEle

Adding SOAP header in Axis client

2002-09-30 Thread Naresh Bhatia
Title: Adding SOAP header in Axis client I am trying to transmit a SOAP header from my Axis client, but it is not working. Below is the manually modified stub code that tries to add the header to the SOAP message:     Document doc = XMLUtils.newDocument();     Element root = doc.createElement

RE: Dynamic publishing

2002-09-30 Thread Tuan Le Viet
As I understand, jws is just a java source file. Axis will publish this java class as web service automatically. However, this wouldn't solve my problem as my intention is to create a web service for each instance of the same class. Cheers, Tuan -Original Message-

RE: Dynamic publishing

2002-09-30 Thread Doug Davis
What about deploying (dropping) a jws file - Aixs processes that dynamically. -Dug "Tuan Le Viet" <[EMAIL PROTECTED]> on 09/30/2002 07:59:17 PM Please respond to [EMAIL PROTECTED] To:<[EMAIL PROTECTED]> cc: Subject:RE: Dynamic publishing Grant, It's obviously your solution is a

Re: Dynamic publishing

2002-09-30 Thread Steve Loughran
I agree that dynamic endpoints are handy; .net remoting does it BTW, though that doesnt help. why not look at what the Axis engine is up to and maybe call it directly? Adding an API to do everything seamlessly would be nice. -steve - Original Message - From: "Tuan Le Viet" <[EMAIL PROTE

RE: Dynamic publishing

2002-09-30 Thread Tuan Le Viet
Grant, It's obviously your solution is a feasible work-around. However, as you stated, it's really a big mess. Now I consider switching to GLUE which supports dynamic publishing from the beginning. If you're interested, take a look at http://www.themindelectric.com However, I really

Re: XML ACCEPTOR WEBSERVICE

2002-09-30 Thread Prabhakar Chaganti
An Attachment maybe ... -prabhakar >>>I have to implement a webservice that must accept a XML. Obviously, the >>>first approach is to say that the XML is a simple string. However, I am not >>>sure that's the better option. >>> >>>Have you got some ideas or experiences about how to do it?. If th

RE: MessageContext.setMaintainSession

2002-09-30 Thread Volanis, Alexander
Title: Message Grant,   As the name implies "scope"="session" is the way to enable session tracking in Axis services. It is really up to the client to maintain the session by caching the HTTP cookies returned by the server. Most clients would either do this by default or require a flag to en

Re: Validation fails due to NoClassDefFoundError: org/w3c/dom/DOMErrorHandler, even though xercesImpl.jar is in webapps/axis-rc1/WEB-INF/lib

2002-09-30 Thread Steve Loughran
- Original Message - From: "Mike Spreitzer" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Monday, September 30, 2002 12:43 PM Subject: Re: Validation fails due to NoClassDefFoundError: org/w3c/dom/DOMErrorHandler, even though xercesImpl.jar is in webapps/axis-rc1/WEB-INF/lib > In ca

wsdl2java produces uncompilable code

2002-09-30 Thread Peter Klotz
Hi, I have a given WSDL file and want to generate client stubs and server skeletons for it. The problem is that for whatever reason wsdl2java does not generate code for some types defined in the WSDL. I've browsed the list and tried options without success. Esp. I have specified -all. Please

Re: missing jar file for rc2?

2002-09-30 Thread James Black
Glen Daniels wrote: > You wouldn't, because that class has been removed from the package, as have all >references to it. Are you perhaps using old classes/code? I just installed the jar files for rc2, and when I ran it, I got a NoClassDefFoundError, on this class. So, I got confused. D

RE: missing jar file for rc2?

2002-09-30 Thread Glen Daniels
You wouldn't, because that class has been removed from the package, as have all references to it. Are you perhaps using old classes/code? --Glen > -Original Message- > From: James Black [mailto:[EMAIL PROTECTED]] > Sent: Monday, September 30, 2002 4:03 PM > To: [EMAIL PROTECTED] > Sub

re: missing jar file for rc2?

2002-09-30 Thread James Black
Hello, Where would I find org.apache.axis.encoding.ser.SimpleNonPrimitiveSerializerFactory?

Re: Validation fails due to NoClassDefFoundError: org/w3c/dom/DOMErrorHandler, eventhough xercesImpl.jar is in webapps/axis-rc1/WEB-INF/lib

2002-09-30 Thread Mike Spreitzer
In case you were wonder, adding xmlParserAPIs.jar to the WEB-INF/lib/ does not solve the problem. I repeated my test with the just-announced Axis RC2. That fails in exactly the same way. :-( Mike

Validation fails due to NoClassDefFoundError: org/w3c/dom/DOMErrorHandler, eventhough xercesImpl.jar is in webapps/axis-rc1/WEB-INF/lib

2002-09-30 Thread Mike Spreitzer
I am trying to install and test RC1 of Axis, and am getting a mysterious failure in step 5 "Installation testing" of the installation instructions. The validation servlet complains about an internal server error with root cause "java.lang.NoClassDefFoundError: org/w3c/dom/DOMErrorHandler". But I

Announcing Axis 1.0 release candidate 2!

2002-09-30 Thread Sam Ruby
I'm pleased to announce release candidate 2 of Axis release 1. All unit and functional tests pass with this release. The SAAJ and JAX RPC TCK tests pass. All bugs reported as of this morning targetted for the 1.0 release are resolved in this drop. Pending feedback from people like yourselv

WEBSERVICES SECURITY

2002-09-30 Thread Carlos González
Title: WEBSERVICES SECURITY Hi All! Could you tell me what are the common practices while managing webservices authentication?. Is there something to do with certificates? Thank you very much. Carlos

Call.setUsername/setPassword bug?

2002-09-30 Thread Grant Echols \(JanusLogix\)
I don't know if this is a bug or not, but I've been trying to clear a previously set username/password from a Call object and it seems to make no difference. I'd like to essentially have the 'authentication' process done with and over and have a 'session' established at which point I can quit exch

XML ACCEPTOR WEBSERVICE

2002-09-30 Thread Carlos González
Title: XML ACCEPTOR WEBSERVICE Hi All! I have to implement a webservice that must accept a XML. Obviously, the first approach is to say that the XML is a simple string. However, I am not sure that's the better option. Have you got some ideas or experiences about how to do it?. If the XML i

RE: org.xml.sax.SAXException: No deserializer, problem

2002-09-30 Thread Jian Zhang
I am quite new to Axis and have to finish something today. I am afraid that I won't that much time to use java2wsd. or wsdl2java. I have all the server code and client code, just stuck with passing array of objects back to the client. I found a number of emails asking about this. This should be

Re: MessageContext.setMaintainSession

2002-09-30 Thread Grant Echols \(JanusLogix\)
Just an idea, but if the handler set a property in the session (e.g. session.set(String name, Object value)) then it could check for the existence of this property and act accordingly. I'm doing something like this with a 'login' service right now. Grant - Original Message - From: "Ricky

Re: org.xml.sax.SAXException: No deserializer, problem

2002-09-30 Thread James Black
Jian Zhang wrote: > It seems to me that the Axis picks up the definition of type Folder, but not > Folder[]. > How should I tell Axis about Folder[]? I would suggest that to simplify your life, during the evaluation, use java2wsdl and wsdl2java to create the files, as it can handle arrays of b

Re: MessageContext.setMaintainSession

2002-09-30 Thread Ricky Ho
How does the handler detect the incoming request belongs to some existing sessions ?? (is it assessible via MessageContext ?) And then throw a SOAP Fault if not. Rgds, Ricky At 10:29 AM 9/30/2002 +0200, Matthias Brunner wrote: >On Monday 30 September 2002 10:23, Jan-Olav Eide wrote: > > > Whe

RE: Asynchronous callback handles

2002-09-30 Thread Tom Jordahl
Title: Message   No, Axis does not support this.   -- Tom Jordahl Macromedia Server Development -Original Message-From: Jeff Schenk [mailto:[EMAIL PROTECTED]]Sent: Monday, September 30, 2002 11:52 AMTo: [EMAIL PROTECTED]Subject: Asynchronous callback handles Does AXIS support a Asy

RE: Returning an array of objects

2002-09-30 Thread Jian Zhang
This is exactly what I needs. I have my own object Folder (representing file system folder), and I want to return array of it. I define a bean map as: http://xml.apache.org/axis/wsdd/"; xmlns:java="http://xml.apache.org/axis/wsdd/providers/java";> but Axis told me tha

RE: Asynchronous callback handles

2002-09-30 Thread Jung, Eric (Contractor)
Title: Message AFAIK, not natively. However, be creative: if the client passes its namespace uri, local part, and end point to the server on the initial call, the server can use this information at a later time to call the client.   I have done this and it works.   -Original Message--

Asynchronous callback handles

2002-09-30 Thread Jeff Schenk
Title: Message Does AXIS support a Asynchronous callback methodology?   Where:   Client invokes services>axis service   Client Receivesaxis service   Client handle receives additional informati

RE: org.xml.sax.SAXException: No deserializer, problem

2002-09-30 Thread Jian Zhang
Hi, Please help as I really have to get something done for our evaluation of AXIS. I really appreciate your help and a quick reply. Now the problem is that I register the bean mapping as follows: http://xml.apache.org/axis/wsdd/"; xmlns:java="http://xml.apache.org/axis/wsdd/provide

Re: Dynamic publishing

2002-09-30 Thread Grant Echols \(JanusLogix\)
Tuan, I have a similar need but for a totally different reason. We have a services framework and want to dynamically publish public 'service entry points' at runtime through Axis SOAP. We only have a Java class file and an associated interface as parameters so we have to make up the rest of the d

RE: logging error (DiscoveryException for LogFactory implementation)

2002-09-30 Thread espen.sommerfelt
Hi, I'm getting the same error. I'm running Axis in a IBM WebSphere 3.5 AppServer. The beta 3 version worked without problems. Does anybody know why this is happening? Thanks! org.apache.commons.discovery.DiscoveryException: No implementation defined for org.apache.commons.logging.LogFacto

org.xml.sax.SAXException: No deserializer, problem

2002-09-30 Thread Jian Zhang
I have a soap service that has a method of signature like: public Folder[] logon (String configDir, String appName, String serverName, String loginName, String passwd) Where Folder is a Java bean representing a file directory. This same interface works with SoapImplementation, but when I

Re: Help with MIME

2002-09-30 Thread Ulrich Winter
Hi Torsten, I've had teh same problem. currently the WSDL MIME binding is not implemented in AXIS. There is some special support which will not lead to interoperable solutions. I've attached an earlier mail from Russel. There is one example which does not use any WSDL tool in samples/attachmen

RE: logging error (DiscoveryException for LogFactory implementation)

2002-09-30 Thread espen.sommerfelt
Hi, I'm getting the same error. I'm running Axis in a IBM WebSphere 3.5 AppServer. The beta 3 version worked without problems. Does anybody know why this is happening? Thanks! org.apache.commons.discovery.DiscoveryException: No implementation defined for org.apache.commons.logging.LogFactor

Re: Not able to deploy service!

2002-09-30 Thread Gregor Kovaè
Hi! Try deploying like this java org.apache.axis.client.AdminClient -hlocalhost -p8080 -s/axis/services/AdminService deploy.wsdd Best regards, Kovi At 13:25 30.9.2002 +0530, you wrote: > Hi > When i try to delploy a "deploy.wsdd" file, using the following > command

attribute and complexType - Axis bug ?

2002-09-30 Thread Geza.Szocs
Hi, I have a problem that looks like an Axis bug. If anybody confirms this I'll file a bug, otherwise please tell me what the solution is. I'm using the following WSDL fragment: Describes the PresenceRequest message Describes the GetPresen

RE: Not able to deploy service!

2002-09-30 Thread Schie, Sjaak van
Naresh, The localName is part of DOM level 2. It looks like a level 1 parser is used, but Xerces 1.4.4 is level 2. I can't help you any further. Sjaak > -Original Message- > From: Naresh Agarwal [mailto:[EMAIL PROTECTED]] > Sent: 30 September, 2002 10:30 > To: [EMAIL PROTECTED] > Subjec

RE: Not able to deploy service!

2002-09-30 Thread Naresh Agarwal
Hi Sjaak I'm using Xerces 1.4.4 and JDK 1.3 regards, Naresh Agarwal > -Original Message- > From: Schie, Sjaak van [mailto:[EMAIL PROTECTED]] > Sent: Monday, September 30, 2002 1:39 PM > To: '[EMAIL PROTECTED]' > Subject: RE: Not able to deploy service! > > > Naresh, > > In the source

Re: MessageContext.setMaintainSession

2002-09-30 Thread Matthias Brunner
On Monday 30 September 2002 10:23, Jan-Olav Eide wrote: > > When using HTTP cookies for session management the MS SOAP > > library 3.0 supports this automatically. As for .net clients I > > do not know but I think they will do the same. > > So what is the best way to gracefully detect and reject r

RE: MessageContext.setMaintainSession

2002-09-30 Thread Jan-Olav Eide
> When using HTTP cookies for session management the MS SOAP library > 3.0 supports this automatically. As for .net clients I do not know > but I think they will do the same. So what is the best way to gracefully detect and reject requests from (MS SOAP or Java) clients that are not session-ena

Re: MessageContext.setMaintainSession

2002-09-30 Thread Matthias Brunner
On Monday 30 September 2002 09:58, Jan-Olav Eide wrote: > What about non-axis (or for that matter non-java, ie .Net clients) > and session management ? > When using HTTP cookies for session management the MS SOAP library 3.0 supports this automatically. As for .net clients I do not know but I t

RE: Not able to deploy service!

2002-09-30 Thread Schie, Sjaak van
Naresh, In the source you can check the method that the JVM is not able to find. When you are using AXIS RC1.0 then the method on that line is getLocalName() on a org.w3c.dom.Element class. What JVM & XML parser are you using? Sjaak > -Original Message- > From: Naresh Agarwal [mailto:[

RE: MessageContext.setMaintainSession

2002-09-30 Thread Jan-Olav Eide
Title: Message What about non-axis (or for that matter non-java, ie .Net clients) and session management ? -Original Message-From: Volanis, Alexander [mailto:[EMAIL PROTECTED]]Sent: 27. september 2002 16:48To: '[EMAIL PROTECTED]'Subject: RE: MessageContext.setMaintainSessi

Not able to deploy service!

2002-09-30 Thread Naresh Agarwal
Hi When i try to delploy a "deploy.wsdd" file, using the following command (using Axis RC-1) java org.apache.axis.client.AdminClient -lhttp://localhost:8080/axis/services/AdminService deploy.wsdd I got the following error (Tomcat is running at 8080) - Intern