Client Side Handlers - How to use it ?

2004-05-20 Thread Dhanush Gopinath
Hi All ,   Where can I get a concrete idea of handlers at Client side. I have deployed a Client side Handler. When i invoke the Webservice nothing happens. Searching the net I got that the Transport should be set using the method   Call.setTransport(new MyTransport());   Now my problem is I

URGENT : IllegalStateException

2004-05-20 Thread Parminder Singh
Hello there!   My web service is deployed properly. When I call it thru my client though I rcv this strange message…   I’m trying to get some info from the db… the info is getting rtrvd (I can see that in the logs)… that means the response is coming back… but this is what is thrown.  

Status of web service deployment

2004-05-20 Thread jagannath
Hi, Is there a way I can know the status of my web service deployment? I am deploying my WebService from inside a WebApplication using the AxisServlet and AdminServlet. I have packaged all the required classes into the web application. I have put the server-config.wsdd under the WEB-INF direct

Serialize dom instance -> namespaces

2004-05-20 Thread "Marcel Müller"
Hi, I try to call a .NET webservice via AXIS. I have to transfer an xml file to the WS and get an XML File back. That works well. Now I added digital signatures to my xmlfile and now I got some problems. I can verify the xml response from the WS with AXIS and xmlsec. But unfortunately not the othe

Re: security vulnerability with DTD/Axis?

2004-05-20 Thread Davanum Srinivas
yep. On Thu, 20 May 2004 21:51:05 -0400, insoo lee <[EMAIL PROTECTED]> wrote: > > > > Could you please let me know if following security issue has been resolved? > > http://xmlfr.org/cache/0014.html > > Thanks much. > Insoo > > >>> > > => Summary: Using the DTD part of the XML document, it

security vulnerability with DTD/Axis?

2004-05-20 Thread insoo lee
Could you please let me know if following security issue has been resolved? http://xmlfr.org/cache/0014.html Thanks much. Insoo >>> => Summary: Using the DTD part of the XML document, it is possible to cause the XML parser to consume 100% CPU and/or a lot of memory, therefore resulting in a

RE: book recommendations

2004-05-20 Thread Joe Shevland
Shucks, perhaps ... unless you're very self-deprecating :) > -Original Message- > From: Anne Thomas Manes [mailto:[EMAIL PROTECTED] > Sent: Friday, 21 May 2004 9:38 AM > To: [EMAIL PROTECTED] > Subject: RE: book recommendations > > > Aw, sucks. Thanks. > > Anne > > -Original Messag

RE: book recommendations

2004-05-20 Thread Anne Thomas Manes
Aw, sucks. Thanks. Anne -Original Message- From: Miller, Janet [mailto:[EMAIL PROTECTED] Sent: Thursday, May 20, 2004 3:33 PM To: [EMAIL PROTECTED] Subject: RE: book recommendations This book gives a great overview of Web Services and the various related technologies. I REALLY liked thi

RE: book recommendations

2004-05-20 Thread Anne Thomas Manes
Aw, sucks. Thanks. Anne -Original Message- From: Miller, Janet [mailto:[EMAIL PROTECTED] Sent: Thursday, May 20, 2004 3:33 PM To: [EMAIL PROTECTED] Subject: RE: book recommendations This book gives a great overview of Web Services and the various related technologies. I REALLY liked thi

Case chnage in WSDL problem

2004-05-20 Thread Albert Jan Wonnink
Hi,   I am trying to create a webservice for trademark registration following a (draft) international standard that uses upper camel case for naming the xml elements.   Like I've seen in other threads on this mailing list I have the problem that in the WSLD file the first letter of the classes cha

Re: How do I pass data from Handler to the service?

2004-05-20 Thread Nelson Minar
>Hm, that's actually what I want to do! And the setProperty takes >normal Object as parameters or does it need Strings? When I don't know the answer to a question like that, I look at the excellent documentation: http://ws.apache.org/axis/java/apiDocs/javax/xml/rpc/handler/MessageContext.html >

RE: How do I pass data from Handler to the service?

2004-05-20 Thread Callahan, Paul
Title: RE: How do I pass data from Handler to the service? its a static field on the service.  so in the handler, you would say .threadLocal.set(obj); since its accessible in a static manner. -Original Message- From: Konstantinos Margaritis [mailto:[EMAIL PROTECTED]] Sent: Thursday, M

Re: How do I pass data from Handler to the service?

2004-05-20 Thread Konstantinos Margaritis
On Thursday 20 May 2004 23:38, Nelson Minar wrote: > Argh! Don't use system properties, or ThreadLocals, or the like. > > >> I suggest having the Handler store the data in the Axis > >> MessageContext, then read it back out in the Service. > > > >Can you give me an example? > > In your Handler: > >

Re: How do I pass data from Handler to the service?

2004-05-20 Thread Konstantinos Margaritis
On Thursday 20 May 2004 23:25, Yakulis, Ross (Ross) wrote: > http://nagoya.apache.org/wiki/apachewiki.cgi?AxisProjectPages/HttpR >equest > > What about putting ins hte http session? Hm, I'll try that, thanks. But still I would like to hear other alternatives. When I'll finish this I'll definately

Re: How do I pass data from Handler to the service?

2004-05-20 Thread Nelson Minar
Argh! Don't use system properties, or ThreadLocals, or the like. >> I suggest having the Handler store the data in the Axis >> MessageContext, then read it back out in the Service. >Can you give me an example? In your Handler: public void invoke(MessageContext context) throws AxisFault { Obje

RE: How do I pass data from Handler to the service?

2004-05-20 Thread Yakulis, Ross (Ross)
http://nagoya.apache.org/wiki/apachewiki.cgi?AxisProjectPages/HttpRequest What about putting ins hte http session? -Original Message- From: Konstantinos Margaritis [mailto:[EMAIL PROTECTED] Sent: Thursday, May 20, 2004 12:41 PM To: [EMAIL PROTECTED] Subject: Re: How do I pass data from Ha

Re: How do I pass data from Handler to the service?

2004-05-20 Thread Konstantinos Margaritis
On Thursday 20 May 2004 23:07, Callahan, Paul wrote: > Like another member said--don't go that route--not thread safe... > > You can create a ThreadLocal field on your service class like this > however: > > protected final static ThreadLocal threadLocal = new ThreadLocal(); > > And then you will be

RE: How do I pass data from Handler to the service?

2004-05-20 Thread Callahan, Paul
Title: RE: How do I pass data from Handler to the service? Like another member said--don't go that route--not thread safe... You can create a ThreadLocal field on your service class like this however: protected final static ThreadLocal threadLocal = new ThreadLocal(); And then you will b

Re: How do I pass data from Handler to the service?

2004-05-20 Thread Konstantinos Margaritis
On Thursday 20 May 2004 20:49, Callahan, Paul wrote: > You can set a System property--good within the JVM. > > http://tinyurl.com/32rel That works if my member variable is a String, but in my case it's an object. Or is there be another way to set system property objects? Konstantinos

RE: [PHP-DB] Forum Software

2004-05-20 Thread Galbreath, Mark A
oops...wrong list... :-) -Original Message- From: Galbreath, Mark A Sent: Thursday, May 20, 2004 3:56 PM To: Axis (E-mail) Subject: RE: [PHP-DB] Forum Software Why would you want to? PHPBB2 is awesome! -Original Message- From: Room 11 Designs [mailto:[EMAIL PROTECTED] Sent:

RE: [PHP-DB] Forum Software

2004-05-20 Thread Galbreath, Mark A
Why would you want to? PHPBB2 is awesome! -Original Message- From: Room 11 Designs [mailto:[EMAIL PROTECTED] Sent: Thursday, May 20, 2004 3:51 PM To: [EMAIL PROTECTED] Subject: [PHP-DB] Forum Software Hi there everyone, I was wondering how hard it is to write your own forum, maybe eve

Re: How do I pass data from Handler to the service?

2004-05-20 Thread Konstantinos Margaritis
On Thursday 20 May 2004 21:00, Nelson Minar wrote: > I suggest having the Handler store the data in the Axis > MessageContext, then read it back out in the Service. I've done > this to good effect. The MessageContext is basically just a big > String -> Object hashtable; you can add new Strings easi

RE: book recommendations

2004-05-20 Thread Miller, Janet
This book gives a great overview of Web Services and the various related technologies. I REALLY liked this book. It was in plain English and very clear, not like a lot of other Web Services books that confuse you with all the terminology and acronyms that aen't really explained. It gives you a g

RE: book recommendations

2004-05-20 Thread Galbreath, Mark A
Bruce Eckel, "Thinking in Java, 3rd Ed." Free at http://www.mindview.net/Books/TIJ/ Deittel & Deitel, "How to Program java, 4th Ed. (Prentice Hall 2002) Zukowski, "Mastering Java 2: J2SE 1.4" (Sybex 2002) Monson-Haefel, "J2EE Web Services" (Addison-Wesley 2004) McLaughlin, "Java & XML" (O'Reill

RE: How do I pass data from Handler to the service?

2004-05-20 Thread Callahan, Paul
Title: RE: How do I pass data from Handler to the service? ah then use a ThreadLocal variable. -Original Message-From: Yakulis, Ross (Ross) [mailto:[EMAIL PROTECTED]Sent: Thursday, May 20, 2004 1:51 PMTo: [EMAIL PROTECTED]Subject: RE: How do I pass data from Handler to the s

book recommendations

2004-05-20 Thread Dave Jacobson
Hi, Do you have any recommended books to read to learn about Axis, SOAP/XML, XML and/or Java? I am a newbie. I have a C background but haven't coded for a while. I took a week-long "Intro to Java" course about five years ago but haven't worked with it. I've done web development with Cold Fusio

Re: How do I pass data from Handler to the service?

2004-05-20 Thread Nelson Minar
I suggest having the Handler store the data in the Axis MessageContext, then read it back out in the Service. I've done this to good effect. The MessageContext is basically just a big String -> Object hashtable; you can add new Strings easily.

RE: How do I pass data from Handler to the service?

2004-05-20 Thread Yakulis, Ross (Ross)
Title: RE: How do I pass data from Handler to the service? What about multiple requests coming in at the same time?  That solution does not sound thread safe? -Original Message-From: Callahan, Paul [mailto:[EMAIL PROTECTED]Sent: Thursday, May 20, 2004 10:50 AMTo: '[EMAIL PROT

RE: How do I pass data from Handler to the service?

2004-05-20 Thread Callahan, Paul
Title: RE: How do I pass data from Handler to the service? You can set a System property--good within the JVM. http://tinyurl.com/32rel -pc -Original Message- From: Konstantinos Margaritis [mailto:[EMAIL PROTECTED]] Sent: Thursday, May 20, 2004 1:43 PM To: [EMAIL PROTECTED] Subje

How do I pass data from Handler to the service?

2004-05-20 Thread Konstantinos Margaritis
Hi,  I have succesfully deployed a web service using axis and registered a Handler to parse the Header data. After parsing I transform/process the data and would like to pass this (preferably setting a member variable in my Service class) to my web service method. Is there any way I can find the Se

RE: Step By Step Example

2004-05-20 Thread Lee, Ken
> > > > My service only has one function, getCounts() (which returns > > the XML doc at the bottom). > > > > Here are my client (and stub files): > > * > > @authorTom Sturgeon > > */ > > > > package client; > > > > import stubs.*; > > > > > > public class ClientService1Stub { > > > >

RE: Step By Step Example

2004-05-20 Thread Jerry Jalenak
If all you need is a free JDBC-ODBC compliant driver, take a look at jTDS. I use to connect to MS-SqlServer directly from a Java web app with out any problems Look at http://jtds.sourceforge.net/... Hth, Jerry Jalenak Development Manager, Web Publishing LabOne, Inc. 10101 Renner Blvd. Lenexa

RE: Step By Step Example

2004-05-20 Thread Tom Sturgeon
Ken, I already have created a Web Service with (ahem) C# .Net/IIS. I just want to build a JAVA client to get the data from the service. The reason for this hybrid is that I do not want to have to license a JDBC-ODBC bridge so that my JAVA client can access a SQL Server database. I have to use J

RE: Step By Step Example

2004-05-20 Thread Lee, Ken
So just to be clear, you have your own Web service that you want to run and test as well, right? If this is the case, there are a few more targets that you will need to get the web service built and deployed in axis. There are also a list of steps to go through to get everything working. There a

RE: Step By Step Example

2004-05-20 Thread Tom Sturgeon
Is this any different for a SOAP service? My stub names are different than the example (which was excellent and got me light years from where I was.) My service only has one function, getCounts() (which returns the XML doc at the bottom). Here are my client (and stub files): * @authorTo

RE: Step By Step Example

2004-05-20 Thread Lee, Ken
> In my build stubs tasks I have the following, and indeed the > stubs are built. > > However, no classes are generated, nor source for the > classes: > > > > > >

RE: Step By Step Example

2004-05-20 Thread Tom Sturgeon
Ah, nevermind my last post. In my build stubs tasks I have the following, and indeed the stubs are built. However, no classes are generated, nor source for the classes:

RE: Step By Step Example

2004-05-20 Thread Tom Sturgeon
Thanks Ken. That starts to clear many things up for me. I suppose I can eliminate the service part of the file and just do the stubs for the client, right? Tom -Original Message- From: Lee, Ken [mailto:[EMAIL PROTECTED] Sent: Wednesday, May 19, 2004 11:28 AM To: [EMAIL PROTECTED] Subje

AXIS - jms transaction

2004-05-20 Thread Balaji Kandan
Does AXIS support jms transactions for jms transport mechanism???   balaji

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-20 Thread Meloro, John
Hello Alan,   Sorry to bother you again, but I wanted to send you another email, from my work this time, and try and do a better job of explaining my request.   I am using AXIS, under WebLogic 8.1, as my SOAP Engine.  During a particular call to a web service I pass in an array of strings

RE: specifying JAXP 1.1 compliant XML parser for Axis

2004-05-20 Thread Keith Hatton
In a project not using Axis we had a need to specify which JAXP implementation to use. I found that a simple code change produced the desired result. I replaced DocumentBuilderFactory f = DocumentBuilderFactory.newInstance(); with DocumentBuilderFactory f = new org.apache.xerces.jaxp.Docu

Odp: beginner: java.lang.UnsupportedClassVersionError ?

2004-05-20 Thread Michal Kowalski
Hello i did not noticed that happyaxis saw jdk version 1.2.2, when i reinstalled with 1.4.2 everything works fine:)) Czy "Pornografia" może być legalna? TAK!, o ile jest to polski kandydat do Oscara. http://klik.wp.pl/?adr=http%3A%2F%2Ffilm.wp.p