Max call of service

2008-08-19 Thread Michael Sutter
Hello list, I have a problem with a Axis2 service and need some input if my service is developed the right way. Inside my service I make a call to a external library. So I make a variable of the object and put it on the stack. So normally the instance should be destroyed when the scope is

Re: Max call of service

2008-08-19 Thread Michael Sutter
Hello Supun, sorry for that. The stack is not created by me. It is the normal program run-time stack from the service and the object is not created as a global variable. The code looks like this: adb_getStatusResponse_t * axis2_skel_DAQStatus_getStatus(const axutil_env_t *env) { try {

Re: Max call of service

2008-08-19 Thread Supun Kamburugamuva
Hi Michael, By looking at your code it seems that it doesn't lead to a memory leak. Every time that function is called the object will be created and when the function finishes execution the object will be destroyed. I think there is another memory leak in your code. But I doubt that your problem

Webservices in Java,Client in c++

2008-08-19 Thread Martina08
Hi, after i have so many problems with axis c++ v1.x i use now AXIS2C v.1.5 A Webservice implementation is given in Java and i want to create a client who uses the services of this Java-Implementation. It is possible to create a Client (and Client stub with the wsdl2Ws-tool) with Axis2C in C++

Re: Max call of service

2008-08-19 Thread Michael Sutter
Hello Supun, what log file do you mean - the axis.log or the error log of the apache? Nevertheless, I don't found the exception in the log files and they contain a lot of messages as the log level is set to trace. Also I think that the service is running fine with the svn version, maybe it was

Re: Max call of service

2008-08-19 Thread Rajika Kumarasiri
On Tue, Aug 19, 2008 at 3:07 PM, Michael Sutter [EMAIL PROTECTED]wrote: Hello Supun, what log file do you mean - the axis.log or the error log of the apache? Nevertheless, I don't found the exception in the log files and they contain a lot of messages as the log level is set to trace. Also

Re: Max call of service

2008-08-19 Thread Michael Sutter
I think the message is from stderr and the my first opinion was that the loading of the library cause the problem. So I asked if it is correct to put the object on the stack, which should be no problem as you told. @Rajika The access to a linux server is no problem, the service is running

Re: Max call of service

2008-08-19 Thread Supun Kamburugamuva
Hi Michael, Sorry, I meant the axis2 log file. Anyway if it doesn't contain any errors, the probability of this error caused by Axis2/C is very low. Supun.. On Tue, Aug 19, 2008 at 2:37 PM, Michael Sutter [EMAIL PROTECTED]wrote: Hello Supun, what log file do you mean - the axis.log or the

Fwd: Policy Sample 1 error while trying to display WSDL - DataRetrievalException: Failed to load from file, META-INF/ServiceData.xml

2008-08-19 Thread Shaun Clayton
Hi, I ran the policy sample 1 found on rampart 1.4 distribution, and an exception occurs while trying to display WSDL. Can somebody please guide me what this error means? Follows are steps to reproduce the error: 1. run the server: ant service.01 2. from internet explorer, open:

Need immediate help on error found while running the policy samples on embedded Axis2 1.4 + Rampart 1.4

2008-08-19 Thread Shaun Clayton
Hi all, Can someone guide me to solve this issue? I have been trying to embed axis2 1.4 and Rampart 1.4 in an application server running JDK 1.4. I have tested all the basic rampart samples. It works great. But when I tested the rampart 1.4 policy samples (sample 1, sample 2 and sample 3), an

Problem with Client Stub

2008-08-19 Thread Werthner, Georg
Hi, I am currently doing a memory footprint analysis of Axis2-1.4 clients. For this purpose I wrote a small service with: .) 2 Request/Response operations .) 2 One-Way operations I have a problem with the client: I am not sure if I am using the Axis2 generated Client Stub correctly.

Re: Policy Sample 1 error while trying to display WSDL - DataRetrievalException: Failed to load from file, META-INF/ServiceData.xml

2008-08-19 Thread Nandana Mihindukulasooriya
Hi, This is because of the commented out HttpsToken element. This issue [1] is now fixed in the trunk. But it is advised not to comment out this if you want to implement this scenario as sending plain text passwords over unprotected transport is not a good idea. How to do this scenarios over

Re: Need immediate help on error found while running the policy samples on embedded Axis2 1.4 + Rampart 1.4

2008-08-19 Thread Nandana Mihindukulasooriya
Can you see the policies in the WSDL of those samples ? Please uncomment wsp:Policy !-- sp:HttpsToken RequireClientCertificate=false/ -- /wsp:Policy before you try sample 01. thanks,

WS Reliable messaging

2008-08-19 Thread Dwiputera Aries Fajar (CI/AFR-SG)
Hi, We want to implement some services based on AXIS2 stack. However, it is required that we use and utilize the WS-Reliable Messaging. I have read that AXIS2 has Sandesha2 as its module. However, many of our infrastructure is build on top of CXF stack. And CXF also supports WS-Reliable

Re: Need immediate help on error found while running the policy samples on embedded Axis2 1.4 + Rampart 1.4

2008-08-19 Thread Shaun Clayton
Hi Nandana, Thank you for your prompt response and guidance. I have done what you suggested, I uncommented the but I still encounter the same problem. And after I tested again, here are the results: 1. MustUnderstand error still occurred Actually I had tried to run the samples in a stand alone

Re: axis2 JMS transport support status?

2008-08-19 Thread Anthony Bull
Hans, I'm using JMS for Axis 2 with WebSphere MQ 6.0.2 in production and found some severe limitations with the Axis 2 implementation also - whoever wrote the actual Axis 2 driver has only implemented the bare basics of JMS, and it hasn't been tested with WebSphere at all. I'm using it over

Re: Returning Map / List from web service

2008-08-19 Thread jaki
Ok I have decided to ditch the hashmap and here's my new wsdl and soap response: ?xml version=1.0 encoding=UTF-8? definitions name=AuctionBeanService targetNamespace=http://wrapper.com/; xmlns:tns=http://wrapper.com/; xmlns:xsd=http://www.w3.org/2001/XMLSchema;

Re: Returning Map / List from web service

2008-08-19 Thread jaki
Changing the binding style to 'DOCUMENT' and parameterstyle to 'BARE' does away with the above error. But now all the parameters are passed as 'arg0 xsi:type='xsd:string' xmlns:xsi='http://www.w3.org/2001/XMLSchema-instance' xmlns:xsd='http://www.w3.org/2001/XMLSchema'nabble/arg0'. Any remedy for

SNMP support

2008-08-19 Thread web service
Hello, I tried to use Axis 2 Version 1.3 over SNMP. I used two google Mail accounts, one for the consumer and one for the web service. Similar as described under http://wso2.org/library/2537 . The mail sending and receiving worked. I tried a lot of different axis2.xml configurations and also

Axis2 SMTP support (sorry got some mistake in the previous mail)

2008-08-19 Thread web service
Hello, I tried to use Axis 2 Version 1.3 over SMTP. I used two google Mail accounts, one for the consumer and one for the web service. Similar as described under http://wso2.org/library/2537 . The mail sending and receiving worked. I tried a lot of different axis2.xml configurations and also

RE: Modifying the MessageContext from a configuration file

2008-08-19 Thread Martin Gainty
Good Morning Deepal he wants message specific parameters to be read from a static configuration file As each message dynamically constructs a SOAPBody depending on the (input parameters supplied to operation-method transmitted to the EPR) I dont know if the Axis Engine has the capability to

Re: Returning Map / List from web service

2008-08-19 Thread Lars Ericsson
Read more about axis and rmi and so on - Original Message From: jaki [EMAIL PROTECTED] To: axis-user@ws.apache.org Sent: Monday, August 18, 2008 3:51:47 PM Subject: Re: Returning Map / List from web service Is your msg incomplete? Cuz it says part of the message was removed to

Re: Need immediate help on error found while running the policy samples on embedded Axis2 1.4 + Rampart 1.4

2008-08-19 Thread Nandana Mihindukulasooriya
Hi Shaun, It seems your services get deployed without a problem. So if you do a ?wsdl , are the policies present in the WSDL ? Most common reason for this is policies not being set correctly due to some wired reason. I just wanted to make your that policies are present in the WSDL.

Axis Port Initialize

2008-08-19 Thread Horninger, Joe (Contr Mission Systems)
I've been out of the game for awhile, and my memory fails me on this subject. Is there a callback to an Axis port to initialize it on deployment (kind of like the init method in servlets)? It's not documented very well if there is, and it looks like all ports extend java.rmi.Remote, which is

RE: Need immediate help on error found while running the policy samples on embedded Axis2 1.4 + Rampart 1.4

2008-08-19 Thread Martin Gainty
one more thing to check are the predefined phases for policyDetermination e.g. phaseOrder type=OutFlow phase name=PolicyDetermination/ /phaseOrder phaseOrder type=OutFaultFlow phase name=PolicyDetermination/ ... /phaseOrder your

RE: Inherited object serialized in reverse order by server, when subclass contains an array.

2008-08-19 Thread balaji hari
Has this issue been resolved or any workaround? I found the jira issue unassigned. https://issues.apache.org/jira/browse/AXIS2-3956 We are facing a similar issue. This is the inheritance hierarchy. SubjectDTO (caseSensitive, frequency, ignoreWhitespace, key) |

RE: Inherited object serialized in reverse order by server, when subclass contains an array.

2008-08-19 Thread balaji hari
Hi, We are facing a similar issue. Did you get a chance to have a workaround for this? The issue in jira is un-assigned. https://issues.apache.org/jira/browse/AXIS2-3956 The type hierarchy SubjectDTO(caseSensitive, frequency, ignoreWhiteSpace, key) | SubjectCollectionDTO (collection,

RE: Inherited object serialized in reverse order by server, when subclass contains an array.(Axis2-3956)

2008-08-19 Thread Kraus, David
Personally, I would really like to see https://issues.apache.org/jira/browse/AXIS2-3956; fixed. The auto-generation/deployment of a web service (via scripts, etc) is much easier to implement when the service is defined by a POJO, and inheritance is an important feature. We have gotten inheritance

Re: Problem with Client Stub

2008-08-19 Thread Eran Chinthaka
Hi Georg, Stubs are not thread safe by design. If you know about our architecture, you will know why that is hard to do, because of the way we hold contexts in the engine. As you've already observed, you will have no problem if you use multiple stubs. But there are some tricks you can do to

[Axis2] axis2 aar file gets deleted when restarting JBOSS

2008-08-19 Thread Elton Kong
Hi, I have seen this issue on google and am experiencing this myself but could not find an answer. What is happening is that I'm running JBOSS 4.2.2GA and have deployed axis2 under my jboss-4.2.2.GA/server/{application}/deploy folder where application is just the name of my application. This is