xmlsec.jar usage

2003-12-22 Thread Rommel Sharma
Hi, I have successfully installed Axis on Tomcat with all the optional packages too. I have a general question about the optional xmlsec.jar. Can anyone please list the advantages of this component, how it can help me enhance the security of my web-service, or rather what exactly can xmlsec.jar

Re: Zipping up stream?

2003-12-22 Thread Aleksander Slominski
hi, if you app is CPU bound o.e. most time is spent in XML parsing (check top on linux or task manager in windows) then doing Gzip de/compression may slow down your app as it requires CPU cycles ... however i think it would be very useful if somebody did an analysis and post it :-) thanks,

Re: Problem in getting unparsed raw XML from AXIS

2003-12-22 Thread Aleksander Slominski
you should be able to get unparsed stream if you put your code in servlet before it is handled to AXIS - did you try this approach? thanks, alek Dimuthu Leelarathne wrote: Hi Naresh, Right now I don't think there is a way you can get untouched stream, because Axis begins processing a SOAP

Accessing attachments in Axis response handler

2003-12-22 Thread Darren Marvin
Hi all, Is it actually possible to access returned attachment parts from within an Axis response handler? I have written a response handler that needs to check the attachments before they are returned to the client. I have tried to retrieve the attachments from the response message but that

Axis handlers and accessing attachments

2003-12-22 Thread djmarvin
Hi all, Is it actually possible to access the returned attachment parts from within an Axis response handler? I have written a response handler that needs to check the attachments before they are returned to the client. I have tried to retrieve the attachments from the response message but that

Re: WSDL2Java does not create any output on complex XSD imports

2003-12-22 Thread Arno Huetter
I run Axis 1.1. The original XSD files used to have tons of XSD-includes (not sure if there were any cyclic includes, though), like: include schemaLocation=Types.xsd/ Which I replaced by corresponding imports within the WSDL file: import location=Types.xsd/ I simply imported all XSD files that

Authentication Information in SOAP Header

2003-12-22 Thread Pani, Gourav
hi, i am using axis 1.1 on resin 2.1.10 andam trying to send header level authentication info to a service. from previous posts and some other research i have gathered that using handlers would be the right way to go about it. however, i cannot seem to find any documentation or sample code

AW: Authentication Information in SOAP Header

2003-12-22 Thread Arno Huetter
Hi there, I don't employ a handler, but simply invoke Stub.setHeader() for passing authentication data - works fine for me. HTH Kind regards, Arno Huetter -Ursprüngliche Nachricht- Von: Pani, Gourav [mailto:[EMAIL PROTECTED] Gesendet: Montag, 22. Dezember 2003 14:30 An: [EMAIL

RE: Authentication Information in SOAP Header

2003-12-22 Thread Pani, Gourav
Here is what I am specifically doing in my code. // creating the service locator obj TestTransactionService serviceLocator = new TestTransactionServiceLocator(); // creating and executing the transaction TestTransaction transaction =

RE: Authentication Information in SOAP Header

2003-12-22 Thread Pani, Gourav
actually, nix that last message. i don't think that is the right path anyway. i would think that the header would need to be set to the TestTransaction object and there would be no need to use the Stub object. That brings me back to using Handlers. Does anyone have any suggestions/code

RE: Authentication Information in SOAP Header

2003-12-22 Thread Pani, Gourav
Thanks for the suggestions. I understand that you can just typecast TestTransaction and get a stub object as follows. TestTransactionSoapBindingStub stub = (TestTransactionSoapBindingStub) transaction; But that doesn't solve my problem. Or maybe I am just missing the point. Here is what I

RE: Authentication Information in SOAP Header

2003-12-22 Thread Yiet, Liyong
Yes, should be something like this: Locator locator = new Locator(); TheService stub = locator.getTheService(); stub.setHeader(new SOAPHeadElement(namespace, name, value)); Richard -Original Message- From: Pani, Gourav [mailto:[EMAIL PROTECTED] Sent: Monday,

AW: Authentication Information in SOAP Header

2003-12-22 Thread Arno Huetter
Hi there, implement a Java bean that provides properties for all the header's attributes, and simply pass it to Stub.setHeader(). Go sure that Axis' BeanSerializer/BeanDeserializer(Factory) have been added to the type mapping, so that your serialized bean can go over the wire. Unfortunately I

Re: Log4j

2003-12-22 Thread Christopher Blunck
On Fri, Dec 19, 2003 at 09:43:45PM -0800, Pete Haidinyak wrote: I know this subject has been beaten to death, but I will ask again. I am running Axis 1.1 with Tomcat 5.0 and I am trying to modify the log4j.properties file. I have tried most of the methods mentioned in the list

Re: Using tcpmon to monitor web conversation

2003-12-22 Thread Christopher Blunck
For Linux developers who have trouble getting applets to work under web browsers . . . I've found it much easier to monitor the network traffic using a network sniffer. To see the SOAP conversation, I run ethereal, and click on Capture, then Start. Change the Interface to lo (loopback), and

how a web service resolve a document style invocation

2003-12-22 Thread Enrique Rodríguez
Hi all, when we use document style web services, the method name of the server dont appear on the xml call. How resolve the web service who is the method that execute the client call? Looking to the example, how the server now that the method the user is calling is method and not

SOAP Handlers

2003-12-22 Thread Vinod Menon
Hi, Is there any documentation on using SOAP Handlers in Axis Thx, -Vinod _ Worried about inbox overload? Get MSN Extra Storage now! http://join.msn.com/?PAGE=features/es

igrating from Apache SOAP to Apache Axis for performance improvment

2003-12-22 Thread Lars Ohlén
Hello, We are using Apache SOAP as our current WebService engine. Since the workload of the server has dramaticly increased we are planing to migrate to Apache Axis in hope for better performance. Are there any profe of this? /Lars

Accessing attachment parts from within a response handler

2003-12-22 Thread Darren Marvin
I still can't see any reason why my response handler retrieves an empty list of attachments when I do: ... org.apache.axis.Message outMsg = msgContext.getResponseMessage(); Iterator attIterator = outMsg.getAttachments(); ... My response message does include a SOAP envelope and there is the

Return vs. Result

2003-12-22 Thread Arcadius A.
Hello! I've asked this question before but got no response. I apologize to be asking again. When called,axis would return a XML file like this: ns:EchoResponse xmlns:ns="http://myuri.com/" ns:EchoReturnHello!!!/ns:EchoReturn /ns:EchoResponse Is there a way I could change the Return

a problem about Axis in a tomcat5 cluster

2003-12-22 Thread moch
Hi all I am using axis in a tomcat5 cluster: Apache2.0.48 + jakarta-tomcat-connectors-jk2.0.2-win32-apache2.0.43. load balance run successfully, but Session replication has an error. From tomcat's document, any attribute value that you store in the session has to implement the