Re: org.apache.axis.types.Time

2004-11-03 Thread Dennis Sosnoski
Egor Pervuninski wrote: Hello Jeff, ## Deppen, Jeff : Wed, 3 Nov 2004 10:57:06 -0500 DJ> All, Does anyone know of a way to dictate the timezone DJ> org.apache.axis.types.Time uses? It appears to ALWAYS convert a DJ> local time to UTC. (I've got some picky client app developers DJ> that want the t

Help! String xs:attributes not supported? (java.lang.reflect.InvocationTargetException)

2004-11-03 Thread Dawid Loubser
Hi, I have a serious problem with Axis 1.2 - in my schema (which I have no control over), I basically have a type which represents a currency: It's a complex type, with a xs:string attribute for Currency Symbol: and Everything is document/literal in the schema. wsdl2java com

Re: jboss and axis...

2004-11-03 Thread Egor Pervuninski
Hello, ## Cervi, Anthony (PCLN-NW) : Wed, 3 Nov 2004 15:46:53 -0500 CA> i've developed a web service client using axis 1.2 and got CA> everything to work both standalone and from within a tomcat CA> servlet. i've now tried to deploy my code to jboss 3.2.3 and i CA> get the following exception wh

Re: org.apache.axis.types.Time

2004-11-03 Thread Egor Pervuninski
Hello Jeff, ## Deppen, Jeff : Wed, 3 Nov 2004 10:57:06 -0500 DJ> All, Does anyone know of a way to dictate the timezone DJ> org.apache.axis.types.Time uses? It appears to ALWAYS convert a DJ> local time to UTC. (I've got some picky client app developers DJ> that want the time as Eastern Standar

Re: Axis 1.2 AsyncCall

2004-11-03 Thread Egor Pervuninski
Hello, ## Jan Schäfer : Wed, 3 Nov 2004 12:04:03 + JS> Hi, I'd like to use Axis and SOAP over HTTP for aynchronous JS> messaging. Now I'm interested in how Axis internally matches JS> responses to requests, and how the web service knows where to send JS> the reply. Because I thought that you

RE: (newbie) returning boolean value

2004-11-03 Thread Nathan Wardle
Hi Tim, boolean has a wrapper class called Boolean. This is probably what will be returned. You should be able to call ((Boolean)result).booleanValue to get the primitive type. Nathan -Original Message- From: Tim Hu [mailto:[EMAIL PROTECTED] Sent: Thursday, 4 November 2004 2:29 PM To: a

Re: (newbie) returning boolean value

2004-11-03 Thread Mahen Perera
I guess the method would return the wrapper class of the boolean , ( that is Boolean) ... so u have to cast the return type to Boolean and call the .booleanValue method to get the return value. Regards Mahen On Wed, 3 Nov 2004 19:28:57 -0800 (PST), Tim Hu <[EMAIL PROTECTED]> wrote: > dear all:

(newbie) returning boolean value

2004-11-03 Thread Tim Hu
dear all: i am trying a very simple webservice deployed in the basic .jws fashion. the method returns a "boolean". however, in the sample client code, the way to call this method is to do: Object result = call.invoke( new Object[] { offer } ); however, call.invoke returns a java Object, which d

Re: Turning off stacktrace problem (and solution)

2004-11-03 Thread Nelson Minar
>I ran into a problem with not being able to stop stack traces from being >sent to the client even though "axis.development.system" Oh! Thank you for figuring this out and posting the details. This has been bugging me for a long time in my Axis install. I took the liberty of filing your email as

Turning off stacktrace problem (and solution)

2004-11-03 Thread Dan Ciarniello
I ran into a problem with not being able to stop stack traces from being sent to the client even though "axis.development.system" was set to false in the wsdd. The beauty of open source is that I've been able to trace through the code and figure out what the problem was. The service that I'm

RE: jboss and axis...

2004-11-03 Thread Tami Wright
Put ALL axis related jars (under $AXISWEBAPP/WEB-INF/lib) in your deployed ear in the WEB-INF/lib directory. Tami -Original Message- From: Cervi, Anthony (PCLN-NW) [mailto:[EMAIL PROTECTED] Sent: Wednesday, November 03, 2004 1:47 PM To: [EMAIL PROTECTED] Subject: jboss and axis... i'v

RE: array producing SAXException

2004-11-03 Thread Greg Michalopoulos
I believe XML Standard would be to wrap you shortAutoDescription with shortAutoDescriptions. ... But either way it is better than the schema in your first post to the list (). So in short your second method should work. -Original Message- From: Ben Anderson

jboss and axis...

2004-11-03 Thread Cervi, Anthony (PCLN-NW)
i've developed a web service client using axis 1.2 and got everything to work both standalone and from within a tomcat servlet. i've now tried to deploy my code to jboss 3.2.3 and i get the following exception when calling my client code from within an ejb: java.lang.NoClassDefFoundError: or

Incomprehensible Axis 1.1 fault

2004-11-03 Thread T K
Any ideas about the following two error messages? 1) Unconvertible UTF-8 character beginning with 0x92" 2) (line number may be too low) AxisFault faultCode: {http://schemas.xmlsoap.org/soap/envelope/}Server.userEx ception faultSubcode: faultString: org.xml.sax.SAXParseException: Character convers

Getting elemnts from SOAPHeader

2004-11-03 Thread Eduardo Issao Ito
I'm having some trouble to get an specific elemnt of the soap header. I tryed it four different ways and none works... Any ideas? I'm using Axis 1.2 RC1, and the variable env is of type org.apache.axis.message.SOAPEnvelope 1) NodeList listaNos = env.getHeader().getElementsByTagName("Identificad

Re: array producing SAXException

2004-11-03 Thread Ben Anderson
One thing I thought might be causing the problem is: would this be better off being something like: that would change this: 1 Mercury so that the wraps the array. I think that may change my generated java classes, but if it'll work... Thanks, Ben On Wed, 3

AW: AW: AW: log4j help pls

2004-11-03 Thread Dorner, Thomas
Hi , thank you all for your replies, I have solved the problem with relativ path by setting a JVM-Option. I will also set a JVM-Option to tell Tomcat where to find my log4j.config.xml but he tell me, that he can´t find it!? -Dlog4j.configuration=C:\\projects\\sources\\xxx\\WebContent\\ WEB-INF\

RE: Error connecting to webservice with stub : java.lang.NoSuchMe thod Exception

2004-11-03 Thread John McCosker
Title: Error connecting to webservice with stub : java.lang.NoSuchMethodException Sorry I included the servlet,   this is my webservice,   it is just basic testing at the moment,   /* * Created on 01-Nov-2004 * */package com.leocate.spreadSheets;   import javax.xml.parsers.DocumentBuilderF

org.apache.axis.types.Time

2004-11-03 Thread Deppen, Jeff
All, Does anyone know of a way to dictate the timezone org.apache.axis.types.Time uses? It appears to ALWAYS convert a local time to UTC. (I've got some picky client app developers that want the time as Eastern Standard Time.) thanks! jeff

Error connecting to webservice with stub : java.lang.NoSuchMethod Exception

2004-11-03 Thread John McCosker
Title: Error connecting to webservice with stub : java.lang.NoSuchMethodException Greetigs, so is it Kerry or Bush?   i'm a Northern Ireland Nuetral taking an interest. anyway back to business, I have a problem that is confusing me here, I am calling a webservice within a servlet. I

RE: log4j help pls

2004-11-03 Thread Wagle, Shriniwas
My example was based on a properties file, but I think that should work equally well for an XML based log4j configuration. Java doesn't have the concept of environment variables as they are platform dependent. System property is always set using the -D command line option for "java vm" or progr

Re: AW: AW: log4j help pls

2004-11-03 Thread smcardle
Hi Thomas, You do not need to have the first \\ charactes as this makes it an actual path rather than a relative path so it should be BTW just use a single forward slash instead of the double back slash it will be easier to read.. Regards Steve Quoting "Dorner, Thomas" <[EMAIL P

AW: log4j help pls

2004-11-03 Thread Dorner, Thomas
Hi Wagle, Thanks for your reply. Can you please explain me your example in detail? Where should I set the system property - do you mean I should set a environment-variable "CATALINA_HOME"? log4j.appender.A2.File=${catalina.home}/logs/SystemSigner.log??? Some help? Thanks Thomas -

RE: AW: log4j help pls

2004-11-03 Thread Keith Hatton
I don't think you need the \\ escape syntax in an XML file. One backslash at a time should work. Keith -Original Message- From: Dorner, Thomas [mailto:[EMAIL PROTECTED] Sent: 03 November 2004 13:58 To: '[EMAIL PROTECTED]' Subject: AW: AW: log4j help pls Hi Steve, I can set the positi

RE: Use of multiple client certificates in axis client

2004-11-03 Thread Hubble, Christopher
Title: Use of multiple client certificates in axis client -shrug-  Ya got me.  All I know is that you can have multiple certs in one keystore, and I don't remember seeing a way to differentiate them programmatically.  You can assign each one an alias, but from what I can tell, that's only for

Problems with SOAP 1.2

2004-11-03 Thread Dirk Joosen
Hello We want to use the new recommendation SOAP 1.2 within our applications.I've installed the latest AXIS library version 1.2RC1. When we use the samples with this library our application send the wrong format of the SOAP message.We use the library together with JBoss-3.2.6. Is there a poss

RE: Use of multiple client certificates in axis client

2004-11-03 Thread Cor Hofman
Title: Use of multiple client certificates in axis client Hi Chris,   Thank you for your answer. Maybe this is out of scope, but how does it know what is the proper certificate?   Regards.       Cor. -Oorspronkelijk bericht-Van: Hubble, Christopher [mailto:[EMAIL PROTECTED]Verz

AW: AW: log4j help pls

2004-11-03 Thread Dorner, Thomas
Hi Steve, I can set the position of my log4j.config.xml in the classpath so the log4j.config.xml can be placed everywhere - right? So I define my appender like this: And make a directory /logs under /WEB-INF. Do you think it will work this way? I haven´t much success with testing!

RE: log4j help pls

2004-11-03 Thread Wagle, Shriniwas
The log4j properties file can handle system properties. So you can use something like below to specify a path name. log4j.appender.A2.File=${catalina.home}/logs/SystemSigner.log -Original Message- From: Dorner, Thomas [mailto:[EMAIL PROTECTED] Sent: Wednesday, November 03, 2004 8:14 A

RE: Use of multiple client certificates in axis client

2004-11-03 Thread Hubble, Christopher
Title: Use of multiple client certificates in axis client I _believe_ you can simply add all of your certs to the keystore that you are using.  Then when your ssl connection is created, it will check your keystore for the proper cert.   Chris -Original Message-From: Cor Hofman [

Re: AW: log4j help pls

2004-11-03 Thread smcardle
Hi Thomas, Your log4j properties file only needs to be located via the class path so in your case it should be put in the WEB-INF/classes directoy. Else you have specified a path somewhere (probably in a servlet property in your web.xml file) You should not be putting your context logging into

AW: log4j help pls

2004-11-03 Thread Dorner, Thomas
Hi Steve, Thank you for your fast reply! >If you are using from a WEB Context it will be a relative path from the >WEB-INF/ directory of your web context I have a Web-Application with the following path: C:\jakarta-tomcat-4.1.24\webapps\PDMWebConnector\WEB-INF\classes My log4j.config runs in: C

Re: Programatically Creating and Deploying a Web Service

2004-11-03 Thread Mark Malinoski
Mark, I have not tried to deploy progamatically, but looking at the javadocs, everything that can be done command line is exposed in the Axis API. It may take some trial and error to get the expected results, but you should have access to what you need in the API. You may want to look at the A

Re: log4j help pls

2004-11-03 Thread smcardle
The short answer is yes. Don't put the absolute path name just a relative path name. This has a affect depending on the context. If it is a stand alone application it will be a relative path from the directory in which you started the application. If you are using from a WEB Context it will be

Use of multiple client certificates in axis client

2004-11-03 Thread Cor Hofman
Title: Use of multiple client certificates in axis client Hi,   I have to send several AXIS-SOAP request via SSL using different client certificates. The certificate of choice depends on the web service I am targeting. How do I do this? The easy solution seems to be, create several key

Re: Axis 1.2 AsyncCall

2004-11-03 Thread Davanum Srinivas
Jan, No. Axis 1.2 does not support this yet. thanks, dims On Wed, 3 Nov 2004 12:04:03 +, Jan Schäfer <[EMAIL PROTECTED]> wrote: > Hi, > > I'd like to use Axis and SOAP over HTTP for aynchronous messaging. Now > I'm interested in how Axis internally matches responses to requests, > and how

Axis 1.2 AsyncCall

2004-11-03 Thread Jan Schäfer
Hi, I'd like to use Axis and SOAP over HTTP for aynchronous messaging. Now I'm interested in how Axis internally matches responses to requests, and how the web service knows where to send the reply. Because I thought that you have to specify a unique ID (a correlator) and the return address for th

log4j help pls

2004-11-03 Thread Dorner, Thomas
Hi all,   I am sorry for asking this non axis question, but I cant find a solution whenn googling.   I use log4j in my project and so I have the log4j.config.xml and therefore the appenders. The appender do have a attribute name="File" and a value="C:\\..\\..\\" with the absolute path,

New bie-about WS/WSDL

2004-11-03 Thread MS
hello all, I am a new bie to this axis..&web services I did the following.. 1.Wrote a simple java program(Hello msg).changed to .jws..deployed&i get back the result with the client too. Hello.java public class Hello{  public String greet(String a_name)  {    return "Nice to meet you, "+a_name;  }}