RE: Digital signatures on AXIS?

2006-02-02 Thread glenn bech
In my opinion, this is a bit more complex than just setting up Axis the right way. If you need to do such things as This message was signed by john smith, you will need some kind of PKI infrastructure. You have to think of how you store and distribute your keys. How will 'client A' be able to

Generation of proxies on demand: is it possible?

2006-02-02 Thread Helcio Wagner da Silva
Gentlemen, good morning. I used successfully the Apache Axis in order to create a Web Service and a Client for it. Both applications were created and deployed in PCs using Java. In order to generate the proxy to the Web Service, I used the wsdl2java tool. That was okay. Now, I have a little

Re: newbie to Axis2

2006-02-02 Thread anshuk pal chaudhuri
ok. But actualli I am trying any of the soap engines present generate WSDL2.0 compliant.If any can you please let me know. Thanks, Anshuk --- Deepal Jayasinghe [EMAIL PROTECTED] wrote: well WSDL 2.0 support is not fully completed , Axis2 can read WSDL 2.0 but the writing part is not

Re: Wat Java2WSDL equivalent in Axis2?

2006-02-02 Thread Ajith Ranabahu
hi, there were some code in 0.94 that did this WSDL generation but it was not really tested and was not made into a tool. But recently we've added the commandline tool support for this tool. You are welcome to test out Java2WSDL in the latest codebase. BTW we only generate doc/lit WSDL's :)On

Document Literal vs Document Wrapped vs RPC Encoding

2006-02-02 Thread Dov Rosenberg
Title: Document Literal vs Document Wrapped vs RPC Encoding I have done a bunch of investigating to determine the differences/benefits/limitations of the 3 styles of WSDL generation. In general it seems that the preferred version is Document Literal. Are there any other opinions as to the most

RE: Document Literal vs Document Wrapped vs RPC Encoding

2006-02-02 Thread glenn bech
The far best article I've read so far on the topic of deciding what style to use is this one http://www-128.ibm.com/developerworks/webservices/library/ws-whichwsdl/ It goes through all different combinations of style and encoding, with complete XML listings for the SOAP Messages etc. I advice

using different versiosn of Axis

2006-02-02 Thread Frank
I believe I know the answer to this through experimentation but others have told me that it should not be a problem but i think it is. I'm using someone's code that compiled it with Axis 1.2. I'm using their code along with some of mine but I'm compiling and running in axis 1.2.1. When calls

RE: java client to invoke webservices?

2006-02-02 Thread mm jj
yes i did add the SOAPAction but noting change. any other suggestion or solutions.i really appreciate.Dinesh Shahane [EMAIL PROTECTED] wrote: Looking at your WSDL, I think you need the following SOAPAction call.setSOAPActionURI("/Processes/SOAPServer

Re: wss4j and axis2

2006-02-02 Thread Ruchith Fernando
Hi Brian, Please see my comments below: On 2/2/06, Brian Shields [EMAIL PROTECTED] wrote: Hello, I am deploying security handlers in axis2. My question may be very simple, apologies if the answer is staring me in the face!! Where is the best place to include security tokens in the client? I

ServiceFactory in Axis2?

2006-02-02 Thread Fernando.Matomira
What is the equivalent of org.apache.axis.client.ServiceFactory in Axis2 so that it can be plugged into a Spring-based client? Thanks

Re: wss4j and axis2

2006-02-02 Thread Brian Shields
Thanks for the reply Ruchith, What do you mean by the axis2.xml file of the client? Is this the same axis2.xml file as that of the server if one is calling a service from localhost? I am using 2 deployments of axis2 on two different machines, one of which i have the two parameters below

wrapped/literal array results - cast exception in client

2006-02-02 Thread Fernando.Matomira
With a client using Axis 1.3, when one calls a method that is declared to return String[] (confirmed by wsdl2java), the call fails with a ClassCastException because what the deserializer is actually returning to the proxy is an ArrayList.

Re: Document Literal vs Document Wrapped vs RPC Encoding

2006-02-02 Thread Balaji D L
Can you share your analyse with us ?? It will be very useful. Regards Balaji- Original Message From: Dov Rosenberg [EMAIL PROTECTED]To: axis-user@ws.apache.orgSent: 02 February 2006 14:21:37Subject: Document Literal vs Document Wrapped vs RPC EncodingI have done a bunch of investigating

Re: Document Literal vs Document Wrapped vs RPC Encoding

2006-02-02 Thread Jyotishman Pathak
Dov, I found this article [1] from IBM to be quite useful. At the same time, I am interested in knowing more about your investigation. Thanks, - Jyoti [1] http://www.ibm.com/developerworks/webservices/library/ws-whichwsdl/?ca=dgr-devx-WebServicesMVP03 On 2/2/06, Balaji D L [EMAIL PROTECTED]

Re: wss4j and axis2

2006-02-02 Thread Ruchith Fernando
Hi Brian, If you get the request does not contain the required Security headers then it seems like the security module is not deployed at the client side OR the configured axis2.xml file is not picked up by the client. You MUST provide this configured axis2.xml file along with a repository

Re: wss4j and axis2

2006-02-02 Thread Ruchith Fernando
If you are using the axis2.xml file to configure security module parameters in the server side, please note that those configurations will be applicable to ALL the services in that axis2 repository. Therefore if you want to configure security on a per service basis you MUST use the services.xml

Re: Document Literal vs Document Wrapped vs RPC Encoding

2006-02-02 Thread Cyrille Le Clerc
WS-I Basic Profile, the reference for SOAP interoperability, says it prefers literal rather than encoded : Extract : As a result, the Profile prefers the use of literal, non-encoded XML. Chapter : 4.1.7 SOAP encodingStyle Attribute URL :

OutOfMemoryError when submitting large SOAP requests to Axis

2006-02-02 Thread Jared Klett
greetings all, I've taken a contract job to improve the performance of a Java Web Service based on Axis. The service is required to handle multiple simultaneous SOAP requests that can be anywhere from two to 100 MB in size. So far, the service fails with an OutOfMemoryError when I submit any

Re: OutOfMemoryError when submitting large SOAP requests to Axis

2006-02-02 Thread Linus Kamb
What style of web service are you using? I have successfully sent attachments of 200MB using doc/lit wrapped, and I'm sure I could send larger ones. The trouble I run into is when I try to parse the attachments (they are XML,) but that is outside of Axis/SOAP. Jared Klett wrote:

Re: OutOfMemoryError when submitting large SOAP requests to Axis

2006-02-02 Thread Jared Klett
Of course, the moment I send off a message to a mailing list, after having claimed I read the archives, I find a message that nearly answers my question. http://marc.theaimsgroup.com/?l=axis-userm=113871304213627w=2 This message mentions this JIRA issue:

Re: Generation of proxies on demand: is it possible?

2006-02-02 Thread Seth Griffin
Helcio,I cannot answer whether or not a cell phone has the power to efficiently generate proxy classes on demand or not. It really depends on what the specs of the cell phone are. I do, however, know that on demand generation of proxy classes is possible. I have never done it myself, but

Re: already contains type 'string;

2006-02-02 Thread Davanum Srinivas
Could u please log a bug with your wsdl? thanks, dims On 2/2/06, Axel Bernard [EMAIL PROTECTED] wrote: On 2 of February of 2006, Davanum Srinivas wrote: Dims, I build Axis2 from the latest SVN trunk but I still experience the same error. Do you need more details to figure-out what's

Axis Bug ?- Unable to download large files using Axis Attachments-Need Help

2006-02-02 Thread Mukesh Kumar Maniraj
Hi, I am using Axis 1.2.1 and trying to pass files, using the axis attachment support, I works fine for small files, but when I try to pass 3MB file, I am getting and exception from Axis on the server side, Please note that, when I use Axis 1.1 there is no problem sending large files(I tested

Re: wss4j and axis2

2006-02-02 Thread Brian Shields
Thanks Ruchith, That worked. I had the module installed correctly but the client was not aware of the axis2.xml file. creating a ServiceClient with custom repository worked. I am aware that for service specific settings i will have to configure the services.xml file, that will be done in due

Re: OutOfMemoryError when submitting large SOAP requests to Axis

2006-02-02 Thread Jared Klett
hi Linus, I can send a single request at a time of the required size, and it will succeed. However, when I start more simultaneous requests beyond the first one, they invariably fail with OutOfMemoryErrors. The OOM occurs somewhere inside of Axis. The web service works like this: it runs inside

axis client on CDC/PP application

2006-02-02 Thread Lucas de Oliveira
Hello!Is it possible to run an axis client on a CDC/PP application that use the IBM j9 virtual machine? I need to acces a web service from the PDA and it looks like the stub generated by WSDL2Java is not good for the vm on the PDA. many thanks!

Axis 1.1 Compatability Question

2006-02-02 Thread Pat Young
I'm trying to run Axis 1.1 under Java 1.5 and I am getting errors out of my Axis libraries. Is Axis 1.1 consider to be compatable with Java 1.5 or is Java 1.4 the last version it is certified to run with?Thanks,Pat Young What are the most popular cars? Find out at Yahoo! Autos

(Axis 1.3) Our app includes 2 clients; how do I specify different handlers for each?

2006-02-02 Thread GEORGE MCKINNEY
We've got two different webservices that we want to be able to call with clients generated by Axis 1.3, and use slightly different handlers for each (but with more than one request handler in each case ). Because it is likely that two will change over time, I'd like to make each client's

Re: OutOfMemoryError when submitting large SOAP requests to Axis

2006-02-02 Thread Linus Kamb
Hi, Jared. doc/lit wrapped is the web service "style". There are various styles: primarily RPC-encoded, document/literal, and "wrapped" which is a variation on document/literal. Much information available about that. The following is probably not the best introductory information, but I

RE: (Axis 1.3) Our app includes 2 clients; how do I specify different handlers for each?

2006-02-02 Thread Olano, Ever
I don't know if this applies to you but there was one time when I was experimenting with the config file too and I found that I could specify the filename either via the System.property axis.ClientConfigFile or by doing the following in your code: org.apache.axis.EngineConfiguration config

Re: [axis2]module.xml not found for the module

2006-02-02 Thread Aaron Evans
Ruchith Fernando ruchith.fernando at gmail.com writes: Hi, This is because addressing.mar cannot be found and this is a known issue with the 0.94 release. Solution From: http://ws.apache.org/axis2/download.cgi I had solved this problem when running stand-alone (client stub) by

Re: Can't find module.xml

2006-02-02 Thread Aaron Evans
Bryan Allen Bryan.Allen at sas.com writes: Look in: %UserProfile%. This is where my .axis2 folder was located when I had this problem. If your username is gikxh06, that should resolve to something like C:\Documents and Settings\gikxh06 on XP. Bryan Allen SAS Institute Windows won't

Re: Axis Bug ?- Unable to download large files using Axis Attachments-Need Help

2006-02-02 Thread Pradeep Reddy
Hi all,I am hitting the same exception with Axis 1.2 RC2. Has any one else seen this error?Any Help would be greatly appreciated!Pradeep Mukesh Kumar Maniraj Thu, 02 Feb 2006 10:20:35 -0800 Hi, I am using Axis 1.2.1 and trying to pass files, using the axis attachment support,

OMElement and XML namespaces

2006-02-02 Thread Randy Hoffman
I have a question about the way axis2 handles XML namespaces. I create three namespaces and then declare them at the root OMElement. I then create child OMElements using the namespaces declared in the root element. Upon the first reference of a prefix in a child element, a xmlns:mynamespace

Re: [axis2]module.xml not found for the module

2006-02-02 Thread Aaron Evans
Aaron Evans aaronmevans at yahoo.ca writes: I had solved this problem when running stand-alone (client stub) by re-naming addressing.mar to axis-addressing-module.jar and putting in my classpath. It works great until I deploy my WS client code as part of a servlet app in tomcat and all

Re: Status w/r/t memory leaks...

2006-02-02 Thread Jesse Sightler
Have there been significant changes on the trunk related to .jws files? My calls to one are now failing with:Caused by: java.lang.ArrayIndexOutOfBoundsException at org.apache.axis.providers.java.RPCProvider.processMessage (RPCProvider.java:129) at

Re: Status w/r/t memory leaks...

2006-02-02 Thread Jesse Sightler
Never mind... I figured it out. We were (incorrectly) trying to use method overloading in a web service.I'm running the memory leak tests for this now.Thanks,Jess On 2/2/06, Jesse Sightler [EMAIL PROTECTED] wrote: Have there been significant changes on the trunk related to .jws files? My calls to

Re: Digital signatures on AXIS?

2006-02-02 Thread Hernan Bay Area Guy
Thanks for the replies, will check the links you sent! -- Hernan __ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com

Re: Axis 1.1 Compatability Question

2006-02-02 Thread Mukesh Kumar Maniraj
Hi, Axis 1.1 is not compatible with jdk 1.5, we had to migrate to Axis 1.2.1, -MukeshOn 2/2/06, Pat Young [EMAIL PROTECTED] wrote: I'm trying to run Axis 1.1 under Java 1.5 and I am getting errors out of my Axis libraries. Is Axis 1.1 consider to be compatable with Java 1.5 or is Java 1.4 the last

Re: [Axis2].0.94 Isuue on Examples

2006-02-02 Thread Ajith Ranabahu
Hi Wasana, If you can point out the exact problems it will be really helpful for us to fix the documentationOn 2/3/06, Wasana Delpage [EMAIL PROTECTED] wrote:To whom it may concernThere is a differet between axis 2.0.94Examples and user guide.If somebody responsible pls do the necessary

Adding AXIS2 Web Service to NET

2006-02-02 Thread Wasana Delpage
Hi All, With axis2.0.94 i could able to attach the web reference. But I could not send any data to it and take them back. Because I dont have Idea on using of FnRequest and fnResponse how they works. Could anybody tell me how to do it regards Wasana

Re: ServiceFactory in Axis2?

2006-02-02 Thread Deepal Jayasinghe
hmm , we don't have such a thing in Axis2 you have to do the following 1. to create a service client ; ServiceCliet sc= new ServiceClinet(); 2. To get operation client form service client ; sc.createClinet(opName);

Re: Adding AXIS2 Web Service to NET

2006-02-02 Thread Eran Chinthaka
Hi Wasana, You don't need to worry about FnRequest or FnResponse (or any other MSFT crap ;) ). Just get the WSDL from the web service you want to invoke, thats all you want. You can code gen (or use OM) using that WSDL and can (hopefully) access your .web services written using .net. --

Regarding WSDL2Java

2006-02-02 Thread anshuk pal chaudhuri
Ajith, Thanks a lot about the information regarding the Java2WSDL tool. I have few queries about the present WSDL2Java tool that is already bing released in the 0.94 version in axis2. I am having some issues with it. I want to know the WSDL2Java takes input the wsdl specfic to which spec 1.1 or

Re: newbie to Axis2

2006-02-02 Thread Anne Thomas Manes
The W3C has only just recently published the Candidate Recommendation for WSDL 2.0. They have just issued a call for implementations -- but it will take a while for folks to build them. The Apache Woden incubator project is working on it: http://incubator.apache.org/woden/. If you would like to