[axis2] Advice on how to tell which version of WSDL the client is using.

2007-01-05 Thread Bo Xie
Hi all, I need some advice on handling client using old WSDL. Say I made some change in WSDL and publish a updated service. - How can we tell if the client request is based on the old WSDL or new WSDL so the service can act accordingly? - What's the best practice to deal the client that is

Re: [axis2] WSDL2JAVA with XMLBean binding does not create instance of the derived type

2007-01-05 Thread Bo Xie
Hi Ramesh, It is comforting to know it actually works. Thanks for trying it out. I was using axis2. 1.1 and I just reinstall the axis2 1.1 and tried it again, still get the same problem. I have two question. 1. When you mentioned XML Bean 2.2.0, it is the one xbean-2.2.0.jarcomes with t

RE: [Axis2] Jibx with Attachments

2007-01-05 Thread Alexander Grivnin
Hi Dennis, Thanks for clarifications. Basically we want to enable attachments for the operations whose parameters are of primitive types and do not contain any mapped classes. In this case it sounds like JiBX serialization mechanism is not invoked and the attachments in this case supposed t

RE: Deployment Problem with Quick Start Sample

2007-01-05 Thread Doug Kunzman
It still does not work do I need to download a patch? Doug _ From: Manoj Khangaonkar [mailto:[EMAIL PROTECTED] Sent: Friday, January 05, 2007 8:30 PM To: axis-user@ws.apache.org Subject: Re: Deployment Problem with Quick Start Sample And if you are using the browser you need to use t

Re: Deployment Problem with Quick Start Sample

2007-01-05 Thread Martin Gainty
Im getting a similar error when accessing StockQuoteService http://localhost:8080/axis2/rest/StockQuoteService?getPrice=IBM SEVERE: Servlet /axis2- threw load() exception org.apache.axis2.deployment.DeploymentException: Dispatch phase not found on the global InFlow phase of the axis2.xml. Please

Re: Savan axis2 WS-Eventing module

2007-01-05 Thread Davanum Srinivas
Won't make it to Axis2 1.1.1 release, will definitely make it to Axis2 1.2 release in the next few months. We could use your help with code/samples/docs :) thanks, dims On 1/5/07, McFarlane, Keith R (Keith) <[EMAIL PROTECTED]> wrote: Hello all – sorry for the blast, but I can't find any use

Re: Deployment Problem with Quick Start Sample

2007-01-05 Thread Manoj Khangaonkar
And if you are using the browser you need to use the REST url http://mindleech:8080/axis2/rest/StockQuoteService?getPrice=IBM On 1/5/07, Manoj Khangaonkar <[EMAIL PROTECTED]> wrote: Doug, The aar needs to be copied to webapps/axis2/web-inf/services directory. You need to copy it Look at you

Re: Deployment Problem with Quick Start Sample

2007-01-05 Thread Manoj Khangaonkar
Doug, The aar needs to be copied to webapps/axis2/web-inf/services directory. You need to copy it Look at your tomcat logs , there should be an error. In 1.1.x -- the current trunk , rest is broken -see JIRA 1917 - i have provided a patch. One of the committers will need to commit the patch.

Deployment Problem with Quick Start Sample

2007-01-05 Thread Doug Kunzman
Hi- I am using AXIS2 version 1.1 and attempted to deploy the quick start sample using the upload facility. I noticed that the StockQuateService.aar got copied to the /services directory rathern than the /WEB-INF directory as the documentation describes. Which is correct? Can someone explain?

Axis2 HttpServletRequest

2007-01-05 Thread Gnanasekaran Vinayakamurthy
Hello, Is it possible to get HttpServletRequest from MessageContext?... I had tried using -> msgContext.getProperty(Constants.HTTP_SERVLET_REQUEST), but it returns null always. Is there any better way to get HttpServletRequest in axis2? Thanks in advance, Vinay ---

Re: [Axis2] Jibx with Attachments

2007-01-05 Thread Dennis Sosnoski
Hi Alex, Not at present, at least without doing something like hand-modifying the generated message receiver and client stub. This is something I'm planning to add support for in JiBX 1.2. - Dennis Dennis M. Sosnoski SOA and Web Services in Java Training and Consulting http://www.sosnoski.c

java.lang.reflect.InvocationTargetException on WS Invoke

2007-01-05 Thread Garth Keesler
Dumb Q but I'm a noob. I've deployed several very simple services (spelled "Hello World" clones:-) using both WTP in Eclipse and Ant with no probs. Works great. I've also deployed the POJO examples included with Axis2. Now I'm trying to go one step deeper by invoking a service that depends o

[Axis2] Jibx with Attachments

2007-01-05 Thread Alexander Grivnin
Hello, Is it possible to work with attachment using Jibx mapping? Most importantly we are looking for an ability to send attachments in the response message. Thanks in advance, Alex - To unsubscribe, e-mail: [EMAIL PROTECT

RE: refering to tokens in rampart sec header

2007-01-05 Thread George Stanchev
Thanks Ruchith, Do you need a JIRA opened for this enhancement to keep track or you already have it on the list? Best Regards, George -Original Message- From: Ruchith Fernando [mailto:[EMAIL PROTECTED] Sent: Wednesday, January 03, 2007 5:01 AM To: axis-user@ws.apache.org Subject: Re:

Savan axis2 WS-Eventing module

2007-01-05 Thread McFarlane, Keith R \(Keith\)
Hello all - sorry for the blast, but I can't find any useful information on this subject elsewhere. Does anyone have information on the projected availability of this module? Thanks, Keith _ Keith R. McFarlane CTO Lead Communication Enabled Application Architect Avaya, Inc.

RE: [Axis2] How to retrieve client's IP address?

2007-01-05 Thread Sathija Pavuluri
Thanks. Yes, indeed I was looking for the remote client's IP address, not the locathost's. I will try as you described. Sathija. > That would give you the address of the machine the request is being processed > on. > > You can go about it a couple ways. The simplest is getting to the > HttpSe

Dealing with business exceptions in Axis2

2007-01-05 Thread Pavel Sharov
Hi All, I am using the Java-first approach to Axis2: I have some original Java interface that I chose as a base for my web service. Then I use the Java2WSDL to have a WSDL generated. Methods of my original interface throw some kinds of business exceptions. I am expecting to obtain an adequ

Re: client tutorial help

2007-01-05 Thread Martin Gainty
quick check from http://www.w3schools.com/dom/dom_validate.asp says no errors found M- --- This e-mail message (including attachments, if any) is intended for the use of the individual or entity to which it is addressed and

[Serialisation of String[][] and HashMap]

2007-01-05 Thread Marco Büchler
hi, we are trying to implement some linguistic webservices. we are still using an axis1-based work around and wants to switch to axis2. we have many webservices. so we have to implement an standard interface. our problem methode has the following singature: String[][] execute(HashMap toCopy)

axis2 wsdl2java support for deriving complex types with restriction

2007-01-05 Thread Mendei Krisztian
Hi, I have a problem with generating Java code from WSDL. I have these to complex types derived one from another with restriction:

Re: client tutorial help

2007-01-05 Thread Martin Gainty
Hi Richard could you re-send your axis2.xml? Thanks Martin -- --- This e-mail message (including attachments, if any) is intended for the use of the individual or entity to which it is addressed and may contain information

RE: [Axis2] Query regarding using XPATH in AXIS2..

2007-01-05 Thread Hemanth, Yamini \(MSAS Sys Dev IBD\)
Hi Ali, Thanks a lot.This is what I have been looking for. I already found something similar at http://ws.apache.org/axis2/0_93/api/org/apache/axis2/om/xpath/package-su mmary.html The link that you have sent is quite useful.It also provides a step-by -step process along with an example. Thanks

Re: [Soap via eMail]

2007-01-05 Thread Marco Büchler
thank you Deepal, we changed our config and the server starts without any critical message. we will try to use our services via email now. maybe two hints: a) this example conf should be corrected in the default section. in my opinion everybody who wants to use this feature will have the same

Re: Axis2 and https

2007-01-05 Thread Ruchith Fernando
Hi Dims, We have working sample HTTPS clients in WSAS-1.1 [1] that uses the Axis2-1.1 branch. Please see "configureSecurity" method of [2]. Thanks, Ruchith [1] http://www.wso2.org/projects/wsas/java [2] https://www.wso2.org/repos/wso2/wsas/java/trunk/modules/samples/CommodityQuote/src/org/wso2

Re: [Axis2] Query regarding using XPATH in AXIS2..

2007-01-05 Thread Ali Sadik Kumlali
Hi Yamini, Would this[1] article be what you are looking for? Regards, Ali Sadik Kumlali [1] How Can I Evaluate an XPath with AXIOM? http://wso2.org/library/265 - Original Message From: "Hemanth, Yamini (MSAS Sys Dev IBD)" <[EMAIL PROTECTED]> To: axis-user@ws.apache.org Sent:

[Axis2] Query regarding using XPATH in AXIS2..

2007-01-05 Thread Hemanth, Yamini \(MSAS Sys Dev IBD\)
Hello Everyone, I am developing applications in AXIS2 using AXIOM as the databinding. I have a query regarding XPATH in AXIS2. Is it possible to use XPATH to navigate through the elements and attributes in XML messages in AXIS2.If not , then do I assume that the only alternative to navigate to t

re[4]: How can I return complex data structure and attachment to web service client?

2007-01-05 Thread Yong Yang
Hi Thilina, Thank you very much for your reply. >> > If the DATATYPE for the variable attachment1 in the class >> Method1Response is >OMElement, it seems the binary data is sending by >> value, not by reference when I >traced the SOAP message using TCPMonitor. >> Please make sure to

Re: [Axis2] WSDL2J or Woden?

2007-01-05 Thread Davanum Srinivas
that class is used only when you deploy a wsdl2 document. if you just stick to wsdl1 and both "?wsdl" and send/receive of messages work, then u are all set. On 1/5/07, Ramesh Gurunathan <[EMAIL PROTECTED]> wrote: hmmm, I don't think it's easy that way. If the dependency is at the load time then

Re: [Axis2] WSDL2J or Woden?

2007-01-05 Thread Ramesh Gurunathan
hmmm, I don't think it's easy that way. If the dependency is at the load time then it will be evident if I get errors like NoClassDef... appearing at the console / log upon server start. What if the dependency is conditional? then I've to run a full test, that I'm trying to avoid ;) Ramesh On 1/

how to define TCP transport in WSDL?

2007-01-05 Thread Mendei Krisztian
Hi all! I want to write a WSDL for a webservice and generate the java code with axis2 wsdl2java. I want to use SOAP over TCP transport, but I couldn't find any help or example for defining it in the WSDL. On the Axis2 homepage there's no useful info on the subject. Could you please help me with a

Re: [Axis2] WSDL2J or Woden?

2007-01-05 Thread Davanum Srinivas
Simple test, remove the jar from WEB-INF/lib and see if it works :) Last i checked i did. -- dims On 1/5/07, Ramesh Gurunathan <[EMAIL PROTECTED]> wrote: Hi, OK, the 'core' I meant axis2 runtime. The classes you mentioned (WSDL11ToAxisServiceBuilder...) looks like they are part of tools. Let m

Re: [Axis2] Memory-Usage increasing with every Service-execution

2007-01-05 Thread Davanum Srinivas
Please log a JIRA issue and then upload your files to the issue. thanks, dims On 1/5/07, Benjamin Ernst <[EMAIL PROTECTED]> wrote: Hi, I have got a problem with the memory-usage of Axis2. Every time I execute my Service the Memory-usage rises about 5 MB. And after 35 executions I get this erro

Re: Axis2 and https

2007-01-05 Thread Davanum Srinivas
Ruchith, Did you test latest Axis2 1.1 branch and can you confirm if it works for you? thanks, dims On 1/5/07, Ruchith Fernando <[EMAIL PROTECTED]> wrote: Hi Gul, For the Axis2 client to work you will simply have to set the JSSE system properties in your client. Please see #8 of [1] for a lis

Re: [axis2] fireAndForget and Thread.sleep question

2007-01-05 Thread Michele Mazzucco
Hi again, I've created a JIRA for this issue. https://issues.apache.org/jira/browse/AXIS2-1940 Regards, Michele Michele Mazzucco wrote: > Hi all, > > does the fireAndForget method still require the Thread.sleep() call? > Over the last few months I've tuned it until 200 ms (on a LAN), but in >

Re: [Axis2] WSDL2J or Woden?

2007-01-05 Thread Ramesh Gurunathan
Hi, OK, the 'core' I meant axis2 runtime. The classes you mentioned (WSDL11ToAxisServiceBuilder...) looks like they are part of tools. Let me change the question. Are these two libraries needed at the runtime? Or only need for code generation and for tools? Ramesh On 1/5/07, Amila Suriarachchi

Re: [axis2] WSDL2JAVA with XMLBean binding does not create instance of the derived type

2007-01-05 Thread Ramesh Gurunathan
Hi Guys, I tested this today against axis2 1.1 [XML beans 2.2.0]. It actually works. The instanceof check passes. I then switched to Debug perspective to introspect the object type, everything looks perfect. Bo - Try again and see if you can duplicate the problem in axis2 1.1 Ramesh On 1/4/07,

[Axis2] Memory-Usage increasing with every Service-execution

2007-01-05 Thread Benjamin Ernst
Hi, I have got a problem with the memory-usage of Axis2. Every time I execute my Service the Memory-usage rises about 5 MB. And after 35 executions I get this error: 2007-01-05 10:27:31,051 ERROR org.apache.axis2.transport.http.AxisServlet - java.lang.OutOfMemoryError: unable to create new nativ

Re: Axis2 and https

2007-01-05 Thread Ruchith Fernando
Hi Gul, For the Axis2 client to work you will simply have to set the JSSE system properties in your client. Please see #8 of [1] for a list of JSSE properties. Exmaple: If you configured Tomcat to use a self signed cert as its HTTPS cert. Then you will have to set the " javax.net.ssl.trustStore"

[Axis2] Re: Re: How to expose stateless session bean as WS over axis2

2007-01-05 Thread falom
hi, Can you please post this to this user list as well, i'm not with dev list. I think this info will be very useful for the user list too. falom Sanjiva Weerawarana <[EMAIL PROTECTED]> Wrote: I have an MSc student who's done exactly this .. and will be posting the code to axis-dev

[Axis2] Query regarding integrating SOAP and AXIS2

2007-01-05 Thread Hemanth, Yamini \(MSAS Sys Dev IBD\)
Hello, I have a query regarding integrating SOAP and AXIS2. I have developed an application using AXIS2 and deployed it as a web service in Tomcat. Currently , I am using xml files to retrieve the input data. Now,I want to send the input data as a SOAP message instead and the application should