Re: [Axis2] Kandula2

2007-01-24 Thread Thilina Gunarathne
Hi, Yes.. There's a buildable module which works on Axis2 1.1 as well as on Axis2 1.1.1.. It covers the Atomic Transaction & WS-coordination specifications.. Currently we are moving towards implementing WS-BA as well as to update the ws-at & ws-coor impl's to the latest specification drafts publi

RE: Session Connection pooling in Axis2 WS

2007-01-24 Thread Sanjiva Weerawarana
It depends on the "scope" of the service .. if its deployed in application scope then only one instance is created. If its in session scope then its one instance per session and so on. See: http://wso2.org/library/231 Sanjiva. On Wed, 2007-01-24 at 11:45 -0500, Ho, Wen Yue wrote: > Hi, > > I t

Re: [Axis2] Serialization of super class elements

2007-01-24 Thread Sanjiva Weerawarana
This seems like a bug .. did you generate code from a WSDL and is the generated code not working? Or is it for a POJO service? Please give more info and file a bug so this can be fixed for the next release. Thanks, Sanjiva. On Wed, 2007-01-24 at 17:56 -0500, Sathija Pavuluri wrote: > Hello, >

Re: Axis2 - soapwithattachments example

2007-01-24 Thread Sanjiva Weerawarana
Even if the WSDL from which the code was generated had no attachments mentioned? Sanjiva. On Wed, 2007-01-24 at 21:37 -0500, Davanum Srinivas wrote: > Thilina, > > Not even SwA attachments? We need to be able to do at least that! > > -- dims > > On 1/20/07, Thilina Gunarathne <[EMAIL PROTECTED

Re: Debugging Axis2 in Tomcat

2007-01-24 Thread sumedha rubasinghe
Hi; Following article [1] provides step-by-step guide on how to debug a web service using either eclipse or idea. [1] https://www.wso2.org/library/225 /sumedha Ho, Wen Yue wrote: Hi, Any pointers on how to debug Axis2 WebService Application in Tomcat? Sysdeo turns out to be not working

Re: Axis2 - soapwithattachments example

2007-01-24 Thread Davanum Srinivas
Thilina, Not even SwA attachments? We need to be able to do at least that! -- dims On 1/20/07, Thilina Gunarathne <[EMAIL PROTECTED]> wrote: > My question is how do I add the attachment using the resultant stub code > from WSDL2Java? I have attached the client code I am trying to use. No.. It'

Re: Configuration in Rampart 1.1

2007-01-24 Thread Ruchith Fernando
Hi Sriram, This should be possible by specifying message level policies in the services.xml. Simply remove the EncryptedParts and SignedParts assertions from the service level policy and include those assertions at the message level. For example: htt

Re: [Axis2][rampart] Two questions regarding rampart policy files

2007-01-24 Thread Ruchith Fernando
Hi JF, Please try using the org.apache.rampart.handler.config.OutflowConfiguration and org.apache.rampart.handler.config.InflowConfiguration instances to configure. It is possible to set the password type in the the OutflowConfiguration instance. See basic/sample11 code of the rampart samples t

Re: [axis2] jms destination name error in j2ee container

2007-01-24 Thread Davanum Srinivas
Yes, please. On 1/23/07, falom <[EMAIL PROTECTED]> wrote: Hi, I found out that if axis2 jmslistner trys to listen to an available destination in a j2ee container, i.e. one queue in activemq in geronimo, then axis2 jmslistner can connect to it only through java:comp/env/jms/testQueue, but axis2

Re: Debugging Axis2 in Tomcat

2007-01-24 Thread Ajith Ranabahu
Perhaps this could be useful http://wso2.org/library/225 On 1/24/07, Jeff Greif <[EMAIL PROTECTED]> wrote: Ho, Wen Yue wrote: > Hi, > > Any pointers on how to debug Axis2 WebService Application in Tomcat? > > In Eclipse, you can launch Tomcat for debugging or attach to a running Tomcat. Then y

RE: Configuration in Rampart 1.1

2007-01-24 Thread Sriram Vaidyanathan
Hello Ruchith /Dimuthu, Thanks for your responses!! I was just using the Policy sample03, which does both the Signature and the Encryption, and it works very well. My question is there a way for me to specify to the service to only expect "Inflow" messages to be secured and not secure "Outflow

[Axis2] Serialization of super class elements

2007-01-24 Thread Sathija Pavuluri
Hello, I was surprised by what I found recently while trying to serialize an object along with its super class' fields. TheParent { a; b; } TheChild { c; d; } My service class returns an object of TheChild. The generated wsdl defined the complex type TheChild with elements a,b

RE: Possible to get callers IP address with pojo approach?

2007-01-24 Thread Bell, Douglas
Hi Jared, You can add a handler to the service.xml e.g. Extend a BasicHandler and set the incoming IP address on a InheritableThreadLocal variable to have access to it throughout your application. Hope this helps, - Doug -Original Message- From: Jared Blitzstein [mailto:[EMAIL PROTE

Re: [Axis2][rampart] Two questions regarding rampart policy files

2007-01-24 Thread footh
Thanks Ruchith, I figured it wasn't supported yet. Is there any way to get a UsernameToken with digested password? Using Axis1 with wss4j I was able to do it like this: call.setProperty(WSHandlerConstants.ACTION, WSHandlerConstants.USERNAME_TOKEN); call.setProperty(Usernam

Re: Debugging Axis2 in Tomcat

2007-01-24 Thread Jeff Greif
Ho, Wen Yue wrote: Hi, Any pointers on how to debug Axis2 WebService Application in Tomcat? In Eclipse, you can launch Tomcat for debugging or attach to a running Tomcat. Then you debug the Axis code in the normal way. Google for "eclipse launch tomcat debug" Jeff -

[axis2]: sympletype extension as an attribute not generated

2007-01-24 Thread Eric Deshayes
Hi, I have tried to generate some databinding for a schema that contains that type: as an attribute: The generated class type (TransactionType.java) does not contain any currency field. The field only appears when the type is used as an element. Is that feature

Possible to get callers IP address with pojo approach?

2007-01-24 Thread Jared Blitzstein
I'm using the pojo approach (http://ws.apache.org/axis2/1_1_1/ pojoguide.html) and need to implement a logging system in my service to log various things including the calling clients IP address. Is there any way to do this? If not, can someone direct me into a direction that can? Thank you.

Debugging Axis2 in Tomcat

2007-01-24 Thread Ho, Wen Yue
Hi, Any pointers on how to debug Axis2 WebService Application in Tomcat? Sysdeo turns out to be not working anymore,... with the following error message: ERROR: JDWP unable to get necessary JVMTI capabilities. ["debugInit.c",L279] Thanks in advance, wen NOTICE OF CONFIDENT

Re: MTOM question

2007-01-24 Thread robert lazarski
The soap monitor just converts the soap envelope from the message context to a string, after it knows which flow is used. Thilina, is checking ctx isDoingMTOM() or isDoingSwA() available on inflow and outflow, and would be enough info needed to know its mtom / swa and needs a writer ? Robert On

Re: MTOM question

2007-01-24 Thread Thilina Gunarathne
Hi Angel, Just to clarify - is that a problem with the soap monitor itself? I.e does it automatically convert the attached binary data into inlined base64 strings? Or does some handler do that ? I think it's the soap monitor.. It might be just serialising the AXIOM without giving an MTOM writer.

Re: Namespace problems with a POJO based Axis2 web service and generated WSDL

2007-01-24 Thread Kjell V. Normann
Thanks for the tip! I tried it and, with some minor additional changes (it seems like there's a problem with the data objects used in the method being part of a different Java package than the service class itself), it works. Again, many thanks! Kjell Normann [EMAIL PROTECTED] wrote: I'm a

The AXIS engine could not find a target service...

2007-01-24 Thread Sreenivas Mangasandra
Hallo Axis User / Developer Team, This is regarding a error which i receive by deploying a webservice using the Axis 1.1 and the Axis Admin Task. http://localhost:8080/webservices/tp-webservice/servlet/AdminServlet"; xmlfile="${project.res.dir}/conf/wsdl/deploy.wsdd" failonerror="true" debug="

Re: Axis2 + Rampart under Weblogic 9.2

2007-01-24 Thread Ruchith Fernando
Hi Slim, This seems like an issue in loading the classes from within the mar file using the jars available in their respective lib dirs. Please copy all the jars you find in the lib directory of the rampart binary distribution into the main lib directory of Axis2 within Weblogic. Thanks, Ruchit

Axis2 + Rampart under Weblogic 9.2

2007-01-24 Thread Slim Driss
Hi, I'm trying to use Axis2 1.1 + Rampart 1.1 under Weblogic 9.2 but I've got this error on the deployment time of the rahas.mar and rampart.mar Someone can point to a solution to resolve this? GRAVE: Invalid module : rahas-1.1.mar caused org/apache/rahas/STSMessageReceiver : org/apache/axis2/r

RE: Session Connection pooling in Axis2 WS

2007-01-24 Thread Ho, Wen Yue
Hi, I think my question is not clear and confusing. Sorry, a newbie here :-) Please allow me to re-phrase my question. How does Axis2 handle multiple request to the webservices? AFAIK, Axis2 is a servlet and by default, a (single) servlet should be able to handle multiple HTTP requests. For ea

RE: Namespace problems with a POJO based Axis2 web service and generated WSDL

2007-01-24 Thread ken.ricci
I'm a relative newbie to AXIS2 but have been struggling with the same issues between generating/creating the WSDL and how the services.xml file affects it. This worked for me. Try to add this element: ... ... This may also be necessary, but again not an exper

Finding source host/port

2007-01-24 Thread Wayne Johnson
I need to get the hostname and tcpip port of clients that send messages to my server. Any suggestions on where to pull this from. I've been poking through the message context and it's associates, but nothing is looking very promising yet. --- Wayne Johnson, | There

[Axis1.4] Documenting a webservice

2007-01-24 Thread Arnout Engelen
Hi, Are there any tools available that generate documentation for a webservice? Right now we provide a description of the Axis-exposed API by copying the JavaDoc for the java interface from which the WSDL is generated, but of course that is far from elegant. Is it somehow possible to make ja

Re: [Axis2] [rampart] Problems using rampart

2007-01-24 Thread Sebastian Roschke
Hi Ruchith, thanks for this important hint. Your proposal works fine. I removed the axis2.xml as configuration. Now I do all the necessary configs by myself in the client code. I changed your proposal a little bit: ConfigurationContext configurationContext = ConfigurationContextFa

RE: new aar file is not recognized [PROBLEM SOLVED]

2007-01-24 Thread Ho, Wen Yue
please ignore this. I fixed it. Just do some clean-up and it solve the problems. From: Ho, Wen Yue [mailto:[EMAIL PROTECTED] Sent: January 23, 2007 5:38 PM To: axis-user@ws.apache.org Subject: new aar file is not recognized Hi, I (re-) created my aar web serv

RE: [Axis2] How to add properties to thread local - context

2007-01-24 Thread Lars Ilebrekke
Thanks, Doug! I would not have thought about that before it would have occured. I'm not entirely sure how to actually implement it, but I'll figure it out. I have also noticed that in Axis2 1.1 there is a method called currentMessageContext in the MessageContext class. The method returns the

Re: How to avoid multiRefs?

2007-01-24 Thread Andrew Wilcox
On 1/23/07, Alick Buckley <[EMAIL PROTECTED]> wrote: In Axis 1.4, I use the sendMultiRefs parameter to disable MultiRefs in a Axis server responses Thank you. I tried it, but now Axis can't find the http client transport: I created a deployment file: http://xml.apache.org/axis/wsdd/"; xm

Namespace problems with a POJO based Axis2 web service and generated WSDL

2007-01-24 Thread Kjell V. Normann
Hi. I've created a WS using the following POJO: package no.mazeppa.kda.ws; public class CurrentTimeService { ... public ResultSpec[] sendHours(CurrentHourSpec[] data) throws BaanException { ... } } My services.xml looks like this: KDA Current Time Service

Re: Axis2 and xsi:nil="1": what is the plan?

2007-01-24 Thread Ajith Ranabahu
Hi, Yes - Please do. Then we will not at all forget about this (:)) and you can also mark the severity accordingly. Ajith On 1/24/07, Tugdual Grall <[EMAIL PROTECTED]> wrote: Hello, I am using Axis2 1.1 and have an issue with the way that Axis2 stub deals with the xsi:nil construct. My server

Re: [Axis2] [rampart] Problems using rampart

2007-01-24 Thread Ruchith Fernando
Hi Sebastian, I used the generated stub to successfully create a request[1] and engage Rampart on the client without any configuration. Note that I did not use an axis2.xml file[2]. Can you try using this [2] approach. Thanks, Ruchith [1] http://rafb.net/p/pw9xDl42.html [2] http://rafb.net/p/HU

Help regarding Webservices with Axis & Ant.

2007-01-24 Thread Sreenivas Mangasandra
Hallo Axis Users / Developers, This is regarding the Tutorial of Apache Axis Webservice which i found on the Apache Ant Website. http://ws.apache.org/axis/java/reading.html i am calling it via a Axis-admin task in a build file http://localhost:8080/webservices/tp-webservice/servlet/AdminServl

Axis2 and xsi:nil="1": what is the plan?

2007-01-24 Thread Tugdual Grall
Hello, I am using Axis2 1.1 and have an issue with the way that Axis2 stub deals with the xsi:nil construct. My server is OracleAS JAX-RPC implementation and the SOAP response is: --- Tug ... - So based on the Schema definition and discussion of the Jira issue : http:

Re: [Axis2] SOAP: multiple attachments - different mechanism

2007-01-24 Thread Thilina Gunarathne
Hi, - attachment 1 - MTOM optimized enabled - attachment 2 - inlined base64 (optimization disabled) MTOM spec defines both of the above to coexist - attachment 3 - SwA This can coexist with inline base64... You can have either MTOM or SwA only for a particular message... ~Thilina and

Re: [Axis2] [rampart] Problems using rampart

2007-01-24 Thread Sebastian Roschke
Hi Ruchith, thanks for the support. Yes, I use the ADB databinding. And here is the wsdl: http://schemas.xmlsoap.org/wsdl/soap12/"; xmlns:http="http://schemas.xmlsoap.org/wsdl/http/"; xmlns:mime="http://schemas.xmlsoap.org/wsdl/mime/"; xmlns:xmime="http://www.w3.org/2005/05/xmlmime";

Re: [Axis2] [rampart] Problems using rampart

2007-01-24 Thread Ruchith Fernando
Hi Sebastian, Are you using ADB databinding? Can you please post the WSDL? Thanks, Ruchith On 1/20/07, Sebastian Roschke <[EMAIL PROTECTED]> wrote: Hi Hailong, as far as I know the axis stack is used for the client api as well. When not configured axis uses a default configuration (Please cor