Re: Log Incoming/Outgoing SOAP Messages

2008-09-02 Thread StrongSteve
The SOAP Part would be enough. Can you give my an example on how to achive this goal? Thanks! Stefan Thilina Gunarathne wrote: > > Also do u really need to log all the large attachments in your log file... > I would recommend logging only the SOAP part.. > > thanks, > Thilina > > On Tue, Sep

Re: Axis2 and Tomcat 5.0.28 commons-logging-api

2008-09-02 Thread Marc F.
I think I figured out what´s going on, and I think now I know how to solve my problem. If I am wrong, anyone, please tell me. When I tried to replace the [CATALINA_HOME]/bin/commons-logging-api.jar by that one that comes with Axis2 (commons-logging-1.1.1.jar), actually, I tried to replace the API

Re: Axis2 REST client and server questions (Data bindings, Headers, Performance)

2008-09-02 Thread keith chapman
Hi Nick, See My comments inline On Tue, Sep 2, 2008 at 11:10 PM, Nick Steel <[EMAIL PROTECTED] > wrote: > > I have now generated the httpbindings using wsdl2java with a version 2.0 > wsdl > and the operation has been added to the EPR as desired and I can do POST > getGigsIn("London"), POST getMo

Re: Option to Remove Strict Schema Validation

2008-09-02 Thread Anthony Bull
Title: Option to Remove Strict Schema Validation Hi Peter, I strictly use XML Beans as the data-binding for all my contract-first web services in Axis 2, and have actually had quite a few problems due to lack of schema validation.  That is, unless we specifically validate the XML Beans DOM and

Re: org.apache.axis2.AxisFault: The endpoint reference (EPR) for the Operation not found

2008-09-02 Thread Moni
I figured this.  Thanks it works.   Monisha --- On Mon, 9/1/08, keith chapman <[EMAIL PROTECTED]> wrote: From: keith chapman <[EMAIL PROTECTED]> Subject: Re: org.apache.axis2.AxisFault: The endpoint reference (EPR) for the Operation not found To: axis-user@ws.apache.org Date: Monday, September 1

Re: org.apache.axis2.AxisFault: The endpoint reference (EPR) for the Operation not found

2008-09-02 Thread MShah
I used TCP Monitor and the SOAP Request and Response are as under: http://www.w3.org/2003/05/soap-envelope";>http://wsDB";>Information Technology RESPONSE: http://www.w3.org/2003/05/soap-envelope";>soapenv:Receiverjava.lang.UnsupportedOperationException: An access occurred that is not valid. S

Option to Remove Strict Schema Validation

2008-09-02 Thread Peter Conrey
I have been developing web services and web service clients in a large corporate environment for several years now. We employed several Perl web services (using SOAP::Lite) to feed both Java-based web clients (using Axis 1) and .NET clients in other departments. While the architecture works very

Using Axis2/C with Windows root/cimv2..

2008-09-02 Thread joe131
Hi All, I'm interested in using the Axis2/C Client to do Put, Get and Enum with Windows root/cimv2 Win32 Classes. Has anyone done that? Is there any sample source out there that does some of that? I started to use IDispatch with the non-existent, :-(, WinRM C/C++ API and got fairly far, but th

RE: Axis2 REST client and server questions (Data bindings, Headers, Performance)

2008-09-02 Thread Martin Gainty
virtually impossible to tell without looking at the wsdl specifically published operations parameters for those operations Martin __ Disclaimer and confidentiality note Everything in this e-mail and any attachments relates to the official business

Re: Want to use the same message receiver for all operations!!

2008-09-02 Thread Saminda Abeyruwan
As Synapse guys are doing, one could write a custom dispatcher to dispatch all request to a specific service with a custom MR given. Saminda On Mon, Sep 1, 2008 at 6:00 AM, Amila Suriarachchi < [EMAIL PROTECTED]> wrote: > Resending this seems to be problem with my mail client. Please ignore if

Re: Axis2 REST client and server questions (Data bindings, Headers, Performance)

2008-09-02 Thread Nick Steel
I have now generated the httpbindings using wsdl2java with a version 2.0 wsdl and the operation has been added to the EPR as desired and I can do POST getGigsIn("London"), POST getMostActiveArtist() and GET getMostActiveArtist() without any problems which is great. The headers for both GET and PO

Re: Hot update: Too Many Open Files

2008-09-02 Thread Talbott, Thomas
Hello Martin, Forgive me, but I am having a hard time figuring out what your are responding to. Must be the long weekend... What exactly do you intend these to be applied to? The temporary files? Personally, I still think we are dealing with a leak of class loaders (aren't being cleaned up whe

RE: org.apache.axis2.AxisFault: The endpoint reference (EPR) for the Operation not found

2008-09-02 Thread Moni
Here is the wsdl file.  Any inputs on resolving this will be much appreciated.   Thanks,   Monisha --- On Mon, 9/1/08, Martin Gainty <[EMAIL PROTECTED]> wrote: From: Martin Gainty <[EMAIL PROTECTED]> Subject: RE: org.apache.axis2.AxisFault: The endpoint reference (EPR) for the Operation not fou

Re: Strong types in Axis2 wsdl

2008-09-02 Thread keith chapman
Hi Jai, Can you try using TCPMonitor and capture the messages in the two scenarios. That would help figure out wats going on. You may use this link on how TCPMonitor could be set up on Idea or Eclipse.[1] Thanks, Ke

RE: Strong types in Axis2 wsdl

2008-09-02 Thread Pugalia, Jai P (JP)
Hi Keith, I tried your suggestion of updating the wsdl and including it in the aar. (Also set the "useOriginalWSDL" parameter to true). However when I make a web service call which returns the Field object, I get this exception: reason:org.apache.axis2.databinding.ADBException: Unexpected subel

Web Services Addressing 1.0 - Metadata

2008-09-02 Thread Erwin Reinhoud
Hello All, I am using the Web Services Addressing 1.0 - Metadata standard to define the WS-Addressing action in the WSDL. This WSDL also contains the SOAPAction in the binding. When the WSDL is consumed by axis2 to generate the service i notice that the SOAPAction (for request) is used for the t

WebService Read Timed out

2008-09-02 Thread Tirumala Damacharla
Hi, When number of users increased, we are getting the following error. Please suggest me the solution for this. ^[[?6c[#|2008-09-02T15:17:21.470+0100|INFO|sun-appserver9.1|javax.enterp rise.system.stream.out|_ThreadID=15;_ThreadName=httpSSLWorkerThread-2080 -3;|02/09/08 15:17:21.466 INFO

Re: changing the Http request URI

2008-09-02 Thread pierre betz
hi, so how can I do that ? :)

Re: Log Incoming/Outgoing SOAP Messages

2008-09-02 Thread Thilina Gunarathne
Also do u really need to log all the large attachments in your log file... I would recommend logging only the SOAP part.. thanks, Thilina On Tue, Sep 2, 2008 at 7:07 AM, keith chapman <[EMAIL PROTECTED]>wrote: > Oh this is because env.serialize will still build the axiom object model > for you.

Re: Axis2 Web App on Geronimo?

2008-09-02 Thread jcaristi
Hi Keith: I did verify that commons-fileupload-1.2.jar is present in the war and the missing class is present in the jar. I used Axis 1.4.1 and tried to deploy it to Geronimo 2.1.2. I set JAVA_OPTS to -Xmx512m to try to deal with the memory condition (this worked). When I try to deploy, I ge

WSDL for attachments and WSDL2Java

2008-09-02 Thread Ian Ashley
I am trying to create a WSDL for sending attachments that works with WSDL2Java from Axis1 and Axis2. The following WSDL works fine with WSDL2Java from Axis1 but fails with Axis2 reporting [ERROR] More than one part for message GetAssetSoapOut org.apache.axis2.description.WSDL11ToAxisServiceBuilder

Re: Log Incoming/Outgoing SOAP Messages

2008-09-02 Thread keith chapman
Oh this is because env.serialize will still build the axiom object model for you. env.serializeAndConsume can do the trick (serializes the message without building the object model) but the issue is that it will also consume the stream. May be you can try this as a workaround. Have you enabled fi

Re: Log Incoming/Outgoing SOAP Messages

2008-09-02 Thread StrongSteve
I am not quite sure where the exception occurs, but your approach with env.serialize(out) does not work either... :( keith chapman wrote: > > Does it happen when you performSOAPEnvelope env = > arg0.getEnvelope(); or env.toString(). Ithink it should be at the later > cause env

Re: Log Incoming/Outgoing SOAP Messages

2008-09-02 Thread keith chapman
Does it happen when you performSOAPEnvelope env = arg0.getEnvelope(); or env.toString(). Ithink it should be at the later cause env.toString() would cause the whole message to be read into memory. May be you can try env.serialize(out); instead of out.write(env.toString()); Thanks,

Log Incoming/Outgoing SOAP Messages

2008-09-02 Thread StrongSteve
Hi Everybody! I have currently developed a simple Axis handler, that logs all incoming/outgoing messages to files on the local HDD. Here is my current code: @Override public InvocationResponse invoke(MessageContext arg0) throws AxisFault { logger.debug("

Re: Periodic query of client

2008-09-02 Thread keith chapman
Hi Michael, Nice to hear that you solved your issue. You cant find quite a few articles on wso2.org which relate to Axis2/Java as well as Axis2/C Thanks, Keith. On Tue, Sep 2, 2008 at 2:42 PM, Michael Sutter <[EMAIL PROTECTED]>wrote: > Hello Keith, > > thanks for your hint. It seems that the r

Re: Periodic query of client

2008-09-02 Thread Michael Sutter
Hello Keith, thanks for your hint. It seems that the reuse solves my problems. Also thanks for the link, by searching I found nothing which seems to solve my problem, but the link is very useful for my development . Kind regards Michael keith chapman wrote: Hi Michael, I think I gave you a re