WSDD Help

2003-10-09 Thread TOENZ Manuel
Hi I've got a Problem with the Deploying of one of my Webservices. I used the tag in my file. I want to use a Java Bean in this servlet. When i deploy it, it dont work. Does I have to look after something special? thanks manuel

Re: WSDL Help

2003-10-09 Thread Stephen Gordon
help us to help you: 1. have you validated it against the WSDL schema? 2. if it is valid WSDL, what are the syptoms of the problem?? are there any relevant error messages? stephen Kunzman, Douglas J wrote: I have just started using apache axis and am having trouble fixing this wsdl file. Can a

WSDL Help

2003-10-09 Thread Kunzman, Douglas J
I have just started using apache axis and am having trouble fixing this wsdl file. Can anyone help... Thanks, DJK http://www.w3.org/2001/XMLSchema"; xmlns:tns="uri:diy" targetNamespace="uri:diy" xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/"; xmlns="htt

Re: How to make a handler generate a response

2003-10-09 Thread Jose Miguel Selman
I know that I can set the Response Message in the onFault() method of the handler, but I don't wanna go through all the low level SOAP details to do so. My service is a method that returns a String (XML) and receives a String (XML) as a parameter, so in every situation I must reply with an XML doc

How to make a handler generate a response

2003-10-09 Thread Jose Miguel Selman
Hi: I have a RPC style service which uses a handler chain to do some of the validations, etc. If anything goes wrong while executing any of the handlers I rather generate a custom error (XML Document) instead of throwing an Axis Fault. How can I do that? Thanks, Jose M Selman

RE: Performance Issues with AXIS & Axis Response Time appears linear with load

2003-10-09 Thread Mike Perham
Ray, the following patch changes the code to use ThreadLocal storage instead of synchronization. Can you apply it, rebuild and let us know the results? Alternatively I'd be happy to email you an updated axis.jar if you are not building the code yourself. mike -Original Message- From: Su

RE: Performance Issues with AXIS & Axis Response Time appears lin ear with load

2003-10-09 Thread Sutton, Ray
In answer to Mike, no haven't got that far yet, in light of Robert's reply I will probably look for another work around. In answer to Robert, Thanks in my haste I forgot to check the java docs! Thanks Ray Sutton Systems Engineer -Original Message- From: Mike Perham [mailto:[EMAIL PROTE

RE: Performance Issues with AXIS & Axis Response Time appears linear with load

2003-10-09 Thread Robert Lowe
> My personal instinct, unless anyone knows a good reason not, would be to > remove this specific synchronization point. The docs are quite specific that a DocumentBuilderFactory is *not* guaranteed to be thread-safe: http://java.sun.com/j2se/1.4.2/docs/api/javax/xml/parsers/DocumentBuilderFac to

RE: Performance Issues with AXIS & Axis Response Time appears linear with load

2003-10-09 Thread Mike Perham
The Xerces code is very similar. What's the effect if you take the synchronize out and rerun your performance tests? Do you have any numbers or graphs? -Original Message- From: Sutton, Ray [mailto:[EMAIL PROTECTED] Sent: Thursday, October 09, 2003 1:32 PM To: '[EMAIL PROTECTED]' Subject

RE: Performance Issues with AXIS & Axis Response Time appears lin ear with load

2003-10-09 Thread Sutton, Ray
Hello, Not sure if you're seeing the same problem as me (see thread RE: Axis Response Time appears linear with load) but here's what I discovered in case it helps. I'm seeing traffic backup behind a synchronized call in org.apache.axis.XMLUtils at line 317 (entire method follows) public st

Antwort: Re: Antwort: RE: Axis doc/lit - impossible?

2003-10-09 Thread Oliver Wulff
I've tried to get the recent JavaStubWriter from CVS but there is no note about his fix. Has it been checked it? I don't know how to deal with the following attachement: http://nagoya.apache.org/bugzilla/showattachment.cgi?attach_id=8158 **

Re: Why is java.io.Serializable required for serialization?

2003-10-09 Thread Davanum Srinivas
--- Matt Munz <[EMAIL PROTECTED]> wrote: > Hi all, > > What is the relationship between java.io.Serializable and the Bean > Serializer? No relationship at all. > If I want my objects to be serialized, they need to > implement java.io.Serializable, right? No. It just has to be a JavaBean (i

RE: To or not to ?

2003-10-09 Thread Sapozhnikov, Michael
I will be happy to do so. All I need just some pointers from developers to save my time. Mike -Original Message- From: Stephen Gordon [mailto:[EMAIL PROTECTED] Sent: Wednesday, October 08, 2003 10:08 PM To: [EMAIL PROTECTED] Subject: Re: To or not to ? My advice: write a patch and sub

Why is java.io.Serializable required for serialization?

2003-10-09 Thread Matt Munz
Hi all, What is the relationship between java.io.Serializable and the Bean Serializer? If I want my objects to be serialized, they need to implement java.io.Serializable, right? Does this mean that I can implement writeObject and readObject, and that serial version UID's will be respected? If

RE: [OT] Tomcat, Configuration and JNDI

2003-10-09 Thread ian_d_stewart
Cool! Thanx, Dennis. I'll check it out. Ian Ian D. Stewart Open Systems Engineer II Enterprise Midrange - Bank One Infrastructure & Operations [EMAIL PROTECTED] (614) 244-2564 "Sherman, Dennis (END-CHI)" <[EMAIL PROTECTED]> on 10/09/2003 10:30:29 AM Please respond to [EMAIL PROTECTED]

RE: Axis doc/lit - impossible?

2003-10-09 Thread Davanum Srinivas
Mike, Please start a discussion in the axis-dev@ mailing list about your thoughts on extracting metadata for the web service from existing wsdl. Thanks, dims --- Mike Perham <[EMAIL PROTECTED]> wrote: > Exactly! It's my belief that there are fundamental issues with Axis 1.1 > that preclude sol

RE: Axis doc/lit - impossible?

2003-10-09 Thread Mike Perham
Exactly! It's my belief that there are fundamental issues with Axis 1.1 that preclude solid support for arbitrary doc/lit WSDL. See the bug I opened yesterday for this exact discussion: http://nagoya.apache.org/bugzilla/show_bug.cgi?id=23677 -Original Message- From: Thomas Bayer [mailt

RE: [OT] Tomcat, Configuration and JNDI

2003-10-09 Thread Sherman, Dennis (END-CHI)
Yes. Tomcat supports JNDI. See http://jakarta.apache.org/tomcat/tomcat-4.1-doc/index.html, especially http://jakarta.apache.org/tomcat/tomcat-4.1-doc/jndi-datasource-examples-how to.html and http://jakarta.apache.org/tomcat/tomcat-4.1-doc/jndi-resources-howto.html Or google "tomcat jndi" -- Den

[OT] Tomcat, Configuration and JNDI

2003-10-09 Thread ian_d_stewart
I've noticed that it is relatively common within the various J2EE apps (IBM WebSphere, BEA WebLogic, etc) to use JNDI to access various resources (e.g., JDBC Connections, Resource Adapters, EJB's) which are in turn configured by the J2EE administrator. Does anyone know if there is support for a s

Re: Best method for creating services to interact with .NET

2003-10-09 Thread Tom Oinn
My experience is that you want to use document style for .net, but YMMV. I think it depends somewhat on whether you want to interact with arbitrary services (i.e. you're writing a workflow engine) or whether you have prior knowledge at build time about the particular services you want to talk t

Best method for creating services to interact with .NET

2003-10-09 Thread KimJohn Quinn
Hello all, We currently deployed an application the interacts with .NET using RPC calls, mostly to pass data objects (beans) back and forth. Is using the RPC call the best method for interacting with .NET or should we use the "document" option? Thanks. KimJohn Quinn [EMAIL PROTECTED]

EchoAttachment NullPointerException !

2003-10-09 Thread Lebnix
Hello, Please Help me ! I'm trying to run the sample EchoAttachment and I'm receiving the following exception: C:\axis-1_1>java samples.attachments.EchoAttachment test.txt java.lang.NullPointerException java.lang.NullPointerException at org.apache.axis.Message.createAttachmentPart(Mes

Java2WSDL Error

2003-10-09 Thread TOENZ Manuel
Hello I've got a problem with the Java2WSDL Application. I tried to transform my java Interface to a WSDL File.I tipped this order into the DOS command window: java org.apache.axis.wsdl.Java2WSDL -o chapter8/time.wsdl -l "http://localhost:8080/axis/services/time_service"; -n "services:Zeitansage"

ClassCastException with dynamic proxies and bean mapping?

2003-10-09 Thread Dave Schweisguth
Dear axis-users, I'm able to call a service which returns a bean via Call, but not via dynamic proxies. In the following test code, the block of code which uses Call succeeds but the following block, which uses a Stub, fails with a ClassCastException. // Create the service Service ser

Re: SAXException deserializing a response

2003-10-09 Thread Wolfram Ditzer
Hi Steve, thanks for your hint, but it does not help. I think my problem is, that Axis does not start a  ArrayDeserializer when it deserializes the articels element. Instead it starts a BeanDeserielizer 431752764371

RE: handler's init function not called at time of Tomcat startup

2003-10-09 Thread Agarwal, Naresh
Yes, I've this tag for axis servlet. Still, the init function of handler is not called at the time of start-up, rather it's being called, when I try to use the axis servlet by opening the url - http://localhost:8080/services/servicename thanks, Naresh -Original Message- From: Sanjay Kri

RE: Antwort: RE: Axis doc/lit - impossible?

2003-10-09 Thread Agarwal, Naresh
Hi I agree that wrapped/literal solves some of the problem, which are there in doc/literal but still wrapped/literal services are NOT interoperable with .NET clients. Axis uses *soapenc:arrayType* for encoding the *arrays* in wrapped/literal type of services, which is NOT expected in wrapped/l

JavaBean Exception

2003-10-09 Thread Klas Skogmar
Hi, I tried to connect to an axis service through a client made in JWSDP. The service uses a JavaBean class both as a return value. It did not work, and it seems the Exception is on the server side. The output of the logs gives an error message. Is this a problem with axis, or have I done something

Re: Axis doc/lit - impossible?

2003-10-09 Thread Davanum Srinivas
Thomas, Can you please post a bugzilla bug with test cases for the problems you mentioned? ("methods with no parameters, methods returning void or the soapenc prefix in arrays.") This will help immensely in fixing and verifying the problem. Duplication of code would definitely merit a separate

Re: Antwort: RE: Axis doc/lit - impossible?

2003-10-09 Thread Davanum Srinivas
Oliver, Marked this bug as a duplicate (http://nagoya.apache.org/bugzilla/show_bug.cgi?id=20054). There's a possible patch with 20054 that may fix the problem. -- dims --- Oliver Wulff <[EMAIL PROTECTED]> wrote: > > > > > Mike, > > run WSDL2Java for the WSDL published at > http://nagoya.ap

Re: Axis doc/lit - impossible?

2003-10-09 Thread Thomas Bayer
Hi, Deploying Doc/Lit services with Axis and taking the WSDL from the deployed service works quite well. The WSDL and the SOAP messages are looking all right for Doc/Lit. But there are still a few odd, methods with no parameters, methods returning void or the soapenc prefix in arrays. Taking a WS