Re: [axis2c] unable to startup mod_axis2

2007-01-26 Thread Nabeel Yoosuf
Hi Mark, It seems that you have not set the repo path (Axis2RepoPath) correctly in httpd.conf. Axis2RepoPath D:/cpp/axis2c (in your case) The following details might be useful for you. I have used apache2.2.x with axis2c-src-0.96 and it worked for me. Following are the changes I did. Having set

XOP activation

2007-01-26 Thread Charles Souillard
Hi all, I am a newbie on Axis2. I have created an example using MTOM which runs successfully. My problem is the attachment is included in the soapBody. I know that xop allows to put the attachment outside of the SOAP enveloppe (is that correct ?). Can you explain me how I can activate xop

Re: XOP activation

2007-01-26 Thread Paul Fremantle
Hi Charles Is the attachment appearing as a Base64 encoded element inside the body? Basically once you have MTOM enabled, the actual optimization of a particular element is based on how you create the node. If you are using the OMElement API to create the attachment then you will be using one

Is it possible to choose which wsdl:bindings Axis2 generates?

2007-01-26 Thread Sébastien Arod
Axis2 generates automatically wsdl:bindings in soap11 soap12 and http Is it possible to disable http binding generation? Thx Seb - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: Is it possible to choose which wsdl:bindings Axis2 generates?

2007-01-26 Thread Deepal Jayasinghe
Hi Sébastien ; At the moment you do not have a way , but creating a JIRA will helpful for you to have the feature in a near release. Axis2 generates automatically wsdl:bindings in soap11 soap12 and http Is it possible to disable http binding generation? Thx Seb

AW: Session Connection pooling in Axis2 WS

2007-01-26 Thread Stadelmann Josef
Sanjiva What is session scope? you have to define one of scope=request scope=transportsession scope=soapsession scope=application which one do you mean? Josef -Ursprüngliche Nachricht- Von: Sanjiva Weerawarana [mailto:[EMAIL PROTECTED] Gesendet: Donnerstag, 25. Januar 2007 06:29 An:

AW: Debugging Axis2 in Tomcat

2007-01-26 Thread Stadelmann Josef
That was not the question of Jeff Jeff does not say ... to debug in code that comes from jar's But he wants simple see the debugger step through his own lines of code. I have had the same issue. The issues is shown in NetBeans as well when the code is on the server and the debugging takes

Re: Session Connection pooling in Axis2 WS

2007-01-26 Thread Paul Fremantle
Session scope is simply the lifecycle of the objects and state that Axis2 manages. So if you define request, then each new request will instantiate a new service object. If you define transportsession, then Axis2 will use HTTP cookies. Each client will re-use the same service object. If you

objects in WS instead of primitives and empty strings

2007-01-26 Thread pat
Hi all, I'm developing web service using Axis2 (Java 1.4) in Tomcat web container. 1) I'm using Axis2 to generate WSDL file, but this is probably my problem. When I generate client side (using NetBeans 5.5 as generator - for me is important only server side, so this is only for testing), all

[AXIS2] Is rest fixed in 1.1.1?

2007-01-26 Thread Alistair Young
Hi there, I'm getting all sorts of errors when trying to list services from the axis2 admin screen suc as: I can not find a service for this request to be serviced I saw this thread: http://blog.gmane.org/gmane.text.xml.axis.user/day=20070106 which says that REST is broken on 1.1.1 - is it

Axis2 Eclipse code generator plugin for jibx

2007-01-26 Thread informaticu007-pfc
Hi there! I'm new to this whole thing of axis2 and I would be grateful if someone could help me with this: I would like to use the eclipse code generator plugin for generating code using jibx databinding. I watched out in the source code that comes with the plugin and I found that the option

where to put jar-files in aar-archive

2007-01-26 Thread Marc Lustig
Hi I read in the user forum that it's possible to put jar's into the aar-archive (instead of to WEB-INF/lib). However I cannot find any reference where exactly to put them. /lib seems to be little awkward, since the root dir is also the root-dir of the classes. Anybody can advise me where to

Re: returning Array from a web service method

2007-01-26 Thread rajac
Hi Kinichiro Inoguchi, I am returning the array which is of non Java Bean type and when I am trying to invoke the service I am not getting the value of array (i.e, Object[] response = serviceClient.invokeBlocking(opGetAddress, opGetAddressesArgs, returnTypes)). Although the length of

Re: [Axis2] Are abstract types possible with ADB and RPCMessageReceiver?

2007-01-26 Thread Sathija Pavuluri
Deepal, Both the server and client use ADB binding. If you are using ADB in server side you do not need to use RPCMessageReceiver. What message receiver do I need to use then? Thanks, Sathija. Hi Sathija ; Hello, I am using Axis2 1.1.1 for my web services and use ADB for data binding

Re: ADB Helper mode

2007-01-26 Thread Davanum Srinivas
Great! thanks! -- dims On 1/26/07, Amila Suriarachchi [EMAIL PROTECTED] wrote: hi, I recently updated the axis2 helper mode functionality which was not uptodate. In helper mode it generates two class for each bean type. One is the normal bean class with getters and setters with validation

Re: [Axis2] Serialization of super class elements

2007-01-26 Thread Sathija Pavuluri
Amila, Posted below are the service implementation classes, the soap response and wsdl. I have taken the code first approach so I coded the service classes first, and generated the wsdl from the service class. As you will see in the generated wsdl, the child class is described along with the

Re: returning Array from a web service method

2007-01-26 Thread Kinichiro Inoguchi
Hi raja, I don't think you can do that. You mean you want to send java object instance direct to client. Axis2 is SOAP stack, so its request and response are serialized to XML. Axis2 can serialize JavaBean to XML, and can deserialize XML to JavaBean. kinichiro --- rajac [EMAIL PROTECTED]

Re: Re: XOP activation

2007-01-26 Thread Paul Fremantle
My understanding is that the XMLBeans binding doesn't not support MTOM, which is why you aren't having any success. Try ADB, or creating the OMElement by hand. Paul On 1/26/07, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: Hi, earlier Charles wrote this message for me, since i subscribe to this

Re: [Axis2] Are abstract types possible with ADB and RPCMessageReceiver?

2007-01-26 Thread Paul Fremantle
Sajitha When you run WSDL2Java -ss -sd to create the server side skeleton and ADB binding objects it generates a message receiver and services.xml for you. You simply need to type ant to built it all into an AAR. Paul On 1/26/07, Sathija Pavuluri [EMAIL PROTECTED] wrote: Deepal, Both the

How to use AXIS 1.4 API to parse schema in WSDL

2007-01-26 Thread donald yang
Hi, I tried to use AXIS APIs to parse schema in WSDL document, but I can not figure out how to use these APIs. Could anyone refer some documents how to use these APIs? Many thanks in advance. best regards donald

Access ServletContext from MessageContext

2007-01-26 Thread S Pole
I have set up a few initialization parameters that I want to access in my service. This is the code I am using to get a reference to the ServletContext. However all properties inside MessageContext seem to be null. Am I missing something here? Thanks. MessageContext msgCtx =

Re: Code generation not working

2007-01-26 Thread Lucas Theisen
Amila, It looks like I was using axis1 (which was what came standard with WebSphere App Server Community Edition, based on geronimo). Axis2 should be deployable to geronimo right? Also, all the links to the eclipse plugin give 404 File Not Found errors. Do you know anywhere else i can get

Re: where to put jar-files in aar-archive

2007-01-26 Thread Michele Mazzucco
lib is fine. Michele On 26 Jan 2007, at 14:12, Marc Lustig wrote: Hi I read in the user forum that it's possible to put jar's into the aar-archive (instead of to WEB-INF/lib). However I cannot find any reference where exactly to put them. /lib seems to be little awkward, since the root dir

Re: How to use AXIS 1.4 API to parse schema in WSDL

2007-01-26 Thread Davanum Srinivas
See http://svn.apache.org/viewvc/webservices/axis/trunk/java/samples/client/ for example. -- dims On 1/26/07, donald yang [EMAIL PROTECTED] wrote: Hi, I tried to use AXIS APIs to parse schema in WSDL document, but I can not figure out how to use these APIs. Could anyone refer some documents

Re: Axis2 Eclipse code generator plugin for jibx

2007-01-26 Thread Ajith Ranabahu
Hi, I guess this is something that should be recorded as a Jira since if the code generator listed jibx as an option the jibx jars need to be in the distribution. In the meanwhile please try the following and see whether it works. 1. copy the jar files to the

[AXIS2] dynamically changing the service keystore using AXIS2/Rampart

2007-01-26 Thread Ionut Constandache
Hi! I have an Axis2 service with support for signature/encryption (using Rampart) and I would like to dynamically change the keystore used by the service. Is there anyway in which I could do that? (maybe dynamically changing the .properties file and have it reloaded ...). Thank you! Ionut

Axis2 1.1.1 session works fine in browser but doesn't work in Stub client.

2007-01-26 Thread Zhou, Sam
Hi, I developed the following sample code using Axis 2 with session management. The service is very simple, it has a single method called plusone(). Whenever you call plusone() with session enabled, it will return counter++. The counter is initialized to 0 in init() and stored in session.

Re: Axis2 1.1.1 session works fine in browser but doesn't work in Stub client.

2007-01-26 Thread Davanum Srinivas
Sam, Please create a bug report, there is a link there to upload a zip/tar. https://issues.apache.org/jira/browse/AXIS2 thanks, dims On 1/26/07, Zhou, Sam [EMAIL PROTECTED] wrote: Hi, I developed the following sample code using Axis 2 with session management. The service is very

RE: Axis2 1.1.1 session works fine in browser but doesn't work in Stub client.

2007-01-26 Thread Zhou, Sam
Dims, I uploaded source code to https://issues.apache.org/jira/secure/attachment/12349699/Axis2+MySessio nService.zip Bug# https://issues.apache.org/jira/browse/AXIS2-2042 Thanks, Sam. -Original Message- From: Davanum Srinivas [mailto:[EMAIL PROTECTED] Sent: Friday, January 26, 2007

Re: [Axis2] Are abstract types possible with ADB and RPCMessageReceiver?

2007-01-26 Thread Sathija Pavuluri
When you run WSDL2Java -ss -sd to create the server side skeleton and ADB binding objects it generates a message receiver and services.xml for you. You simply need to type ant to built it all into an AAR. Paul, I am using the code first approach and generating wsdl from the java classes. How

Complex Types to Base/Simple Types

2007-01-26 Thread Trevor Dawe
I'm currently writing a dynamic web service client that reads a WSDL file and can invoke any operation. I'm having some problems invoking operations which take complexTypes as input parameters. Is there any easy way to get all of the base/simple type parameters for an operation without having to

Re: [AXIS2] Is rest fixed in 1.1.1?

2007-01-26 Thread Manoj Khangaonkar
It is fixed now. What URL are you trying ? Mj On 1/26/07, Alistair Young [EMAIL PROTECTED] wrote: Hi there, I'm getting all sorts of errors when trying to list services from the axis2 admin screen suc as: I can not find a service for this request to be serviced I saw this thread:

Re: [Axis2] Serialization of super class elements

2007-01-26 Thread Sathija Pavuluri
Amila, In response to my own post below that I sent earlier today, I'd like to update with some more findings I've made during the day. As stated in my prev. email our architecture was using code first approach. So I have my service and the hierarchical data classes already defined. From these

Axis 1.4 DII Complex Types...

2007-01-26 Thread Lindsey Hess
Hello, I have a WSDL that expects two parameters for specific operation's request, namely, studentID and studentType. studentID is an integer, and studentType is a complex type (one of the many parameters within it is another complex type as well). I can't seem to find any

Re: Re: XOP activation

2007-01-26 Thread Thilina Gunarathne
Yes... XMLbeans+MTOM is not supported at the moment..We are working on it... Please try ADB as Paul suggested. ~Thilina On 1/26/07, Paul Fremantle [EMAIL PROTECTED] wrote: My understanding is that the XMLBeans binding doesn't not support MTOM, which is why you aren't having any success. Try

RE: Configuration in Rampart 1.1

2007-01-26 Thread Sriram Vaidyanathan
Thanks Ruchith. Another question I had is, If I had defined custom fault to be thrown from an operation and those faults are currently not getting secured. Is there a way to secure the outgoing faults from the service with the same security policy used for securing outgoing messages.?

Re: AW: Debugging Axis2 in Tomcat

2007-01-26 Thread W.Y. Ho
Yes, Josef is correct. That's what was happening to me. After I synched the jar in the server and client code, re-mounting the Tomcat, the debugging work perfectly well. Hope this will help others who have same problems. Thanks btw. Stadelmann Josef [EMAIL PROTECTED] wrote: That was not the

Re: Configuration in Rampart 1.1

2007-01-26 Thread Ruchith Fernando
Hi, We need to do this. JIRA please :-) Thanks, Ruchith On 1/27/07, Sriram Vaidyanathan [EMAIL PROTECTED] wrote: Thanks Ruchith. Another question I had is, If I had defined custom fault to be thrown from an operation and those faults are currently not getting secured. Is there a way to

Re: Axis2 1.1.1 session works fine in browser but doesn't work in Stub client.

2007-01-26 Thread Sanjiva Weerawarana
H. I think your getSessionContext() should be modified to do messageContext.getServiceContext(). Can you see whether that works? I'm not sure what sessionContext is .. have to look around :(. Sanjiva. On Fri, 2007-01-26 at 13:59 -0500, Zhou, Sam wrote: Hi, I developed the following

[axis2] what is the difference between sendRobust and fireAndForget

2007-01-26 Thread falom
Hi, When should I call sendRobust and alternatively fireAndForget, both are void method, any specific differences for them? falom - 抢注雅虎免费邮箱-3.5G容量,20M附件!