WASP - Axis Compatibility Issues

2004-12-13 Thread Markus Wahl XA (KC/EMW)
Are Wasp compatibel with Axis? I have a Wasp web service I can consume using Wasp. But I do not succeed in consuming it using Axis. I have used the axis tool to generate java stubs from the wsdl of the Wasp service. The Wasp web service is handling and returning the method invocation but the a

Long: Problem with a method that returns byte[]

2004-12-13 Thread [EMAIL PROTECTED]
Hi all, sorry for the long post but we're facing this problem and any help would be greatly appreciated. We have a method with this signature: byte[] getDocumentDataByteArray(String param1, String param2) This method, based on param1 and param2, retrieves a document from the server and returns it

.NET client

2004-12-13 Thread Sagar Pidaparthi
Hi, I wrote a simple .NET client and it does not work. I would appreciate any help. Here are my steps on AXIS 1.1 1. I write a simple class called SecurityMgr and publish as wrapped literal 2. use wsdl command and point it to the url and it generates SecurityMgrService.cs 3. I use csc an

RE: How to change the argument names

2004-12-13 Thread Muthusamy, Elavarasan
The WSDL is being generated automatically by Axis. Do we have to do something on the server-config.wsdd? When are where should I Java2WSDL for this? Elavarasan.M -Original Message- From: Adrian Perez Jorge [mailto:[EMAIL PROTECTED] Sent: Tuesday, December 14, 2004 10:10 AM To: [EMAIL PR

Re: Long: Problem with a method that returns byte[]

2004-12-13 Thread ANDREW MICONE
If you have control over the WSDL, I would change the type of the element that sends the document to xsd:anyType, which will allow you to accept the attachment either as base64binary, DIME, or Soap w/ attachments. -- Andy >>> [EMAIL PROTECTED] 12/13/04 11:10PM >>> Hi all, sorry for the long post

Re: restarting axis

2004-12-13 Thread ANDREW MICONE
Use jsvc to start and restart tomcat instead of the default shell script (if Unixen). -- Andy >>> [EMAIL PROTECTED] 12/14/04 05:04AM >>> Hi, Can anyone tell how, if possible, to restart axis manually from the command line? Tomcat manager is failing and I can't restart tomcat. Thanks Suzy

RE: data validation

2004-12-13 Thread Sheptunov, Bogdan
It is supposed to be implemented via nillable="false" in WSDL, but I don't think it is working right in 1.2RC1. -Original Message-From: Jairam, Roopnaraine [mailto:[EMAIL PROTECTED]Sent: Tuesday, December 14, 2004 9:05 AMTo: [EMAIL PROTECTED]Subject: RE: data validation

Re: How to change the argument names

2004-12-13 Thread Adrian Perez Jorge
You have to specify to java2wsdl the implementing class (option -i), and this one must be compiled with debug information (-g). Abstract methods parameter names can't be grabbed, btw. Muthusamy, Elavarasan wrote: Hi, I have deployed a webservice in axis server. I use stateless session bean to

RE: data validation

2004-12-13 Thread Jairam, Roopnaraine
Does anyone know how to do this???   From: Jairam, Roopnaraine Sent: Thursday, December 09, 2004 10:30 AM To: [EMAIL PROTECTED] Subject: data validation   Hi:   Is there a way for axis to validate data before it is sent to the web service. Basically the data the client send

RE: data validation

2004-12-13 Thread Jairam, Roopnaraine
Does anyone know how to do this???   From: Jairam, Roopnaraine Sent: Thursday, December 09, 2004 10:30 AM To: [EMAIL PROTECTED] Subject: data validation   Hi:   Is there a way for axis to validate data before it is sent to the web service. Basically the data the client send

How to change the argument names

2004-12-13 Thread Muthusamy, Elavarasan
Title: How to change the argument names Hi, I have deployed a webservice in axis server. I use stateless session bean to carry out the task. It takes two String arguments as input named businessName and serviceName. I want these two names should appear in the WSDL instead of "in0" and "in1".

Re: "Rooting" Axis services

2004-12-13 Thread John Walker
You can set the web application you use to deploy your AXIS driven web services by changing the server.xml config file in your Tomcat server. in $CATALINA_HOME$/conf/server.xml Edit that file and add a root context to point to the location of your webapp. Find the "Context" node in the XML file

RE: Best practice for (de)serializing java.util.Locale et al

2004-12-13 Thread Brett Randall
Hi, I'm wondering what the best practice is for handling beans that contain methods returning java.util.Locale or java.util.TimeZone. I'm currently using Axis 1.2RC1. This relates to messages from Java2WSDL such as: [WARN] Types - -The class java.util.Locale is defined in a java or javax packag

RE: Serializer- and Deserializer-objects multi-threaded?

2004-12-13 Thread tony . q . weddle
The deserializer factory creates the deserializer. You could have the deserializer factory set the date format object on the deserializer, before it gets returned o Axis to use for deserializing. In this way, the deserializer factory could maintain a list of SimpleDateFormat objects, marking each

ANN: WSABI For Axis version 0.5 now available

2004-12-13 Thread Mike Barton
WSABI™ For Axis version 0.5 now available 13 December 2004 With the new version 0.5, WSABI™ For Axis is now shipping with Monitoring and Audit module. This version enables enterprises to answer critical Web services management questions: - What is the health of my Web services? Are they performi

RE: Serializer- and Deserializer-objects multi-threaded?

2004-12-13 Thread Martin Heitz
Title: Nachricht Hi,   thanks for your answers. The reason for asking this is, that I have (de)serializers for a composed type which does not have a default constructor. So I need (as far as I understand the concept) at least a deserializer for rebuilding the object. One of the attributes

Remote reference!

2004-12-13 Thread zappone
Hi all! How are remote references to a web service implement in axis at client side? Thanks, nic This message was sent using IMP, the Internet Messaging Program.

restarting axis

2004-12-13 Thread Suzy Fynes
Hi,   Can anyone tell how, if possible, to restart axis manually from the command line? Tomcat manager is failing and I can’t restart tomcat.   Thanks Suzy    

AXIS-1664 DoAutoTypes

2004-12-13 Thread Patrick Martin
Is there any progress/interest on the DoAutoTypes flag? http://nagoya.apache.org/jira/browse/AXIS-1664 >From what I've got working, it seems a very useful solution for AXIS (client )-AXIS (server) communication, barring one tiny bug in the client engine not registering return types automagically.

RE: "Rooting" Axis services

2004-12-13 Thread Rajal Shah
I use org.apache.axis.utils.Admin and generate a new server-config.wsdd offline first (you could do edit the file manually too).. And then use that server-config.wsdd as part of my war file.. This way my services always show up registered.. -- Rajal -Original Message- From: Craig Lindley

RE: "Rooting" Axis services

2004-12-13 Thread Craig Lindley
thanks I'll try this On Mon, 2004-12-13 at 13:44, Rajal Shah wrote: > I use org.apache.axis.utils.Admin and generate a new server-config.wsdd > offline first (you could do edit the file manually too).. And then use that > server-config.wsdd as part of my war file.. This way my services always show

WSDL documentation generation based on javadoc tags.

2004-12-13 Thread Adrian Perez Jorge
Hi all, I have created a new issue (improvement) in JIRA (AXIS-1719) that contains a preliminary implementation for generation of documentation in a wsdl file generated by java2wsdl. Documentation will be extracted from implementation class source code comments written in javadoc. Comments a

Re: Serializer- and Deserializer-objects multi-threaded?

2004-12-13 Thread Brian J. Sayatovic
I think they are inherently thread-safe because Axis gets a new instance each time from your factories. However, some people take short cuts by making their Serializer/Deserializer classes idempotent and have the same instances are returned from the factory each time -- which is fine as long a

Re: Serializer- and Deserializer-objects multi-threaded?

2004-12-13 Thread tony . q . weddle
I've never seen any reference to threads in descriptions of serializers and deserializers (Axis 1.1). Certainly, the BeanSerializer has no special code for handling multiple threads, that I can see. It looks as though a new serializer/deserializer is created, from the factory, each time a type nee

RE: "Rooting" Axis services

2004-12-13 Thread THOMAS, JAI [AG-Contractor/1000]
Not sure of tomcat but all these work fine with WebSphere. Still, wondering how deploying as a single war causes these problems. As long as you have included all axis servet configurations and web files in your war, it should just work, isn't? jai -Original Message- From: Craig Lindley [

custom JSSESocketFactory accepting multiple p12 certs/passwords

2004-12-13 Thread Lewis Sellers
Subject: "Rooting" Axis services I may have joined this list a few posts too late judging by the previous subject line. But... I'm attempting to interface with a web service that requires a pkcs12 certificate and accompanying password be sent. That's not the problem. I got that working days ago

RE: "Rooting" Axis services

2004-12-13 Thread Craig Lindley
We deploy Axis and our webservices together in a single war and we still have the problem that if we: 1. register our webservices with Axis using the AdminClient program 2. exercise our webservices to verify they deployed correctly 3. stop tomcat and then restart our webservices are gone (meaning

Serializer- and Deserializer-objects multi-threaded?

2004-12-13 Thread Martin Heitz
Hi, short question: Are Axis Serializer- and Deserializer-objects shared by multiple threads (do they need to be thread-safe)? My question relates to Axis 1.1, but (because upgrading to a newer release is always something one may not get out of sight) I am also interested in an answer for Axis 1.

"Rooting" Axis services

2004-12-13 Thread ANDREW MICONE
Well, after much pain from the dubious interoperability of .NET clients and throwing a grand total of 7,091 lines of code I have my first Axis web service running in production (as well as a much greater appreciation of Bea WebLogic Integration and WebMethods). I was wondering if anyone had the

Re: Axis and Java 1.5

2004-12-13 Thread footh
I ended up just pushing the server back to 1.4.2 but I will give it a try and perhaps move back to 1.5 when I have time again. Of course, by then Axis may very well support 1.5. Thanks everyone for your help. --- ANDREW MICONE <[EMAIL PROTECTED]> wrote: > I am enlightened, thank you Sir. > > I

RE: "Rooting" Axis services

2004-12-13 Thread THOMAS, JAI [AG-Contractor/1000]
Andrew, We are already doing that. What you need to do is, instead of deploying Axis as a separate web app, integrate Axis servlet to your war project. Then define your desired url for the Axis servlet in web.xml. Jai -Original Message- From: ANDREW MICONE [mailto:[EMAIL PROTECTED] Sen

Re: Axis and Java 1.5

2004-12-13 Thread ANDREW MICONE
I am enlightened, thank you Sir. I still think just using JDK 1.42 is easier. ;) -- Andy >>> [EMAIL PROTECTED] 12/13/04 11:34AM >>> and use the -Djava.endorsed.dir switch as mentioned in jdk1.5 docs. -- dims On Mon, 13 Dec 2004 13:30:45 -0500, Davanum Srinivas <[EMAIL PROTECTED]> wrote: > Hey

RE: Axis and Java 1.5

2004-12-13 Thread Brown, Mike
I think people are missing his point. He's trying to build Axis from the source and it won't build under JDK 1.5 because of the differences. Isn't there some commandline parameter to compile using 1.4 compatibility. But that would lose any benefits that 1.5 gives. I guess there should be a branch

Is JAX-RPC really not capable of processing complex data types? What about the AXIS implementation?

2004-12-13 Thread Roland Beuker
Is JAX-RPC really not capable of processing complex data types? I am using Soap to fill the gap between C++ and Java... If JAX-RPC only supports simple type objects the whole idea is not working :-( *** Hi! JAX-RPC only receives

Is JAX-RPC not capable of processing complex data types?

2004-12-13 Thread Roland Beuker
I have a working soap client/server example (echo) from Borland C++Builder. Now I want to communicate with Java (C++Builder Server - Java Client). I am using the AXIS JAX-RPC implementation. After generating the Java file from the WSDL file I specify: ITestServiceservice lService = new ITestServi

Re: Axis and Java 1.5

2004-12-13 Thread Davanum Srinivas
and use the -Djava.endorsed.dir switch as mentioned in jdk1.5 docs. -- dims On Mon, 13 Dec 2004 13:30:45 -0500, Davanum Srinivas <[EMAIL PROTECTED]> wrote: > Hey!!! You can compile Axis using JDK1.5...all you need to do is drop > xercesImpl-2_6_2.jar > xmlParserAPIs-2_6_2.jar > > into the ws-ax

Re: Axis and Java 1.5

2004-12-13 Thread Davanum Srinivas
Hey!!! You can compile Axis using JDK1.5...all you need to do is drop xercesImpl-2_6_2.jar xmlParserAPIs-2_6_2.jar into the ws-axis/java/lib/endorsed directory. -- dim On Mon, 13 Dec 2004 11:25:48 -0700, ANDREW MICONE <[EMAIL PROTECTED]> wrote: > Well, you can't compile Axis itself under JDK

RE: Axis and Java 1.5

2004-12-13 Thread ANDREW MICONE
Well, you can't compile Axis itself under JDK1.5, it doesn't work. Since the Axis engine doesn't appear to take advantage of any 1.5 features, it doesn't buy you anything either. You can compile the nightly with 1.42 and then run it under JDK 1.5 (with Tomcat 5.5.x). That's one of my test enviro

Re: org.xml.sax.SAXException: No deserializer for {http://myfakedomain.com}TailRecord

2004-12-13 Thread ANDREW MICONE
Two common causes: 1) You didn't register a deserializer for the class. WSDL2Java can generate the deploy.wsdd which matches the type to the Java class that deserializes it. 2) Name spaces are case sensitive. So, though in DNS space MyFakeDomain.com and myfakedomain.com are the same, to SAX the

RE: Adding an object bean as a parameter...

2004-12-13 Thread THOMAS, JAI [AG-Contractor/1000]
Yes, just that you need to have serializers and deserializers defined properly. Jai -Original Message-From: Suzy Fynes [mailto:[EMAIL PROTECTED]Sent: Monday, December 13, 2004 6:29 AMTo: [EMAIL PROTECTED]Subject: Adding an object bean as a parameter... Hi,   Can an

RE: Axis and Java 1.5

2004-12-13 Thread Bouche Paul
Hi, > Upon further review, I discovered that the > org.w3c.com.Node interface has the new method > "getUserData(String key)" in Java 1.5. I'm sure this > is the reason for all the errors - interfaces not > fully implemented. I also got these errors when trying to build axis with Java 1.5. Yet thi

Adding an object bean as a parameter...

2004-12-13 Thread Suzy Fynes
Hi,   Can anyone tell me if its possible to add an object bean as the parameter for a web service? I’ve set up a WS where a bean object (that I created) is the return value, using Axis,  just wanted to check if it was possible to do the reverse, where the bean is coming into the service..

Re: Attachment Performance

2004-12-13 Thread J . Sugrue
Hi. I was using Axis 1.1 - I tried out Axis 1.2 RC2, but had the same problem. Tmp is ok - I delete attachments as I get them in. The strange things about this: 1) when I ran the soap server on another machine, I had no problems on the client 2) other attachment based calls work fine - this o