axis - jms - sonic

2004-04-16 Thread Sebastian Urbanski
Hi, I execute my JMSTest sample. Everything is ok, because jmstest return value from getQuote. I've SonicMQ 4.0.2 (configuration from pdf axis jms sample) and in my messages for queues SampleQ1 is almost 0. It is correct? How I can sent to SampleQ1 any message? regards, seba

ArraySerializer question

2004-04-16 Thread jagannath
Hi, I have a question on ArraySerialization. I have defined my WebService to return some custom object arrays. I have written serializer for the custom object. In my wsdd file I have put the below entries       qname="ns1:ArrayOfString"     type="java:java.lang.String[]"     serializer="org

Sending Large String

2004-04-16 Thread Kenneth Lee
I have a web service that returns a dataset as an xml string. I run into problems when too much data is returned. I usually get one of two error messages: 1. [java] org.xml.sax.SAXParseException: Parser has reached the entity expansion limit "64,000" set by the Application. 2. [java] faultString

Maintaining index for Arrays with null values

2004-04-16 Thread sreekantan, vijay
I am getting differing behavior between serialization and deserialization with axis. Here is the scenario, I am using the following structure to represent an ArrayOfBoolean values. Please notice the nillable="true", so theelements can be null.                    name="a"

delete an attachment after service invocation

2004-04-16 Thread Dario Di Minno
I followed the instructions in the document "Fear of attachments" to write a client that sends an attachment. DataHandler dh = new DataHandler( new URL("file:///"+filename) ); server.addAttachment(dh); After the invocation of the service I'd like the client to delete the file at

RE: delete an attachment after service invocation

2004-04-16 Thread Paulo Soares
It doesn't work in 1.1 but it does in 1.2. Just in case, I'm getting the file name from the data handler and deleting the file from there. Best Regards, Paulo Soares > -Original Message- > From: Dario Di Minno [mailto:[EMAIL PROTECTED] > Sent: Friday, April 16, 2004 2:44 PM > To: [EMAIL

RE: Beginners help

2004-04-16 Thread Steffen Heil
Hi > The good news is that I discovered the real problem in the wsdl you're trying to use. It is definitely non-compliant, both with the W3C note for WSDL 1.1 and the MIME standard (RFC 1521, find it here: http://www.faqs.org/rfcs/rfc1521.html) I will contact that service provider, as soon as I u

RE: delete an attachment after service invocation

2004-04-16 Thread Paulo Soares
Sorry, I was referring to the received attachment. The file that you send is not deleted by axis in the sending side. Best Regards, Paulo Soares > -Original Message- > From: Paulo Soares [mailto:[EMAIL PROTECTED] > Sent: Friday, April 16, 2004 2:57 PM > To: [EMAIL PROTECTED] > Subject: R

Re: Maintaining index for Arrays with null values

2004-04-16 Thread Barzilai Spinak
Where I live, a boolean value can only be true or false. It's bi-state. null/true/false would be a tri-state kind of variable with a whole different algebra :-) In particular to Java, a boolean variable can only be true or false so of course you won't be able to deserialize a null into a boolean.

RE: Maintaining index for Arrays with null values

2004-04-16 Thread Tudor, Liviu @Cimage
Not necessarily, BarZ -- have a look at java.lang.Boolean, which of course is a class, therefore an object of that type can be null as well! :D Liv Liviu Tudor Cimage Novasoft Limited www.cimagenovasoft.com [EMAIL PROTECTED] Fax: +44 (0)1344 767701 Direct Line: +44 (0)1344 767759 Cent

Re: Maintaining index for Arrays with null values

2004-04-16 Thread sreekantan, vijay
OK. But that was not my problem. java.lang.Boolean can be null and that is what I was deserializing to. Sorry, my fault, I did not explicitly mention that.My problem was with the serialization / deserialization.So lets deal with Strings.When axis serializes a{null,"str1",null,"str2"} to       

RE: More than one operation causes java.lang.reflect.InvocationTargetException

2004-04-16 Thread Joe_Rattz
Anne, when you say: But it should look like this: Are you saying that a doc/literal web service method can only have one argument? Thanks. "Anne Thomas Manes" <[EMAIL PROTECTED]> 04/14/2004 07:31 PM Please respond to [EMAIL PROTECTED] To <[EMAIL PROTECTED]> cc Subject RE: More th

Newbie web services application question

2004-04-16 Thread chudzikr
Hi all- I have a web services newbie question, of a general nature. I'm building an application for a school project, using servlets, web services, and JSPs, on Tomcat 5. I've built some command-line web service clients, but not servlet-based. My question is this: for the general architectu

Contstructing objects from xml files

2004-04-16 Thread Srikanth Thiagarajan
Hi Guys, I am trying to create a test server that will accept soap requests and respond with a reponse. The response will be one of the many xml files stored in a repository on the server. I looked at the Axis code around SOAPPart that uses DCI to parse but there is lots of code around using a

Re: Contstructing objects from xml files

2004-04-16 Thread sreekantan, vijay
For some unit testing, I constructed objects from a String (basically the SOAP envelope). See the test.encoding.TestDeser class in Axis source.You will get a better picture. You might be able to do something similar.VijaySrikanth Thiagarajan <[EMAIL PROTECTED]> wrote: Hi Guys,I am trying to create

Can the same Axis Web Service have both rpc/encoded and doc/literal methods?

2004-04-16 Thread Joe_Rattz
Will Axis support both rpc/encoded and doc/literal methods in the same web service? Thanks.

Re: Sending Large String

2004-04-16 Thread Nelson Minar
>1. [java] org.xml.sax.SAXParseException: Parser has reached the entity >expansion limit "64,000" set by the Application. I'd never heard of this error before, but I'll share a little secret with you: when I have no idea what an error message means I just paste it directly into Google. Often I fin

RE: More than one operation causes java.lang.reflect.InvocationTargetException

2004-04-16 Thread Anne Thomas Manes
Note that I made an error in that email. The message definition should look like this: (It uses the element attribute rather than the type attribute) According to the WS-I Basic Profile [1], Section 5.3.1: "5.3.1 Bindings and Parts There are various interpretations about how many wsdl:par

RE: More than one operation causes java.lang.reflect.InvocationTargetException

2004-04-16 Thread Anne Thomas Manes
Note that I made an error in that email. The message definition should look like this: (It uses the element attribute rather than the type attribute) According to the WS-I Basic Profile [1], Section 5.3.1: "5.3.1 Bindings and Parts There are various interpretations about how many wsdl:par

RE: Can the same Axis Web Service have both rpc/encoded and doc/literal methods?

2004-04-16 Thread Anne Thomas Manes
It should. If it doesn't then it's a bug. Per the WSDL spec, you can specify the style and encoding for each operation. Anne -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Friday, April 16, 2004 11:11 AM To: [EMAIL PROTECTED] Subject: Can the same Axis Web Ser

RE: Can the same Axis Web Service have both rpc/encoded and doc/literal methods?

2004-04-16 Thread Anne Thomas Manes
It should. If it doesn't then it's a bug. Per the WSDL spec, you can specify the style and encoding for each operation. Anne -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Friday, April 16, 2004 11:11 AM To: [EMAIL PROTECTED] Subject: Can the same Axis Web Ser

Re: Maintaining index for Arrays with null values

2004-04-16 Thread Barzilai Spinak
A *reference* (e.g. variable) of type java.lang.Boolean can have a value of null (meaning it's not referencing any object) or it can reference a real object (instance) of type Boolean. However, this instance, cannot have a value of null. (see constructors of Boolean, and Boolean.booleanValue()

Re: Contstructing objects from xml files

2004-04-16 Thread Srikanth Thiagarajan
I tried the example and I get it as encoded. How can I get it as literal? - Original Message - From: "sreekantan, vijay" Date: Fri, 16 Apr 2004 08:01:50 -0700 (PDT) To: [EMAIL PROTECTED] Subject: Re: Contstructing objects from xml files For some unit testing, I constructed objects from a

manually supply WSDL question

2004-04-16 Thread Gill, John
I’ve read   http://nagoya.apache.org/wiki/apachewiki.cgi?AxisProjectPages/WsdlFile   and have successfully implemented this solution.   I’ve noticed that the WSDL file reported back to the browser, while containing the same stuff, is formatted differently.  Am I just seeing things, o

Re: Contstructing objects from xml files

2004-04-16 Thread sreekantan, vijay
Frankly, I don't know, but would really like to know. I was using it to test some custom serializers so I was focussing on the functionality.   If you find anything let me know.Regards Vijay Srikanth Thiagarajan <[EMAIL PROTECTED]> wrote: I tried the example and I get it as encoded. How can I get i

What does java.lang.reflect.InvocationTargetException mean?

2004-04-16 Thread David Thielen
Hi;   I am trying to run deploy.wsdd and get:   java org.apache.axis.client.AdminClient deploy.wsdd Processing file deploy.wsdd Exception:: java.lang.reflect.InvocationTargetException   Any ideas?   Thanks - dave

RE: Beginners help

2004-04-16 Thread Mark Leone
Oops, sorry about that. Here's the cirrect wsdl file. BTW, the mime:content type attribute having the wrong value is, I think, the reason that XML Spy was complaining about the element as you irignally reported. http://schemas.xmlsoap.org/wsdl/"; xmlns:xs="http://www.w3.org/2001/XMLSchema";

Re: What does java.lang.reflect.InvocationTargetException mean?

2004-04-16 Thread sreekantan, vijay
InvocationTargetException is a checked exception that wraps an exception thrown by an invoked method or constructor. This will get thrown when you invoke a method using reflection. The actual exceptioncan be extracted from this.In your case, Axis might be initializing the serializer / deserializer

RE: problem using WSDL2Java on RPC/Literal

2004-04-16 Thread Wei Hsu
Title: RE: problem using WSDL2Java on RPC/Literal Hmmm, maybe it's time I take a look at that WS-I Basic Profile. Thanks for the help guys.  I guess I'll just have to figure out a workaround then. -Wei -Original Message- From: Anne Thomas Manes [mailto:[EMAIL PROTECTED]] Sent: Tues