ANNOUNCE : Axis (Java) 1.2 Release Candidate 1 released

2004-10-01 Thread Glen Daniels
Greetings! If you point a browser at: http://www.apache.org/dyn/closer.cgi/ws/axis/1_2RC1/ you will find the binary and source distributions of Axis 1.2 Release Candidate 1. There are still a few issues (in particular documentation) that need cleaning up before the final release, but they shou

RE: RPC vs. building your own SOAP messages

2004-10-01 Thread raiden
Ok, that makes sense. And Axis' "wrapped" style will support nested tags by creating nested Java objects? If so, how does it handle attributes that are on tags? Like: john doe 24 I would imagine that the "wrapped" style would create a Member object that has an age, but also c

SOAPMessage, AttachmentPart problem

2004-10-01 Thread Jeffrey Tenny
I have some kind of RPC layer bug I think with Axis, both 1.1 and 1.2alpha. I construct SOAPMessage objects with 2 attachments. The first is just a string, which happens to contain XML, the second is an InputStream attached to a ByteArrayOutputStream. E.g. 1st attachment: _mainAttachment = _soa

RE: Abstract class object in a method parameter

2004-10-01 Thread Sagar Pidaparthi
It also works for typeMapping,  ( I cant explain why I had failures first time I tried).   Thanks   Sagar   -Original Message- From: Sagar Pidaparthi [mailto:[EMAIL PROTECTED] Sent: Friday, October 01, 2004 10:33 AM To: [EMAIL PROTECTED] Subject: RE: Abstract class object in

RE: Abstract class object in a method parameter

2004-10-01 Thread Sagar Pidaparthi
Christophe,   Yes, it works now.  But, I had to use beanMapping and not TypeMapping tags.  (I will try again with type mapping).     Secondly, the process here is important-- after adding the new mapping information to WSDD, I had to regenerate the proxies.   ( This is for anybody else

Axis 1.2b3 and Weblogic 5.1

2004-10-01 Thread me
Hi All, I'm trying to embed Axis in an existing webapp in WLS 5.1 Whenever I call a service (trying simply jws first) I am greeted with the folliwing error: java.lang.NoSuchMethodError: javax.servlet.http.HttpServletRequest.getRequestURL()Ljava/lang/StringBuffer I realize that this has to do wi

RE: Is this fault interoperable?

2004-10-01 Thread Anne Thomas Manes
Maybe it works in Axis -- but your WSDL description of the Fault message doesn't match the contents of your Fault message. I can guarantee that it won't interoperate with other environments. Can you please provide us with your complete WSDL? -Original Message- From: [EMAIL PROTECTED] [ma

RE: RPC vs. building your own SOAP messages

2004-10-01 Thread Anne Thomas Manes
As a rule of thumb, you should use the Axis "wrapped" style. (Sometimes you can't, but the example you cite below is fine.) The "wrapped" generates document/literal messages, and it manages the message building process for you. Axis automatically maps the XML message to Java objects based on the sc

RE: Abstract class object in a method parameter

2004-10-01 Thread Christophe Roudet
As far as I understand Party is your abstract class. You need to declare the derived type:   If you have:   public class MyConcreteParty extends Party {  … }   Declare:       xmlns:ns=" http://businessClasses.pmf.chordiant.com"     qname="ns:MyConcreteParty"     ty

RE: Abstract class object in a method parameter

2004-10-01 Thread Sagar Pidaparthi
Thanks for the response.  I did declare these abstract classes as beans with BeanMapping in WSDD file for this service.   It does cause trouble, even with mappings specified.   I will do some more experiments.  I really don’t want to go and convert all abstract classes to Normal classes. 

axis 1.2 beta with Jetty 5.0: IllegalStateException on session timeout

2004-10-01 Thread Silvano Maffeis
Hi I'm using axis 1.2 beta with Jetty 5.0. I'm getting the following exception when the HTTP session (created by an Axis client) is being destroyed: java.lang.IllegalStateException at org.mortbay.jetty.servlet.AbstractSessionManager$Session.getAttribute(AbstractSessionManager.java:663) at

RE: deploying web service with database class import

2004-10-01 Thread THOMAS, JAI [AG-Contractor/1000]
it must be either under WEB-INF/classes or in a jar in webapp's classpath Jai -Original Message-From: Suzy Fynes [mailto:[EMAIL PROTECTED]Sent: Friday, October 01, 2004 3:28 AMTo: [EMAIL PROTECTED]Subject: RE: deploying web service with database class import Havent set

Re: axis1.2b3 much slower than axis1.1

2004-10-01 Thread Martin Kuba
WAJSBERG Julien RD-BIZZ wrote: Martin Kuba a écrit : Hi, However it is much slower than Axis 1.1. I have a simple webservice for measuring the speed, and it show that 1.2 is about three times slower. The exact results are: Axis1.1 server / Axis1.1 client - 192 calls/sec Axis1.2 server / Axis1

Re: axis1.2b3 much slower than axis1.1

2004-10-01 Thread WAJSBERG Julien RD-BIZZ
Martin Kuba a écrit : Hi, However it is much slower than Axis 1.1. I have a simple webservice for measuring the speed, and it show that 1.2 is about three times slower. The exact results are: Axis1.1 server / Axis1.1 client - 192 calls/sec Axis1.2 server / Axis1.2 client - 67 calls/sec Axi

axis1.2b3 much slower than axis1.1

2004-10-01 Thread Martin Kuba
Hi, Axis 1.1 client is not compatible with SUN JDK 1.5 (it throws a NullPointerException in at java.util.Hashtable.put(Hashtable.java:396) at com.sun.org.apache.xerces.internal.jaxp.SAXParserImpl.setProperty(SAXParserImpl.java:385) at org.apache.axis.encoding.Deserialization

RE: how to tell axis db information

2004-10-01 Thread Hubble, Christopher
So you're reading in the properties file to determine the JDBC info?  What's the stack trace on the NPE? Chris -Original Message-From: Suzy Fynes [mailto:[EMAIL PROTECTED]Sent: Friday, October 01, 2004 6:32 AMTo: [EMAIL PROTECTED]Subject: how to tell axis db information

RE: starting axis in tomcat manager

2004-10-01 Thread Suzy Fynes
Thanks I did a reboot of tomcat and its back working   -Original Message- From: Sherman, Dennis (END-CHI) [mailto:[EMAIL PROTECTED] Sent: 01 October 2004 13:53 To: '[EMAIL PROTECTED]' Subject: RE: starting axis in tomcat manager   Some suggestions:   See if logs/l

RE: starting axis in tomcat manager

2004-10-01 Thread Sherman, Dennis (END-CHI)
Some suggestions:   See if logs/localhost_log* tells you anything more useful than catalina.log does.   Stop and restart the entire Tomcat if you can, not just your app.   Have you ever been able to get to the happyaxis.jsp page? (http://localhost:8080/axis/happyaxis.jsp) --Dennis R. Sherma

RE: Abstract class object in a method parameter

2004-10-01 Thread Christophe Roudet
Works fine for me (axis1.1, rpc-enc), just declared your derived types in the wsdd.   Christophe   From: Sagar Pidaparthi [mailto:[EMAIL PROTECTED] Sent: Thursday, September 30, 2004 7:30 PM To: [EMAIL PROTECTED] Subject: Abstract class object in a method parameter   Hi,

RE: starting axis in tomcat manager

2004-10-01 Thread Suzy Fynes
Its saying   INFO: Container StandardContext[/axis] has already been started Oct 1, 2004 12:38:02 PM org.apache.catalina.core.StandardHostDeployer start INFO: standardHost.start /axis Oct 1, 2004 12:38:02 PM org.apache.catalina.core.StandardContext start INFO: Container StandardCont

RE: starting axis in tomcat manager

2004-10-01 Thread Patrick Herber
Hi, did you see if tomcat wrote something in its log files (catalina.log)? Regards, Patrick From: Suzy Fynes [mailto:[EMAIL PROTECTED] Sent: Freitag, 1. Oktober 2004 13:52To: [EMAIL PROTECTED]Subject: starting axis in tomcat manager Hey,   I did a stop on tomcat ma

Re: attachment example

2004-10-01 Thread Hector Flores
Maciej Hadam wrote: Hi, i have problem with echo attachment example. Generated wsdl is incorrect. i've tried to generate client class from this wsdl using gSOAP generator, but there where errors and warnings. Does anybody know how to solve wsdl problem for services with attachment in AXIS? Than

starting axis in tomcat manager

2004-10-01 Thread Suzy Fynes
Hey,   I did a stop on tomcat manger for axis and now when I hit it start it says   FAIL - Application at context path /axis could not be started   Any ideas how I could get it started again? Thanks Suzy   Suzy Fynes Software Development Sentenial Ltd. Tel: 00 353 (1) 6

AW: attachment example

2004-10-01 Thread Dorner, Thomas
Hello Hadam,   As far as I know, and we use a gsoap client and a AXIS Service to send DIME Attachments and receive them, you don’t need to have your attachment in your wsdl.   Next point is, you receive a DIME Error when you receive a DIME attachment with a gsoap Client, but it doesn’t

attachment example

2004-10-01 Thread Maciej Hadam
Hi, i have problem with echo attachment example.Generated wsdl is incorrect. i've tried to generate client class from this wsdl using gSOAP generator, but there where errors and warnings.Does anybody know how to solve wsdl problem for services with attachment in AXIS?Thanks for any help. Reg

how to tell axis db information

2004-10-01 Thread Suzy Fynes
Hi   I’m have deployed a web service that is meant to talk to a mysql database on unix server. I have created a jar file of all the classes in my project and put  it in the axis/web-inf/lib folder and it finds the classes fine. I use a managers properties file to declare all db info. How

RPC vs. building your own SOAP messages

2004-10-01 Thread raiden
Hello, I am having a hard time grasping when to use RPC calls and when to build your own messages. I used to use Apache SOAP, and I used to build my own SOAP message via JAXM. However, I am now trying to upgrade to AXIS, and to make full use of its feature set... which seems to have a huge empha

Re: flexibility of a wsdl, but instant deployment

2004-10-01 Thread raiden
Hi Tony, You are correct. I was confusing wsdl with wsdd. I meant wsdd. My issue was more around the fact that I wanted to have the web service fully configured, and then packaged in a war file that I could then upload to production systems. Raul pointed out that I simply needed to deploy the

RE: deploying web service with database class import

2004-10-01 Thread Suzy Fynes
Havent set the class path to point to those files should i? as in, in .bashrc where I have classpath = to all the jars of axis have it also point to those classes?   -Original Message- From: THOMAS, JAI [AG-Contractor/1000] [mailto:[EMAIL PROTECTED] Sent: 30 September 2004 20:16

RE: Deserializing XML w/o using client stubs

2004-10-01 Thread tom ONeill
Hi Michael, Once again thanks for your help. Do not get confused by the next words: The fact that one has to specify the class when deserialising was no problem for us, because we have some kind of a top level 'ResponseType' XML element. All responses are of this type, even if they look pretty