Re: turning off multirefs

2005-02-24 Thread Jeff Greif
Your stubs presumably contain a org.apache.axis.client.Service object (perhaps an XXXServiceLocator implementing an XXXService interface where XXX is the name of your service). The usual way to invoke the web service involves creating one of these first, as in XXXService service = new XXXServi

Re: turning off multirefs

2005-02-24 Thread Andy Dolbey
This is very helpful info! Thanks!! I still remain a little unclear on how to access a Call object in my scenario. I've used java2wsdl to generate a stub class and two type classes (one for request, one for response). Through the stub class I'm able to invoke a request call as was defined in th

How to integrate Axis with Spring MVC?

2005-02-24 Thread Kevin Duffey
I am hoping I can make use of Spring MVC running inside of JBoss/Tomcat so that I can cluster a larger number of servers to expand our needs as we grow. We want to support web services for all our client-side traffic to the server side. Is it possible to use Axis for this directly within Spring? Or

Example of sending and receiving Document-style SOAP message using AXIS

2005-02-24 Thread Oteniya Olumide
Hi All, I'm new to apache axis. Can anyone show me how to send and receive Document-style SOAP message. Thanks Gab.

Re: Axis client OutOfMemoryError

2005-02-24 Thread Bill Keese
Solving this problem for client and server are pretty similar. You probably need to bump up your client memory size to 128M instead of the default 64M (-Xmx128m option to "java"). And you should try the newest Xerces, etc. I am passing 4MB strings with no problem. Justin Echternach wrote: I

Axis client OutOfMemoryError

2005-02-24 Thread Justin Echternach
I am getting an OutOfMemoryError when passing an xml string to a web service using axis. The xml string is 5 Mb long. I read many different threads with the same error, but didn't come across a resolution. Is there a way to make this work with Axis without using SOAP w/ attachments? I am in a

Users and roles

2005-02-24 Thread Robert Gombotz
Hi     I have had a look at the server-config.wsdd and noticed that some of the existing WS in axis define allowedRoles in their config file entries. I assume that the user names which are the value of the "allowedRoles" parameters in server-config.wsdd correspond to users in /axis/WEB-INF/u

Re: xsd:choice (and WSDL2Java)

2005-02-24 Thread Bill Keese
(B (B (B (BMik, (B (BThanks for the answer.  But I think your work around won't permit data (Blike this: (B (B  (B ... (B ... (B ... (B ... (B  (B (BIe, I want to make lists containing different kinds of elements.  With (Byour solution I'm restricted to a list co

Re: Does Axis 1.2 RC2 work with JDK1.4.x?

2005-02-24 Thread Vy Ho
Thank you. I just checked and it works on my code too. Simon Fell wrote: It worked fine on 1.4.x for me, no need to recompile. -Original Message- From: Vy Ho [mailto:[EMAIL PROTECTED] Sent: Thursday, February 24, 2005 10:44 AM To: axis-user@ws.apache.org Subject: Does Axis 1.2 RC2 wo

RE: Does Axis 1.2 RC2 work with JDK1.4.x?

2005-02-24 Thread Simon Fell
It worked fine on 1.4.x for me, no need to recompile. > -Original Message- > From: Vy Ho [mailto:[EMAIL PROTECTED] > Sent: Thursday, February 24, 2005 10:44 AM > To: axis-user@ws.apache.org > Subject: Does Axis 1.2 RC2 work with JDK1.4.x? > > > Please someone tell me if Axis 1.2 RC2 wo

Does Axis 1.2 RC2 work with JDK1.4.x?

2005-02-24 Thread Vy Ho
Please someone tell me if Axis 1.2 RC2 works on JDK1.4.x? Also, do I have to recompile the whole Axis library? Thanks, vd

Speaking of deserialize exceptions

2005-02-24 Thread Joaco
Hi everybody! Me again?? with my questions ;) When I delete for example deserializer="org.apache.axis.encoding.ser.BeanDeserializerFactory" in my server-config.wsdl (typeMapping), the ws´s wsdl don?t change. But the client ( .net ) don´t work. My question is: Of course the client don?t see my s

Basic Doubts on converting JiBX Binding file to XSD file

2005-02-24 Thread babloosony
Hi All, I have some basic doubts on xml schemas that represent inheritance among java beans that use java collections like java.util.Vector, java.util.Hashtable etc. Say I have below java beans as below : class A { private Vector A1; private String A2; // and

Doubts on java.util.Vector and XSD

2005-02-24 Thread babloosony
Hi All, How do we represent a java.util.Vector in xsd file. Can anyone give some code snippet since a vector can contain any type of java objects. Also, in the below code snippet which is a xsd representation for java.util.Vector

RE: ?wsdl

2005-02-24 Thread aedemar . cooke
Title: ?wsdl The namespace declarations are xmlns:soapenc=http://schemas.xmlsoap.org/soap/encoding/ xmlns:xsd=http://www.w3.org/2001/XMLSchema   -Original Message-From: Eugene Shershnev [mailto:[EMAIL PROTECTED]Sent: 24 February 2005 3:54 To: axis-user@ws.apache.orgSubject:

RE: basic authenication

2005-02-24 Thread Patrick van Kann
Hi Sue, You need to modify the Axis web.xml as you are securing the Axis servlet. It's exactly the same approach as securing a browser based web-app. As a first step, it might be easier to start by modifying the Axis web.xml to secure the Axis servlet before attempting to add the Realm definiti

RE: Problem with serialization of Beans containing Collections and ArrayLists

2005-02-24 Thread Patrick van Kann
Thanks Anne and Mariano, As I am adding Axis functionality to a pre-existing app my value objects can't really be changed without breaking things. So I am stuck with Collection types. Luckily, I use Castor in my project already so I will simply use the Castor serializers instead - this can easi

Re: ?wsdl

2005-02-24 Thread Eugene Shershnev
Title: ?wsdl Just a note, it does not matter what is the namespace prefix - xsd or soapenc. Both are just "shortcuts" to a namespace. If the "value" of both is the same, the 2 XML fragments below are identical from parser's point of view.   So, just to complete your question you may want to p

Re: xsd:choice (and WSDL2Java)

2005-02-24 Thread Michael Thome
(B (B (B (BHaving just gone through a similar exercise: (B1. I think the correct approach ought to be to attach the min/max (Battributes to the choice rather than to the sequence - e.g. you want a (Bsingle sequence of any number of a choice of {and,or,not} elements, not (Bany number of seq

Sending MimeMultipart

2005-02-24 Thread Christopher Johnson
I'm trying invoke a service that gets passed two parameters the first is a complex type and the second is a MimeMultipart. When I invoke the service and pass in a null second parameter everything works great, when I invoke the service and pass in a any MimeMultipart I get the following exception..

RE: Problem deserializing arrays of complex types

2005-02-24 Thread Dino Chiesa
I just went through the same discussion with Pradeep. The steps I followed "just worked". Have you checked the archive from last week to see? His complextype was a ContainerBean, which had an array of ContainerBean within it. If you send me the WSDL I can have a look at it. -Original

RE: Need xsd for java.util.Vector

2005-02-24 Thread Dino Chiesa
> 1. Can anyone give me a xsd file for the java class that is an input to a POJO ... Etc etc etc As ATM and others have already advised, "stay away from Vector and J2 Collections" for the webservices interface. It's ok to use the Vector/ArrayList internally, but the exposed interface should be an

RE: Session management

2005-02-24 Thread JR Ruggentaler
According to the documentation I have read session management is supported in JAX-RPC and the Axis documentation seems to indicate it supports sessions. See the following: http://ws.apache.org/axis/java/user-guide.html Support for session-oriented services, via HTTP cookies or transport-indepen

Need xsd for java.util.Vector

2005-02-24 Thread babloosony
Hi All, I have 2 questions : 1. Can anyone give me a xsd file for the java class that is an input to a POJO that need to be exposed as web service that need to be exposed as Document/Literal style web service using Apache AXIS. Basically I want to generate an xsd schema for this java class and

Re: Castor (De)Serializers not recognized !

2005-02-24 Thread Peter Norris
Should the package be serializer="org.apache.axis.encoding.ser.castor.CastorSerializerFactory" deserializer="org.apache.axis.encoding.ser.castor.CastorDeserializerFactory" not serializer="org.apache.axis.encoding.ser.CastorSerializerFactory" deserializer="org.apache.axis.encoding.ser.CastorDese

Namespace declaration location

2005-02-24 Thread tom ONeill
Hi all, I have some custom written code that I am using to serialize Java objects into XML using the Axis API. Specifically I am using the SerializationContextImpl classes serialize method. I am wondering if there is any way of changing the location of the namespace declarations within the resu

Axis 1.2Rc2 & Eclipse 3 plug-in

2005-02-24 Thread Ivan Venuti
Hi, anyone can suggest a plug in for eclipse v.3 that can integrate Axis 1.2RC2? Thanks -- Ivan

The same class in 2 different jars

2005-02-24 Thread Slimane AMAR
I have deployed a service with Axis (1-2RC2) and Tomcat (558) I have two JAR files in webapps/axis/WEB-INF/lib for this service. I have the same class in these 2 jars. Is it possible to use explicitly one class or the other in a jar (with 2 different classloaders for example). Thanks in advance.

Re: Session management

2005-02-24 Thread Rajdeep Dua
Web service impl using JAX-RPC is supposed to be stateless.that could be the reason. --- JR Ruggentaler <[EMAIL PROTECTED]> wrote: > I have a functioning Axis web service that's called > by a third party tool (bevocal.com). I set > messageContext.setMaintainSession(true) but > messageContext.getMa

Re: Session management

2005-02-24 Thread Rajdeep Dua
Web service imp using JAX-RPC is supposed to be stateless!! --- JR Ruggentaler <[EMAIL PROTECTED]> wrote: > I have a functioning Axis web service that's called > by a third party tool (bevocal.com). I set > messageContext.setMaintainSession(true) but > messageContext.getMaintainSession() always re

RE: Problem deserializing arrays of complex types

2005-02-24 Thread Gilles Devaux
Hi, Just an update to say that de deserialization works with the server implemented in Axis 1.1 and the client generated with the .NET framework (whereas the AXIS 1.1 and Axis 1.2RC2 clients don't) and so I still don't understand where the problem is. Thanks -Message d'origine- De :

Re: How do I deserialize the detail field in AxisFault to build MyException?

2005-02-24 Thread Sunil Kothari
In my case the SOAPFault works even with use as "Encoded". Here's an excerpt from my demo code. Here's the structure of MyException complexType name="MyException"> Here's the message and it contains only one part Here impl:MyException is Here's the bi