Need to write a web services client with optional digital signature on Linux EV4 servers

2008-09-02 Thread Raghu Udupa
I am writing a web services client to send messages to a customer's web service. This client will be running on an Intel x86 based RedHat Enterprise version 4.0 Linux server. Can I just install the Linux Binary distribution package? Or do I need to download the source package and make a new

static linkage for axis2/c

2008-09-02 Thread Saad Nader
Hello, I'm new to Axis2. I'm evaluating it for use with some game consoles that I'd like to use it on to allow SOAP parsing code generation which would be really nice to have. Currently I'm trying to get the client APIs to work on one of the systems but I cannot find a way to statically link

Can Axis2 work on embedded systems

2008-09-02 Thread Saad Nader
Hello All, Does Axis2 work on embedded systems with smaller amounts of memory and less CPU capabilities? By less, I mean being able to run threads but not as powerful as an Intel processors (ARM9 for example). Thanks, Saad Nader Middleware Engineer Powered By

Re: Need to write a web services client with optional digital signature on Linux EV4 servers

2008-09-02 Thread Manjula Peiris
On Tue, 2008-09-02 at 16:59 -0400, Raghu Udupa wrote: I am writing a web services client to send messages to a customer’s web service. This client will be running on an Intel x86 based RedHat Enterprise version 4.0 Linux server. Can I just install the Linux Binary distribution

Re: Can Axis2 work on embedded systems

2008-09-02 Thread Rajika Kumarasiri
On Wed, Sep 3, 2008 at 6:03 AM, Saad Nader [EMAIL PROTECTED] wrote: If you are talking about Axis2/C, then it is written in C and have a low memory footprint. But you may need to do some optimization to axiom to get the things working on an embedded system. -Rajika Hello All, Does Axis2

Re: static linkage for axis2/c

2008-09-02 Thread Uthaiyashankar
Hi, Current deployment model of Axis2/C does not support Static Linking out of the box. However, with the slight changes to the API, you can easily achieve it. Once we have helped a client to a statically link the modules, so it is technically possible. Also there was a discussion in Axis2/C

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: 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 reuse

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 {

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());

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

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

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

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

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: changing the Http request URI

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

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

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

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

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.http://www.keith-chapman.org/2008/07/using-tcp-monitor-to-debug-web-service.html[1] Thanks,

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 found

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

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

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

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

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

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: ?xml version='1.0' encoding='UTF-8'?soapenv:Envelope xmlns:soapenv=http://www.w3.org/2003/05/soap-envelope;soapenv:Bodyns1:insertDept xmlns:ns1=http://wsDB;ns1:deptNameInformation

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: 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: 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

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

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 2,