RE: Help in Exception handling...

2004-08-18 Thread Vikas Phonsa
>In the *.wsdd file, the flag is named 'useProductionMode' or something >like that. Yeah there is such a flag, but turning that to production mode also didn't make a difference. I'm using doc/literal encoding with axis 1.1 Vikas -Original Message- From: matthew.hawthorne [mailto:[EMAI

Re: Help in Exception handling...

2004-08-18 Thread matthew.hawthorne
Christophe Roudet wrote: I am not sure it is possible to skip the stack trace. I have just looked to the AxisFault code and it seems that fault details will always be filled with the stack trace (see the initFromException(Exception target) method). I think there may be a flag you can set that turn

RE: DTD files for SOAP Body

2004-08-18 Thread Anne Thomas Manes
Title: Message Convert the DTDs to XML Schema.   If you use XML Spy (http://www.xmlspy.com) or Sonic Stylus (http://www.stylusstudio.com/), then I suggest using the DTD to schema conversion tools they supply. If you don’t have XML Spy or Sonic Stylus (you should), then you can use the

RE: DTD files for SOAP Body

2004-08-18 Thread Anne Thomas Manes
Title: Message Convert the DTDs to XML Schema.   If you use XML Spy (http://www.xmlspy.com) or Sonic Stylus (http://www.stylusstudio.com/), then I suggest using the DTD to schema conversion tools they supply. If you don’t have XML Spy or Sonic Stylus (you should), then you can use the

RE: Help in Exception handling...

2004-08-18 Thread Lin, Zhongwu
Hi, I use: public class MyServiceException extends org.apache.axis.AxisFault implements java.io.Serializable {} On the server side, I call public void setFaultCodeAsString(java.lang.String code) to set faultcode before I return exception to client. In client side faultcode is u

RE: WSDL2Java overloading functions

2004-08-18 Thread Anne Thomas Manes
WS-I BP does allow rpc/literal, but Microsoft refuses to support it. Also, SOAP 1.2 makes support for the RPC convention optional. I take these two facts as an indication that rpc/literal has no future. Note that rpc/encoded and rpc/literal are extremely different creatures. The SOAP RPC conventio

RE: WSDL2Java overloading functions

2004-08-18 Thread Anne Thomas Manes
WS-I BP does allow rpc/literal, but Microsoft refuses to support it. Also, SOAP 1.2 makes support for the RPC convention optional. I take these two facts as an indication that rpc/literal has no future. Note that rpc/encoded and rpc/literal are extremely different creatures. The SOAP RPC conventio

RE: Help in Exception handling...

2004-08-18 Thread Christophe Roudet
I am not sure it is possible to skip the stack trace. I have just looked to the AxisFault code and it seems that fault details will always be filled with the stack trace (see the initFromException(Exception target) method). Christophe > -Original Message- > From: Vikas Phonsa [mailto:[EMA

RE: Help in Exception handling...

2004-08-18 Thread Vikas Phonsa
Christophe, I am doing the exact same thing. Can u post a sample soap message returned to the client when an exception has been thrown by the web service. When I throw an exception after setting its method to a relevant value, I also get the stack trace in my SOAP message. I just want the message

RE: Help in Exception handling...

2004-08-18 Thread Christophe Roudet
I was only able to have exceptions extending RemoteException to be deserialized correctly (not as an AxisFault). Here is the way I do it: In the wsdl I have, In types: In portType: Java side: public class MyException extends RemoteException implements Se

Re: WSDL2Java overloading functions

2004-08-18 Thread Elliot Metsger
Anand: Many thanks for the summary! Anand Natrajan wrote: doc/lit of course decouples the request/response from a procedural model on the server side, which is nice and fine philosophically, but practically, doesn't affect me much. I suspect it doesn't affect many others as well, especially those

RE: Help in Exception handling...

2004-08-18 Thread Vikas Phonsa
Yeah I need to find answer to this too. Despite all the suggested setting in wsdl and other areas, I have been unable to send just the message of my custom exception. Right now the whole stack traces is being sent to the client. The following article offered some information, but still things are

Re: Help in Exception handling...

2004-08-18 Thread matthew.hawthorne
Ragunath Marudhachalam wrote: Is it possible to throw an exception that extends java.lang.Excpetion from a webservice. I found some material that throws AxisFault exception. Also i read it is possible to throw an exception which has getter and setter methods. Any example and tips from anyone who ha

Re: WSDL2Java overloading functions

2004-08-18 Thread Charles Roy
Yes, right now it's rpc/enc. The overloading is a management decision for me - there's really no flexibility despite talking about some of these issues. Definitely important points for others to consider before doing it though. Thanks, Charles Nelson Minar wrote: Is it possible to overload method

Re: WSDL2Java overloading functions

2004-08-18 Thread Anand Natrajan
Elliot, In general, reducing functionality will raise interoperability issues - that observation applies to the deprecation of rpc/literal as well. Given the two major style/usage combinations, i.e., rpc/encoded and document/literal, the latter seems to me a superior model mainly because all refe

Re: WSDL2Java overloading functions

2004-08-18 Thread Nelson Minar
>Is it possible to overload methods and use the WSDL2Java tool to >generate the stubs for the overloaded methods. It may work, but it's probably a bad idea. WS-I Basic Profile explicitly forbids overloading methods. And I wouldn't count on interop on other platforms. You said elsewhere you were d

Re: WSDL2Java overloading functions

2004-08-18 Thread Elliot Metsger
Anand et. al, Can you offer your perspective on the interoperability of rpc/lit in the future? Dosen't the WS-I Basic Profile 1.0 go a ways to reducing opportunities for interoperability issues? Thanks, Elliot (a ws newbie) Anand Natrajan wrote: Charles and Steve, Mostly for my curiousity, are

Re: WSDL2Java overloading functions

2004-08-18 Thread Steve Piercey
Yes, you are right. I'm using rpc/encoding. I'll have to keep the doc/lit stuff in mind. For now, rpc does the job for me Steve - Original Message - From: "Anand Natrajan" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Wednesday, August 18, 2004 3:40 PM Subject: Re: WSDL2Java overlo

Re: WSDL2Java overloading functions

2004-08-18 Thread Anand Natrajan
Charles and Steve, Mostly for my curiousity, are you using an rpc/encoded service or a document/literal service? My information may be wrong, but I believe the latter doesn't support overloaded methods. Given that the web services world is moving to doc/lit, having overloaded methods may be ill-ad

RE: Books -Axis, Web Service Sercurity

2004-08-18 Thread Galbreath, Mark A
I just ordered the 2d Ed of the Graham book - the first was very good. -Original Message- From: Kim Tan [mailto:[EMAIL PROTECTED] Sent: Wednesday, August 18, 2004 3:17 PM To: [EMAIL PROTECTED] Subject: Re: Books -Axis, Web Service Sercurity Hi Suzy, check these out : 1) Building Web ser

problem in tcpmonitor

2004-08-18 Thread Mirna Carelli / Projeto Ourgrid
Hi all, I need to modify the TCPMonitor to save messages SOAP automatically, the file should mark a timeStamp when the package was send. But i can't find in the source code where can i modify to TCPMonitor do this.

Re: Books -Axis, Web Service Sercurity

2004-08-18 Thread Kim Tan
Hi Suzy, check these out : 1) Building Web services with Java by Steve Graham etc. (2nd edition just came out, don't get the 1st edition as the codes are based on I think pre released version of Axis, and  check out www.superbookdeals.com, which has good price), it has good coverage of web service

Re: Books -Axis, Web Service Sercurity

2004-08-18 Thread Kim Tan
Hi Suzy, check these out : 1) Building Web services with Java by Steve Graham etc. (2nd edition just came out, don't get the 1st edition as the codes are based on I think pre released version of Axis, and  check out www.superbookdeals.com, which has good price), it has good coverage of web service

Help in Exception handling...

2004-08-18 Thread Ragunath Marudhachalam
Hello ALL, Is it possible to throw an exception that extends java.lang.Excpetion from a webservice. I found some material that throws AxisFault exception. Also i read it is possible to throw an exception which has getter and setter methods. Any example and tips from anyone who has already worked o

Call.invoke() returns null, but why?

2004-08-18 Thread Steer, William
I'm running Axis 1.1 and Java 1.4.2_05. In one instance, where I'm sending an attachment to the server, Call.invoke(ns, meth, args) returns null, where it is expected to return a String. The Javadoc for that method says it can return null, but doesn't say under what circumstances. Can somebod

SOAPMonitor single point of failure

2004-08-18 Thread Alex Burmester
Hi I'm wondering if any of the developers or someone who has seen this happen might want to comment. Yesterday I saw SOAPMonitor bring a pretty high volumne site to a halt. Here's what I think happened. SOAPMonitor was used to check something on a number of the production machines. I believe it

Re: WSDL2Java overloading functions

2004-08-18 Thread Charles Roy
Thanks Steve, Got it now on the same setup. Looks like the problem was in the WSDL file. Explicitly setting the name attribute of the operation within the binding and then have it correspond to the name attribute of the input in the corresponding portType operation fixed it. XMLSpy v5 r2 messed

Re: WSDL2Java overloading functions

2004-08-18 Thread Steve Piercey
It works for me in Axis 1.1 with Tomcat 5 Steve . - Original Message - From: "Charles Roy" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Wednesday, August 18, 2004 1:55 PM Subject: WSDL2Java overloading functions > Hi, > > Is it possible to overload methods and use the WSDL2Java t

Re: Handler initialisation as part of server start-up?

2004-08-18 Thread Paul Callahan
it might be useful to look at implementing ServletContextListener in order to capture the startup of your context. -pc On Wed, 18 Aug 2004 18:58:30 +0100, S.E.Parkin <[EMAIL PROTECTED]> wrote: > Hi, > > With the help of this mailing list I've found out how to reduce the need to > re-initialise r

Handler initialisation as part of server start-up?

2004-08-18 Thread S.E.Parkin
Hi, With the help of this mailing list I've found out how to reduce the need to re-initialise resources within SOAP Handlers upon each use, such that a Handler need only be initialised once, upon first use (by way of the init() method). However, I was wondering if there was a means of initialis

DTD files for SOAP Body

2004-08-18 Thread Shah, Soniya M. [RA]
Title: Message Hi All,   I have always worked with WSDL for any SOAP interfaces I have developed.   I have to now write a client a to a SOAP server which in use for past 2-3 years (so the technology is little older). They have provided me with DTD files for the XML for SOAP Body.   The proj

WSDL2Java overloading functions

2004-08-18 Thread Charles Roy
Hi, Is it possible to overload methods and use the WSDL2Java tool to generate the stubs for the overloaded methods. Thanks, Charles

RE: Books -Axis, Web Service Sercurity

2004-08-18 Thread Anne Thomas Manes
Also:    Securing Web Services with WS-Security   From: Paul Kukk [mailto:[EMAIL PROTECTED] Sent: Wednesday, August 18, 2004 12:49 PM To: [EMAIL PROTECTED] Subject: RE: Books -Axis, Web Service Sercurity   Suzy,       J2EE Web Services     Axis next Generat

RE: Books -Axis, Web Service Sercurity

2004-08-18 Thread Anne Thomas Manes
Also:    Securing Web Services with WS-Security   From: Paul Kukk [mailto:[EMAIL PROTECTED] Sent: Wednesday, August 18, 2004 12:49 PM To: [EMAIL PROTECTED] Subject: RE: Books -Axis, Web Service Sercurity   Suzy,       J2EE Web Services     Axis next Generat

RE: How to add AXIS to Web Sphere 5.1

2004-08-18 Thread Anne Thomas Manes
WAS 5.1 interoperates with WSE 1.0 WAS 6 interoperates with WSE 2.0. Anne -Original Message- From: Mahen Perera [mailto:[EMAIL PROTECTED] Sent: Wednesday, August 18, 2004 9:22 AM To: [EMAIL PROTECTED] Subject: Re: How to add AXIS to Web Sphere 5.1 Hi Anne Do u have any idea about the l

RE: How to add AXIS to Web Sphere 5.1

2004-08-18 Thread Anne Thomas Manes
WAS 5.1 interoperates with WSE 1.0 WAS 6 interoperates with WSE 2.0. Anne -Original Message- From: Mahen Perera [mailto:[EMAIL PROTECTED] Sent: Wednesday, August 18, 2004 9:22 AM To: [EMAIL PROTECTED] Subject: Re: How to add AXIS to Web Sphere 5.1 Hi Anne Do u have any idea about the l

Re: compiling source

2004-08-18 Thread Mirna Carelli / Projeto Ourgrid
Thank you. Martin Samm wrote: Um, no. Try the build file in the root directory (AXIS_HOME). I suggest you read http://ws.apache.org/axis/java/building-axis.html -Original Message- From: Mirna Carelli / Projeto Ourgrid [mailto:[EMAIL PROTECTED] Sent: 17 August 2004 20:25 To: [EMAIL PROTECTE

RE: Books -Axis, Web Service Sercurity

2004-08-18 Thread Paul Kukk
Suzy,       J2EE Web Services     Axis next Generation Java Soap       There is a new Axis book coming out this month. -Original Message-From: Suzy Fynes [mailto:[EMAIL PROTECTED]Sent: Wednesday, August 18, 2004 12:37 PMTo: [EMAIL PROTECTED]Subject: Books -Axis, Web Service

Books -Axis, Web Service Sercurity

2004-08-18 Thread Suzy Fynes
Hi,   Can anyone recommend some books on Axis, Web Service Security and Java Web Service. Thanks, Suzy

vc++ server

2004-08-18 Thread pf_apache
Hi Using gSoap I can create a stand alone C/C++ web service (no need for a web server). Can I do the same thing with Axis C++ ? Jon M This e-mail may contain privileged and confidential information and should not be used by anyone who is not the original intended recipient(s). If you have recei

Re: How to add AXIS to Web Sphere 5.1

2004-08-18 Thread Mahen Perera
Hi Anne Do u have any idea about the level of interoperabilty of Ws Security related stuff in Web Sphere and WSE for .NET Mahen On Wed, 18 Aug 2004 09:10:24 -0400, Anne Thomas Manes <[EMAIL PROTECTED]> wrote: > WAS 5.1 supports an older version of WS-Security. It does not support > WS-Trust or W

Re: How to add AXIS to Web Sphere 5.1

2004-08-18 Thread Mahen Perera
Thank you very much for that piece of inforamtion... Mahen On Wed, 18 Aug 2004 09:10:24 -0400, Anne Thomas Manes <[EMAIL PROTECTED]> wrote: > WAS 5.1 supports an older version of WS-Security. It does not support > WS-Trust or WS-SecureConversation. If you want support for the OASIS > WS-Security

RE: Limiting Access to the server

2004-08-18 Thread Suzy Fynes
Hi Tom, That's grand, thanks a million for your reply. I'll look into using SSL anyway. Thanks again, Suzy -Original Message- From: Tom Oinn [mailto:[EMAIL PROTECTED] Sent: 18 August 2004 13:16 To: [EMAIL PROTECTED] Subject: Re: Limiting Access to the server Suzy Fynes wrote: > Hi, >

RE: How to add AXIS to Web Sphere 5.1

2004-08-18 Thread Anne Thomas Manes
WAS 5.1 supports an older version of WS-Security. It does not support WS-Trust or WS-SecureConversation. If you want support for the OASIS WS-Security 2004 standard, you must upgrade to WAS 6. I don't believe that IBM has delivered support for WS-Trust and WS-SecureConversation yet. Or you can ins

RE: How to add AXIS to Web Sphere 5.1

2004-08-18 Thread Anne Thomas Manes
WAS 5.1 supports an older version of WS-Security. It does not support WS-Trust or WS-SecureConversation. If you want support for the OASIS WS-Security 2004 standard, you must upgrade to WAS 6. I don't believe that IBM has delivered support for WS-Trust and WS-SecureConversation yet. Or you can ins

Re: Limiting Access to the server

2004-08-18 Thread Tom Oinn
Suzy Fynes wrote: Hi, Can anyone tell me the best possible way to control access to the Web Service server without using SSL certs or encryption? No. Security is hard, and if, hypothetically, you're working for a financial institution then you'd better do it properly or not at all. If you wan

Sun Java System Application Server Platform Edition 8

2004-08-18 Thread Jason Etherton
Folks, I have just created a war of the axis 1.1 distribution plus xmlsec: 0 Tue Aug 17 00:10:06 BST 2004 META-INF/     45 Tue Aug 17 00:10:06 BST 2004 META-INF/MANIFEST.MF   4853 Tue Aug 17 00:05:28 BST 2004 EchoHeaders.jws   9848 Tue Aug 17 00:05:28 BST 2004 fingerprint.jsp  18120 Tue

Limiting Access to the server

2004-08-18 Thread Suzy Fynes
Hi,   Can anyone tell me the best possible way to control access to the Web Service server without using SSL certs or encryption?   Thanks Suzy

AXIS - Can't deploy with a WSDD file

2004-08-18 Thread LEBLANC, Damiens
Hi,       I'm working with this environment · Sun Solaris 8 · AXIS 1.1 · Tomcat 4.1 · Java 1.4   I'm trying to deploy my first service with a WSDD file. But I have an exception :   Processing file deploy.wsdd Exception: (500)Erreur Interne

RE: compiling source

2004-08-18 Thread Martin Samm
Um, no. Try the build file in the root directory (AXIS_HOME). I suggest you read http://ws.apache.org/axis/java/building-axis.html -Original Message- From: Mirna Carelli / Projeto Ourgrid [mailto:[EMAIL PROTECTED] Sent: 17 August 2004 20:25 To: [EMAIL PROTECTED] Subject: compiling sou