(SOAP/JMS) Why is a JMSListener not added by default to the AxisServlet?

2004-11-19 Thread Rajal Shah
I’ve gone through the past discussion about SOAP/JMS and haven’t found a clear roadmap on how to do SOAP/JMS by a Service Provider..   I’ve used the samples/jms/JMSTest.java file and have coded up a default JMSListener to the AxisServlet’s init() method. My web services can now be accesse

Re: Initialising Axis

2004-11-19 Thread Paul Callahan
You can implement the following interface that will be called when the context containing Axis is loaded: javax.servlet.ServletContextListener On Fri, 19 Nov 2004 12:30:01 +, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > > Is there a way to run some initialisation code once, when Axis sta

Re: Axis and JAXB

2004-11-19 Thread Paul Callahan
I would seriously take a look at XMLBeans. Full support of XML Schema. Serialization via either XMLBeans or JAXB would be supported by using the message style services in Axis. See this doc for details: http://ws.apache.org/axis/java/user-guide.html#PublishingServices On Fri, 19 Nov 2004 17:

Does Java2WSDL with multiple port types?

2004-11-19 Thread Vy Ho
I would like to use Java2WSDL to generate wsdl file with multiple port types. This means it has to take multiple class name. One for each port type. Right now, I have to manually merge all these together. Thanks, vh

Re: ANNOUNCE: Axis 1.2 RC2 released

2004-11-19 Thread Henry Lu
What I found out is that the size of new axis.jar (1.2RC2) (1368kb) is much smaler than (1.2RC1) (1449kb). Is there any mistakes? Please confirm! -Henry ** Electronic Mail is not secure, may not be read every day, and should not be used fo

RE: Bug about array of beans in 1.2RC2 (wrapped/literal)

2004-11-19 Thread mmosttler
I have encountered this same situation with .NET. To fix the problem we had to make the array property a Java Bean Indexed Property. Your ArrayBean needs to have not only the simple getter and setter from simpleBeanArrayData but also a getter and setter by index, getSimpleBeanArrayData(int i) and

Re: Returning an array of objects from a SOAP call

2004-11-19 Thread David Robison
It appears that only the attribute data of the elements in the array are being duplicated. The actual data contained in the elements is not. There seems to be a problem sending back an array of objects that represent a complext type where the attributes of those elements are not being sent bac

RE: Axis and JAXB

2004-11-19 Thread Marco Mistroni
Hello, >Is Castor driven by proper xml schema (binding configuration)? Yes. As a matter of fact, there's one article on IBM site that shows how to Use castor as serializer/deserializer together with axis. And you start from a schema.. >To what extent are castor-specific attributes and/or instru

Re: Returning an array of objects from a SOAP call

2004-11-19 Thread David Robison
I get the same results in Axis 1.2RC3. David David Robison wrote: I am using Axis 1.1 David David Robison wrote: I get the same result when I use the following type in my wsdl: David David Robison wrote: One other possible point of interest is that

RE: Axis and JAXB

2004-11-19 Thread Eric Chijioke
Thanks for your responses. I have a couple of questions about Castor. Is Castor driven by proper xml schema (binding configuration)? To what extent are castor-specific attributes and/or instructions required to generate one's business objects? What is the object-tree created by the deserializati

RE: Axis and JAXB

2004-11-19 Thread Marco Mistroni
2 cents more for castor... I am using it and it's cool, and work just fine! Regards marco -Original Message- From: Tardif, Sebastien [mailto:[EMAIL PROTECTED] Sent: 19 November 2004 16:12 To: [EMAIL PROTECTED] Subject: RE: Axis and JAXB I'm using Castor and it's working well and

RE: Axis and JAXB

2004-11-19 Thread Tardif, Sebastien
I'm using Castor and it's working well and Axis already have the serializer/deserializer. You should realize that working with Castor is lot less risky than using JAXB because you have the source code of Castor and Castor project is very active. Castor will also move document from your WSDL to

Axis and JAXB

2004-11-19 Thread Eric Chijioke
Has anybody tried to integrate JAXB into Axis' serialization framework? Does anyone know of any discussions/resources that address this? - Eric

Re: Returning an array of objects from a SOAP call

2004-11-19 Thread David Robison
I am using Axis 1.1 David David Robison wrote: I get the same result when I use the following type in my wsdl: David David Robison wrote: One other possible point of interest is that the actual data in the segment_typeTYPE is contained in attribut

Re: Returning an array of objects from a SOAP call

2004-11-19 Thread David Robison
I get the same result when I use the following type in my wsdl: David David Robison wrote: One other possible point of interest is that the actual data in the segment_typeTYPE is contained in attributes. I don't know if this is important or not..

Re: axis java client and php 5

2004-11-19 Thread WAJSBERG Julien RD-BIZZ
Christian Kalkhoff a Ãcrit : Hi, i want to use the axis soap client to connect to php 5.0.2. soap server. Unfortunally the server is not in may hand, so i cannot change it to java. It seems that php soap library doesn't understand the id href tags in axis generated messages. Do you mean multiref

Re: Returning an array of objects from a SOAP call

2004-11-19 Thread David Robison
One other possible point of interest is that the actual data in the segment_typeTYPE is contained in attributes. I don't know if this is important or not... David David Robison wrote: I have a soap service that is trying to return an array of objects back to the client. The WSDL definition is:

axis java client and php 5

2004-11-19 Thread Christian Kalkhoff
Hi, i want to use the axis soap client to connect to php 5.0.2. soap server. Unfortunally the server is not in may hand, so i cannot change it to java. It seems that php soap library doesn't understand the id href tags in axis generated messages. Is there a way to generate a dereferenced message

Returning an array of objects from a SOAP call

2004-11-19 Thread David Robison
I have a soap service that is trying to return an array of objects back to the client. The WSDL definition is: The SOAP service prepares a java array of segment_typeTYPE objects and returns the array. On the serv

RE: how to incorporate axis into my web application

2004-11-19 Thread Marco Mistroni
Hello, Yes sorry I got it wrong... Then I suppose steps you have outlined are correct...keeping in mind that there's already a default axiswebapp that comes with axis.. So you can write your WS, deploy it to that webapp, add your jars inside Axis webapp\web-inf\lib and that should be

Initialising Axis

2004-11-19 Thread tony . q . weddle
Is there a way to run some initialisation code once, when Axis starts. I realise that I could include another servlet, in the application, purely for initialisation, or perhaps run some static code in a handler class, but I'd like to be able to get at options defined in the WSDD configuration, wit

Re: wsdl challenge - found problem

2004-11-19 Thread Rafael Gomez
Hi, I found the reason: * ch1.wsdl defines xmlns:mime correctly, i.e, like http://schemas.xmlsoap.org/wsdl/mime/ * ch4.wsdl defines xmlns:mime uncorrectly. It has http://schemas.xmlsoap.org/wsdl/mime This causes wsdl2java to not understand anything about multipart/related and thus about attachm

RE: how to incorporate axis into my web application

2004-11-19 Thread Jay Glanville
Marco, I think you've misunderstood the relationship between my web service and my web application. I believe your assumption is that my web application is a CLIENT of my web service. This is incorrect. Basically, my existing web application has an API of all my functionality, and I wish to publ

EntityResolver trouble in 1.2-RC2 and IncompatibleClassChangeError with weblogic 8.1 sp3 (sun jdk) with 1.2-RC1

2004-11-19 Thread Olivier Lamy
Hello, I have a trouble on weblogic server (I'm using the axis client part). The stack trace is : java.lang.NullPointerException at weblogic.xml.jaxp.ChainingEntityResolver.popEntityResolver(ChainingEnti tyResolver.java:61) at weblogic.xml.jaxp.RegistryDocumentBuilder.setEntityResol

RE: how to incorporate axis into my web application

2004-11-19 Thread Marco Mistroni
Hello there, I have done similar stuff in my application.. Let me say, axis comes already with its webapplication if you download the code.. So, your app and axis will be TWO separate webapplication. You don't need to do anything in your web.xml, other than declaring YOUR servlet. So, assum

logging error that occur on the server side

2004-11-19 Thread THIBAULT Joseph
Title: Message Hi,   Is-it possible to log exceptions that appear on the server side. I'm writting à Web-service with axis and I want to know when an error occur during the excecution of my Web-services. For the moment, the exception is return to the client within an axis fault but I don't

Bug about array of beans in 1.2RC2 (wrapped/literal)

2004-11-19 Thread WAJSBERG Julien RD-BIZZ
Hi, We have a strange bug in axis 1.2RC2, dealing with array of beans. There is a method whose signature is : public ArrayBean echoArrayBean(ArrayBean param); ArrayBean is defined like this : public class ArrayBean implements Serializable { private String stringData; private SimpleBean[] simp

Re: Best Practice

2004-11-19 Thread Paul Libbrecht
Le 19 nov. 04, à 09:25, HG a écrit : As I understand it there was two approaches to the subject. Use Schema Extensions or add a xsd:any element to the end of the superchema (version 1). This assumes that you have schemas for both datatypes and messages. The idea is that you can replace the xsd:any

Re: Best Practice

2004-11-19 Thread HG
Hi Ed, Thanx for your answer. I had a discussion on a similar topic with a guy (Dan Rogers) on the MS newsgroups for webservices. As I understand it there was two approaches to the subject. Use Schema Extensions or add a xsd:any element to the end of the superchema (version 1). This assumes that