Re: Policy driven code generation problem Axis v1.3

2008-01-15 Thread Sanka Samaranayake
Pete wrote: Hello, Can someone say if the Axis2 v1.3 code generator (eclipse plugin) supports WS-Policy 1.2? Or just 1.5? Or ? Currently Axis2 support only WS-Policy 1.2 version. Both 1.2 and 1.5 version will be supported in (next) Axis2-1.4 release. Based on some info that Anne previo

Re: axis2 [1.3] Possibilities to get xml from ADB

2008-01-15 Thread Amila Suriarachchi
On Jan 16, 2008 12:20 AM, Thomas Pawlitzki <[EMAIL PROTECTED]> wrote: > Hello, > > i am searching for a convinient way to get the XML from an ADB. It > works, when i use the OMElement: > > adb.getOMElement(...).toString(); > > But this is rather compilcated with the QNames and in one situation it

Re: [axis2] why stub classes are generated as inner classes?

2008-01-15 Thread keith chapman
I guess it comes down to preference... Thanks, Keith. On Jan 16, 2008 2:48 AM, Alick Buckley <[EMAIL PROTECTED]> wrote: > > > Hi keith, > > Which is the recommend option, inner classes or top level classes ? > > Are there any possible Java limit problems when WSDL2Java generates inner > classes f

Re: [axis2] why stub classes are generated as inner classes?

2008-01-15 Thread Amila Suriarachchi
On Jan 16, 2008 2:48 AM, Alick Buckley <[EMAIL PROTECTED]> wrote: > Hi keith, > > Which is the recommend option, inner classes or top level classes ? > Some people wants to generate all the classes in one file. If you do not have such a need use -u. Both are works equally. thanks, Amila. > > A

Re: Question on JDK1.6 with Axis2

2008-01-15 Thread Deepal Jayasinghe
> Hi Guys, > > I was looking at the realeses section under apache site and could > locate Axis2 1.3 listed. I assume this is the stable version being > offered ( i dont see 1.4 still ). Yes , Axis2 1.3 is very stable versions , and we did not find any critical issues after we do the release. > L

Re: [Axis2]: POJO service bombs with empty non-nullable argument

2008-01-15 Thread Deepal Jayasinghe
Hmm , if your service class have variable like boolean , or int then you have to send that. So in this case you are supposed to send the boolean value. -Deepal > Hello, > > I had been facing an issue, which I succeeded in reproducing on the > quickstart sample in the > StockQuoteService class. >

Re: WSDL import and schemaLocation

2008-01-15 Thread keith chapman
If you need an absolute URI in there you can try saving the WSDL to your hard disk, Update it manually to have an absolute URI and then add it to the META-INF folder of your aar. Also add the parameter useOriginalWSDL="true" to your services.xml. Thanks, Keith. On Jan 16, 2008 5:18 AM, prasad c i

Re: WSDL import and schemaLocation

2008-01-15 Thread prasad c iyer
I did used WSDL2Java tool. What I'm trying to do is consume the service using PHP. But when I query the WSDL file it returns me the following schema location. I don't think it takes care of this. regards - Original Message - From: Amila Suriarachchi To: axis-user@ws.apache.or

Resolving relative path of Schema

2008-01-15 Thread prasad c iyer
Hi, How do I resolve the relative path defined in SchemaLocation? Any ideas. The generated WSDL is http://localhost:8080/my-app/services/BankServices"; xmlns="http://schemas.xmlsoap.org/wsdl/"; xmlns:tns="http://localhost:8080/my-app/services/BankServices"; xmlns:xsd="http://www.w3.org/2001/XM

How to void "_" in the Axis generated java files.

2008-01-15 Thread Srinivasa K
Hi, I have couple of questions: 1. WSDL2Java ant task is generating some classes prefixing with "_". So how can I avoid the "_". 2. WSDL2Java ant task saying that: "[axis-wsdl2java] { http://www.oblix.com/}ObDisplay already exists" but that java file is not there and the other java files re

RE: [axis2] why stub classes are generated as inner classes?

2008-01-15 Thread Alick Buckley
Hi keith, Which is the recommend option, inner classes or top level classes ? Are there any possible Java limit problems when WSDL2Java generates inner classes from a complex WSDL ? When would you decide to use the -u option ? I would like to be able to handle all WSDL documents the same wa

axis2 [1.3] Possibilities to get xml from ADB

2008-01-15 Thread Thomas Pawlitzki
Hello, i am searching for a convinient way to get the XML from an ADB. It works, when i use the OMElement: adb.getOMElement(...).toString(); But this is rather compilcated with the QNames and in one situation it does not work correctly. In one situation the content of the tags are stripped out a

[Axis2]: POJO service bombs with empty non-nullable argument

2008-01-15 Thread Ulrich Kroener
Hello, I had been facing an issue, which I succeeded in reproducing on the quickstart sample in the StockQuoteService class. In the StockQuoteService class, add a method, say, public double getPrice2(String symbol, boolean b) { Double price = (Double) map.get(symbol); if(pr

Re: How to remove mustUnderstand attribute?

2008-01-15 Thread Jon Hanshew
I had the same problem. Check out http://www.nabble.com/-Axis2--How-Do-I-Set-mustUnderstand%3D%220%22--to13502520.html#a13502520 westpine wrote: > > Why mustUnderstand attribute appeared? I'm creating client to 3d party > server and after migrating from axis1.4 to axis2 I found this strange >

Re: [axis2] why stub classes are generated as inner classes?

2008-01-15 Thread keith chapman
Hi Adrian, use the -u option in addition to the ones u've used. -uw is for unwrapping while -u is for unpacking. So wsdl2java -or -uw -o -u may be what your looking for. Thanks, Keith. On Jan 15, 2008 9:23 PM, Adrian Herscu <[EMAIL PROTECTED]> wrote: > Hi Keith, > > thanks for the reply. > I am

RE: Spring not loading classpath resources not found in AAR

2008-01-15 Thread Gladwell, Ricado
Hi Robert, Thanks for the useful reply, using Resource.getInputStream() seemed to do the trick. Kind regards... -- Ricardo Gladwell -Original Message- From: robert lazarski [mailto:[EMAIL PROTECTED] Sent: 15 January 2008 16:41 To: axis-user@ws.apache.org Subject: Re: Spring not loadin

Re: [Axis2] java.util.regex.PatternSyntaxException

2008-01-15 Thread Michele Mazzucco
David, here it is localhost|*.localhost|ncl.ac.uk|*.ncl.ac.uk Michele p.s. with localhost as first element it works fine in the synchronous version -- but as soon as I add a callback if fails as well On 15 Jan 2008, at 16:40, David Illsley wrote: Michele, could you add code to your client

Re: Policy driven code generation problem Axis v1.3

2008-01-15 Thread Pete
Hi Martin, I've attached the 2 files. Didn't think of that with the mailing list... -P - Original Message From: Martin Gainty <[EMAIL PROTECTED]> To: axis-user@ws.apache.org Sent: Tuesday, January 15, 2008 10:27:09 AM Subject: Re: Policy driven code generation problem Axis v1.3 for so

Re: [Axis2] java.util.regex.PatternSyntaxException

2008-01-15 Thread David Illsley
Michele, could you add code to your client to sysout System.getProperty(HTTP_NON_PROXY_HOSTS) so it's possible to tell what regex might be failing? Thanks, David On Jan 15, 2008 4:09 PM, Michele Mazzucco <[EMAIL PROTECTED]> wrote: > Some more information. Everything works fine with Axis2 1.2. > >

Re: Spring not loading classpath resources not found in AAR

2008-01-15 Thread robert lazarski
On Jan 15, 2008 2:06 PM, Gladwell, Ricado <[EMAIL PROTECTED]> wrote: > Hi All, > > For some reason, I get a DeploymentException when attempting to load > classpath resources in my Spring application context XML. > > Caused by: org.apache.axis2.AxisFault: Error creating bean with name > 'aolProxyRe

Re: Policy driven code generation problem Axis v1.3

2008-01-15 Thread Martin Gainty
for some reason the attachments were truncated with the end result of the inline wsdl being crippled can you attach the wsdl as well as the policy file? Thanks M- - Original Message - From: "Pete" <[EMAIL PROTECTED]> To: Sent: Tuesday, January 15, 2008 11:03 AM Subject: Policy driven code

Re: [Axis2] java.util.regex.PatternSyntaxException

2008-01-15 Thread Michele Mazzucco
Some more information. Everything works fine with Axis2 1.2. Michele On 15 Jan 2008, at 16:02, Michele Mazzucco wrote: Hello again, apparently this problem has already been raised here http://www.mail-archive.com/axis-user@ws.apache.org/msg35891.html Any idea? Thanks, Michele On 15 Jan 20

Spring not loading classpath resources not found in AAR

2008-01-15 Thread Gladwell, Ricado
Hi All, For some reason, I get a DeploymentException when attempting to load classpath resources in my Spring application context XML. I use the following XML fragment in my code which passes integration testing, but fails when I deploy the Spring configuration as an AAR: classpath:we

Policy driven code generation problem Axis v1.3

2008-01-15 Thread Pete
Hello, Can someone say if the Axis2 v1.3 code generator (eclipse plugin) supports WS-Policy 1.2? Or just 1.5? Or ? Based on some info that Anne previously offered, it seems that I can't get Axis 2 to generate the stubs (ADB) with the necessary policy code, this was for policy v1.2... I did tr

Re: [Axis2] java.util.regex.PatternSyntaxException

2008-01-15 Thread Michele Mazzucco
Hello again, apparently this problem has already been raised here http://www.mail-archive.com/axis-user@ws.apache.org/msg35891.html Any idea? Thanks, Michele On 15 Jan 2008, at 15:30, Michele Mazzucco wrote: Hi all, can anybody tell me what's going on here?, the code used to create the pa

Re: [axis2] why stub classes are generated as inner classes?

2008-01-15 Thread Adrian Herscu
Hi Keith, thanks for the reply. I am using wsdl2java -or -uw -o to generate the code and as said service classes are generated inside the stub class. Regards, Adrian. keith chapman wrote: Hi adrian, If you genarate code using the -u option it will Unpack the databinding classes. By default

[Axis2] java.util.regex.PatternSyntaxException

2008-01-15 Thread Michele Mazzucco
Hi all, can anybody tell me what's going on here?, the code used to create the payload and options is the following SOAPFactory factory = OMAbstractFactory.getSOAP12Factory(); OMNamespace omns = factory.getNamespace(); OMElement payload = factory.createOMElemen

Re: Process SOAP message containg XHTML

2008-01-15 Thread Scott Malinowski
Andreas, Thank you very much for researching this. Great job finding the underlying cause and proposing a fix. I'll watch the JIRA and get the build with the fix when it is available. Scott - Original Message From: Andreas Veithen <[EMAIL PROTECTED]> To: axis-user@ws.apache.org Sent:

Re: [axis2] why stub classes are generated as inner classes?

2008-01-15 Thread keith chapman
Hi adrian, If you genarate code using the -u option it will Unpack the databinding classes. By default they are genarated as inner classes. Thanks, Keith. On Jan 15, 2008 5:50 PM, Adrian Herscu <[EMAIL PROTECTED]> wrote: > Hi all, > > I wonder why stub classes are generated as inner classes ins

[Axis2] StAX related questions

2008-01-15 Thread Subir S
Hi, I dont know whether this is the right forum to ask, but i am sure that Axis2 uses this. I am a newbie in this StAX stuff. I was studying little bit on this and had some questions. a.) What is the difference between the stax-api-1.0.1.jar that axis2 1.2uses and the jaxp-api.jar in jaxp1.4.2 ?

Re: client for a secure conversation

2008-01-15 Thread Nandana Mihindukulasooriya
Hi Anil, I would like to get a reference to writing a client for a secure > conversation using the rampart module, I saw the sample 4 in the samples > with the rampart module and it does not help me show how to send multiple > messages in a single secure conversation. > Replied to your mail regard

[axis2] why stub classes are generated as inner classes?

2008-01-15 Thread Adrian Herscu
Hi all, I wonder why stub classes are generated as inner classes instead of top-level classes. Any insights? TIA, Adrian. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Question on JDK1.6 with Axis2

2008-01-15 Thread Gudla, Natraj (GE Money, consultant)
Hi Guys, I was looking at the realeses section under apache site and could locate Axis2 1.3 listed. I assume this is the stable version being offered ( i dont see 1.4 still ). Looking at http://ws.apache.org/axis2/1_3/installationguide.html i see a section which speaks of using any JDK higher to