Re: what's wrong with this code

2009-06-24 Thread Abdul Sami
resolved, the directory didn't have the write permission. I think the error message should be populated correctly. Uthaiyashankar wrote: Can you check whether any errors are reported in log files? Regards, Shankar On Tue, Jun 23, 2009 at 5:36 PM, Abdul Sami as...@folio3.com

Re: SSL : setting up truststore (and keystore?)

2009-06-24 Thread asheikh
Hi, I have a strange problem with using SSL server. I have a war application which has a jar that connects to a SSL web service. System.setProperty(javax.net.ssl.keyStore, url.getPath()); System.setProperty(jjavax.net.ssl.keyStoreType, jks);

Re: SSL : setting up truststore (and keystore?)

2009-06-24 Thread Dennis Sosnoski
I'm surprised this works at all in an app server environment. The app server should have some way of configuring SSL support, and even though that configuration is going to be intended more for inbound connections it might also have settings for outbound connections. Aside from that, you can

Re: SSL : setting up truststore (and keystore?)

2009-06-24 Thread asheikh
Dennis, Thanks for the code and suggestions. The app server should have some way of configuring SSL support, and even though that configuration is going to be intended more for inbound connections it might also have settings for outbound connections. yes, I have configures the application server

message-style services with multiple allowedMethods

2009-06-24 Thread Marcello Marangio
Hi all I implemented a service that has 2 allowed methods and message style. At the moment, I dispatch the request using a custom xml and another public message-style compliant method (the actual one). How can I write a wsdd that maps different soapAction for each method? I see there is a

Re: SSL : setting up truststore (and keystore?)

2009-06-24 Thread Dennis Sosnoski
I understand you're not opening the connection directly, but having it opened for you by the Axis2-generated stub, and admittedly my code doesn't help much directly in that situation. I'm not sure offhand how to make the server certificate authentication work in that situation, but I believe

Unable to build client side message with document style

2009-06-24 Thread joa
Hi I am developing an AXIS 1.4 client for a remote server (AXIS 1.3). The axis guide: http://ws.apache.org/axis/java/user-guide.html#ServiceStylesRPCDocumentWrapp edAndMessage details a message structure (which is similar to what I want): soap:Body myNS:PurchaseOrder

Axiom JVW compatability

2009-06-24 Thread Chris Mannion
Hi all I've noticed that despite Axis2 only requiring Java 1.5, it relies on Axiom. However the later releases of Axiom seem to require Java 6, so I'm just wondering if anyone knows which, if any, earlier releases of Axiom are still usable but compatible with Java 1.5? -- Chris Mannion

Re: Axiom JVW compatability

2009-06-24 Thread Andreas Veithen
Axiom doesn't require Java 6. It should work on 1.4.2. Andreas On Wed, Jun 24, 2009 at 12:14, Chris Mannionchris.mann...@nonstopgov.com wrote: Hi all I've noticed that despite Axis2 only requiring Java 1.5, it relies on Axiom.  However the later releases of Axiom seem to require Java 6, so

Re: SSL : setting up truststore (and keystore?)

2009-06-24 Thread asheikh
Thanks Dennis, I will try your suggestion and links On Wed, Jun 24, 2009 at 11:08 AM, Dennis Sosnoski d...@sosnoski.com wrote: I understand you're not opening the connection directly, but having it opened for you by the Axis2-generated stub, and admittedly my code doesn't help much directly

Axis gives error while requesting wsdl

2009-06-24 Thread brijesh
Hi, I have merged axis.war with my existing application's war file. When Requesting for services by giving url http://localhost:7001/services/ It's list the services properly. but when i try to get wsdl file for each services .. it's giving error like this. Please provide me the answer .

I can't unsubscribe

2009-06-24 Thread Cesar de Almeida Correia
Hello all, I am trying do unsubscribe in this list but the reply email is always rejected. This is the email error message: Your Re: confirm unsubscribe from axis-user@ws.apache.org message:

RE: Problem serializing array of complex types

2009-06-24 Thread Besecker, Kyle
Thanks Chinmoy, However, what you described is what I am doing. I set the return type of my service to be custom.class.Name[] and I still get the JAXBException. Do I need to put some annotation on the class in order to send an array of that object across? I tried getting around this by

Error while uploading File using DataHandler

2009-06-24 Thread Moritz Mädler
Hello! I work with Axis 1.4.1 and Tomcat 5.5. In the service there is a method which is used to upload image-data to the server using javax.activation.DataHandler. I generated a ClientStub using the eclipse-built-in Create new Webservice-Client and communicate successfully with other

Re: Next question...

2009-06-24 Thread Matthew Beldyk
It appears to be axis2-jaxws-1.4.1.jar Here's how I figured that out on a unix system: [10:02:23]bel...@mechagodzilla: ~/java_dev/trunk/libs/axis2-1.4.1 $ grep org.apache.axis2.jaxws.framework.JAXWSDeployer lib/* Binary file lib/axis2-jaxws-1.4.1.jar matches [10:02:39]

Re: Axiom JVW compatability

2009-06-24 Thread Chris Mannion
Maybe I've misunderstood then but I'm using an Axiom StAXOMBuilder object to build a document from a string or stream of XML and the StAXOMBuilder relies on the javax.xml.stream which doesn't exist in the 1.5.0 JRE I have but is in the 1.6.0 JRE. Perhaps I just need another jar file added to my

Re: Error while uploading File using DataHandler

2009-06-24 Thread Moritz Mädler
Ok, i found the bug: just forgot to set one argument - damn me. I've got another question: As you can see, i request the filetye from the DataHandler.getName() using String.substring(String.lastindexof(.)). When i test the POJO-Class locally, i get the correct extension. When i use it as

Axis WS on mobile devices

2009-06-24 Thread Demetris G
Hi all, I asked this question before (twice) but I didn't get a single response, interestingly enough. I am assuming by now that there is no mobile version of Axis/Axis2 and all the stories I hear about people getting Web services to work on mobiles is a fiction ... Has anyone managed

Using Axis to generate Client Stubs from a WSDL of a Spring Hosted Webservice

2009-06-24 Thread sd189d
Hi We have a external 3rd Party Webservice that we want to use. All we know is that its a Spring based webservice and we have access to its WSDL URL. Our earlier effort to write a client running the spring generated stubs works just fine within a Spring based MVC app, however now we need to

SimpleHTTPServer randomly fails to load life cycle class of random service archive

2009-06-24 Thread Marc Noma
Hi everybody I'm using an instance of the SimpleHTTPServer class of Axis2 1.4 as server for my webservices. When I stop the SimpleHTTPServer instance from within my application and then restart it (still from wihin my application and without first quitting the Java VM) I randomly get a

problem with wsdl2java in 1.5

2009-06-24 Thread Vadim Letitchevski
wsdl2java in axis2-1.5 did not work for me reporting exceptions like these: Exception in thread main java.lang.NoClassDefFoundError: org.apache.axis2.description.AxisDescription at java.lang.Class.initializeClass(libgcj.so.7rh) at java.lang.Class.initializeClass(libgcj.so.7rh) at

How to get ConfigurationContext from a xml file which is in a jar file

2009-06-24 Thread Jing Tao
Hi, everyone: I am working to write a web service client and have a customized client-axis2.xml. I used the following code to get a ConfigurationContext object: ConfigurationContext ctx = ConfigurationContextFactory.createConfigurationContextFromFileSystem(., conf/client.axis2.xml); Now I

Re: Error while uploading File using DataHandler

2009-06-24 Thread Chinmoy Chakraborty
You can try setting the content-type in the service class and getting the same in the client side using SwA. Enabling MTOM and SwA means MTOM is getting preference over SwA. Chinmoy On Wed, Jun 24, 2009 at 11:18 PM, Moritz Mädler m...@moritz-maedler.dewrote: Ok, i found the bug: just forgot to