Re: mimeErrorParsing when MTOM is set as the attachment encapsulation type within the service

2006-02-03 Thread paul slade
On 2/4/06, paul slade <[EMAIL PROTECTED]> wrote: I am using the latest Axis 1.x from SVN. I am have a service with a method called 'download' that returns a DataHandler. I have the following code within this method: Message rspmsg = AxisEngine.getCurrentMessageContext().getResponseMessage(); rsp

NullPointerException thrown accessing services, but WSDL generation works

2006-02-03 Thread lists
I've just configured Axis 1.1 on my machine, and happyaxis reports all the required jar files are available. But when I try the EchoHeaders.jws service, I get: http://schemas.xmlsoap.org/soap/envelope/"; xmlns:xsd="http://www.w3.org/2001/XMLSchema"; xmlns:xsi="http://www.w3.org/2001/ XMLSchema

Incorrect serialization with Arrays (wraped style) - Axis 1.3

2006-02-03 Thread Kiran Kumar
Title: Incorrect serialization with Arrays (wraped style) - Axis 1.3 Hello I am using Axis 1.3 (Java). I created my service endpoint method as public DataHandler test(String effectiveDate,             String expiryDate,             String[] arrActivities,        

Service startup/initialization

2006-02-03 Thread Scott McCoy
Hello,    I have run into a problem.  I need to add some initialization code to my web service, since this is a simple daemon service I'm using org.apache.axis.transport.http.SimpleAxisServer, rather than normal servlet container.  The approach I attempted to use to solve this issue was adding stat

ClassCastException with Vector return type

2006-02-03 Thread jelly0961
Hi, all, I am using Axis 1.3 with JDK1.5.0_06, and Tomcat 5.5.12. In my client side code, it cast the return Object into String, Integer, Boolean, etc. However, I run into trouble with Vector return type, and here is a piece of my code: Vector results = (Vector) call.invoke(new Object[]{}); and

Problem building my handler

2006-02-03 Thread Jean-Noel Colin
Title: Problem building my handler Hi I’m trying to build a handler to run with Axis 1.3. The goal of this handler would be to update the SOAP message to add WS-Security information using the WSS4J library (I know there’s a handler provided with WSS4J, but I simply need to build a simplified ve

Re: OutOfMemoryError when submitting large SOAP requests to Axis

2006-02-03 Thread Linus Kamb
Hi, Jared. Your service is using rpc/encoded. The identifying parts of the wsdl are: http://schemas.xmlsoap.org/soap/http"/> ^ http://schemas.xmlsoap.org/soap/encoding/"; namespace="http://webservices.

Re: OutOfMemoryError when submitting large SOAP requests to Axis

2006-02-03 Thread Jared Klett
hi Linus, thanks for the link! after doing some reading, I'm still not sure which category this service falls under. I've attached an edited (identifying info replaced by '' and '') version of the WSDL for this service. For reference, I have -Xmx1024m set in the JVM. Have you had any luc

Re: Document Literal vs Document Wrapped vs RPC Encoding

2006-02-03 Thread Christian Kloner
in fact, there are quite a lot of articels, which insists not to use rpc/encoded and hopefully the few web services out there which are still using rpc/encoded will change it. this is very old style but unfurtunatelly axis 1.2 and i think also axis 1.3 has it set as default. but axis2 goes in t

RE: Document Literal vs Document Wrapped vs RPC Encoding

2006-02-03 Thread Alejandro Ariel de Lio
I think that the thing is that when you do soap rpc literal messages you may find it difficult to validate messages in deserializing time. That's because you use the name of the wsdl message element and not the name of the xsd element itself.     -Mensaje original-De: Anne Thomas Ma

Re: FW: axis-java2wsdl is throwing java.lang.NoSuchMethodError

2006-02-03 Thread Simone Bonazzoli
i have a similar problem ... i've this exception:java.lang.NoSuchMethodException : org.apache.axis.encoding.ser.JAFDataHandlerSerializerFactory.create(java.lang.Class, javax.xml.namespace.QName)    at java.lang.Class.getMethod(Class.java:1581)    at org.apache.axis.encoding.ser.BaseSerializerFactor

FW: axis-java2wsdl is throwing java.lang.NoSuchMethodError

2006-02-03 Thread Kiran Kumar
Title: FW: axis-java2wsdl is throwing java.lang.NoSuchMethodError Has anyone come across the following issue? Hello, I am using axis-1_3. When I am trying to use ant task "axis-java2wsdl", I am getting the following error. [axis-java2wsdl] java.lang.NoSuchMethodError: org.apache.axis.encodi

Re: Status w/r/t memory leaks...

2006-02-03 Thread Jesse Sightler
Much better... I was able to throw about .5 million requests at the new version with no increase in memory usage.Thanks for the tip,JessOn 2/2/06, Jesse Sightler <[EMAIL PROTECTED]> wrote: Never mind... I figured it out.  We were (incorrectly) trying to use method overloading in a web service.I'm

RE: Generated code not Thread safe

2006-02-03 Thread Alsarraf, Laheeb \(NIH/OD\) [C]
Hello everyone, I am the originator of the thread. Here is the problem that I encountered and the solution to it. Problem: === 1) The issue is NOT in the Locator: I used a cached instance of the Locator (thanks to a suggestion from this list). It made the performance much better. 2) The

Re: ArrayList in Webservices

2006-02-03 Thread Christian Kloner
Yes. Would say the same. But if you want to use Soap on every price so you dont know what times will come and you must be interoperable, I must say it is not possible to use ArrayLists! You can only use arrays and each element must be of the same type. because soap specifies this and java is us

RE: Upload service in Axis2 administration

2006-02-03 Thread Magnus Olsson
Yes, the commons-fileupload.jar is in classpath. I compiled the war from the source code (0.94) myself. I tried with both jdk1.4.2 and jdk1.5.0 and got the same result. But then I downloaded precompiled war and it worked fine..   thanks, Magnus -Original Message-From: Ajith Ranaba

RE: ArrayList in Webservices

2006-02-03 Thread Jay Glanville
If your server and clients are both java, soap may not be the best communication protocol for you.  I'd actually recommend a binary based protocol like RMI or Hessian/Burlap for such situations.  Binary protocols perform better then text based ones.   Generally, SOAP is great for interoperati

Re: Upload service in Axis2 administration

2006-02-03 Thread Ajith Ranabahu
Hmmm Is the commons fileupload jar in the classpath ? I'm not sure whether the war was tested in the mentioned environment (tomcat 5.5 with jdk 1.5) but it seems that the problem is related to the behavior of the commons-fileupload component.On 2/3/06, Magnus Olsson <[EMAIL PROTECTED]> wrote: H

Re: ArrayList in Webservices

2006-02-03 Thread Nayana Hegde
Hi,     Our application has to support only java. Can anyone let me know what are the criteria to be satisfied If I have  to write a Serializer and Deserializer for ArrayList? Thanks for the same   On 2/3/06, Anne Thomas Manes <[EMAIL PROTECTED]> wrote: If you plan to support interoperability with

Re: ArrayList in Webservices

2006-02-03 Thread Anne Thomas Manes
If you plan to support interoperability with any language other than Java (or even any SOAP engine other then Axis), you should not expose Java Collections through your WSDL interface. You should convert them to arrays. AnneOn 2/3/06, Nayana Hegde <[EMAIL PROTECTED]> wrote: Hi,   The following is

Problems with wsdl2code

2006-02-03 Thread Ricardo Blanes
Hi all       I have been using wsdl2code from axis2 version 0.94, and I have got some strange results. I am working on windows XP professional, with SUN jdk 1.5, and I have set AXIS_HOME environment variable to the directory where axis2 was unzipped.       I have use th

AXIS-790 workaround -> bad envelope tag

2006-02-03 Thread Fernando.Matomira
I tried using the workaround attached to   https://issues.apache.org/jira/browse/AXIS-790   to allow proxy authentication while operating under Java Web Start but the communication fails with a “Bad envelope tag” error  

Upload service in Axis2 administration

2006-02-03 Thread Magnus Olsson
Hi, I got the following expception when I tried the Upload Service link in the administration for Axis2. The environment is Tomcat 5.5.15 and jdk1.5.0_06. Does anyone know what the problem might be? regards, Magnus org.apache.jasper.JasperException: Unable to compile class for JSP Generated

Re: Generated code not Thread safe

2006-02-03 Thread Cyrille Le Clerc
Hello Ever, I am confused. I replayed many stress tests and I never reproduced such a multi threading lock. My environment is Sun JDK-1.5.0_06, Tomcat 5.5.9 and Axis 1.3 (same versions on client and server) and I used pretty complex WSDLs (5 to 7 complex types involved each call). Ca

long lines

2006-02-03 Thread Mudi Dandan
Hi, I'm using axis 1.3 for java an have problem with that it generates the soap request as one very long line. This is especially a problem since I'm sending MMS content in a byte array which can be up to 300k. I would not care about it, but the web service fails to handle it. I there a way

Re: Can't find module.xml

2006-02-03 Thread Brian Shields
Have you shut down your app/web server before trying to delete it? If so then it is likely there is a java process running with a lock on it, that was the case with me! Aaron Evans wrote: Bryan Allen sas.com> writes: Look in: %UserProfile%. This is where my .axis2 folder was located w

ArrayList in Webservices

2006-02-03 Thread Nayana Hegde
Hi,   The following is the class which I have exposed as a webservice.   public class Test {  public ArrayList getArrayList(){  ArrayList list = new ArrayList();  TestObject obj = new TestObject();  obj.setName("First");  list.add(obj);  TestObject obj1 = new TestObject();   obj1.setName("Second");