WSDL optional attributes

2010-01-11 Thread Luis Rivera
Hi, I have a problem with the wsdl2java code generation in axis2 for optional attributes In short, how can I make it generate Objects intead of primitives for OPTIONAL ATTRIBUTES? Axis1 would generate them as Objects, which was great since I could look for nulls as a sign that the client had not

Re: help. newbie error. cannot deploy

2007-01-19 Thread Luis Rivera
OGFILE.layout.ConversionPattern=%-4r > > > [%t] %-5p %c %x - %m%n > > > > > > Modify it if you need. > > > 2007/1/19, Anil Philip > <[EMAIL PROTECTED]>: > > > > > > > > Thank you for replying. > > > > I do not see anyth

RE: help. newbie error. cannot deploy

2007-01-18 Thread Luis Rivera
Anil, I do not know what is the exact problem, but I have seen the same exception many times. The server is mapping the original exception to "InvocationTargetException". Therefore, I would recommend looking into the server logs to know the original Exception and proceed accordingly. H

Help with axis/tomcat

2007-01-15 Thread Luis Rivera
Hi axis community, I would like to know how could I jump start my web service in tomcat before any call from the client is made. My first version only needed to be stateless and that worked fine, since I noticed that each call from the client creates a new object in the server. However, now

RE: Axis https/SSL Server Certificate Validation question

2006-11-22 Thread Luis Rivera
while( (bytes = is.read(buffer)) > 0 ) fos.write(buffer, 0, bytes); fos.close(); is.close(); url = tmp.toURL(); System.out.println("setting truststore to: " + url.getPath()); System.setProperty("javax.net.ssl.trustStore",url.getPath()); this will of course write a t

Axis https/SSL Server Certificate Validation question

2006-11-21 Thread Luis Rivera
Dear axis users, I googled my way up to this point, but now I have to ask about this. I am sure it is being asked, but have not being able to find a way to do this, unless I am misunderstanding something. OK, I want to use https for encryption using only Server side authentication. I mana

RE: Urgent!java.lang.reflect.InvocationTargetException

2006-10-12 Thread Luis Rivera
Hi, I am not sure if you solved this. I had the same problem and after checking the source code I realized that this is a generic exception. Which means that most exceptions are mapped to a InvocationTargetException, so look at the whole trace and logs and figure out where is the exception

Re: Abandoning AXIS :( !!!

2006-08-01 Thread Luis Rivera
r the wrapper) should be in the extension dirs. NOT axis jars. > > -- dims > > On 7/24/06, Luis Rivera <[EMAIL PROTECTED]> wrote: >> >> Thanks Dims and Warren, >> >> I really really apreciate your input. >> >> Does these options mean that it is not

Re: Abandoning AXIS :( !!!

2006-07-24 Thread Luis Rivera
;s in jre\bin? http://java.sun.com/j2se/1.4.2/docs/guide/extensions/spec.html -- dims On 7/24/06, Luis Rivera <[EMAIL PROTECTED]> wrote: Axis users/devs, Unless I can find a solution for this today, I will have to move on and find better options. I believed that susing a axis/tomcat web servic

Re: Abandoning AXIS :( !!!

2006-07-24 Thread Luis Rivera
doning AXIS :( !!! Date: Mon, 24 Jul 2006 19:59:09 -0400 Have you given Axis C++ consideration? Instead of using a servlet container hosting axis to a hni layer to your dce layer Axis C++ goes through Apache HTTP Server straight into C++. Walt Luis Rivera wrote: Axis users/devs, Unless

Abandoning AXIS :( !!!

2006-07-24 Thread Luis Rivera
Axis users/devs, Unless I can find a solution for this today, I will have to move on and find better options. I believed that susing a axis/tomcat web service to bridge my current C++ server was going to be easy. But I cannot get past a classs loading problem in the TOMCAT and nobody seems

java.lang.LinkageError: Class soap/xsd/CompanyInfo violates loader constraints

2006-07-22 Thread Luis Rivera
HELP PLEASE, PLEASE PLEASE, Any axis/tomcat Guru knows what can cause this exception? I need to have some classes either in shared or common, outside of the webapps directory. This is causing my a great headache, and only by activating the logging in the webapps directory I saw the trace you

Re: Where to put Amazon Stub classes

2006-07-19 Thread Luis Rivera
o you find that the problem is that? I really don't know how to advance from this InvocationTargetException... Luis Rivera ha scritto: Roberto, I found my problem. It turned out not to be a Classloader problem, but a NullPointer problem in the server, which I had not found because I don

Re: Where to put Amazon Stub classes

2006-07-18 Thread Luis Rivera
ion in the server, we could get better light on what is happening and solve problems a lot quicker :|. Anybody knows how to debug remotely axis/tomcat apps? --Luis R. From: "Luis Rivera" <[EMAIL PROTECTED]> Reply-To: axis-user@ws.apache.org To: axis-user@ws.apache.org Subjec

Re: Where to put Amazon Stub classes

2006-07-18 Thread Luis Rivera
e from the first point. I really finish my ideas to solve this problem. Is it possible that no one had never try to use Amazon in Axis? I wrote on Amazon forum, Nabble Axis forum, Java forum but with no succes. I hope we find the solution :-( Roberto. Luis Rivera ha scritto: Roberto, I don&#

Re: Where to put Amazon Stub classes

2006-07-17 Thread Luis Rivera
Roberto, I don't know the answer, but I am having the same problem. Same exception but with a slightly different setup. I have a class which will use a JNI library, which according to the documentation should be place in the shared/classes directory. So I did and I get the dreaded java.la

Re: [Axis 1.4] Server side question !!!

2006-07-14 Thread Luis Rivera
1.4] Server side question !!! Date: Fri, 7 Jul 2006 18:12:54 -0400 Go with Tomcat 5.5. On 7/7/06, Luis Rivera <[EMAIL PROTECTED]> wrote: Hi Anne, Fair enough and thanks agan :) ... I also think J2EE is overkill. Now, what versino of Tomcat should I use? 5.5 is the one I downloaded, but

Re: [Axis 1.4] Server side question !!!

2006-07-07 Thread Luis Rivera
inet.com/products/ssc/overview). It's not open source, but it is less expensive than LEIF. Anne On 7/7/06, Luis Rivera <[EMAIL PROTECTED]> wrote: First of all, thanks for the reply Anne, I appreciate it :) We already looked into C/C++ axis, but it is clearly not mature and full

Re: [Axis 1.4] Server side question !!!

2006-07-07 Thread Luis Rivera
et engine -- including any J2EE server. It's true that Sun's J2EE server includes a SOAP engine, but it doesn't support C/C++. Assuming that you really don't want to reimplement all your apps, Axis provides you with a common SOAP architecture that supports both Java and C++.

[Axis 1.4] Server side question !!!

2006-07-06 Thread Luis Rivera
Hi axis users, I finally got the green light to port the server side or our web services from LEIF/Roguewave to axis. The main reason is economics, we want to explore cheaper options. I was exploring the alternatives for serverlet containers in the server side, which will be Windows/Solar

RE: soap from an applet

2005-08-31 Thread Luis Rivera
Don't know if somebody replied already. But if not, you may want to check this link http://issues.apache.org/jira/browse/AXIS-2145 this bug has been fixed and I assume will be included in the coming Axis 1.3 release. --Luis R. From: Stuart Barlow <[EMAIL PROTECTED]> Reply-To: axis-user@w

Re: Axis and Applet coexistence?

2005-07-26 Thread Luis Rivera
s makes any sense. I would appreciate comments one way or another. Thanks in advance, --Luis R. From: "Luis Rivera" <[EMAIL PROTECTED]> Reply-To: axis-user@ws.apache.org To: axis-user@ws.apache.org Subject: Re: Axis and Applet coexistence? Date: Thu, 14 Jul 2005 15:30:26 -0700 Hi,

Re: Axis and Applet coexistence?

2005-07-18 Thread Luis Rivera
to get this to work so that i can test something else:) regards Bjørn Magnus Mathisen Telenor ASA R&D Luis Rivera wrote: > Hi, > > Well, now I found out that I had a bad certificate and a bad > configuration or instalation of the Job Console. After generating a > new certifica

RE: Problems loading an image inside an Axis Applet !!

2005-07-15 Thread Luis Rivera
Found it, don't know exactly why it didn't work, but using the classloader directly solves the problem. But if I understand it right, that was supposed to happen anyway so I am not sure why it didn't. Anyway, problem solved. --Luis R. From: "Luis Rivera" <

Problems loading an image inside an Axis Applet !!

2005-07-15 Thread Luis Rivera
Hi again, Has anybody face a problem loading an image from jar file from a signed applet? When the applet was using Systinet I was using image = new ImageIcon(getClass().getResource("theicong.jpg")); now, after I changed to Axis the getClass().getResource("theicon.jpg") returns null, w

Re: Axis and Applet coexistence?

2005-07-14 Thread Luis Rivera
hisen Telenor ASA R&D Luis Rivera wrote: > Thanks for the reply. I actually did. Using the allow all custom > security manager that only overrides those two methods work fine > when the applet is allowed to set a new security manager. But > that's the problem, to allow the applet

RE: Axis and Applet coexistence?

2005-07-13 Thread Luis Rivera
o your client in an applet. Did you override #checkPermission (both methods - it is overloaded) with a no-op? That's what worked for us ... along with the signing of course. -Original Message- From: Luis Rivera [mailto:[EMAIL PROTECTED] Sent: Wednesday, July 13, 2005 4:04 PM To: axis-user@ws.

RE: Axis and Applet coexistence?

2005-07-13 Thread Luis Rivera
0 -0500 That's what we did. We installed a custom security manager that just grants access to all. YOu might run into other issues, but the sandbox end of things should be solvable with this kind of an approach. -----Original Message- From: Luis Rivera [mailto:[EMAIL PROTECTED] Sent: Monday,

Axis + Applet = Lost of errors .. latest (No transport mapping for protocol)

2005-07-12 Thread Luis Rivera
logging-1.0.4, commons-httpclient-3.0-rc3, using ant 1.6.5 and a laptop IBM Thinkpad R51 Reporter: Luis Rivera Priority: Blocker To solve the following kind of exceptions, **

RE: Compatibility problems

2005-07-12 Thread Luis Rivera
This is not a compatibility problem, I have the same environment and had the same problem. You have to force your client to use http 1.1. I just added the commons-httpclients library and the following client-conf file: xmlns="http://xml.apache.org/axis/wsdd/"; xmlns:java="http://xml.apache.

Axis and Applet coexistence?

2005-07-11 Thread Luis Rivera
Hi all, I have been reading the posts regarding applets and axis. It looks like there is a solution but I am not sure I understand how. I have a signed applet and I even unpacked all the library jars files into a single huge jar file, which I signed and I am using to start the applet. Howeve