Re: OutOfMemoryException from my Axis client

2004-09-21 Thread Venkat Reddy
hi James, You can just post the test case to axis-user, if possible. If not you could just send it directly to me. Thanks Venkat On Tue, 21 Sep 2004 13:43:33 -0400 (EDT), James CE Johnson <[EMAIL PROTECTED]> wrote: > Hi Venkat, > > I tried 1.4.2_05-b04 with the same results. Unfortunately, I ca

Re: ThreadLocal bug

2004-09-21 Thread matthew.hawthorne
Joseph Dane wrote: "matthew.hawthorne" <[EMAIL PROTECTED]> writes: I'm not sure if this is it -- but ThreadLocals don't work inside of app servers that use thread pooling. that's news to me. care to clarify this? perhaps you mean that for a series of requests coming as part of a single session, t

Returning a Bean with a Bean Array as a propery

2004-09-21 Thread mmosttler
Title: Returning a Bean with a Bean Array as a propery Hi, I have been trying to work through a problem.  I have noticed that this issues does exist within the user and dev archives as well as a bug which seems to be related, but I have not seen any answers/solutions or help of any sort. I ha

n00b seeking advice

2004-09-21 Thread Larry Meadors
OK, I am trying to decide how to implement a webservice, and have a few questions. I have implemented one from a wsdl that was given to me, so I am OK with doing that...but now, I need to do another from scratch. I know I can use java2wsdl to create the wsdl once I create the interface that I wan

Re: ThreadLocal bug

2004-09-21 Thread Joseph Dane
"matthew.hawthorne" <[EMAIL PROTECTED]> writes: > I'm not sure if this is it -- but ThreadLocals don't work inside of > app servers that use thread pooling. that's news to me. care to clarify this? perhaps you mean that for a series of requests coming as part of a single session, the several re

Shared resource

2004-09-21 Thread Mayur Shetye
hi I having a serverside program which accesses a shared resource, a UNIX command which shouldnt be invoked again till it has returned. this command is going to be called by a Java program which shall be an implementation of a webservice (server end). Given the asynchronous nature of service ca

RE: Axis 1.1 samples.fault: No SOAP Fault response

2004-09-21 Thread Greg Michalopoulos
Ann, You might want to try throwing a new AxisFault. This will force the server to reply with a SOAP fault instead of the stack dump. It looks like yours is being thrown like an Exception rather than an AxisFault. -Original Message- From: Keast Ann [mailto:[EMAIL PROTECTED] Sent: Tue

Re: Axis 1.1 samples.fault: No SOAP Fault response

2004-09-21 Thread thomas . bailey
from memory the nosuchemployee extends remote exception (as opposed to extending axis fault) hence you see an exception client side. the recommended way is to use faults as opposed to exceptions for interop. the fault sample included in axis1.1 isnt especially good in my opinion - Richard Hanson p

Re: Returning array of complex types

2004-09-21 Thread Eric Rajkovic
Fabio, The "39b"-"0" and "4ac"-"0" are the chunking size, related to chunked transfer. They are the chunk-size - last-chunk, as defined in the Hypertext Transfer Protocol -- HTTP/1.1 specification. see http://www.faqs.org/rfcs/rfc2616.html, section 3.6.1 Chunked Transfer Coding From the parser err

Axis 1.1 samples.fault: No SOAP Fault response

2004-09-21 Thread Keast Ann
I tried the samples.fault web service included in Axis 1.1 Release. I made no modifications to the source, deployed the webservice with the AdminClient, and invoked it from the EmployeeClient. When I request a valid employee "#001" - I get a SOAP response for Bill Gates. When I request an invalid

Re: Problem getting HTTP Basic Authentication working

2004-09-21 Thread David Robison
This also does not seem to work. I am able to connect to the service page via a web browser when I give the username and password. Any other ideas? David Robison Bill Keicher wrote: Hey David, I don't know if this will work for you, but it has worked for me... Instead of: ABCWSSoap mbsSoap = mbsS

Re: OutOfMemoryException from my Axis client

2004-09-21 Thread James CE Johnson
Hi Venkat, I tried 1.4.2_05-b04 with the same results. Unfortunately, I can't easily try the latest Axis. I'll see what I can do to create a simple testcase though. Should I send that to you directly? > The bug seemed to have lived as late as Sun's JVM 1.4.2-b28 and was > fixed in 1.4.2 final rel

RE: Problem getting HTTP Basic Authentication working

2004-09-21 Thread Bill Keicher
Hey David, I don't know if this will work for you, but it has worked for me... Instead of: ABCWSSoap mbsSoap = mbsSoapService.getABCWSSoap(serviceURL); ((ABCWSSoapStub)mbsSoap).setUsername("orci"); ((ABCWSSoapStub)abcSoap).setPassword("orci"); Try something like: ABCWSSoap

Problem getting HTTP Basic Authentication working

2004-09-21 Thread David Robison
I'm having trouble getting HTTP basic authentication working. I've used the wsdl2java compiler to compile a 3rd party wsdl. Here is my client code: try { ABCWS mbsSoapService = new ABCWSLocator(); URL serviceURL = new URL("http://abc.com/ABCinterface/mbs.asmx";);

RE: SAAJ Tester with Complex Object

2004-09-21 Thread Sagar Pidaparthi
I Observe that the SOAP message generated by proxy based client generates for defining complex structures. The SAAJ apis do not do this, they just have embedded structures. Secondly is it necessary to have all the fields of the complex object filled up for getting a response? In the case of SA

SAAJ Tester with Complex Object

2004-09-21 Thread Sagar Pidaparthi
Hi, Does any one have a SAAJ Tester which uses a Complex Java object that runs against Axis? I would appreciate a working example please. Regards Sagar

RE: a problem with JDBC and Web Service

2004-09-21 Thread Peter White
I basically did it this way, the libraries you get for JDBC with mysql are in jar that you find (as of today, sep 21... Lots of new stuff/changes seems to be coming out from MySQL every week) here http://dev.mysql.com/downloads/connector/j/3.0.html The documentation (with lots of good examples o

Re: a problem with JDBC and Web Service

2004-09-21 Thread Brian H. Ward
If you are in a Tomcat environment, you *can* use server configured datasources. But, you can also use traditional Java JDBC calls (Class.forName, DriverManager.getConnection, createStatement(), executeQuery(), etc.). The basic JDBC tutorial at Sun will work from inside of Tomcat. --- bhw On Tu

a problem with JDBC and Web Service

2004-09-21 Thread Daniel Sánchez Gómez
Hi, I'm newbie of Web service and I want to do a web service wich inserts data into a mysql database I dont't know if I need to configue server.xml and web.xml files? (I work with Tomcat) I've read jndi-datasource-examples-howto.html, but it's a servlet example and I don't know if it

Message Service

2004-09-21 Thread David Lavery
  I'm looking to implement the Axis Message Service with the method signature 4 ( i.e. public void method(SOAPEnvelope req, SOAPEnvelope resp);) Reading the documentation for this, I'm uncertain how to code for the situation where I do not want to send a SOAP response. Does anyone know what

RE: string arrays with doc/literal

2004-09-21 Thread Bouche Paul
Hello,   from my understanding to previous posts and reading the bug data base: There is a bug in Axis 1.2 beta 3, work in progress respectively sending arrays of simple types in Axis 1.2 beta 3 with document/lit encoding.  I also understand that the developers are working on this with high

Re: OutOfMemoryException from my Axis client

2004-09-21 Thread Venkat Reddy
The bug seemed to have lived as late as Sun's JVM 1.4.2-b28 and was fixed in 1.4.2 final release if we have to believe Sun's release Notes for 1.4.2 (they also said it is fixed in 1.4.1_05). James, do you have an option of using the latest 1.4.2 JVM (1.4.2_05) and Axis latest version and see if th

Axis 2 Release Candidate 1 / nillable -attribute doesn't work with WSDL2Java

2004-09-21 Thread Sami Lakka
I’m trying to create Java- classes from my WSDL but I ran into problems with WSDL2Java in axis-1_2RC1. When I set nillable as true in my WSDL (MaxAge attribute, see below) the WSDL2Java doesn’t bind the element as an Integer but as an int. With Axis 1.1 this worked and the element was