Re: How to monitor SOAP messages in the Client without changing the server?

2009-04-17 Thread Dennis Sosnoski
Hi Joe, Try including the logging.mar in your classpath. You can also use a repository structure on the client side, but the classpath approach is easier. Cheers, - Dennis -- Dennis M. Sosnoski SOA and Web Services in Java Axis2 Training and Consulting http://www.sosnoski.com - http://www.sos

Re: How to monitor SOAP messages in the Client without changing the server?

2009-04-17 Thread Joe Smithian
Hi Asen, Thanks for your suggestions. My client is based on wsdl2java stub, I tried stub._getServiceClient().engageModule("logging"); as you suggested and I got this error: Unable to engage module : logging What else I should do to engage logging module? should I download and install logging modu

Re: Message Receiver not found for AxisOperation error with Axis2 1.4.1 and service built using JAX-WS

2009-04-17 Thread Alain Drolet
Hi Ramesh The two options I mentioned have nothing to do with the way you run axis2. It can run it stand alone, or deployed as a war in tomcat. Once you have a running axis2 you can then deploy your jar or aar file in the appropriate directory under axis2. If you downloaded the axis2 source,

Re: Message Receiver not found for AxisOperation error with Axis2 1.4.1 and service built using JAX-WS

2009-04-17 Thread Ramesh Vishwanatham
Hi Alain Thanks for quick response. My understanding is, you deploy "jar" file (without services.xml) in servicejars directory under axis2 distribution and run axis2server.bat and not under tomcat. Use "aar" deployment (along with services.xml) with tomcat or other application server. Pl

RE: Axis2 commons-httpclient 3.1 dependencies

2009-04-17 Thread Jeudy, Guillaume
Hi Andreas and Co, I checked out Axis 1.4 tag since it is the version we use in my company and started patching it locally. So far, I have made good progress I had to leave a few httpclient 3.1 functionality commented out because I couldnt find corresponding functionality in 4.0 (I will ask ht

Re: Message Receiver not found for AxisOperation error with Axis2 1.4.1 and service built using JAX-WS

2009-04-17 Thread Sagara Gunathunga
Hi , The best way to get familiar with Axis2's JAX-WS model is try out for samples available on Axis2 sample directory, there are number of JAX-WS samples there , it is easy to start with "java_first_jaxws" sample application. once you get familiar with those you can determine the best approach fo

programmatic service configuration problem

2009-04-17 Thread Robert Olivier
I have an existing application using embedded jetty, that configures servlets manually rather than through services.xml. Using Axis2 1.4.1, I have generated code using wsdl2code and configured my service per some posts that I saw on this topic. My servlet looks like this: public clas

Re: Message Receiver not found for AxisOperation error with Axis2 1.4.1 and service built using JAX-WS

2009-04-17 Thread Alain Drolet
Hi Rameh I have very limited time to answer to you. Also I am not an axis2 guru, but I typically make it do what I need if I fight for long enough. Having said that here are a few quick pointers I can provide. These are based on experience and what I think I know about axis2 ways to do things

Message Receiver not found for AxisOperation error with Axis2 1.4.1 and service built using JAX-WS

2009-04-17 Thread Ramesh Vishwanatham
Hi Axis2 Developers and Gurus Recently I have sent below request to "axis2-user" group and did not get any responses at all. I am evalutaing axis2 and JAX-WS programming model and struck with simple sample application. I found there is not much material out there like "how-to" step by step gui

Re: adding schema reference to Soap Envelope

2009-04-17 Thread kapur . raj
hi, Its working now - since it was too specific to what I needed - but still here is the solution that worked for me - 1) modified RPCMessageReceiver.java (its in axis2-adb-1.4.1.jar) with the following code -- It was added after line 132 ie String nsURI = inMessage.getEnvelope().getNames

Re: Getting the Content Lenth of The SOAP Response

2009-04-17 Thread rishi
Sriram, I am by no means an expert but thought it might help you - so please take it into consideration while implementing it or spending time on it. - From what I understand you need content's length in SoapEnvelope. -- to do so: There might be another easier way to do so: but one way I could t

Re: How to monitor SOAP messages in the Client without changing the server?

2009-04-17 Thread Asen
I agree. If you use Axis2 client, first build your logging.mar. If you are using your wsdl2java stubs you can do stub._getServiceClient().engageModule("logging"); On Thu, Apr 16, 2009 at 11:33 PM, Sukma Agung Verdianto wrote: > I think you can engage logging module from your client if you're usin

Unknown style detected !! No code is generated

2009-04-17 Thread Thomas Barbier
Hi All, I was provided a wsdl file (attached to this email) and I generated stub with Axis2 version 1.4.1. I have no error during stub generation but the generated classes don’t compile: In fact, it seems to miss a return statement in the methode SarimSoap I need to call [*javac*] * D:\to

How to alter xml output of SOAP reponse

2009-04-17 Thread Ranjit_d
Hi, I’m using Axis2 to provide a web service, but it would helpful if I could customize the SOAP response. Right now I’m getting the response as mentioned below, But I have to eliminate the tags and https://xyz.com/xyz-ws/xsd";> . . . Does anybody have idea about how to do it? Thanks in