Re: Problem with setting boolean to nil

2008-06-23 Thread Julie . Hansen
Thanks for your reply Amila. I have tried as you suggested, but am getting compile errors now when compiling. This is the code snippet generated to delcare the boolean attriute. code /** * field for IgnoreConflict */

Re: Problem with setting boolean to nil

2008-06-23 Thread Mauro Molinari
Hi Julie, -Euwc option as of now generates code that requires 1.5 compliance to your Java code, because of the auto (un)boxing conversion you noticed. -- Mauro Molinari Software Developer [EMAIL PROTECTED] - To unsubscribe,

RE: Send direct XML rather than using Java classes

2008-06-23 Thread Jacky Rymasz-Maillot
Hello, I'm not using AS8.2. My Client application is an applet (It can also be delivered to customer as a standalone application) sending request to a server application deployed on Tomcat 5.5.12. Both are using Axis 1.4 to communicate and both have been deployed and compiled with jdk1.5.06.

Re: Multiple services from one WSDL... advice?

2008-06-23 Thread Andrew Clegg
2008/6/22 Amila Suriarachchi [EMAIL PROTECTED]: So instead I'm planning on keeping them in separate services, and writing a custom Ant task that runs the code generator three times and deploys three separate services to the server. If you have three services you don't have to do this.

Re: Multiple services from one WSDL... advice?

2008-06-23 Thread pierre betz
Hi, talking about that, is there any still any way to have a wsdl2java process that will build all ports and services in one time ? I mean, my wsdl file had 1 service with lot of ports (with differents port types, and I think that's why it was not well built)... and now the only solutoin I had

RE: Send direct XML rather than using Java classes

2008-06-23 Thread Jacky Rymasz-Maillot
Re hello.. ;) Ok just to say i found out my problem. Following this example http://users.skynet.be/pascalbotte/rcx-ws-doc/saajpost.htm, I added those 2 lines and now it works with jre1.5 and 1.6. MimeHeaders hd = msg.getMimeHeaders();

Re: Multiple services from one WSDL... advice?

2008-06-23 Thread Amila Suriarachchi
On Mon, Jun 23, 2008 at 2:59 PM, pierre betz [EMAIL PROTECTED] wrote: Hi, talking about that, is there any still any way to have a wsdl2java process that will build all ports and services in one time ? you can use -ap But here as you have noticed they should refer to same portType. thanks,

Re: [Axis2] - Software caused connection abort: recv failed

2008-06-23 Thread Jan Verstuyft
Thanks Tim for the feedback. I've tried this, and it was very strange. I've tried it with a couple different TCP/IP Monitors. Tcpmon gave a soap request, but won't work for either Java or C#. BurpSuite gave a soaprequest, still works for C# but won't work for Java, but also not for my

serialising adbbeans

2008-06-23 Thread RICHARD FEATHERSTONE
Hi, I'm trying to get the xml for an adbbean. When I call getPullParser and pass this into StAXOMBuilder and call getDocumentElement I get the first child and not the root I was expecting. Can anyone help here? XMLStreamReader reader = someAdbBean.getPullParser(null)  // or the .MY_QNAME from

com.ctc.wstx.exc.WstxParsingException: Illegal character entity: expansion character (code 0x1) not a valid XML character

2008-06-23 Thread Axis User
Hi All, I'm developing a WS client that communicates with Microsoft Exchange Web Service (EWS), however at several occasions I have experienced that the response from EWS contains characters that are illegal within XML (at least according to Apache Axis2 and also how I/we undertsand the XML

RE: [Axis2] - Software caused connection abort: recv failed

2008-06-23 Thread Tim James McConechy
Hi, Not entirely sure about this: 1) I still get the http 100 messages - I don't think they are a problem - you might want to keep looking for other http errors.. 2) Try to disable chunking since the message mentions that... WebServiceManager.generalServiceObject=new WsDataObjectStub();

java.lang.NullPointerException AbstractDispatcher.invoke

2008-06-23 Thread Mohan Radhakrishnan
Hi, Not sure what this exception means. I have also pasted the source code at the end. Line 122 is msgctx .setProperty( Constants.AXIS_BINDING_MESSAGE,

Ant codegen very slow in Eclipse

2008-06-23 Thread Andrew Clegg
Does anyone else find that the Ant code generation task is very slow when run in Eclipse? My WSDL file takes 18 seconds to convert to Java from an Ant task on the command line (and about the same or less if using wsdl2java.sh) but takes about 9-10 MINUTES if the same Ant task is started from

Re: [Axis2] - Software caused connection abort: recv failed

2008-06-23 Thread Jan Verstuyft
Thanks Tim, that seems to work with the chunk disabled. What is the advantage/disadvantage of this? What about the Jira? I don't know what you mean. I'm a newbie at Axis and Axis2. Kind regards Jan 2008/6/23 Tim James McConechy [EMAIL PROTECTED]: Hi, Not entirely sure about this: 1) I

RE: [Axis2] - Software caused connection abort: recv failed

2008-06-23 Thread Tim James McConechy
Hi, http://developers.sun.com/mobility/midp/questions/chunking/ I've also been thinking trying Http 1.0 might solve this (same with the properties I think). Either that or IIS 5.5 does not support persistent connections? Like you the issue is solved but I am not happy about the workarounds and

Re: java.lang.NullPointerException AbstractDispatcher.invoke

2008-06-23 Thread keith chapman
Hi Mohan, Can you provide us with more information as to how we can reproduce this error. Sample service and request sent would be great. Thanks, Keith. On Mon, Jun 23, 2008 at 7:47 PM, Mohan Radhakrishnan [EMAIL PROTECTED] wrote: Hi, Not sure what this exception means. I have also

RE: java.lang.IllegalStateException: No valid ObjectCreator found.

2008-06-23 Thread Nate Roe
Ah, that's got it. Thank you! From: Amila Suriarachchi [mailto:[EMAIL PROTECTED] Sent: Saturday, June 21, 2008 9:43 PM To: axis-user@ws.apache.org Subject: Re: java.lang.IllegalStateException: No valid ObjectCreator found. do you have wstx-asl-3.2.4.jar in your

Can't Change chunking...HTTP/1.0 does not support chunk encoding

2008-06-23 Thread Tim James McConechy
Hi, I tried to disable chunking in the axis2.xml file as well as use the following code: if (httpChunking.equals(false)) WebServiceManager.formulaServiceObject._getServiceClient().getOptions(). setProperty(HTTPConstants.CHUNKED, false); if (httpVersion.equals(1.0))

Mac Question

2008-06-23 Thread Sean Conlon
I have some simple tests that attach to a third party Web Service, which work perfectly fine for multiple developers on a PC with Axis2 for Java. However, when another developer runs these exact same tests on a Mac, he receives a Regular Expression Exception (see below) within the Stub that

Re: Mac Question

2008-06-23 Thread Andreas Veithen
Sean, This looks like AXIS2-3453 [1] and should be fixed in Axis2 1.4. Andreas [1] https://issues.apache.org/jira/browse/AXIS2-3453 On 23 juin 08, at 22:36, Sean Conlon wrote: I have some simple tests that attach to a third party Web Service, which work perfectly fine for multiple

[Axis2]Access Control with Axis2 and splitting the SOAP processing onto different machines

2008-06-23 Thread Dennis Ho
Hi, I am a new user to Axis2 and have a couple of questions about how to use axis2 to web-service enable some of our APIs. 1) The WS Security spec (which Rampart supports) mainly talks about authentication. I wonder how I should implement authorization which uses the

RE: Mac Question

2008-06-23 Thread Sean Conlon
Andreas, This looks like it might solve my issue. Do you know if Axis2-1.4 is compatible with Rampart-1.1? If so, which version of Rampart should I use? Would you recommend updating to the most recent version of Rampart anyway? Thanks, Sean From:

Simple error that is KILLING me (Invalid byte 2 of 3-byte UTF-8 sequence.)

2008-06-23 Thread Mathew Rowley
Does anyone see what I am doing wrong? I have the following code: public class BodTest { public static void main(String[] args) throws MalformedURLException, ServiceException, RemoteException { //http://172.24.35.103/bod/sessionmgt /*public String

Re: Mac Question

2008-06-23 Thread Amila Suriarachchi
On Tue, Jun 24, 2008 at 3:09 AM, Sean Conlon [EMAIL PROTECTED] wrote: Andreas, This looks like it might solve my issue. Do you know if Axis2-1.4 is compatible with Rampart-1.1? If so, which version of Rampart should I use? Would you recommend updating to the most recent version of Rampart

Re: Mac Question

2008-06-23 Thread Amila Suriarachchi
On Tue, Jun 24, 2008 at 3:09 AM, Sean Conlon [EMAIL PROTECTED] wrote: Andreas, This looks like it might solve my issue. Do you know if Axis2-1.4 is compatible with Rampart-1.1? If so, which version of Rampart should I use? Would you recommend updating to the most recent version of Rampart

Re: Can't Change chunking...HTTP/1.0 does not support chunk encoding

2008-06-23 Thread Amila Suriarachchi
On Tue, Jun 24, 2008 at 1:03 AM, Tim James McConechy [EMAIL PROTECTED] wrote: Hi, I tried to disable chunking in the axis2.xml file as well as use the following code: * * *if* (*httpChunking*.equals(false)) WebServiceManager.*formulaServiceObject*

Re: java.lang.NullPointerException AbstractDispatcher.invoke

2008-06-23 Thread Amila Suriarachchi
could you please try with a nighly build. I fixed a similar issue. thanks, Amila. On Mon, Jun 23, 2008 at 7:47 PM, Mohan Radhakrishnan [EMAIL PROTECTED] wrote: Hi, Not sure what this exception means. I have also pasted the source code at the end. Line 122 is msgctx

RE: Axis2 Performance

2008-06-23 Thread Marcus Furlong
Hi Amila, What does the -u 'unpack databinding classes' mean? Thanks, Marcus Date: Sun, 22 Jun 2008 10:52:52 +0530 From: [EMAIL PROTECTED] To: axis-user@ws.apache.org Subject: Re: Axis2 Performance On Fri, Jun 20, 2008 at 2:56 AM, Marcus Furlong

Re: [Axis2]Access Control with Axis2 and splitting the SOAP processing onto different machines

2008-06-23 Thread Sameera Jayasoma
Hi Dennis, On Tue, Jun 24, 2008 at 2:41 AM, Dennis Ho [EMAIL PROTECTED] wrote: Hi, I am a new user to Axis2 and have a couple of questions about how to use axis2 to web-service enable some of our APIs. 1) The WS Security spec (which Rampart supports) mainly talks

Re: [Axis2]Access Control with Axis2 and splitting the SOAP processing onto different machines

2008-06-23 Thread indika kumara
Hi Dennis You can do this with Apache synapse. Apache synapse can act as your first tier that doing authorization based routing. Apache synapse also uses axis2,rampart,etc for it's web service related processing.Please post your requirement on [EMAIL PROTECTED] Thanks Indika On Tue, Jun 24,