RE: SOAP:Header question

2005-10-27 Thread Tysnes Are Thobias
Title: Message   I don't know if I should laugh or cry.. but yes.. it looks like this works without warnings..   Thanks alot Anne! :o)   Cheers, Are T. Tysnes -Original Message-From: Anne Thomas Manes [mailto:[EMAIL PROTECTED] Sent: 26. oktober 2005 15:04To: axis-user@ws.

Issue with Custom Serializer/Deserializer Factory

2005-10-27 Thread Somendra Paul
Is any issue when we define Custom Serializers/Deserializers and custom serializer factory and custom deserializer factory,because when i use the custom serializer factories and custom deserializers in typemappings definition in client-config.wsdd,it giving null serializer factory. If any one have

Re: Is axis client session handling thread safe ?

2005-10-27 Thread Carpe Sebastien
makarand sovani wrote: Are you using wss4j ? We have recently come across non-thread safe behaviour in wss4j. If you are not using wss4j can you check your handlers to see if they are threadsafe ? Makarand Well, i'm not sure about what you're pointing me to ... my client code for perfo

RE: Strange WSDL generation

2005-10-27 Thread Alexander Grivnin
Davanum, I opened bug in JIRA - AXIS-2272 Thanks, Alex __ This email has been scanned by the MessageLabs Email Security System. For more information please visit http://www.messagelabs.com/email ___

Re: Is axis client session handling thread safe ?

2005-10-27 Thread Carpe Sebastien
Well ... i've added a few log traces, and, well.. this is getting me nuts ... What i can see, is that, sometimes, the msgContext attribute from the Call object has a different hashCode () between the constructor method and the invoke() call... Even more weird, i can the the same msgContext hashC

WSDL2Java problem

2005-10-27 Thread Jan Bares
Hi, I am new to Axis/SOAP. We have generated Java files from WSDL and most of the functions work well (Google AdWords API). However we have a trouble with a specific function. That function takes array of objects of class called Base. There is another class called Sublass, that is subclass of

Re: Is axis client session handling thread safe ?

2005-10-27 Thread makarand sovani
Check the variables you are using. They are probably getting overwritten by instances of same class in other threads. Check the code you have written on axis side from what you are describing there apeears to be some problem on your server side code.   Makarand  On 10/27/05, Carpe Sebastien <[EMAI

AXIS n UDDI

2005-10-27 Thread Alberto Filho
Hi, how can i use axis with uddi? someone have any example? how can i begin? thanks... []'s Alberto Filho

RE: WSDL2Java problem

2005-10-27 Thread Hansen, Geir
When generating your client code, are you sure you tried the -a option ("generate code for all elements, even unreferenced ones"). See http://ws.apache.org/axis/java/reference.html WSDL2Java Reference Geir -Original Message- From: Jan Bares [mailto:[EMAIL PROTECTED] Sent: 27. oktobe

Re: Is axis client session handling thread safe ?

2005-10-27 Thread Carpe Sebastien
OK .. Found out what happened... looked the symptoms, and didn't check the disease... A good meal, and got my spirits back in... Well, i'm silly. An instance object that should not have held the Call object but did was shared amongst the different Thread. Set the Call object as an parameter alo

SOAP Fault

2005-10-27 Thread Weston, Toby
Hey folks,   Sorry for the newbie question but can you refer me to an article / HOWTO that shows you how to create SOAP fault's in SAAJ? Or how Axis would do it, I need to manually create a valid SOAP message that contains a fault.   Hope that makes sense. Thanks, Toby

[axis 1.x] Working with enumerations

2005-10-27 Thread Dovholuk, Clint
Hello all, I was wondering if there were some switch on WSDL2Java I haven't come across yet which allows it to generate java 5 enum's instead of the type safe enum pattern. Or alternatively, if there was another, different switch which allowed the type safe enum pattern to create values one can a

Re: [Axis2] servletContext & service scope

2005-10-27 Thread Wagner Narde
Thanks! Usually I load a instance of my system facade into servletContext, to split exclusive WS logic from my own business objects logic. But I don't know if it's the best code design, because there are not so many axis2 examples around. Wagner On 10/27/05, Deepal Jayasinghe <[EMAIL PROTECTE

Re: [axis 1.x] Working with enumerations

2005-10-27 Thread Davanum Srinivas
Please opne a jira bug report requesting an enhancement with your wsdl as well. thanks, dims On 10/27/05, Dovholuk, Clint <[EMAIL PROTECTED]> wrote: > Hello all, > > I was wondering if there were some switch on WSDL2Java I haven't come > across yet which allows it to generate java 5 enum's instea

Re: [AXIS2] Anyone using spring with axis2 ?

2005-10-27 Thread trebor iksrazal
Thanks for the reply Saminda - this is what I need and I'm going to try and use it. However, this code does not seem to be in the current subversion trunk. Anyone know why? iksrazal --- Saminda Abeyruwan <[EMAIL PROTECTED]> wrote: > Hi Iksrazal, > > Paul Fremantle has done a greate work in i

Re: WSDL2Java problem

2005-10-27 Thread Jan Bares
Thanks, but it doesn't help. Comparing the generated files, nothing changes with respect to the classes in problem. The QName for the classes is registered even without -a. Does Axis handle this type of calls? Jan Hansen, Geir wrote: When generating your client code, are you sure you tried t

Re: [Axis2] servletContext & service scope

2005-10-27 Thread Deepal Jayasinghe
Hi Wanger; I agree with you that we do not have much of example and document , and we will be fixing them as much as we can. Thanks, Deepal ~Future is Open~ - Original Message - From: "Wagner Narde" <[EMAIL PROTECTED]>

Re: SOAP:Header question

2005-10-27 Thread Terance Dias
Hi Anne,   Is there some way to get the WSDL generation tool in axis to add the header for us?   Thanks and Regards, Terance.Anne Thomas Manes <[EMAIL PROTECTED]> wrote: Try specifying the body parts before the header parts -- both in the messages and in the binding. That should get rid of the warn

RE: WSDL2Java problem

2005-10-27 Thread Hansen, Geir
I am in control of the server as well, and was using Axis to generate a client for test purpose when I became aware of this problem. So I thought that if Axis has such a problem other tools might have as well. So I generated a dummy message on the server side having absolutely all classes as argume

Java2WSDL Query

2005-10-27 Thread anshuk pal chaudhuri
Hi, Does the Java2WSDL tool allow us to add soap:header element in the WSDL which is optional? Thanks Anshuk __ Yahoo! FareChase: Search multiple travel sites in one click. http://farechase.yahoo.com

Re: WSDL2Java problem

2005-10-27 Thread Jan Bares
Thanks Hansen, I am not sure we are talking about the same thing. The Web Service method is: void methodName(BaseClass[]); I have to pass a ChildClass object that extends BaseClass class as argument, so I do: methodName(new BaseClass[] {new ChildClass()}); When I look into SOAP request, I see

RE: restrict access to url

2005-10-27 Thread Wesley MacDonald
Hi, Inside the server-config.wsdd define the following tag inside your element /PathToWSDL/MyWSDL.wsdl With the .wsdl file containing an empty element Wes. -Original Message- From: Plorks mail [mailto:[EMAIL PROTECTED] Sent: October 25, 2005 3:35 AM To: ax

RE: SAXParserException while using Servlet Filter

2005-10-27 Thread Wesley MacDonald
Hi, After your filter does its work it must pass the request on: // Forward the request to the next resource in the chain chain.doFilter(request, response); Wes. -Original Message- From: Ron Reynolds [mailto:[EMAIL PROTECTED] Sent: October 26, 2005 6:46 PM To:

Re: Strange WSDL generation

2005-10-27 Thread Alexander Grivnin
Davanum, I opened bug in JIRA - AXIS-2272 Thanks, Alex __ This email has been scanned by the MessageLabs Email Security System. For more information please visit http://www.messagelabs.com/email __

RE: Re: Strange WSDL generation

2005-10-27 Thread Alexander Grivnin
Davanum, I opened bug in JIRA - AXIS-2272 Thanks, Alex __ This email has been scanned by the MessageLabs Email Security System. For more information please visit http://www.messagelabs.com/email __

GeneratorFactory examples please?

2005-10-27 Thread Mick Knutson
I am trying to see if anyone has any examples of implementing your own GeneratorFactory. I am trying to see if this will allow me to modify the extends or implements of my types that are generated. Please help as I am really frustrated with the issue I have and I have been here searching for a

Axis2 and XMLBeans - what is the relationship?

2005-10-27 Thread Paul Grillo
Short question:  Can I use XMLBeans as distributed by xmlbeans.apache.org as my serializer/deserializer in Axis2?  If so how?  It appears to be different than what is contained in Axis2>     I have a simple WSDL backed up by a few Schemas.  They generate clean java classes in Axis 1.2  

Odd nesting when using arrays

2005-10-27 Thread todd runstein
I'm concerned that using an array of objects creates a service that is too "axis specific". Or, perhaps I'm not creating my service correctly. In either case, any information or suggestions on the following would be greatly appreciated. Consider this simple service. A Parent class contains an a

[Axis 2] Some clarifications (wanted)

2005-10-27 Thread Routis Babis
I am relative new to Web Services and I have the following questions: 1) How do I package a service archive ("aar") if the implementation of the service needs to access some resource (for example a JMS Queue or a managed jdbc datasource). In Axis1 i could embed the Axis Engine in my web appli

classpath

2005-10-27 Thread Daniel Miles
I have a java application that depends on some classes in a jar file. Can I specify a classpath so that the VM can find it? signature.asc Description: This is a digitally signed message part

Re: classpath

2005-10-27 Thread Daniel Miles
heh... I just read my own message, allow me to clarify: I have a java application deployed on my axis server (the wsdd method, not the jws method) and the application depends on an outside jar file. I've tried putting the jar file in the WEB-INF/lib directory but AxisServlet didn't seem to find it

Re: classpath

2005-10-27 Thread Ron Reynolds
you can't modify a classloader's class-finding mechanism internally without creating a new classloader and using it to load your new class. very weird that the WEB-INF/lib approach didn't work (oh, you didn't bounce the tomcat instance, huh? if you did it'd pick it up right away, right?). tomc

Get xml for Object generated with wsdl2java

2005-10-27 Thread Kurt Olsen
Folks, I’m on a tight deadline, I’m trying to talk to ebay – we use java 5 and axis 1.2 -  they don’t  So I can’t just ‘use’ soap – errors everywhere. But….I can use wsdl2java to generate java objects from the ebay schema.  Given these objects – can anybody tell me exactly how to generate

RE: Get xml for Object generated with wsdl2java

2005-10-27 Thread Kurt Olsen
Thanks Meghan I appreciate it and I'll look into it. Of the 35 xml sites we transmit/receive from, 30 simply create strings. It's painfull...but...SOAP is simply insane these days. So...I'm putting a motion on the floor for renaming SOAP as COAP - Complex Object Access Protocol. And yes, pun inten

Re: classpath

2005-10-27 Thread Edson Camargo
Did you insert the jar's name in your classpath? Try specify the complete local of the jar in your classpath, sample: c:\someplace\...\name.jar. Edson Ron Reynolds wrote: you can't modify a classloader's class-finding mechanism internally without creating a new classloader and using it to

Re: classpath

2005-10-27 Thread Ron Reynolds
the "classpath" (the value passed in via -classpath on the cmd line) is only used by the application classloader and it's only read at startup. i thought this service was being deployed while the server is up, in which case it should work fine in the WEB-INF/lib or WEB-INF/classes directories if

Re: Odd nesting when using arrays

2005-10-27 Thread Anne Thomas Manes
For better interoperability, switch to doc/literal wrapped style and define your schema yourself rather than generating it from Java. AnneOn 10/27/05, todd runstein <[EMAIL PROTECTED]> wrote: I'm concerned that using an array of objects creates aservice that is too "axis specific".  Or, perhaps I'

Re: Java2WSDL Query

2005-10-27 Thread Anne Thomas Manes
WSDL doesn't provide the ability to define optional headers. Only mandatory headers may be defined in WSDL.On 10/27/05, anshuk pal chaudhuri < [EMAIL PROTECTED]> wrote:Hi,Does the Java2WSDL tool allow us to add soap:header element in the WSDL which is optional?ThanksAnshuk__

Re: AXIS n UDDI

2005-10-27 Thread Anne Thomas Manes
A UDDI registry is a web service. Its interface is defined by a WSDL. Therefore you can develop a client application with Axis to access a UDDI registry just as you would any other web service. You might also use the UDDI4J API (see http://uddi4j.sourceforge.net/). AnneOn 10/27/05, Alberto Filh

RE: Get xml for Object generated with wsdl2java

2005-10-27 Thread Ebert, Chris
If you can handle another tool for comparison: Castor is pretty easy to use. It 'marshalls' XML input into Java objects and vice versa. It will generate a set of classes from a Schema file. I'm not a big fan of the style of the objects it generates (names, etc...) but it works and it was quick to s

RE: Odd nesting when using arrays

2005-10-27 Thread Bell, Douglas
Best tool I've found for testing interoperability is XMLSpy (http://www.altova.com/products_ide.html). If it works with XMLSpy it's likely to work with any other client.   - Doug From: Anne Thomas Manes [mailto:[EMAIL PROTECTED] Sent: Thursday, October 27, 2005 3:20 PMTo: axis-user@ws.apa

Re: WSE402: The message does not conform to the policy it was mapped to.

2005-10-27 Thread Anne Thomas Manes
The service is implemented using .NET + WSE. In addition to the WSDL, the service contract is also defined using WS-Policy, and I assume there is a policy defined using WS-SecurityPolicy. You need to make sure that your message contains an appropriate WS-Security header as defined by the security p

RE: Odd nesting when using arrays

2005-10-27 Thread Ebert, Chris
I'm pretty happy with the (free!) WST plugin for eclipse. XMLSpy is a little more whiz-bang and does a lot of other nice XML stuff, too, but the eclipse plugin caught at least one real error that XMLSpy missed (and my gSOAP customers will never know of my sins.) Mindreef also has a tool that incor

Encountered illegal extension element 'types' in the context of a 'javax.wsdl.Definition'. Extension elements must be in a namespace other than WSDL's.:

2005-10-27 Thread Paul Barry
Hello, I am trying to run wsdl2java against my WSDL, but I am getting this error: WSDLException (at /wsdl:definitions/types): faultCode=INVALID_WSDL: Encountered illegal extension element 'types' in the context of a 'javax.wsdl.Definition'. Extension elements must be in a namespace other than WSD

Re: [axis 1.x] Working with enumerations

2005-10-27 Thread Cyrille Le Clerc
Hello Clint, I would also be insterested in such a feature but it seems to be pretty complex. Indeed, the current version of axis uses the actual value of the enumeration if it is a valid java variable name. However, if it is not valid (like spaces in "this is my first value"), then the generic n

I give up

2005-10-27 Thread Kurt Olsen
Folks, I hate to say it but I had to ditch axis. Way too difficult. And we won’t be using it in the future.   Our application has approx 30 vendors we communicate with using SOAP. Approx 25 of them are implemented by simply creating strings and firing them off, then parsing out the repl

Axis Server in Weblogic 8.1.2 cluster

2005-10-27 Thread Vipul Sagare
We have WebLogic 8.1.2 cluster which has virtual host and IIS plug-in for content pages. Out application with AXIS 1.2 works fine in single server(one machine). Is there any detailed discussion about dynamically building and deploying the service to the above setup? How would client access the s

Re: I give up

2005-10-27 Thread Davanum Srinivas
Kurt, Looking at your postings, i don't see much from you in terms of engaging the user or developer community to ask for help. http://marc.theaimsgroup.com/?l=axis-dev&w=2&r=1&s=olsen&q=b http://marc.theaimsgroup.com/?l=axis-user&w=2&r=1&s=olsen&q=b Your specific email to Tom (http://marc.theaim

RE: [axis 1.x] Working with enumerations

2005-10-27 Thread Dovholuk, Clint
Hi Cyrille, (and all)   Thanks for the response... I agree that there is the possibly for name clashing, though as you note, this risk is pretty minor.  I would say that on creation the enumerations are stuffed into a map and if any values do clash, then the name still is created as per the c

Re: [AXIS2] Anyone using spring with axis2 ?

2005-10-27 Thread Saminda Abeyruwan
:) Paul wanna integrate Spring into Axis2. So he came up with this code. You can get a good idea outof it and change it according to your requirement. Remember users can implement MessageReceivers anyway they wanted. Saminda trebor iksrazal wrote: Thanks for the reply Saminda - this is what

Re: Java2WSDL Query

2005-10-27 Thread anshuk pal chaudhuri
Hi Anne, Thanks for your reply. What I exactly meant was that according to the WSDL spec 1.1 we have an option of adding the soap:header inside the wsdl:binding-->wsdl:operation-->wsdl:input. But that soap:header can be added or can not be,depending upon the needs.(meaning soap:header element is

Re: Axis2 and XMLBeans - what is the relationship?

2005-10-27 Thread Ajith Ranabahu
Hi Paul, See my comments inline On 10/27/05, Paul Grillo <[EMAIL PROTECTED]> wrote: Short question:  Can I use XMLBeans as distributed by xmlbeans.apache.org as my serializer/deserializer in Axis2?  If so how? Yes. The default databinding framework is XMLBeans :) don't specifiy any -