Session

2004-04-26 Thread Vineet Singh
hi all I need to implement the following case, need some help in what way that can be done. I want to check if the same client is firing the request or a different client for a given web service. if it is the same client how to identify it? I want to keep most of the implementation on the serv

RE: Have doubts about Doc/Lit with axis

2004-04-26 Thread Shantanu Sen
You should use the wrapped mode if you have more than one parameter in the service end-point. Typically, plain doc-lit should only be used if there is one parameter in end-point. Can anyone comment on how the WSDL should be generated if there are 2 parameters in a method, where one parameter is an

WSDD class deployment and Interface/Implementation deployment

2004-04-26 Thread shaun lim
Hi guys.. Before i hopped on to the axis bandwagon i was playing around(okay maybe struggling is a better word) with JWSDP. In JWSDP, web services are written with an Interface class and an Implementation class that implements that Interface. However, in axis, i noticed that a web service can be ge

RE: Have doubts about Doc/Lit with axis

2004-04-26 Thread David Thielen
I just tried to do doc/literal (not wrapped) with an add method (two int's in, one returned) and it failed. That has to be a known bug. - dave -Original Message- From: Shantanu Sen [mailto:[EMAIL PROTECTED] Sent: Monday, April 26, 2004 5:20 PM To: [EMAIL PROTECTED] Subject: RE: Have dou

RE: Have doubts about Doc/Lit with axis

2004-04-26 Thread Shantanu Sen
I think it will be a great help to all of us if you could file a bug with your specific test-case. I disagree with your statement that 'it appears to be totally broken'. I have successfully used doc-lit - both wrapped and non-wrapped - with the current axis src code. But clearly my test cases do n

RE: Have doubts about Doc/Lit with axis

2004-04-26 Thread David Thielen
I didn't post a bug because it appears to be totally broken and therefore I am assuming that numerous bugs have already been posted. - dave -Original Message- From: Nelson Minar [mailto:[EMAIL PROTECTED] Sent: Monday, April 26, 2004 12:29 PM To: [EMAIL PROTECTED] Subject: RE: Have doubt

RE: No deserializer for Boolean?

2004-04-26 Thread Galbreath, Mark A
h...bitten by the beta snake again -Original Message- From: Ryan Stutsman [mailto:[EMAIL PROTECTED] Sent: Monday, April 26, 2004 4:23 PM To: [EMAIL PROTECTED] Subject: Re: No deserializer for Boolean? Hmm... not sure what the problem was there, but moving from 1.2beta back to 1.1

RE: Webapp Deployment to Directory Other Than Axis

2004-04-26 Thread Galbreath, Mark A
Hey Jerry! Yeah, I miss struts-users, but the traffic got to be so burdensome I had to unsubscribe. The guys on this list are pretty cool, though. A core of us continue to collaborate online in a variety of Java and open source technologies at irc.darkmyst.org #funkycodemonkey. cya there if you

Re: No deserializer for Boolean?

2004-04-26 Thread Ryan Stutsman
Hmm... not sure what the problem was there, but moving from 1.2beta back to 1.1 fixed it... On Mon, 2004-04-26 at 14:26, Ryan Stutsman wrote: > Sorry to be such a drain on the list, but I'm getting really really > close to having my app working... > > 9565 [Thread-0] ERROR > org.apache.axis.encod

RE: Webapp Deployment to Directory Other Than Axis

2004-04-26 Thread Jerry Jalenak
Mark - Glad to hear from you again. After you dropped off the Struts list, life just wasn't the same.. 8-) Anyway, I've also started learning Axis, and have gone through much of the same pain. I'm using Eclipse as my IDE, so everything that follows is applicable to that environment. You

No deserializer for Boolean?

2004-04-26 Thread Ryan Stutsman
Sorry to be such a drain on the list, but I'm getting really really close to having my app working... 9565 [Thread-0] ERROR org.apache.axis.encoding.DeserializationContextImpl - No deserializer for java.lang.Boolean 9570 [Thread-0] ERROR org.apache.axis.client.Call - Exception: org.xml.sax.SAXEx

mock objects for Axis testing?

2004-04-26 Thread Nelson Minar
I've been writing unit tests for my services, but have run into some trouble mocking out all the Axis objects. Has anyone else tackled this problem? Testing a simple service is easy; you just call the service method directly, no Axis classes involved. But the moment your service does something wit

axis-wsdl2java for each webservice

2004-04-26 Thread q mdb
Hi, I want to generate proxies for each webservice I want to deploy. To generate the proxy I use the following ant script: output="${generated.dir}" testcase="false" verbose="true" url="${location}" > http://localhost:8080/SrkWebServices/services/Calculator"; package="novum.proxy" /> How

RE: Have doubts about Doc/Lit with axis

2004-04-26 Thread Joe_Rattz
I did... http://nagoya.apache.org/jira/browse/AXIS-1331 Nelson Minar <[EMAIL PROTECTED]> 04/26/2004 02:28 PM Please respond to [EMAIL PROTECTED] To [EMAIL PROTECTED] cc Subject RE: Have doubts about Doc/Lit with axis David Thielen said: >>I tried and tried and tried to get doc/lite

RE: Have doubts about Doc/Lit with axis

2004-04-26 Thread Yakulis, Ross (Ross)
I think the key is you are using wrapped. -Original Message- From: Nelson Minar [mailto:[EMAIL PROTECTED] Sent: Monday, April 26, 2004 11:29 AM To: [EMAIL PROTECTED] Subject: RE: Have doubts about Doc/Lit with axis David Thielen said: >>I tried and tried and tried to get doc/literal to

RE: Have doubts about Doc/Lit with axis

2004-04-26 Thread Nelson Minar
David Thielen said: >>I tried and tried and tried to get doc/literal to work - and finally gave >>up. I think it just has too many problems still. Joe Rattz said: >Dave, I had a lot of problems too, specially with 1.2 beta, so I reverted >back to 1.1. I know I have seen a lot that makes its supp

RE: Need Help

2004-04-26 Thread Galbreath, Mark A
http://ws.apache.org/axis/user-guide.html Very very careful about your classpath mappings. Mark -Original Message- From: mico [mailto:[EMAIL PROTECTED] Sent: Monday, April 26, 2004 12:52 PM To: [EMAIL PROTECTED] Subject: Need Help Hello all, I try to install axis but it doesn't work,

Need Help

2004-04-26 Thread mico
Hello all, I try to install axis but it doesn't work, i really dont know why, i think i've followed correctly the installation instructions. So how can i know why it's not working ? How can i diagnose the problem ? I really need help so thanks to anyone who can give me a bit of his time.

RE: Webapp Deployment to Directory Other Than Axis

2004-04-26 Thread Galbreath, Mark A
Thanks, Nikki, got the archive and, disappointingly (at least as of June 2003), there is no de facto standard way of doing it, so I guess my outline below will serve as a roll-yer-own for me. I don't like the idea of using client-side scripting to do this, and I sure as hell don't want to use Acti

RE: Wsdd based war deployment

2004-04-26 Thread Galbreath, Mark A
Should not be a problem, just jar the app up in a war file and stick it in your webapps dir. JBuilder X does this for you automatically, but I prefer to use Ant. Mark -Original Message- From: Kevin Pearcey [mailto:[EMAIL PROTECTED] Sent: Monday, April 26, 2004 12:00 PM To: [EMAIL PROTECT

Re: Webapp Deployment to Directory Other Than Axis

2004-04-26 Thread NJ Rogers, Learning and Research Technology
Hi 1. All the examples so far run the client class from the command line; this is clearly inadequate for Web applications. Why can't I find any totorials/example code that actually uses a browser? I assume the browser URL would link to a servlet which would acts as a controller between view and

Wsdd based war deployment

2004-04-26 Thread Kevin Pearcey
I'm trying to find out how to deploy services using .wsdd descriptors in an application bundled up into a .war file. I can happily configure web.xml to get Axis to respond to the admin client, so I can deploy services using deploy.wsdd type files, but what I want to do is bundle the service definit

Re: "Unique" classpath problem

2004-04-26 Thread Tom Myers
Pridemore, Russell (MAN-Corporate) wrote: To find a class in a jar, try "unzip -l whatever.jar | grep AdminClient". In this case, it resides in axis.jar, as expected. Trivial note 1: I do that kind of search a lot and the unzip is not really needed, because filenames in a jar are not compressed, so

Re: AW: AW: Sessions across several services with Client

2004-04-26 Thread Ryan Stutsman
Nope - no matter what that value is null... Maybe I should take a step back... Do I need to add a handler in the client-config.wsdd for the SimpleSessionHandler to get the ID in the first place? Because if I just do a getOptions on the engine and iterate through and print the ID isn't in there.

Re: Have doubts about Doc/Lit with axis

2004-04-26 Thread Joe_Rattz
Thanks for the suggestion. I am done now, but I had a better tool anyway ... Anne Thomas Manes! Dario Di Minno <[EMAIL PROTECTED]> 04/26/2004 10:23 AM Please respond to [EMAIL PROTECTED] To [EMAIL PROTECTED] cc Subject Re: Have doubts about Doc/Lit with axis I had problems too, but

Re: Have doubts about Doc/Lit with axis

2004-04-26 Thread Dario Di Minno
I had problems too, but I solved them with the help of the "SOA Editor", a wsdl editor and validator that you can download for free at www.capeclear.com because it returned some warnings in my "not-so-perfect" wsdl files!! so I used it to fix my wsdl files. Try it! Dario [EMAIL PROTECTED] h

RE: Have doubts about Doc/Lit with axis

2004-04-26 Thread Anne Thomas Manes
You have not declared a namespace for your targetNamespace, so your references to elements defined in your WSDL aren't valid. Add the following namespace declaration to your element: xmlns:abcde="abcde" Anne -Original Message- From: cagerhon [mailto:[EMAIL PROTECTED] Sent: Monday, Ap

RE: Have doubts about Doc/Lit with axis

2004-04-26 Thread Anne Thomas Manes
You have not declared a namespace for your targetNamespace, so your references to elements defined in your WSDL aren't valid. Add the following namespace declaration to your element: xmlns:abcde="abcde" Anne -Original Message- From: cagerhon [mailto:[EMAIL PROTECTED] Sent: Monday, Ap

RE: "Unique" classpath problem

2004-04-26 Thread Pridemore, Russell (MAN-Corporate)
To find a class in a jar, try "unzip -l whatever.jar | grep AdminClient". In this case, it resides in axis.jar, as expected. For setting environment variables in your .bashrc, it is: export FOO=BAR (no "set" required). Then, as someone else suggested: "source .bashrc" from your shell and you shou

Webapp Deployment to Directory Other Than Axis

2004-04-26 Thread Galbreath, Mark A
This is probably a st00pid question, but bear with me...I've been writing ASP and PHP for the past 4 months, :-( and just started Axis/Tomcat/Web services development. I've gone through several online tutorials and working through the somewhat outdated "Building Web Services with Java" (Sams 200

AW: AW: Sessions across several services with Client

2004-04-26 Thread Dorner Thomas
You shouldn´t use the Locator loctor --> You should cast from locator to Service Service myService = (Service) locator; and use the Service to get the AxisEngine Tomi -Ursprüngliche Nachricht- Von: Ryan Stutsman [mailto:[EMAIL PROTECTED] Gesendet: Montag, 26. April 2004 15:54 An: [EMAIL

Re: AW: Sessions across several services with Client

2004-04-26 Thread Ryan Stutsman
What version of Axis are you using? I don't have a getEngine() method on the service and the one on the locator throws an NPE when I AxisEngine e = locator.getEngine(); Long id = (Long)e.getOption(SimpleSessionHandler.SESSION_ID); System.out.println(" " + id); I always get null (the return

Re: Help Needed - Performance Testing...

2004-04-26 Thread Davanum Srinivas
plz remove xmlsec.jar from your env and try again. --- Joe Nall <[EMAIL PROTECTED]> wrote: > > On Apr 26, 2004, at 7:36 AM, Davanum Srinivas wrote: > > > Hi folks, > > > > I need help testing latest cvs. Added a performance/volume test case > > that sends 100,000 strings > > (original problem de

Re: Help Needed - Performance Testing...

2004-04-26 Thread Joe Nall
On Apr 26, 2004, at 7:36 AM, Davanum Srinivas wrote: Hi folks, I need help testing latest cvs. Added a performance/volume test case that sends 100,000 strings (original problem description - http://issues.apache.org/jira/browse/AXIS-1323). If you wish to help: #1: get latest cvs #2: run "ant c

RE: Have doubts about Doc/Lit with axis

2004-04-26 Thread Joe_Rattz
Dave, I had a lot of problems too, specially with 1.2 beta, so I reverted back to 1.1. I know I have seen a lot that makes its support of doc/lit look inadequate, but once I finally got the right WSDL, it did work. I have a java client that can call it and a .NET program that can. The trick

RE: Have doubts about Doc/Lit with axis

2004-04-26 Thread David Thielen
I tried and tried and tried to get doc/literal to work - and finally gave up. I think it just has too many problems still. - dave -Original Message- From: Jim Murphy [mailto:[EMAIL PROTECTED] Sent: Monday, April 26, 2004 6:40 AM To: [EMAIL PROTECTED] Subject: Re: Have doubts about Doc/L

RE: Port Problem

2004-04-26 Thread Galbreath, Mark A
Sounds like you have contention on port 8050; make sure no other application other than (I presume) Tomcat is using it. Mark -Original Message- From: Sarat Challa [mailto:[EMAIL PROTECTED] Sent: Friday, April 23, 2004 6:50 PM To: [EMAIL PROTECTED] Subject: RE: Port Problem Hi, No, I

Re: WSS4J

2004-04-26 Thread Davanum Srinivas
plz ask on [EMAIL PROTECTED] mailing list. -- dims --- [EMAIL PROTECTED] wrote: > Can anyone point me to somewhere where I can get more information on the WSS4J > project? I've looked on the homepage (ws.apache.org/ws-fx/wss4j/index.html) and > the brief introduction seems to be the most descript

WSS4J

2004-04-26 Thread p2p
Can anyone point me to somewhere where I can get more information on the WSS4J project? I've looked on the homepage (ws.apache.org/ws-fx/wss4j/index.html) and the brief introduction seems to be the most descriptive part, but that's not very in-depth... Thanks, Gareth

Re: Have doubts about Doc/Lit with axis

2004-04-26 Thread Jim Murphy
Everything you have looks good to me - in terms of valid WSDL and conforming SOAP request message. I wonder: what do you get when you replay the "xsd:anyURI" type with xsd:string? I don't think it should make a difference but...everything else looks so generic I'm at a loss to suggest anything el

Help Needed - Performance Testing...

2004-04-26 Thread Davanum Srinivas
Hi folks, I need help testing latest cvs. Added a performance/volume test case that sends 100,000 strings (original problem description - http://issues.apache.org/jira/browse/AXIS-1323). If you wish to help: #1: get latest cvs #2: run "ant clean" in ws-axis/java directory #3: run "ant" in ws-ax

Type Mapping Registry (Default types)

2004-04-26 Thread Auderset Pascal
Title: Type Mapping Registry (Default types) Hello I'm using Axis to deploy WebServices. In our company we are using typed classes to represent business data. This classes have the property that they are unmodifyable (we don't use Java Primitives for business data). We now want to match this

about serialization/deserialization of complex types using the WSDL2Java

2004-04-26 Thread jiadao
  hello:     I have one problem when I want to do the  the serialization/deserialization  using the xml<->Java datatypes mapping, when I try to extension the types which are defines by myself For examples    Targetnamespace=”foo”    

Maximum size of the Request

2004-04-26 Thread Lerena, Alberto
Hi, I've a problem with an axis deployed webservice. This service is running over a Tomcat Server and when i make a request of around 700KBytes-1MByte size, the tomcat fails and shows a "No Memory Exception". Anybody knows how can i fix this problem? Can i fix it by axis or i should configure

Re: "Unique" classpath problem

2004-04-26 Thread shaun lim
I'm such a dumbass. Finally got it to work. Basically i should have set the CLASSPATH instead of the PATH variable. sigh, anyway i did a lot of other stuff, don't know if it helped. The list of stuff that i added and did can be found on this website, for the benefit of those facing the same proble

AW: Sessions across several services with Client

2004-04-26 Thread Dorner Thomas
Ok, that is what we do, You can place this in your Axis-Client and call the Methods to set and get your session! /* * This method sets the SessionId for the next call. It use the * SimpleSe

Client side handlers

2004-04-26 Thread samir_chouthai
Hi, I have a questions about client side handlers: I have a web services client that invokes several "different" web services. Now I had to gather some statistics about this client (like what call its makes, when, where, etc) so I decided to use a client side handler. For this, I had to add cal

AW: Session management in AXIS/ webservices

2004-04-26 Thread Dorner Thomas
HI Krishnendu,   I read the article about sessionhandling and I am a little confused, because I never use Client-config.wsdd!   I use Sessions in my Web Services with SessionHandler, but i also use Stubs and Skeletons automaticaly generated by AXIS.   So i need to create only a new insta