Re: Apache SOAP, JBoss and deployment descriptor

2002-10-02 Thread penguin
I'm so sorry but nothing is better. It still do not work --- Scott Nichol <[EMAIL PROTECTED]> wrote: > Your deployedservices.xml is missing the proper root > element. What you > have needs to be wrapped inside > The > XMLConfigManager looks at > children of the root. Your element is > th

Re: Samples Error - famous ns2 - all test work

2002-10-02 Thread James Black
Brian Rowe wrote: >I have Xerces 2.2.0 first in my classpath. All of the >other jars are there, JAF, Mail, Soap. the soap >directory is in my classpath as well as the samples >state. xerces has Impl and APIs; I have them in my >classpath in that order and they should be the only >ones in my cl

Samples Error - famous ns2 - all test work

2002-10-02 Thread Brian Rowe
I have Xerces 2.2.0 first in my classpath. All of the other jars are there, JAF, Mail, Soap. the soap directory is in my classpath as well as the samples state. xerces has Impl and APIs; I have them in my classpath in that order and they should be the only ones in my classpath - as in when I ty

Re: Silly Error

2002-10-02 Thread Tanmay Kumar
Hi Scott, >From your answer, It is not very clear what we should do. If a method is having a signature like this public float method1(String str, int count, Integer size) , which is very much possible, according to you both count and size variable will be converted to xsd:int in SOAP message. Th

Re: Unknown reason for error

2002-10-02 Thread Scott Nichol
Have you tried doing a new installation of Tomcat then Apache SOAP without doing "other contexts", such as struts? Also, what instructions are you following to install Apache SOAP? With Tomcat 4.0, you need only copy soap.war to $TOMCAT_HOME/webapps. I have repeated such an installation 20-30 t

Re: Unknown reason for error

2002-10-02 Thread Michael Baron
I have not resolved this yet. I have taken a couple days break from trying to track it down since I got no where. - Original Message - From: "Scott Nichol" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Tuesday, October 01, 2002 8:00 PM Subject: Re: Unknown reason for error > Michae

Re: An invalid XML character (Unicode: 0x1)

2002-10-02 Thread WJCarpenter
>> Caught SOAPException (SOAP-ENV:Client): Parsing error, response was: >> An invalid XML character (Unicode: 0x1) was found in the element > This is a guess, but you may need to have the bytes that make up the > image be > within a cdata tag, or use base64 encoding. > Most likely there is a c

Re: An invalid XML character (Unicode: 0x1)

2002-10-02 Thread James Black
Jian Zhang wrote: > Caught SOAPException (SOAP-ENV:Client): Parsing error, response was: > An invalid XML character (Unicode: 0x1) was found in the element content of > the This is a guess, but you may need to have the bytes that make up the image be within a cdata tag, or use base64 encoding.

An invalid XML character (Unicode: 0x1)

2002-10-02 Thread Jian Zhang
I got an error which I could not understand: I found out that once I called a method to return me an image document, I began to get the following message in my log file, even I called other methods, which functioned properly before I called this get document. The thing is that it seems to me th

Re: Silly Error

2002-10-02 Thread Scott Nichol
Both Integer and int are serialized as xsd:int. By default, xsd:int is deserialized to int. For your particular method, you need to deserialize to Integer, which you can do with a custom mapping. Of course, this means all xsd:int will be deserialized to Integer, which probably breaks any method

Silly Error

2002-10-02 Thread Tanmay Kumar
Hi all, I am getting an strange error of no such method with the following code. My method signature for Webservice is public float testMethod(String city, Integer p) The parameter setting part of Client code is like this: Vector params = new Vector(); params.addElement(new Parameter("

Re: Apache SOAP, JBoss and deployment descriptor

2002-10-02 Thread Scott Nichol
Your deployedservices.xml is missing the proper root element. What you have needs to be wrapped inside The XMLConfigManager looks at children of the root. Your element is the root, not a child of the root. Scott Nichol - Original Message - From: "penguin" <[EMAIL PROTECTED]> To: