Re: Authentication woes

2003-03-26 Thread Roy Wood
>Sax and xercesI've been having problems getting authentication to work >from non-Java clients (e.g. VB6, etc). I've gotten digest authentication to work from a legacy, non-Java client. I let TomCat (or whatever app server you prefer) take care of all the details via the usual HTTP methods, and i

Re: SunOne Deployment?

2003-03-20 Thread Roy Wood
>Done it iAS6.5 and SunONE WebServer 6.0. > Good to know. Any hints on making it easy? It's been a little rocky for us so far-- I tried producing a .WAR containing axis with my code pre-deployed in it (i.e. the server-config.wsdd already set up), but that didn't seem to work for some reason. W

SunOne Deployment?

2003-03-20 Thread Roy Wood
Anybody out there deploying AXIS-based services on SunOne? I'm trying to do it, but am having some trouble and would like to know that it is possible. And yes, things work great on TomCat, for whatever that is worth. -Roy "Disclaimer ­ The opinions expressed in this message are strictly pers

"Connection Closed" SQLExceptions

2003-03-07 Thread Roy Wood
This is probably not really an Axis problem, but I suspect that someone else here has probably run into it before. I've got a SOAP service that accesses an Oracle database via JDBC. Most of the methods exposed are pretty light (fetch a bunch of rows from a table, maybe insert into one table), an

Buffer Size Problem?

2003-02-28 Thread Roy Wood
I'm sending a big chunk of text to my Axis-based service, and have run into problems when the total size gets too big (over 10k, I think). Is anyone aware of any sort of hard-coded buffer size limits that may be a problem? -Roy "Disclaimer ­ The opinions expressed in this message are strictly

RE: REPOST - RE: calling gSoap server from Axis client - "method not implemented" error

2003-02-21 Thread Roy Wood
It might also be worth sniffing the traffic between your client and the server to see exactly what is being passed. I'm doing something sort of similar to what you're attempting (legacy client to SOAP), and sniffing the traffic has made my life much easier. Check out the tcpmon tool that Axis in

RE: Pass null value for parameter? Optional params?

2003-02-19 Thread Roy Wood
Sounds pretty reasonable. I'll give it a try. Thanks for the suggestion. -Roy >Have you considered using the "Value Object" pattern. Specifically, >you can create a bean which holds the update values and also a set >of booleans indicating which fields to update: > > { >long ID; >bool

Pass null value for parameter? Optional params?

2003-02-18 Thread Roy Wood
I've got a service that exposes a method to update some values in a record. Rather than several individual methods (setX, setY, setFoo, etc.), I'm using a single method that allows the caller to update all possible fields in one action (reduces network traffic). I would like to allow the caller t

Encoding question, UTF-8, '&' escaped chars, etc.

2003-02-12 Thread Roy Wood
I'm fetching data from my SOAP service, and some of that data contains characters with the high-bit set. For example, one of the characters is ASCII 0xD0. When my client receives the data, this has been transformed into the sequence "­". And yes, my client is a legacy, non-Java client, so I have

RE: Scalability, Multiple Threads/Objects?

2003-02-05 Thread Roy Wood
Thanks, Keith-- that does help. I guess the only crunch for me comes in that my service uses a connection to a database, so I've got to make sure that I have a pool of connections to use. Jakarta DBCP sounds like the ticket, no? -Roy >What normally happens with a servlet (and Axis is a servl

Scalability, Multiple Threads/Objects?

2003-02-05 Thread Roy Wood
I've read through the Axis docs and can't seem to answer this question, and am hoping that someone else out there can help. I'm looking at deploying a SOAP/Axis service, and am concerned about scalability. It seems the logical thing to do is have several instances of my code running to service mu

Re: Can't find service-- PUT vs GET problem?

2003-01-29 Thread Roy Wood
replies, each with a new nonce. :-( -Roy > >On Wed, 2003-01-29 at 14:51, Roy Wood wrote: >> I don't know if this is more of a TomCat problem or an Axis problem, but >> here goes. >> >> I've set up TomCat to do digest authentication for my Axis service, an

Can't find service-- PUT vs GET problem?

2003-01-29 Thread Roy Wood
I don't know if this is more of a TomCat problem or an Axis problem, but here goes. I've set up TomCat to do digest authentication for my Axis service, and that is working fine. For example, if I protect all of the axis realm, then I need to supply a userid and password to even see axis/index.htm

JBuilder debugging of server side?

2003-01-14 Thread Roy Wood
Is anyone out there using JBuilder to develop their server-side SOAP code? Any suggestions as to how to set things up to allow debugging of server-side code using JBuilder? -Roy

Digest Authentication?

2003-01-14 Thread Roy Wood
There was something posted a while back about digest authentication. has anyone done anything with it lately? Any comments or advice before I jump into it? -Roy

RE: Can the client capture the raw SOAP response?

2003-01-09 Thread Roy Wood
I think that tcpmon can act as a proxy for you, sitting between the client and the server, and dumping out all the traffic in either direction. I haven't used it myself, but the docs make it look pretty simple to get set up:

Re: Mozilla Success, But a New Problem....

2002-12-06 Thread Roy Wood
> new XMLSerializer().serializeToString(node); Whoa-- using this I actually get back the text I really want, which is not at all what I expected. I thought I'd get an XML representation of the node. -Roy

Re: Mozilla Success, But a New Problem....

2002-12-06 Thread Roy Wood
>var nodes = soapResponse.message.getElementsByTagName("item") > for (i = 0;i < nodes.length;i++) { > var nodeData = nodes[i].nodeValue; > } Oh-- more precisely, the nodeValue is "undefined." -Roy

Re: Mozilla Success, But a New Problem....

2002-12-06 Thread Roy Wood
>If it's always going to be that way, with the data being in "item" tags >which are >actually siblings, and no "item" tags which aren't your data, perhaps >something like > var soapResponse = soapCall.invoke(); > // deal with fault issues, return if needed > var node= soapResponse.message.ge

Mozilla Success, But a New Problem....

2002-12-06 Thread Roy Wood
I got Mozilla working by adding an "actionURI" to the SOAPCall object. Something like this: soapCall.actionURI = "Moof"; Now, the only complication is that I am returning back a Vector of Strings, and can't figure out how to process them in JavaScript. Following along the examples I've

Mozilla?

2002-12-02 Thread Roy Wood
I'm trying to use Mozilla and its built-in SOAP support to access a service I've set up (Axis + TomCat), but I keep getting a "no SOAPAction Header error" error back. I took a look, and Mozilla doesn't seem to send a SOAPAction Header, and apparently Axis requires this. Anyone else have any ex

Performance Testing?

2002-11-29 Thread Roy Wood
Anyone here have suggestions as to generating some semi-relevant performance numbers for a SOAP service? Any recommended tools out there, or should I just roll my own? All I'm looking for is some rough idea as to what sort of client transaction load my app/server can support. -Roy