Exception reloading Axis

2003-07-11 Thread Don Brady
Hi, Axis works very well and I like it a lot.I am using Axis 1.1 final in WSAD 5 and it runs fine normally. The only thing is that when I am running and make any change at all to my implementation class, then WSAD/Websphere reloads the servlet to pick up the change (so far so good), and

Re: JavaBean synchronisation Client/Server

2003-07-11 Thread James Black
BLIS Webmaster (Patrick Houbaux) wrote: Is is possible to automatically synchronized the server side of what's happening on the client side to my JavaBean? You can create a special setter function in your interface that would call the webservice to update the server's attribute. Rather than

Re: Trouble with doc/literal wsdl with .NET

2003-07-11 Thread Anne Thomas Manes
I'd say that it's bad form to add your own names to the wsdl namespace. And if all you've done is play a bit with your namespaces, I'm really surprises that wsdl.exe could compile it. You still have a number of problems in the schema: multiple elements named "in0", and you have a few element

RE: Trouble with doc/literal wsdl with .NET

2003-07-11 Thread Samprathi, Subramani non Unisys
Hi, After a lotof trial and following addition to schema 2 solved the problem: http://schemas.xmlsoap.org/wsdl/" xmlns="http://www.w3.org/2001/XMLSchema">http://schemas.xmlsoap.org/soap/encoding/"/>http://schemas.xmlsoap.org/wsdl/"/> Subbu -Original Message-From: Samprathi, Subrama

THANKS,Re: elementFormDefault="qualified" missing

2003-07-11 Thread Tamas Hauer
Davanum Srinivas wrote: You have 2 choices Choice #1 - use wsdlFile tag in your wsdd and point it to your original wsdl. See http://www.ftponline.com/javapro/2003_02/online/WSDL_kjones_02_27_03/default_pf.asp for example. Choice #2 - Make a local fix to Axis's code as shown below (Patch agai

Re: JavaBean synchronisation Client/Server

2003-07-11 Thread BLIS Webmaster (Patrick Houbaux)
Any idea about this question? Thanks Patrick. Patrick Houbaux wrote: Hi all, I'm working with a service (that I'm the developper) that exposes some JavaBean. As far as I understand the instance of the JavaBean on the client side is not synchornised with the instance JavaBean on the server sid

RE: Trouble with doc/literal wsdl with .NET

2003-07-11 Thread Samprathi, Subramani non Unisys
Remko.. I tried removing the second schema , but .NET still gives me the same exception.. Any other tricks please let me know. Subbu   my wsdl looked like this..   http://usnor-sampras:8003/axis/services/ClientService" xmlns="http://schemas.xmlsoap.org/wsdl/" xmlns:apachesoap="http://xml.a

RE: Trouble with doc/literal wsdl with .NET

2003-07-11 Thread Samprathi, Subramani non Unisys
nope it failed again!!..I get the following error C:\samdir\javafiles\ClientWebService>"C:\Program Files\Microsoft.NET\SDK\v1.1\Bi n\WSDL" /language:CS /namespace:unisys.banking /out:abcd.cs junk4.wsdl Microsoft (R) Web Services Description Language Utility [Microsoft (R) .NET Framework, Version 1

Re: Newbie question on soap

2003-07-11 Thread Anne Thomas Manes
No. The specification is quite clear. A SOAP response may contain either a valid response message OR a soap:fault message -- not both.   Anne - Original Message - From: Denero Watz To: [EMAIL PROTECTED] Sent: Thursday, July 10, 2003 11:58 PM Subject: Newbie quest

Re: Version of SOAP

2003-07-11 Thread Anne Thomas Manes
SOAP 1.1. It also provides preliminary support for SOAP 1.2. - Original Message - From: "Lanigan, Ronan" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Friday, July 11, 2003 5:49 AM Subject: Version of SOAP > Quick question: What version of SOAP is Axis built on? >

RE: Un/Deploying web services w/o AdminClient

2003-07-11 Thread mzahirovic
Title: RE: Un/Deploying web services w/o AdminClient   The interface of the web services is changing constantly so is the wsdd file. This is just a part of the ongoing development.   How do you restart just axis application using an ant task?   __

RE: SSL & Grinder -- NeverMind

2003-07-11 Thread Bobak, Greg P.
Title: RE: SSL & Grinder -- NeverMind NEVERMIND -- I was right, It was not finding my keystore with my certificate. Thanks!! Greg Bobak  Senior Programmer Analyst Cole National http://www.thingsremembered.com -Original Message- From: Bobak, Greg P. [mailto:[EMAIL PROTECTED]

RE: Un/Deploying web services w/o AdminClient

2003-07-11 Thread Dennis Sherman
Title: RE: Un/Deploying web services w/o AdminClient And restart the axis application under tomcat -- which can be done by an ant task.  The only reason to undeploy/deploy is if you are altering the content of your service's wsdd file. --Dennis R. ShermanEndeavor Information Systems847-227-

RE: Axis vs Systinet's WASP

2003-07-11 Thread Davanum Srinivas
Do you have some sample code and some performance comparison numbers? (which version of WASP) Typically we get quite a few such claims and when we ask for solid information all we get is silence(See http://marc.theaimsgroup.com/?l=axis-user&m=105365635715639&w=2 for an example, the whole th

RE: Un/Deploying web services w/o AdminClient

2003-07-11 Thread Carter, John G
Title: RE: Un/Deploying web services w/o AdminClient Seems to me if you haven't changed your interface (ie if you're just making code changes), you don't need to do the whole undeploy/deploy thing.  Just replace the binaries in the appropriate places. -Original Message- From: mzahir

SSL & Grinder

2003-07-11 Thread Bobak, Greg P.
Title: SSL & Grinder I have an axis client that uses SSL.  It works great, UNTIL I try to run it in Grinder 3 (http://grinder.sourceforge.net).  Here's what happens: C:\grinder-3.0-beta9\examples>java net.grinder.Grinder Worker process (cit6x33kn9zh0b7-0) started with command line: java -Djav

RE: Axis vs Systinet's WASP

2003-07-11 Thread Davis, Jeff
Title: RE: Axis vs Systinet's WASP I think the big distinction between WASP and Axis, from our testing, was performance. We found WASP services to be, on average, 50% faster than Axis. jeff davis  -Original Message- From: remko de knikker [mailto:[EMAIL PROTECTED]] Sent: Frid

Un/Deploying web services w/o AdminClient

2003-07-11 Thread mzahirovic
Is there a way to un/deploy web services into axis without using the AdminClient? It seems that in order to redeploy a web service I have to first undeploy, then deploy it, as well as restart the Tomcat. This whole proccess takes too long and I'm looking to improve the time it takes to run Admin

Re: Axis vs Systinet's WASP

2003-07-11 Thread remko de knikker
Thanks, I'd forgotten about it. It does some basic functions, but it's not as elaborate as the WASP one. You can create an axis project and use the java2WSDL tool. thanks for reminding me though. r [EMAIL PROTECTED] wrote: Improve Technologies has an AXIS plug-in for Eclipse at http://www.impro

Re: elementFormDefault="qualified" missing

2003-07-11 Thread Davanum Srinivas
You have 2 choices Choice #1 - use wsdlFile tag in your wsdd and point it to your original wsdl. See http://www.ftponline.com/javapro/2003_02/online/WSDL_kjones_02_27_03/default_pf.asp for example. Choice #2 - Make a local fix to Axis's code as shown below (Patch against latest CVS): ===

Re: Axis vs Systinet's WASP

2003-07-11 Thread ian_d_stewart
Improve Technologies has an AXIS plug-in for Eclipse at http://www.improve-technologies.com/alpha/axis/ I haven't tried it out myself, but I imagine it should at least be worth a look... Ian Ian D. Stewart Open Systems Engineer II Enterprise Midrange - Bank One Infrastructure & Operations [EM

Axis vs Systinet's WASP

2003-07-11 Thread remko de knikker
I am browsing through Systinet's WASP web services server, and what I think is a great feature, is their integration with the IDE (in casu: Eclipse). Anychance Axis is offering a GUI/Admin plugin ?? remko

Re: elementFormDefault="qualified" missing

2003-07-11 Thread Tamas Hauer
Jeff Greif wrote: I think that elementFormDefault="qualified" should be an attribute of the element that is a child of . Jeff Yes, I tried that too but it does not seem to work either. Tamas -- --- -- Tamas Hauer ETT D

RE: From Handler to Service

2003-07-11 Thread ian_d_stewart
The MessageContext is stored within a ThreadLocal variable specific to a particular request. What that means is that any changes made to the MessageContext will be accessible to any other handlers within the request/response flow for that request. It is not accessible to handlers outside of the

RE: another doc/literal issue -- more info

2003-07-11 Thread Davanum Srinivas
The use case for doc/lit starts with the premise that you have a valid doc/lit WSDL from somewhere. You then run WSDL2Java against it, add your impl and deploy it. Here, you are trying to deploy an arbitrary java class as doc/lit. Thanks, dims --- Cory Wilkerson <[EMAIL PROTECTED]> wrote: > Is

RE: From Handler to Service

2003-07-11 Thread ian_d_stewart
Good question! I have to dig around in the source for MessageContext anyway, so I'll let you know what I find out! ;) Ian D. Stewart Open Systems Engineer II Enterprise Midrange - Bank One Infrastructure & Operations [EMAIL PROTECTED] (614) 213-6100 [EMAIL PROTECTED] on 07/11/2003 11:31:51

RE: From Handler to Service

2003-07-11 Thread ian_d_stewart
Not really an answer to your question, but have you thought of implementing your policy enforcement as a seperate handler within the request flow? This should get around the bug in MessageContext.getCurrentContext() and would allow your service to concentrate on business logic, seperate from pol

Re: another doc/literal issue -- more info

2003-07-11 Thread Davanum Srinivas
Please open a bug report (http://ws.apache.org/axis/bugs.html) Thanks, dims --- Cory Wilkerson <[EMAIL PROTECTED]> wrote: > K -- in the latest cvs build, it's line 181 of RPCProvider.java that seems to be > choking -- a > call to body.getMethodName() is returning "x" as the methodname whereas x

another doc/literal issue -- more info

2003-07-11 Thread Cory Wilkerson
K -- in the latest cvs build, it's line 181 of RPCProvider.java that seems to be choking -- a call to body.getMethodName() is returning "x" as the methodname whereas x should simply be a parameter and the method name should be "addNumbers". So, that said, given the following message generated b

Re: elementFormDefault="qualified" missing

2003-07-11 Thread Jeff Greif
I think that elementFormDefault="qualified" should be an attribute of the element that is a child of . Jeff - Original Message - From: "Tamas Hauer" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Friday, July 11, 2003 7:54 AM Subject: elementFormDefault="qualified" missing > Hi, > >

Re: Exception handling strategy question

2003-07-11 Thread remko de knikker
Bhanu, My web service public Document method2(Document doc1) throws RemoteException{ calls a module Hapidb, with a method  getMesh where I catch Exceptions in my main webservice (which on return automatically catches the returned exception as well, I just throw it again. package ws.hapi; i

RE: From Handler to Service

2003-07-11 Thread Chen, Li (Research, YOH)
Hi Ian, Thanks for the help. However, I have already tried the method below...the problem is, (and I'm on Win2k) whenever I try to say: MessageContext context= MessageContext.getCurrentContext(); on the service side, I keep getting this InvocationTargetException error. (Once I remove the

RE: From Handler to Service

2003-07-11 Thread santosh . joshi
Ian, What would happen in a multi-threaded environment, when multiple requests are running through the server, will this still work? Just wanted to enquire!! Regards, Santosh -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Friday, July 11, 2003 4:12 PM To: [EM

Re: From Handler to Service

2003-07-11 Thread ian_d_stewart
You can store any arbitrary data in the MessageContext, via getProperty ()/setProperty(). You can then access this information from within your service by calling MessageContext.getCurrentContext(). Example: Handler.invoke(MessageContext context) { context.setProperty("org", "research.ge.c

From Handler to Service

2003-07-11 Thread Chen, Li (Research, YOH)
Hi all, Is there any way to pass information (say, a String value) from a handler to a service? The service is "registered" in the deploy.wsdd file. Thanks. g GE Global Research __

RE: Exception handling strategy question

2003-07-11 Thread Bhanu Pabreja
Remo, Can you send me your code for the exception handler since I am unable to make mine work and need some thing which is working and looks like u are making a similar webservice (Message style). Thanx. dumdum420 -Original Message- From: Bhanu Pabreja [mailto:[EMAIL PROTECTED] Sent: Thu

Re: redeployment of web-service class files problem.

2003-07-11 Thread Steve Pannier
Peter/Jason, Thanks for your responses. I got the "reload" working in my Ant script. Now the only remaining hurdle I have is to get my service JAR file uploaded to my Axis server, and I want to do this remotely. I'm currently looking into the commons projects "httpclient" and "fileupload" to a

Is MessageContext Problem specific to Windows 2k/XP?

2003-07-11 Thread Chen, Li (Research, YOH)
Hi, It seems that trying to access MessageContext using MessageContext context = MessageContext.getCurrentContext(); Inside a service (not a handler) on the server side will result in InvocationTargetException on Windows 2000/XP. Has anyone else been able to replicate the problem

elementFormDefault="qualified" missing

2003-07-11 Thread Tamas Hauer
Hi, I use WSDL2java to produce some services. My wsdl starts like this: http://mammogrid.com/portal/"; elementFormDefault="qualified" xmlns:tns="http://mammogrid.com/portal/"; xmlns:ans="http://mammogrid.com/portal/api/"; xml

RE: Version of SOAP

2003-07-11 Thread Chen, Li (Research, YOH)
The Axis 1.1 final version support SOAP 1.2 standards...see http://cvs.apache.org/viewcvs.cgi/%7Echeckout%7E/xml-axis/java/changelog.htm l -Original Message- From: Lanigan, Ronan [mailto:[EMAIL PROTECTED] Sent: Friday, July 11, 2003 5:49 AM To: '[EMAIL PROTECTED]' Subject: Version of SOAP

RE: TCPMON Port

2003-07-11 Thread Chen, Li (Research, YOH)
Title: TCPMON Port you can start tcpmon by saying:   java org.apache.axis.utils.tcpmon 8082 localhost 8080   which will tell tcpmon to "listen" on port 8082, and direct all incoming messages to localhost:8080...so if you have a service at http://localhost:8080/myService, you'd give your cli

Re: Trouble with doc/literal wsdl with .NET

2003-07-11 Thread remko de knikker
I had the same error message on .NET and solved it, by taking out the second schema declaration. r Davanum Srinivas wrote: Anne, The problem is that the WSDL is auto-generated by Axis and we need to fix it... -- dims --- Anne Thomas Manes <[EMAIL PROTECTED]> wrote: I see the s

RE: Set timeout for SOAPMessage

2003-07-11 Thread Davanum Srinivas
Can you please log this as a bug? we should find an easier way to do this. Thanks, dims --- "Laenzlinger, Christof" <[EMAIL PROTECTED]> wrote: > Hallo Philip, > > I had the same problem a few weeks ago. With SAAJ only I could not find > a way to configure the timeout. I did not find out how to m

setMaintainSession(true);

2003-07-11 Thread Andrew Sergeev
Hello All On client side call clientStub.setMaintainSession(true); but in "tcp monitor" see follow message, without "Connection: Keep Alive" in HTTP header ** POST /axis/services/LifecycleManager HTTP/1.0 Content-Type: text

Non printable Chars in Strings

2003-07-11 Thread Christian J. Bauer
Hi, currently, we were transferring non printable Chars ins Strings via SOAP to our server. This worked with Apache SOAP 2.3 but unfortunateley, when using AXIS 1.1 as a client i'll get the following Message: AxisFault faultCode: {http://schemas.xmlsoap.org/soap/envelope/}Server.userException

Re: redeployment of web-service class files problem.

2003-07-11 Thread Peter Ross
Thanks for the pointer, this is how I used this task in my build.xml file to reload axis. http://localhost:8080/manager"; username="admin" password="" path="/axis"/> On Thu, Jul 10, 2003 at 04:23:44PM -0700, Trieu, Jason T - CNF wrote: > Steve, > > Ant is Jav

Version of SOAP

2003-07-11 Thread Lanigan, Ronan
Quick question: What version of SOAP is Axis built on?

Re: Tried to invoke method .... The arguments do not match the signature

2003-07-11 Thread Guillaume Sauthier
I think it's probably a namespace problem ... view your binding element. All your input are in a namespace called http://andrei.csean.ro and this namespace is never defined !! neither in the definition element or in the schemas ... So try to generate the WSDL with mapping defined! -> use Java2WSDL

Re: Tried to invoke method .... The arguments do not match the signature

2003-07-11 Thread Gavriloaie_andrei
    ---Original Message---   From: [EMAIL PROTECTED] Date: Friday, July 11, 2003 12:00:20 To: [EMAIL PROTECTED] Subject: Re: Tried to invoke method The arguments do not match the signature   Sorry I'v forgot to request you the WSDL you're using ... Maybe a namespace problem ...

Re: Tried to invoke method .... The arguments do not match the signature

2003-07-11 Thread Guillaume Sauthier
Sorry I'v forgot to request you the WSDL you're using ... Maybe a namespace problem ...

Re: Tried to invoke method .... The arguments do not match the signature

2003-07-11 Thread Gavriloaie_andrei
    ---Original Message---   From: [EMAIL PROTECTED] Date: Friday, July 11, 2003 10:52:39 To: [EMAIL PROTECTED] Subject: Re: Tried to invoke method The arguments do not match the signature   Hi   Can you please show us your class code ? and your deploy.wsdd !   maybe the method

Re: Re: Tried to invoke method .... The arguments do not match the signature

2003-07-11 Thread Gavriloaie_andrei
  ---Original Message---   From: [EMAIL PROTECTED] Date: Friday, July 11, 2003 10:52:39 To: [EMAIL PROTECTED] Subject: Re: Tried to invoke method The arguments do not match the signature     this is my class code:   package ro.csean.andrei

RE: Problem with AXIS 1.1 (Possible Bug)

2003-07-11 Thread santosh . joshi
Experts, Please help me. Regards, Santosh -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Thursday, July 10, 2003 11:20 AM To: [EMAIL PROTECTED] Subject: RE: Problem with AXIS 1.1 (Possible Bug) Experts, Any pointers to the problem, greatly appreciated.

Re: Tried to invoke method .... The arguments do not match the signature

2003-07-11 Thread Gavriloaie_andrei
    ---Original Message---   From: [EMAIL PROTECTED] Date: Friday, July 11, 2003 10:52:39 To: [EMAIL PROTECTED] Subject: Re: Tried to invoke method The arguments do not match the signature     this is my class code:   package ro.csean.andr

RE: java2wsdl2java deletes code in beans

2003-07-11 Thread Stephen Eaton
All the wsdl does is create the skeleton bean with basic setters and getters, no smarts at all. In reality Data Objects only. > -Original Message- > From: Joerg Buchberger [mailto:[EMAIL PROTECTED] > Sent: Friday, 11 July 2003 5:37 PM > To: [EMAIL PROTECTED] > Subject: java2wsdl2java de

java2wsdl2java deletes code in beans

2003-07-11 Thread Joerg Buchberger
Hi. When I define a web service by creating an interface, which includes some bean classes, and then use java2wsdl2java the stubs and serializable bean classes get generated. For some reason, the axis generated serializable bean classes' methods are stripped of original code (validity checks etc.

Re: Tried to invoke method .... The arguments do not match the signature

2003-07-11 Thread Guillaume Sauthier
Hi Can you please show us your class code ? and your deploy.wsdd ! maybe the method you try to invoke is a static method... Regards Guillaume I have installed Apache Tomcat, with axis 1.1. In my "codallocserver" service I have a method java.lang.Integer ro.csean.andrei.codallocse

RE: Set timeout for SOAPMessage

2003-07-11 Thread Laenzlinger, Christof
Title: RE: Set timeout for SOAPMessage Hallo Philip, I had the same problem a few weeks ago. With SAAJ only I could not find a way to configure the timeout. I did not find out how to modify the default timeout in axis (still interested in a solution for that). Anyway that would not help if I