RE: Digest Authentication?

2003-01-14 Thread Geza.Szocs
I don't know in what environment are you working in, but I managed to get DIGEST auth working with Tomcat4.0.3 (and Tomcat4.1.12 as well) and Axis. BTW, I had to patch the HTTPSender class in Axis. I also posted the code to Axis dev list, but as far as I know it hasn't been inserted in the next rel

Tomcat out of memory error

2003-01-14 Thread Trunk Manuel
Hi, I use the code below to access an axis WebService. If I create one instance of these class and call the get method (more than once), all results (Flight[]) aren't garbage collected. What am I doing wrong or what could be done in another way? Thanks for your help, Manuel public class Fl

RE: Stateful Web Services

2003-01-14 Thread thomas . cherel
Title: RE: Stateful Web Services As usual it is always a little bit more complicated than that . There is not a lot of "standard" API interface to Web Services. Sun has a standard API called JAXRPC which can be used as a standard web service client API, where the notion of session is def

Altering default service page

2003-01-14 Thread Joe Shevland
(Sorry if this is a duplicate, I don't think the original made it because of my sending address). Hi, I was wondering if it is possible to change the default page ('Hi there, this is an Axis service!') that is served when you access an Axis service endpoint w/o supplying parameters? I've searche

Re: Stateful Web Services

2003-01-14 Thread David Peterson
Anne, Thanks for the link and info. Do you know, can I still use an approach such as connecting a web service to a EJB, or regular Java Bean, or a JDBC session? It surprises me that the concept of a stateful web service has not been tackled by various web services standards bodies (e.g. OASIS

RE: Has anyone used the axis APIs to generate XSD from Java? Something like java2XSD?

2003-01-14 Thread Anne Thomas Manes
The Mind Electric GLUE provides a tool called java2schema. It should work for you. > -Original Message- > From: Jason Weinstein [mailto:[EMAIL PROTECTED]] > Sent: Tuesday, January 14, 2003 7:13 PM > To: [EMAIL PROTECTED] > Subject: RE: Has anyone used the axis APIs to generate XSD from Jav

RE: AXIS in Weblogic 6.1

2003-01-14 Thread beoh
Thank you for the suggestion. I have added the tag in the WSDD file. It works. BEOH > If EJBProvider wasn't using reflection to get the EJBObject, then > reflection-based permission wouldn't be a problem. But since it is, to > avoid ejb.jar dependency, try adding EJBProvider class to > weblogi

null pntr in WSDL2Java on a wsdl that imports another wsdl

2003-01-14 Thread Chakraborty, Anirban
Title: null pntr in WSDL2Java on a wsdl that imports another wsdl Hi, I have a service interface EventService.wsdl located at http://localhost:8080/interfaces/ and I create an implementation file MiscEventService.wsdl at E:\wsdls that imports EventService.wsdl. When I run WSDL2Java on MiscEv

RE: Has anyone used the axis APIs to generate XSD from Java? Something like java2XSD?

2003-01-14 Thread Jason Weinstein
Thanks for the reply, but I would like to get the XSD from a java bean. Is this possible with those tools? Anyone seen this done? -Original Message- From: Kameshwar Jayaraman [mailto:[EMAIL PROTECTED]] Sent: Tuesday, January 14, 2003 4:05 PM To: [EMAIL PROTECTED] Subject: RE: Has anyone u

RE: Has anyone used the axis APIs to generate XSD from Java? Something like java2XSD?

2003-01-14 Thread Kameshwar Jayaraman
Jason, You can use JAXB,Castor like to get the Java From a XSD. Hope that helps. Thanks Kamesh -Original Message- From: Jason Weinstein [mailto:[EMAIL PROTECTED]] Sent: Tuesday, January 14, 2003 10:36 AM To: [EMAIL PROTECTED] Subject: Has anyone used the axis APIs to generate XSD from

RE: Stateful Web Services

2003-01-14 Thread Anne Thomas Manes
It depends on the SOAP implementation you're using. Most products don't support stateful services. Some do: Systinet WASP, Oracle SOAP, Apache SOAP, maybe a few others. Interoperability is a big issue, though. BEA published a proposed SOAP extension called SOAP Conversation (http://dev2dev.bea.com/

RE: Digest Authentication?

2003-01-14 Thread KUMAR,PANKAJ (HP-Cupertino,ex1)
Not sure whether you are referring to DiGEST authentication by the axis or the underlying web-container Tomcat. I was not able to get DIGEST authentication to work with Tomcat. Here is the discussion on tomcat-user mailing list: http://archives.real-time.com/pipermail/tomcat-users/2003-January/092

Re: RE: JBuilder debugging of server side?

2003-01-14 Thread Steve Loughran
1. I strongly encourage use of IntelliJ IDEA for everything 'cept GUI dev (which is why the #2 monitor has netbeans maximised right now). Its refactoring is so good I cant go back to anything else. And yes, you can debug servers by attachment, as well as running tomcat's main. 2. I am of the view

Stateful Web Services

2003-01-14 Thread David Peterson
Hi All, I have a bit of a newbie question in relation to web services: Do SOAP-based web services support the concept of state and persistence? That is, can I easily create a web service where state is preserved between invocations? For example, can I create a "bank account" web service, whic

Antw: RE: JBuilder debugging of server side?

2003-01-14 Thread Markus Frommherz
Which (JB8, I offically have to use it, arghh, but prefer vi).. ) is not too well integrated with ant (try importing (project from existing code) that allready has webapp-structure). IMHO:log4j is the recommended tool anyway. Cheers, markus frommherz >>> [EMAIL PROTECTED] 14.01.2003 22.34 Uhr

RE: JBuilder debugging of server side?

2003-01-14 Thread Chris Forbis
That's the Borland we have all grown to love :) Make stuff WAY to costly for most to use. -Original Message- From: Michael D. Spence [mailto:[EMAIL PROTECTED]] Sent: Tuesday, January 14, 2003 4:35 PM To: [EMAIL PROTECTED] Subject: RE: JBuilder debugging of server side? You should note,

RE: JBuilder debugging of server side?

2003-01-14 Thread Michael D. Spence
You should note, however, that with JBuilder 8, Borland's restricted this feature to the startlingly expensive Enterprise Edition, available for something on the order of $2500. > -Original Message- > From: Calvin Smith [mailto:[EMAIL PROTECTED]] > Sent: Tuesday, January 14, 2003 4:19 PM >

Axis fault codes

2003-01-14 Thread David Logan
Let me rephrase the question. Is anybody out their using fault codes? If so, how are you throwing the exception/axis fault on the server? -Original Message- From: David Logan Sent: Tuesday, January 14, 2003 1:51 PM To: '[EMAIL PROTECTED]' Subject: RE: AxisFaults Actually, the FaultCode=

Re: JBuilder debugging of server side?

2003-01-14 Thread Calvin Smith
I use Jbuilder 6 with websphere 4 Debugging is easy, I simply: - set a breakstart - start websphere with debugging enabld - tell JBuilder to go attach itself to websphere - send a soap request - wait till JBuilder traps the breakpoint - do whatever NOTE: if your using tomcat then you can simply t

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

RE: class Service not working in tomcat 4.1.18

2003-01-14 Thread Dan
What is on line 64 of the compiled JSP page: org.apache.jsp.test_jsp._jspService(test_jsp.java:64) At 07:37 PM 1/14/2003 -, [EMAIL PROTECTED] wrote: >Hi Dan, > >Just tried that, but to no avail - however I do have a new error message >

signoff

2003-01-14 Thread Paul Faulkner
signoff

RE: class Service not working in tomcat 4.1.18

2003-01-14 Thread Dave Searle
Thanks Vidyanand, that's now working (I wonder how that jar got missed out? :) ) However, I still have a major problem when setting the transport to samples.transport.tcp (I've attached the jsp code this time). I get this error: javax.xml.rpc.JAXRPCException at org.apache.axis.client.Call.setTar

RE: ANY DIGEST Option for this List

2003-01-14 Thread Shrotriya, Sumit
Thanks Vidyanand but I am a subscribed user ..the problem is that my mailbox is getting flooded with like 25 messages an hr instead what I would prefer is a digest that is issued say every half an hr which has a list of messages. Something like the tomcat-user-digest ~Sumit If all you want to do

SIGNOFF

2003-01-14 Thread Paul Faulkner

RE: class Service not working in tomcat 4.1.18

2003-01-14 Thread Vidyanand Murunikkara
that looks like saaj.jar is not being found in the classpath. Vidyanand -Original Message- From: Dave Searle [mailto:[EMAIL PROTECTED]] Sent: Tuesday, January 14, 2003 11:37 AM To: [EMAIL PROTECTED] Subject: RE: class Service not working in tomcat 4.1.18 Hi Dan, Just tried that, but to

Deserialization error due to Server handler-plz help URGENT

2003-01-14 Thread jeong jim
Hi,i am using wstk3.2.I deployed a server side handler which changes the SOAP envelope.I am getting the SOAP envelope from message context and writing it to a file.Then i am reading the same file and setting it as new SOAP envelope.when i try to call the service(which accepts a java bean as input p

Interoperability: Apache SOAP 2.2 and AXIS 1.0

2003-01-14 Thread Isbell, Shane
Are there any known interoperability problems of sending SOAP messages between the Apache SOAP 2.2 and AXIS 1.0 implementations? Thanks for any info, Shane

RE: class Service not working in tomcat 4.1.18

2003-01-14 Thread Dave Searle
Hi Dan, Just tried that, but to no avail - however I do have a new error message Here's the modified code: <%@ page import="org.apache.axis.AxisFault, org.apache.axis.EngineConfiguration, org.apache.axis.configuration.SimpleProvider, org.apache.axis.configuration.DefaultEngineConfigurationFactor

RE: ANY DIGEST Option for this List

2003-01-14 Thread Vidyanand Murunikkara
If all you want to do is follow what is going on you can try taking a look at < http://marc.theaimsgroup.com/?l=axis-user&r=1&w=2 > But if you need to mail axis-user u need to be subscribed, and as far as i know there is no digest option. Thanks Vidyanand. -Original Message- From: Shro

ANY DIGEST Option for this List

2003-01-14 Thread Shrotriya, Sumit
Hi All, Since this list is pretty active is there any digest options available for this list?? If yes please do let me know...If NO then ADMINS can we have that option?? ~Sumit

Re: mail box getting flooded - any help...?

2003-01-14 Thread Prabhakar Chaganti
Add a spam filter to your mail retriever or the mail client. Check on freshmeat for several good ones. -prabhakar > As I have subscribed here for axis-user mailing list. I am getting > tones of email every day. How can I make sure that I am still a > member of axis-user and avoid my mail box g

Re: class Service not working in tomcat 4.1.18

2003-01-14 Thread Dan
You probably need to use explicit naming for the Service class. There is a org.apache.service.Service class in the catalina.jar file. When dealing with application servers or large application bases, I find it becomes necessary, good practice to use explicit naming, to avoid these types of errors

RE: security to stop undeployment of services

2003-01-14 Thread Vidyanand Murunikkara
Have u tried using < parameter name="enableRemoteAdmin" value="false"/> within the AdminService configuration ? thanks Vidyanand. -Original Message- From: Jagadeesan,Sivakumar [mailto:[EMAIL PROTECTED]] Sent: Tuesday, January 14, 2003 9:36 AM To: [EMAIL PROTECTED] Subject: RE: security to

RE: AXIS in Weblogic 6.1

2003-01-14 Thread Gene Chuang
If EJBProvider wasn't using reflection to get the EJBObject, then reflection-based permission wouldn't be a problem. But since it is, to avoid ejb.jar dependency, try adding EJBProvider class to weblogic.policy. This file should be in your WL domain directory. Gene --- Tom Jordahl <[EMAIL PROTEC

class Service not working in tomcat 4.1.18

2003-01-14 Thread Dave Searle
Hi guys, I've been having problems consuming web services in JSP using tomcat 4.1.18. I've narrowed it down to the following code below. It runs fine as a standard java application, but when running as a JSP page inside tomcat it fails miserably :( It fails on this line "Service service = new Ser

mail box getting flooded - any help...?

2003-01-14 Thread Jayant Kenjale
Hello All, As I have subscribed here for axis-user mailing list. I am getting tones of email every day. How can I make sure that I am still a member of axis-user and avoid my mail box getting flooded. Thanks, Jay  Do you Yahoo!? Yahoo! Mail Plus - Powerful. Affordable. Sign up now

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: AxisFaults

2003-01-14 Thread David Logan
Actually, the FaultCode={http://schemas.xmlsoap.org/soap/envelope/}Server.generalException -Original Message- From: David Logan [mailto:[EMAIL PROTECTED]] Sent: Tuesday, January 14, 2003 1:35 PM To: '[EMAIL PROTECTED]' Subject: AxisFaults What is the best way to create/throw axis faults

Proper overloaded method not invoked?

2003-01-14 Thread Tim Dierks
My web service has overloaded methods like: MyObject test1(String s1, String s2, MyObject obj); MyObject[] test1(String s1, String s2, MyObject[] obj); But Axis 1.1 Beta seems to get confused on which method to invoke on my web service. If my client (running Apache SOAP) makes a call to the fir

Re: WSDL of java.* types

2003-01-14 Thread Karsten Düsterloh
Steve Loughran aber hob zu reden an und schrieb: > you need to be using Axis1.1b Already doing so. >> At least I expect Axis / java2wsdl to create a valid wsdl. > > well, it is trying to stop you sending stuff over the wire that may make no > sense at the far end. Hm, the not-creation looks mor

Has anyone used the axis APIs to generate XSD from Java? Something like java2XSD?

2003-01-14 Thread Jason Weinstein
Has anyone used the axis APIs to generate XSD from Java? Something like java2XSD? Is anyone aware of another tool which can do it? Axis certainly has the capability, but there appears to be no straightforward way to do it. Ideally I'd like a command line interface. Class: org.apache.axis.wsdl.f

AxisFaults

2003-01-14 Thread David Logan
What is the best way to create/throw axis faults from the service? I am having trouble getting the fault code from the exception when caught on the client. I get the message but the FaultCode is = ""; --

RE: AXIS in Weblogic 6.1

2003-01-14 Thread Tom Jordahl
The EJBProvider (line 247) is trying to do the following: // This code requires the use of ejb.jar, so we do the stuff below // EJBHome ejbHome = (EJBHome) ehome; // EJBMetaData meta = ejbHome.getEJBMetaData(); // Class interface

Re: Axis client, OutOfMemoryException

2003-01-14 Thread Gene Chuang
CDATA is only valid in DTDs, not XML Schemas. Why it was "deprecated" is a good question... --- "Brian W. Young" <[EMAIL PROTECTED]> wrote: > I just recalled that Strings in a SOAP request are sent as element text > and not embedded in a CDATA section. Since my String is actually an > XML doc

RE: security to stop undeployment of services

2003-01-14 Thread jimmy coyne
No i havent tried , it was just some that was on my mind :). I will try from a remote server tonight . jim -Original Message- From: Steve Loughran [mailto:[EMAIL PROTECTED]] Sent: 14 January 2003 17:44 To: [EMAIL PROTECTED] Subject: Re: security to stop undeployment of services - Or

Re: security to stop undeployment of services

2003-01-14 Thread Steve Loughran
- Original Message - From: "jimmy coyne" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Tuesday, January 14, 2003 09:02 Subject: security to stop undeployment of services > When I un-deploy service I call the class > > java > org.apache.axis.client.AdminClient -lhttp://localhost:8080/

Re: Hashtable : how to map it

2003-01-14 Thread Steve Loughran
- Original Message - From: "Peter Norrhall" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Tuesday, January 14, 2003 01:39 Subject: Re: Hashtable : how to map it > Hello, > > I have been following this newsgroup for a couple of weeks now. And this > type of question always comes up. T

Re: WSDL of java.* types

2003-01-14 Thread Steve Loughran
- Original Message - From: "Karsten Düsterloh" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Tuesday, January 14, 2003 00:43 Subject: Re: WSDL of java.* types > Und Steve Loughran aber hob an zu schreiben: > >>> > public class test > >>> > { > >>> > public test() {} > >>> > publi

RE: security to stop undeployment of services

2003-01-14 Thread Jagadeesan,Sivakumar
Good Question Jim. Even I am curious. I never thought about this earlier. Good catch Jim -Original Message- From: jimmy coyne [mailto:[EMAIL PROTECTED]] Sent: Tuesday, January 14, 2003 11:02 AM To: [EMAIL PROTECTED] Subject: security to stop undeployment of services When I un-deploy serv

security to stop undeployment of services

2003-01-14 Thread jimmy coyne
When I un-deploy service I call the class java org.apache.axis.client.AdminClient -lhttp://localhost:8080/axis/services/Adm inService deploy.wsdd undeployment.wsdd How do I stop a third party from removing/adding a service from my axis server. Are there any security measures I can take? thanks

RE: RPC/Literal Web Service in Axis

2003-01-14 Thread Tevoi Andrea
downloaded axis1.1beta just now. bug fixed. a.t. > -Original Message- > From: Tevoi Andrea > Sent: martedì 14 gennaio 2003 16.30 > To: [EMAIL PROTECTED] > Subject: RPC/Literal Web Service in Axis > > > Hi, > > I use WSDL2Java to generate stub client classes to invoke a > Web Service

Re: xmlns attribute

2003-01-14 Thread Jeff Greif
In the schema for urn:test, is the element form qualified or unqualified? If unqualified, the generated stuff is probably correct. Look in the root of the schema for elementFormDefault=. The elements are only namespace-qualified if this attribute is present and has the value "qualified", or if th

Re: Axis client, OutOfMemoryException

2003-01-14 Thread Brian Ewins
Brian W. Young wrote: I just recalled that Strings in a SOAP request are sent as element text and not embedded in a CDATA section. Since my String is actually an XML document, this means i've got around 50,000 tags with < and > that are all being escaped into entities. My guess is that thi

RPC/Literal Web Service in Axis

2003-01-14 Thread Tevoi Andrea
Hi, I use WSDL2Java to generate stub client classes to invoke a Web Service that use style RPC with encoding LITERAL. I suppose that serializers create a soap message that contains a tag which name is the method invoked after soap body tag. Instead soap message contains a DUPLICATED tag that is

memory leak [Sorry for that Outlook sh..., no more text]

2003-01-14 Thread Trunk Manuel

FW: memory leak

2003-01-14 Thread Trunk Manuel
> Hi, > > I use the code below to access an axis WebService. > If I create one instance of these class and call the get > method (more than once), all results (Flight[]) aren't > garbage collected. > What am I doing wrong? > > Thanks for your help, > Manuel > > > > > public class Flights

Recall: memory leak

2003-01-14 Thread Trunk Manuel
Trunk Manuel would like to recall the message, "memory leak".

xmlns attribute

2003-01-14 Thread Rolando Pablos Sánchez
I am working with a document style service. Originally it was a rpc service, where I couldn't see this xmlns attribute in the params. I get the java stubs from wsdl file, and when I test it I get this:   [...]          [EMAIL PROTECTED]             [...]      I get the correct xmlns

Web Services training course using AXIS

2003-01-14 Thread Steve Edwards
Hi, If you know anybody who is interested, please pass on this info ... Web Services training course using Apache AXIS: "Developing Enterprise Web Services" http://www.escala.co.uk/webservicescourse.html Thanks, Steve ++ Steve Edwards, Escala Ltd, 109 Upper Shirl

memory leak

2003-01-14 Thread Trunk Manuel
Hi, I use the code below to access an axis WebService. If I create one instance of these class and call the get method (more than once), all results (Flight[]) aren't garbage collected. What am I doing wrong? Thanks for your help, Manuel public class Flights implements FlightsIF {

Re: Axis client, OutOfMemoryException

2003-01-14 Thread Brian W. Young
I just recalled that Strings in a SOAP request are sent as element text and not embedded in a CDATA section. Since my String is actually an XML document, this means i've got around 50,000 tags with < and > that are all being escaped into entities. My guess is that this is too much work for t

Re: newbie books

2003-01-14 Thread Kevin . Bedell
While there are a lot of good books on Soap and web services (some written by contributors to Axis!), I'd say the best general intro book would be Java and XML by O'Reilly. http://www.amazon.com/exec/obidos/ASIN/0596001975/qid=1042554819/sr=2-2/ref=sr_2_2/102-5219312-2263366 I own both the firs

elements order

2003-01-14 Thread Rolando Pablos Sánchez
I have a wsdl file where there is a type definition like this:           ...         "genericRequestType"  is also a sequence type.   My problem is: the "genericRequestType" sequence elements must be serialize before the "submitReqType" ones. And in fact, they are serialize

Re: Axis client, OutOfMemoryException

2003-01-14 Thread Brian W. Young
I would agree with this- I do not think this is a stack size problem. So, this being the case, what is the deal here? Does Axis not support parameters that have this large of a value? I'm clearly not doing anything in my client to cause a memory issue, since in this case the client is a frame

Re: Document service

2003-01-14 Thread Rolando Pablos Sánchez
Thank you very much for your help. I have done what you told me and it works. I thought I had already done what you told me. Anyway, I have to say, for helping other people, that WSDL2Java generated a "wrapped" service instead of a "document" service. I had to use the -W switch option in the WSDL2J

Re: Hashtable : how to map it

2003-01-14 Thread Peter Norrhall
Hello, I have been following this newsgroup for a couple of weeks now. And this type of question always comes up. The best thing always seems to be to create an array as output. In that way you rather safe regarding interoperability. Anyone that has another opinion? Isn't it so that if one wou

Hashtable : how to map it

2003-01-14 Thread Hervé Guidetti
Hi, I'm a newbee with Axis and SOAP. I have to transmit a hashtable between applications using SOAP. How can I do that ? Do I have to create a complex type KeyValue and then create a transform my hashtable into a Collection of KeyValue ? Do I have to implement my own serializer/deserializer ?

Re: SOAP request redirection

2003-01-14 Thread Toshiyuki Kimura
Hi Shobha, (B (B What kind of authentication do you wish ? In other words, (Bwhat's the target of the authentication, for example the SOAP (Bclient software, the SOAP client machine, or the acutual client (Bperson ? (B (B And how ? By just one pair of User Id and Password ? If so, (Bho

Re: WSDL of java.* types

2003-01-14 Thread Karsten Düsterloh
Und Steve Loughran aber hob an zu schreiben: >>> > public class test >>> > { >>> > public test() {} >>> > public void Func(java.lang.Math m) {} >>> > } Actually, java.lang.Math was just an example for a whole set of classes from java.lang.*, java.io.* etc. which will fail to get a wsdl created

AW: newbie books

2003-01-14 Thread Sebastian . Beyer
But you should be carefully, in which book you are buying. Building web sxervices with Java is based on apache axis pre-beta-version of axis. So it will not help (it did not help me alot) developing with axis especially. To learn about xml, web services and SOAP it is good, but not more. Refer to t