Re: [Axis2] - installation problem and upgrade from [Axis1.3]

2005-12-06 Thread Simon McMahon
That would be it - all the samples use "services.xml". The documentation is correct on this too. Must just have been M2 that got it wrong (or just me :). > Blind guess. Check whether the dir of the aar name is META-INF. > "meta-inf" might not work > Chathura This was also correct - "meta-inf" did

Re: wsdl to java

2005-12-06 Thread James Chamberlain
This happened to me when I switched to 1.3 from 1.2.1. There is a new setting that you need to use in the wsdl2java  wrapArrays="true"- JamesOn Dec 7, 2005, at 1:17 AM, arul thayalan wrote:Hi,   when i'm converting wsdl to java i'm not gettingarray type for the element "VehicleOccupantDetails" inVe

wsdl to java

2005-12-06 Thread arul thayalan
Hi, when i'm converting wsdl to java i'm not getting array type for the element "VehicleOccupantDetails" in VehicleOccupants class. What could be the reason? My WSDL style is document-literal.I'm using Axis 1.3.0 wsdl extraction:

Re: [Axis2] - installation problem and upgrade from [Axis1.3]

2005-12-06 Thread Ajith Ranabahu
try renaming the service.xml with services.xml. This was changed in the last release but I'm afraid it's not provided with enough documentationOn 12/7/05, Chathura Herath <[EMAIL PROTECTED] > wrote:Sorry i didnt notice that you are using M2.ChathuraOn 12/6/05, Simon McMahon < [EMAIL PROTECTED]> wro

Re: Aixs 1.3 RC3

2005-12-06 Thread Davanum Srinivas
http://www.apache.org/dyn/closer.cgi/ws/axis/1_3/ (1.3 Final NOT RC3) On 12/6/05, Kasi, Anand <[EMAIL PROTECTED]> wrote: > > > Can anyone suggest where I can download Axis 1.3 RC3 binaries? The links > provided in the url below do not work for me. > > http://www.apache.org/dyn/closer.cgi/ws/axis/1

Re: [Axis2] - installation problem and upgrade from [Axis1.3]

2005-12-06 Thread Chathura Herath
Sorry i didnt notice that you are using M2. Chathura On 12/6/05, Simon McMahon <[EMAIL PROTECTED]> wrote: > For some reason I thought M2 was the most recent ??? > I have now installed 0.93 so I will try again. I see already that I > should let the tools generate the service.xml and not try to writ

Re: [Axis2] usability

2005-12-06 Thread Deepal Jayasinghe
Hi Simon; It seems that you are using old version of axis2 , in latest release we have fix all those (Axis2 0.93) Thanks, Deepal ~Future is Open~ - Original Message - From: "Simon McMahon" <[EMAIL PROTECTED]> To: Sent

Re: [Axis2] - installation problem and upgrade from [Axis1.3]

2005-12-06 Thread Simon McMahon
For some reason I thought M2 was the most recent ??? I have now installed 0.93 so I will try again. I see already that I should let the tools generate the service.xml and not try to write it by hand. You obviously have been busy since M2 :-). Thanks, Simon. Simon McMahon Work: (07) 31311420 M

Re: [Axis2] usability

2005-12-06 Thread Eran Chinthaka
Hi Simon, Let me answer some of the questions. Simon McMahon wrote: >Hi, > >I have just started trying Axis2 from Axis 1.3. > >Maybe these usability issues will all be addressed for the final >release so please let me know if these issues are known already. > >After installing... > >List service

Re: [Axis2] - installation problem and upgrade from [Axis1.3]

2005-12-06 Thread Eran Chinthaka
I think Deepal fixed this in later releases. BTW, Simon, we have come a long long way since M2. The latest 0.93 version is much more flexible, stable, feature rich and blah blah blah than M2 (Obviously). So please try to play with 0.93 forgetting M2. Chathura Herath wrote: Blind guess.

Re: [Axis2] - installation problem and upgrade from [Axis1.3]

2005-12-06 Thread Chathura Herath
Blind guess. Check whether the dir of the aar name is META-INF. "meta-inf" might not work Chathura On 12/6/05, Simon McMahon <[EMAIL PROTECTED]> wrote: > Hi, > > I have previously been working with 1.3 and have some services deployed > and working OK under that. > > I just installed Axis2 (axis2-M

[Axis2] - installation problem and upgrade from [Axis1.3]

2005-12-06 Thread Simon McMahon
Hi, I have previously been working with 1.3 and have some services deployed and working OK under that. I just installed Axis2 (axis2-M2-bin build (June 07, 2005)) on XP, Tomcat 4.1.31, Java 1.4.2_08. It installed just fine and I got the Axis happiness page as expected. I have my own service for

[Axis2] usability

2005-12-06 Thread Simon McMahon
Hi, I have just started trying Axis2 from Axis 1.3. Maybe these usability issues will all be addressed for the final release so please let me know if these issues are known already. After installing... List services showed: getVersion Opeartion EPR : http://localhost:8080/axis2/services/Versio

RE: Axis 1.3 Serializaiton of derived types

2005-12-06 Thread McMullin, Gregg E.
I have the same issue as well. Does anyone know if it is resolved? If not, is the solution to go back to 1.2.1? Thanks for any feedback. Gregg >Yes, I have regenerated the code with the 1.4 drop. >Christophe > -Original Message- > From: Davanum Srinivas [mailto:[EMAIL PROTECTED] > S

NoClassDefFoundError

2005-12-06 Thread Lee Loucks
I have a service that I am trying to deploy that seems to be breaking something in the Classloader. I am using Tomcat 5.5.12 / Axis 1.2.1 When I deploy the service, the following is added to server-config.wsdd server-config.wsdd ... ... If I browse to "localhost:8080/ax

Aixs 1.3 RC3

2005-12-06 Thread Kasi, Anand
Title: Aixs 1.3 RC3 Can anyone suggest where I can download Axis 1.3 RC3 binaries? The links provided in the url below do not work for me. http://www.apache.org/dyn/closer.cgi/ws/axis/1_2RC3/ Thanks, Anand

Re: Urgent Array issue - Incorrect DOC/LIT SOAP request from client?

2005-12-06 Thread Jim Azeltine
Hmmm... smells like a bug to me... 8)Jason Cwik <[EMAIL PROTECTED]> wrote: Actually, I changed it from this:     to:      Somehow, adding a second element to the message type causes the serializer lookup to occur properly... On 12/6/05, Ben Reif < [EMAIL PROTECTED]> wrote:Jason,

Re: Urgent Array issue - Incorrect DOC/LIT SOAP request from client?

2005-12-06 Thread Jason Cwik
Actually, I changed it from this:       to:        Somehow, adding a second element to the message type causes the serializer lookup to occur properly...On 12/6/05, Ben Reif < [EMAIL PROTECTED]> wrote: Jason, thanks for the reply...Just to clarify you had to change the gene

RE: Urgent Array issue - Incorrect DOC/LIT SOAP request from client?

2005-12-06 Thread Ben Reif
Jason, thanks for the reply...Just to clarify you had to change the generated WSDL so that it would something like:                                     So that when I run wsdl2java again it'll generate the stubs to create a SOAP request that will match the WSDL like:      

Re: Strange deserializer problem

2005-12-06 Thread Markus Plail
Please forget my previous mails. It all works now and was a PEBKAC problem. regards Markus

Re: Urgent : Exception while generating code from Apache generated WSDL

2005-12-06 Thread iksrazal
How come your wsdl file you sent to the list says it was generated by axis 1.2 in june 2005? Seems strange, am I missing something? iksrazal Em Terça 06 Dezembro 2005 17:03, o Shakeel Muhammad escreveu: > I don't get any SOA Editor error except for the one mentioned in previous > email. You are

[axis2] In-only with a Stub ?

2005-12-06 Thread iksrazal
Hi all, The generated sources from WSDL2Java seemingly contains just methods for Call.invokeBlocking and Call.invokeNonBlocking with a Callback. But how does one follow the In-only pattern as is done with MessageSender ? Do I use MessageSender with the complex Objects and Options, or do I just

RE: Urgent : Exception while generating code from Apache generated WSDL

2005-12-06 Thread Shakeel Muhammad
I don't get any SOA Editor error except for the one mentioned in previous email. You are right that this error is not significant. It seems that it is validating Axis Generated wsdl. But even then I am getting NullPointerException when I run wsdl2java task. Btw... yes I am using Axis 2. -Or

Re: Urgent : Exception while generating code from Apache generated WSDL

2005-12-06 Thread iksrazal
That message is from the soa editor, and not an exception, right? That message is no problem - providing you are not using JSP. I see that message often but I don't use JSP. Are you using Axis2 ? Your wsdl file says: "WSDL created by Apache Axis version: 1.2.1 Built on Jun 14, 2005" Beyond t

RE: Urgent : Exception while generating code from Apache generated WSDL

2005-12-06 Thread Shakeel Muhammad
I get following exception: Warning : 50008 : JSP generation does not support complexTypes defined by extension. Don't know what it is? -Original Message- From: iksrazal [mailto:[EMAIL PROTECTED] Sent: Tuesday, December 06, 2005 10:10 AM To: axis-user@ws.apache.org Subject: Re: Urgent :

Re: Strange deserializer problem

2005-12-06 Thread Markus Plail
Some more information: DomainMapping and ForwardMapping are both simple beans with three String variables. And I just tested what would happen if i returned a DomainMapping directly and that worked flawlessly! regards Markus Markus Plail <[EMAIL PROTECTED]> writes: > Hi there! > > I have a ver

Strange deserializer problem

2005-12-06 Thread Markus Plail
Hi there! I have a very strange problem: I can get objects of a certain type to my classes as parameters but I can't get them back. When I want to return such a type I get: org.xml.sax.SAXException: No deserializer for {http://objects.ws.vnet}DomainMapping I have a User object which has besides

Re: Urgent Array issue - Incorrect DOC/LIT SOAP request from client?

2005-12-06 Thread iksrazal
Hi, Basically just posting your "SAXException: SimpleDeserializer encountered a child element, which is NOT expected, in something it was trying to deserialize" message says it all. This is a very common problem, although when I ran into it the solution wasn't that easy. I suggest googling o

Re: Abstract classes and inheritance

2005-12-06 Thread Ales St
Title: Abstract classes and inheritance Hi, my problem is, that i have representation of my abstract class SymbolType in XXXSoapBindingStub.java: qName = new javax.xml.namespace.QName("http://www.opengis.net/sld", "SymbolType");    cachedSerQNames.add(qName);    cls = net.op

AW: Abstract classes and inheritance

2005-12-06 Thread Knötzinger Markus
Title: Abstract classes and inheritance I didn't change wsdls, but put the method into the class that represents my webservice. After generating the stub it should occur int the XXXSoapBindingStub.java. -Ursprüngliche Nachricht-Von: Ales St [mailto:[EMAIL PROTECTED]Gesendet: Die

Re: Abstract classes and inheritance

2005-12-06 Thread Ales St
Title: Abstract classes and inheritance Hi Markus, you add your  dummyMethod(Message message) in your XXXSoapBindingImpl.java or somewhere else?Or do you change a wsdl? Because in this file I have some methods for example like your dummy method :void dummyMethod(SymbolType symbol) and it sti

Re: Web service with Attachment with

2005-12-06 Thread Wade Chandler
--- Brosca Diana <[EMAIL PROTECTED]> wrote: > Hello > > I have a question for you. > > How I can implement a web service that has a pdf in > attachment? > > Can I use the WSDL2Java tool for generate the class > that implements the > web service? > > I'm using Axis 1.2RC > > Thanks for your

Re: Urgent : Exception while generating code from Apache generated WSDL

2005-12-06 Thread iksrazal
Have you validated the WSDL, for example via the 'free as in beer' soa editor from cape clear? I recently had the same error and the wsdl didn't validate. iksrazal Em Terça 06 Dezembro 2005 13:08, o Shakeel Muhammad escreveu: > Hi All, > > > > I had WSDL which I used to generate and deploy web

Re: Urgent Array issue - Incorrect DOC/LIT SOAP request from client?

2005-12-06 Thread Jason Cwik
I've run into this problem too. (http://marc.theaimsgroup.com/?l=axis-user&m=113336992622255&w=2) It seems that whenever running WSDL2Java things appear correct, but the if you look at the dynamic WSDL generated by Axis it renames message elements to "item".  This only appears to happen when the me

OperationDesc not synchronized ?

2005-12-06 Thread Dave Overbeck
Hello, I'm using WSDL2Java to generate server-side code, and I'm trying to sort out all the pieces. I've written the Impl, and originally deployed that which gave me a null reference in my .NET client, but have since learned that I'm supposed to deploy the Skeleton. I did that, and got this in

Re: Sending java.util.Set using AXIS

2005-12-06 Thread Tim R J Langford
Thank you Iksrazal, Unfortunately, I am only writing the client to attach to this service and have no control over the WSDL. I could theoretically download the WSDL and apply some kind of filter to transform the schema into something else (that hopefully genrates the correct beans) and generat

How does Axis handle thrown Exceptions?

2005-12-06 Thread Jalenak, Jerry
In the User Guide, there is a description of how to use a wsdl:fault element to describe an Exception to a client –   Exceptions are represented as wsdl:fault elements If a method is marked as throwing an Exception that is not an instance or a subclass of java.rmi.RemoteException, then

Urgent : Exception while generating code from Apache generated WSDL

2005-12-06 Thread Shakeel Muhammad
Hi All,   I had WSDL which I used to generate and deploy web service successfully on Axis 2 (in ATG Dynamo container).   Before I could send my service link to the client (invoker of my service), I wanted to make sure that the client could be generated successfully from Axis generated W

AW: Abstract classes and inheritance

2005-12-06 Thread Knötzinger Markus
Title: Abstract classes and inheritance Hi Ales, well, of course, one cannot instantiate an abstract class. But it doesn't matter if the base class is abstract or not. It comes to the same. Well, almost.   My method in the service: Message[] getMessages() { return {new DefaultMessage()

Performance When Reading Attachments

2005-12-06 Thread J . Sugrue
Hi I'm really hoping someone can finally solve this for me. When I receive a message with a DIME Attachement, I get my Message object back quite quickly, but it takes ages for it to read the attachments from the message. I considered that this could be because it's waiting for the attachment

RE: jaxb integration in axis

2005-12-06 Thread maxim
Hi Davanum, I was watching for efforts on adding proper XML validation into Axis 1.x for quite a while. Are anyone have a plan on adding the sam JAXB support into Axis 1.3 ? Thanks, Maxim Grigoriev. Fermilab > -Original Message- > From: Davanum Srinivas [mailto:[EMAIL PROTEC

Re: Abstract classes and inheritance

2005-12-06 Thread Ales St
Title: Abstract classes and inheritance Hi I have dot a similar problem, you can find it on http://marc.theaimsgroup.com/?l=axis-user&m=113377937503146&w=2 . And to your problem I have got some questions: I thing that your metod getMessage() must return instance of 'DefaultMessage'.Because you

Async web service

2005-12-06 Thread Brosca Diana
Hello I'm implementing a asynchronous web service: in the wsdl I have only the input. Can I use the  JAVA2WSDL tool for generate the class that implements the service?   Thanks in advance Diana    

Web service with Attachment with

2005-12-06 Thread Brosca Diana
Hello I have a question for you. How I can implement a web service that has a pdf  in attachment? Can I use the WSDL2Java tool for generate the class that implements the web service? I'm using Axis 1.2RC Thanks for your help Diana

Urgent Array issue - Incorrect DOC/LIT SOAP request from client?

2005-12-06 Thread Ben Reif
I'm trying to create a DOC/LIT style service that uses an object that contains getters and setters for a List of objects.The List contains RequestFormItemizedLine objects. The containing object, ItemizedRequestForm, looks like:   public class ItemizedRequestForm{    public List getItemi

Creating a WS client, where to start?

2005-12-06 Thread Håkon T Sønderland
<<< Newbie Alert >>> <<< Newbie Alert >>> <<< Newbie Alert >>> Sorry about the total newbie questions. I am trying to use Axis to create a WS client consuming an existing web service. I've read all the newbie tutorial I could find, but the all seem to be on the "hello world" level a

AW: Abstract classes and inheritance

2005-12-06 Thread Knötzinger Markus
Title: Abstract classes and inheritance Ok, finally I solved this issue. First I want to mention that I'm using Axis 1.2.1   The major problem was, that while creating the stub, the inheriting class had not been produced. (It was there, but only because I have two services in the same stub (

Re: Sending java.util.Set using AXIS

2005-12-06 Thread iksrazal
Define an Array in your wsdl and use set.toArray() . If you're using RPC encoded I could give you an example - although I'm using doc / lit at the moment I haven't gotten to arrays yet. iksrazal Em Terça 06 Dezembro 2005 10:16, o Markus Plail escreveu: > Hi there! > > Is it posible to use java

Re: Problem with [sequence.choice.element] structure in WSDL2Java?

2005-12-06 Thread iksrazal
Just a simple thought - have you thought about defining an Array in your wsdl and returning that? Simply create a List on the service side and use toArray() ? iksrazal Em Terça 06 Dezembro 2005 10:20, o Tim R J Langford escreveu: > Greetings All, > > > 1) I am having a problem with the WSDL2Ja

Problem with [sequence.choice.element] structure in WSDL2Java?

2005-12-06 Thread Tim R J Langford
Greetings All, 1) I am having a problem with the WSDL2Java code generated from the current schema element : type="s1:FormattedTextTextType"/> type="s:string"/> type="s:anyURI"/> 2) This schema represents (among other things)

Sending java.util.Set using AXIS

2005-12-06 Thread Markus Plail
Hi there! Is it posible to use java.util.Set and use it in a web service. If yes, how must my beanmapping look like? I am using Hibernate and it maps collections to java.util.Set and I'd really like to use them. If it is RTFM just point to the right manual. Thanks in advance Markus Plail

Multithreading issues in client

2005-12-06 Thread seehamster
Hi, I have a question concerning thread-safety of wsdl2java generated client stubs. These topic has been posted several times and unfortunately the answers are as numerous, too. Some users say, that stubs are safe, because there are synchronized code blocks inside axis code, some others say, that

Re: AW: [Axis2] adding SOAP Headers in MessageSender (client API)

2005-12-06 Thread Eran Chinthaka
Its HIGHLY ENCOURAGED to use the latest version, 0.93 ;-) . Sorry for this, please bear with us a bit. We are getting more and more stable. -- Chinthaka Andreas Bobek wrote: >Ohh, I'm working with version 0.91 all the time. I should look for updates >more often :-) > >Andreas. > > > >

AW: [Axis2] adding SOAP Headers in MessageSender (client API)

2005-12-06 Thread Andreas Bobek
Ohh, I'm working with version 0.91 all the time. I should look for updates more often :-) Andreas.