Re: changing the Http request URI

2008-08-26 Thread pierre betz
Hi, htank you for the answers. In fact, I have 3 projects, so 3 aar files, which need to be deployed in some folders like : http://url:18080/NameOfTheProject/services/ServiceName I think there is no possibility to do something in this case. Ok, I can rename the axis2 directory, and use some param

Re: Can I transfer/response an JPG or PDF file from server to client via AXIS 1.x?

2008-08-26 Thread José Ferreiro
Hello Thomas, It is possible to transfer other data from the server to the client than XML. This can be done by sending binary data within the SOAP message. See an example for Axis 1.x here: http://www.agileskills2.org/DWSAA/v10pub/source.zip Unzip the folder and refer to the folder *image servi

Re: AXIS vs. Spring WS

2008-08-26 Thread Deepal Jayasinghe
> I am used to use Apache AXIS and quite satisfied. Now I am going to make a > project in which I have to build a Web Service. I want to use the AXIS but > my customer want Spring WS. > > These days I am learning SPring WS and find it 's much more difficult and > complicated to learn. > > Does so

Re: Can I transfer/response an JPG or PDF file from server to client via Spring WS?

2008-08-26 Thread Deepal jayasinghe
thomas2004 wrote: > What I am going to do is: > > I get some datas from client and will return/transfer/response an JPG or PDF > file to the client. Is it possible? > You mean at the server side you receive a request from a client , that SOAP message contains binary data like JPG or PDF file. An

RE: changing the Http request URI

2008-08-26 Thread Shehan Simen
Hi Martin, Can we get rid of the word "axis2" from the url by doing as you said? Regards From: Martin Gainty [mailto:[EMAIL PROTECTED] Sent: Wednesday, 27 August 2008 9:29 AM To: axis-user@ws.apache.org Subject: RE: changing the Http request URI copy *.aar to %TOMCAT_HOME%/webapps/axis2/WEB-INF/

RE: changing the Http request URI

2008-08-26 Thread Martin Gainty
copy *.aar to %TOMCAT_HOME%/webapps/axis2/WEB-INF/services and update %TOMCAT_HOME%/webapps/axis2/WEB-INF/services/services.list Martin __ Disclaimer and confidentiality note Everything in this e-mail and any attachments relates to the official busi

RE: changing the Http request URI

2008-08-26 Thread Shehan Simen
Hi, Just rename the axis.war file to NameOftheWar.war and deploy it in the tomcat. Then put ur .aar file inside the proper place same as in axis2. It just work. Let me know how it goes. Regards, Shehan From: pierre betz [mailto:[EMAIL PROTECTED] Sent: Tuesday, 26 August 2008 6:57 PM To: axis-us

Can I transfer/response an JPG or PDF file from server to client via AXIS 1.x?

2008-08-26 Thread thomas2004
What I am going to do is: I get some datas from client and will return/transfer/response an JPG or PDF file to the client. Is it possible? So far I understand, the Web Service can only transfer XML-file. Is that right? Any example or infos? Regards Thomas -- View this message in context: htt

Can I transfer/response an JPG or PDF file from server to client via Spring WS?

2008-08-26 Thread thomas2004
What I am going to do is: I get some datas from client and will return/transfer/response an JPG or PDF file to the client. Is it possible? So far I understand, the WS can only transfer XML-file. Is that right? Any example or infos? Regards Thomas -- View this message in context: http://www.n

Can I

2008-08-26 Thread thomas2004
-- View this message in context: http://www.nabble.com/Can-I-tp19168308p19168308.html Sent from the Axis - User mailing list archive at Nabble.com. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail:

Re: Problems trying to access a secure WS using PKCS#11

2008-08-26 Thread SGruverman
I've not worked with an HSM and not used client certificates much, but a couple of things that may be helpful: Does your PKCS11 keystore have the same contents as the Java keystore? How does Axis/Java know where to look for certifucates if the keystore is set to "NONE"? Did the HSM come with its

RE: Axis Web Service issue

2008-08-26 Thread Shah, Sumit
You might be able to do it by changing the web.xml entry in the war file. Thanks Sumit From: sarika pramod [mailto:[EMAIL PROTECTED] Sent: Tuesday, August 26, 2008 12:29 PM To: axis-user@ws.apache.org Cc: [EMAIL PROTECTED] Subject: Re: Axis Web Service is

Re: Axis Web Service issue

2008-08-26 Thread sarika pramod
Hi Anne, I have the web service code in a war file , FCC.war and we have the another ear deployed in JBOSS/server/b2c/deploy/ folder.. I need the service deployed in http://localhost:8080/FCIPlannerServer-1.0/services/FCIClientTestInfo?wsdl I am able to deploy the AXIS Webservice as http://l

AXIS vs. Spring WS

2008-08-26 Thread thomas2004
I am used to use Apache AXIS and quite satisfied. Now I am going to make a project in which I have to build a Web Service. I want to use the AXIS but my customer want Spring WS. These days I am learning SPring WS and find it 's much more difficult and complicated to learn. Does someone have exp

Re: Axiss2 1.2 - Problem with client calling WS behind HTTPS

2008-08-26 Thread SGruverman
Nick, I was catching up on my axis-user mail and noticed that you hadn't received any replies. Not sure if I can help, but some suggestions: Does the endpoint your client is calling have the correct protocol as well as the correct port? (e.g. HTTPS://www.mysite.com:8443/your/service/here) Does th

Problems trying to access a secure WS using PKCS#11

2008-08-26 Thread Fernando Cesar Silva
Hi all, I'm experiencing some problems trying to connect to a WS using SSL with a PKCS#11 Provider and a HSM (Hardware Security Module). The destination WS is returning a message "HTTP 403.7 - Forbidden: Client certificate required". When I try to connect the same WS, but using a JKS KeyStore, th

Re: Friendly API for calling a RESTful webservice

2008-08-26 Thread keith chapman
Hi, If you use the -uw options when generating the stub it becomes more user friendly. -uw instructs the code generator to unwrap the parameters. hence you will be able to call the stub as, GeoStub stub = new GeoStub(); LfmType response = stub.getEvents(apiKey, location).getLfm(); Thanks, Keith.

Re: Friendly API for calling a RESTful webservice

2008-08-26 Thread Rahul Devgan
Not sure what you are looking for exactly but have you tried www.restlet.org. Also, I am implementing RESTful WS for a major project but its all hand written Servlet based code. On Tue, Aug 26, 2008 at 8:26 PM, Arnout Engelen <[EMAIL PROTECTED]> wrote: > Hi, > > I'm trying to generate some friend

Re: Identified AXIS2 Unexpected Element issue but how do I get this to work with stubs

2008-08-26 Thread Anne Thomas Manes
Add elementFormDefault="qualified" to the declaration in your WSDL. In your message you specify a default namespace in the element, so that namespace then applies to all child elements in the message instance. If you do not specify elementFormDefault, then your child elements are defined as unqu

Re: java.lang.IllegalArgumentException: Wrong target. class ...

2008-08-26 Thread Anne Thomas Manes
You didn't define a typemapping for ArrayOf_xsd_string. Anne On Tue, Aug 26, 2008 at 5:26 AM, O. Bigalk <[EMAIL PROTECTED]> wrote: > > Hi, > > I am developing a web service with a method that takes a complex type as > parameter. > The method takes three parameters the first is an String the secon

Re: Security : Why my timestamp is two hours before my system hour ?

2008-08-26 Thread Mehdi Rabah
ah - never mind, looks like it's because my keystore have expired. (I didn't know this was even possible). On Tue, Aug 26, 2008 at 3:02 PM, Mehdi Rabah <[EMAIL PROTECTED]> wrote: > It helped a little, thanks. I've set my time to 0 offset, so the timestamp > is the same, but I still have my origin

How to use Rampart as Axis2 client from ejb (JBoss) ?

2008-08-26 Thread Rainer Montag
Hello, I like to implement an Axis2 client that is used from within an EJB calling an external web service that requires a UsernameToken. I have a problem how to setup my Axis2 client code to engage the rampart module resulting in a "Unable to engage module: rampart" exception. My ejb code

wsdl2java question

2008-08-26 Thread SGruverman
We had been using the Eclipse plug-in for WSDL-to-Java codegen. When we recently tried the same codegen with wsdl2java.bat, we received "Malformed uri" runtime errors. It was easy to find the problem (we had removed a security policy from the WSDL but had forgotten to remove the policy reference).

Re: Axis Web Service issue

2008-08-26 Thread Anne Thomas Manes
This is a 404 Not Found message. You must have specified a wrong URL. Anne On Tue, Aug 26, 2008 at 8:35 AM, sarika pramod <[EMAIL PROTECTED]> wrote: > Hi all, > > I am getting this error when i am deploying the AXIS webservice in JBOSS > > C:\FCIPlannerServer-1.0\WEB-INF\classes\com\fci\server\ws

Re: Security : Why my timestamp is two hours before my system hour ?

2008-08-26 Thread Mehdi Rabah
It helped a little, thanks. I've set my time to 0 offset, so the timestamp is the same, but I still have my original problem :/ On Tue, Aug 26, 2008 at 2:31 PM, Erich Musick <[EMAIL PROTECTED]> wrote: > Not sure if this helps or not, but the timestamp is output in UTC time. > Therefore, unless yo

Axis Web Service issue

2008-08-26 Thread sarika pramod
Hi all, I am getting this error when i am deploying the AXIS webservice in JBOSS C:\FCIPlannerServer-1.0\WEB-INF\classes\com\fci\server\ws>java org.apache.axis.client.AdminClient -l" http://localhost:8080/FCIPlannerServer-1.0/servic es/AdminService" deploy.wsdd Processing file deploy.wsdd Excepti

Re: Security : Why my timestamp is two hours before my system hour ?

2008-08-26 Thread Erich Musick
Not sure if this helps or not, but the timestamp is output in UTC time. Therefore, unless your local timezone offset is 0, the time will always differ. - Erich Musick On Tue, Aug 26, 2008 at 7:22 AM, Mehdi Rabah <[EMAIL PROTECTED]> wrote: > Hi, > > Here is my problem : yesterday my webservice

Security : Why my timestamp is two hours before my system hour ?

2008-08-26 Thread Mehdi Rabah
Hi, Here is my problem : yesterday my webservice was working, today it's not. Without code modifications :) I have this error : WSDoAllReceiver: security processing failed I've looked into the SOAP enveloppe and the timestamp is two hours before my system time. Example : 2008-08-26T09:03:00.687

Setting a default namespace for responses

2008-08-26 Thread Arnout Engelen
Hi, I'm calling a webservice that returns XML elements without a namespace. Is there any way I can specify a default namespace to use when none is specified in the returned XML? Now I get a: Caused by: org.apache.axis2.databinding.ADBException: Unexpected subelement lfm at gennedservi

Friendly API for calling a RESTful webservice

2008-08-26 Thread Arnout Engelen
Hi, I'm trying to generate some friendly client code for accessing a REST-ish webservice. To that end, I wrote a WSDL2.0 description of the webservice, containing the following operation: http://www.w3.org/ns/wsdl/in-out"; style="http://www.w3.org/ns/wsdl/style/iri"; wsdlx:safe

java.lang.IllegalArgumentException: Wrong target. class ...

2008-08-26 Thread O. Bigalk
Hi, I am developing a web service with a method that takes a complex type as parameter. The method takes three parameters the first is an String the second is an array of String an the third is an array of FeatureCategoryTreePath which is the complex type. Both parameter are nillable. When I call

Re: changing the Http request URI

2008-08-26 Thread pierre betz
the previous web service was deployed in tomcat and generated with axis1. to access to a service and call an operation, we did : http://service.myUrl.com:18080/NameOftheWar/services/NameService?NameOperation but, as now I use axis2 as a plugin in tomcat, I really can't find a way to call the new