Axis2: How to measure the time taken by Axis2 engine to process the request/reply SOAP messages

2007-06-05 Thread Inder Dhillon
Hello I'll really appreciate if someone can suggest me how to measure the time taken by Axis2 engine to process the messages? Thanks Inder

RE: WSDL2JAVA

2007-06-05 Thread smitha.aldrin
Can you please explain me what's the difference between the databinding framework like xmlbeans and adb? When we should go for xmlbeans/adb? From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Wednesday, June 06, 2007 11:59 AM To: axis-user@ws.apache.org

RE: WSDL2JAVA

2007-06-05 Thread kumar.vinodh
This link would be useful to u http://ws.apache.org/axis2/1_2/reference.html#wsdl2code http://ws.apache.org/axis2/1_2/adv-userguide.html _ Thanks & Regards, Vinodh From: [EMAIL PROTECTED] [mailto:[EMAIL

RE: WSDL2JAVA

2007-06-05 Thread Ashwini Kumar Jeksani
You can find the details in this link: http://ws.apache.org/axis/java/user-guide.html Thanks and Regards, Ashwini Kumar Jeksani From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Wednesday, June 06, 2007 11:48 AM To: axis-user@ws.apache.org; [EM

WSDL2JAVA

2007-06-05 Thread smitha.aldrin
Hi Can anybody help me by providing the steps to use wsdl2java? Is there any good site/tutorial which explains how to use wsdl2java? Thanks And Regards Smitha Aldrin The information contained in this electronic message and any attachments to this message are intended for the exclusi

SOAP calls

2007-06-05 Thread Demetris G
Hey all, I captured the SOAP message that a Client Stub generated and which I verified works at the server Axis side, and I tried to pass it to that server through an HTTP Client I wrote. The SOAP message is below and it gives the error at the end. Any ideas what that is ? I saw this in som

Re: [Axis2 1.2] name of class generated from ADB keeps changing [SEC=UNCLASSIFIED]

2007-06-05 Thread Davanum Srinivas
Snezana, Please log an enhancement request, we need to find a work around. thanks, dims On 6/5/07, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: Hi, our team is having issue with using the services generated with adb binding. We're using Axis2 1.2 at the moment. The class name that gets gen

How can one servlet (ActionServlet) effect another servlet (AxisServlet)...?

2007-06-05 Thread Jeff Amiel
Recent issue is driving me batty. Suddenly started receiving exceptions in app server logs (tomcat a la jboss)... Servlet.service() for servlet AxisServlet threw exception java.lang.IllegalStateException org.apache.catalina.connector.ResponseFacade.setBufferSize(ResponseFacade.java:220) org.a

Re: WSDL2Java: Nested sequences with multiple constraints aren't generating correctly

2007-06-05 Thread Brian Krispinsky
I was able to get this working by using the '-w' switch with WSDL2Java. Brian Krispinsky <[EMAIL PROTECTED]> wrote: > I opened the following bug report against Axis 1.4 WSDL2Java last week: > > https://issues.apache.org/jira/browse/AXIS-2670 > > Does anyone have a workaround for this?

RE: SocketTimeoutExcetion: Read timed out

2007-06-05 Thread Gul Onural
What value we should set if we want SO_TIMEOUT and CONNECTION_TIMEOUT to be indefinite, (i.e. never time out value) ? Gul -Original Message- From: Martin Gainty [mailto:[EMAIL PROTECTED] Sent: Tuesday, June 05, 2007 7:27 PM To: axis-user@ws.apache.org Subject: Re: SocketTimeoutExcetion:

Re: [Axis2 1.2] name of class generated from ADB keeps changing [SEC=UNCLASSIFIED]

2007-06-05 Thread Ajith Ranabahu
Hi, The reason for this is because you have an anonymous inner type. WSDL2Java makes a seperate class for it and the name is generated using a static counter - which guarantees it to be unique . right now I cannot think of a specific way to achieve this in the current code. However if you can chan

Re: SocketTimeoutExcetion: Read timed out

2007-06-05 Thread Martin Gainty
the timeout default is 30 secs e.g. increment org.apache.axis2.client.Options { /*** Default blocking timeout value. ***/ public static final int DEFAULT_TIMEOUT_MILLISECONDS = 30 * 1000; .. } set Socket timeout and Connection timeout in axis2.xml and reset AxisServlet For Socket timeo

RE: [Axis2 1.2] name of class generated from ADB keeps changing [SEC=UNCLASSIFIED]

2007-06-05 Thread Rich Adili
I would also point out that the correct type probably should be "PersonId" in this case. From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Tuesday, June 05, 2007 6:10 PM To: axis-user@ws.apache.org Subject: [Axis2 1.2] name of class generated from ADB ke

[Axis2 1.2] name of class generated from ADB keeps changing [SEC=UNCLASSIFIED]

2007-06-05 Thread greg . lee-shoy
Hi, our team is having issue with using the services generated with adb binding. We're using Axis2 1.2 at the moment. The class name that gets generated for personId element (see below) varies when axis2-wsdl2code-maven-plugin is invoked multiple times. This becomes difficult to maintain as w

Session duration

2007-06-05 Thread Jorge Fernandez
Hi, I would like to know If axis2 has any timeout managing similar as the client, when is used at the server side. And if it does, does it call the destroy method when having a timeout?? And also another question: I'm using soap session and I know that when my client calls my service for the f

Raw SOAP

2007-06-05 Thread Demetris G
Hi all, if I capture a raw SOAP message and then I feed it back into an Axis engine would the engine respond with the results of the method call that this SOAP message represents ? Or do I still need to "dress": it with the HTTP headers ? I have a Post http client implemented and I ask it

SocketTimeoutExcetion: Read timed out

2007-06-05 Thread CrystalCracker
Guys, I am working on my first webservice project using axis: Here is how I have made the call after creating the client stubs from the wsdl: getClientStub().getTestData(); This is giving me the following SocketTimeOutException. Any idea what could be wrong?? I tried stub.setTimeout(1000)but tha

SocketTimeoutExcetion: Read timed out

2007-06-05 Thread CrystalCracker
Guys, I am workin on my first webserice project using axis: Here is how I have made the call after creating the client stubs from the wsdl: getClientStub().getTestData(); This is giving me the following SocketTimeOutException. Any idea what could be wrong?? Thanks a lot. AxisFault faultCode:

Axis2: Measuring the time taken be Axis2 engine to process the request/reply messages

2007-06-05 Thread Inder Dhillon
Hello I have one question that how can we measure the total time taken by axis2 engine to process both incoming and outgoing messages. I'll really appreciate if someone can suggest me on this. Thanks Inder

Raw XML?

2007-06-05 Thread Rich Adili
Hi, Given a stub that's designed to code-generated to return an ADBBean how can I query it for a copy of the raw XML? Would be handy for debugging. Rich - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail

RE: AXIS 2 WSDL2Java Oddly Naming Exceptions

2007-06-05 Thread Raghu Upadhyayula
Shawn, Our web service server is written in Java. Here are the WSDL2Java options I've used. %AXIS2_HOME%\bin\WSDL2Java -uri MyServiceWS.wsdl -d adb -s Thanks Raghu -Original Message- From: Shawn Dever [mailto:[EMAIL PROTECTED] Sent: Tuesday, Jun

RE: AXIS 2 WSDL2Java Oddly Naming Exceptions

2007-06-05 Thread Shawn Dever
Raghu Upadhyayula, Thank you for responding to my inquiry. It is good to hear that your client and web service are working. (There might be hope for ours yet!) Would it be possible to provide me with some additional information about your environment and the command line options used with WSD

RE: Engaging Modules not in Repositories

2007-06-05 Thread Zachary Marshall
Yeah, this seems to be a difficult problem. I haven't tried, but I assume I could generate a string with the path of the module since it is always in a subdirectory of whatever directory axis2 is installed in (I'm sure there's a way to find where this is). Suffice to say that I can generate such

Re: Engaging Modules not in Repositories

2007-06-05 Thread Paul Fremantle
Ouch. This is really tricky. I'm fresh out of ideas. I assume you do have a string with the path of the module at least? Paul On 6/5/07, Zachary Marshall <[EMAIL PROTECTED]> wrote: Hi Paul, Thanks for your response. I'd love to simply drop the mar in the same directory as the axis2 jars, howe

RE: Engaging Modules not in Repositories

2007-06-05 Thread Zachary Marshall
Hi Paul, Thanks for your response. I'd love to simply drop the mar in the same directory as the axis2 jars, however, I don't have control over where the mar gets installed (I can't make it be installed in the same directory as the axis2-*.jar files) for a couple of reasons. Any other ideas? Th

Re: Engaging Modules not in Repositories

2007-06-05 Thread Paul Fremantle
Zach We've just been discussing this. It seems like Axis2 looks in the same directory as the axis2-*.jar files, so if you put it in that folder it should work. Paul On 6/5/07, Zachary Marshall <[EMAIL PROTECTED]> wrote: Is there a way to engage a module (specifically addressing) client side th

Re: Webservice with security

2007-06-05 Thread CrystalCracker
Thanks Dimuthu. Now I got unsecure endpoints to experiment with and here is what I did after creating stubs: stub = new TestWSBindingStub(); stub.setUsername("portal"); stub.setPassword("portal"); stub._setProperty(javax.xml.rpc.Stub.ENDPOINT_ADDRESS_PROPERTY, "htt

Re: [AXIS2] Throwing exceptions with ADB

2007-06-05 Thread James Englert
That makes alot of sense. This could be solved through betting tooling also. It would be very easy to write an IDE template to generate that exception. Thanks for the clarity. AFAIR the reason is that since we are supporting different databinding frameworks, it is not always possible to ge

Engaging Modules not in Repositories

2007-06-05 Thread Zachary Marshall
Is there a way to engage a module (specifically addressing) client side that is neither in the axis2 repository and which is not specified on the classpath? I have limiting development conditions that prohibit me from controlling where the mar files end up on the client's machine. This is strict

Re: [AXIS2] Throwing exceptions with ADB

2007-06-05 Thread Ajith Ranabahu
Hi, AFAIR the reason is that since we are supporting different databinding frameworks, it is not always possible to generate a class that extends exception. The databinding tools only look at the schema and hence have no idea which elements are targeted towards exceptions. You can definitely twea

[Axis2] Schema import support in wsdl

2007-06-05 Thread dharmendra3
Iam trying to import a schema in my wsdl,but it fails when i deploy the service. Its not able to find the xsd file. my aar file contains the xsd files,but its looking for the xsd at the root location (domain root). Any help is greatly apprciated -- View this message in context: http://www.nabb

Re: [AXIS2] Throwing exceptions with ADB

2007-06-05 Thread James Englert
As a side question, is there a way to avoid this: MyFault fault = new MyFault(); MyFaultException faultEx = new MyFaultException(); fault.setMessage("Your Exception Message"); faultEx.setFaultMessage(fault); throw faultEx; in favor of MyFaultException faultEx = new MyFaultException(); faultEx.s

Re: Client connection options

2007-06-05 Thread Jon Horsman
We started looking into this issue and have add support for a custom protocol factory in latest svn: http://www.mail-archive.com/[EMAIL PROTECTED]/msg17172.html Good news. We are yet to write a SunFakeTrustSocketFactory for use with Axis2. Any help would be welcome. That would explain why i

Re: [Axis2]Axis2 Hackathon NEXT WEEK in Indiana University, IN, USA

2007-06-05 Thread Aleksander Slominski
Glen Daniels wrote: > This sounds great, I'm in! Except... > > Eran Chinthaka wrote: >> The nearest hotel to the hackathon will be IMU Hotel : >> http://www.imu.indiana.edu/hotel/index.shtml. > > Unfortunately the hotel is completely booked for Thurs and Fri nights. :( > > There is apparently a Co

Re: [AXIS2] Throwing exceptions with ADB

2007-06-05 Thread Fran
2007/6/5, Raghu Upadhyayula <[EMAIL PROTECTED]>: Dims, From the WSDL2Java documentation it says that -g option is only valid with the -ss (generate server side code) option. But in Fran's case, he is generating the client code and he is not seeing the MyFault class but he is see

RE: Importing Schema in WSDL

2007-06-05 Thread dharmendra3
any luck with that. Iam also facing the same problem snehil wrote: > > > > I am using Axis2 1.2. > > _ > > From: keith chapman [mailto:[EMAIL PROTECTED] > Sent: Wednesday, May 30, 2007 2:37 PM > To: axis-user@ws.apache.org > Subject: Re: Importing Schema in WSDL > > > > Which

WSDL2Java: Nested sequences with multiple constraints aren't generating correctly

2007-06-05 Thread Brian Krispinsky
I opened the following bug report against Axis 1.4 WSDL2Java last week: https://issues.apache.org/jira/browse/AXIS-2670 Does anyone have a workaround for this? This seems like a trivial xsd to parse, but I simply cannot massage it to get WSDL2Java to generate the classes correctly.

RE: AXIS 2 WSDL2Java Oddly Naming Exceptions

2007-06-05 Thread Raghu Upadhyayula
I'm not really sure whether this is a problem or not, because my webservice has 3 methods and all the 3 methods throw a UnexpectedException. And when I generated my client code using WSDL2Java, it generated only UnexpectedException class, but not method1_UnexpectedException etc. I'm using ADB. T

Re: AXIS 2 WSDL2Java Oddly Naming Exceptions

2007-06-05 Thread Davanum Srinivas
Shawn, This is indeed a problem. Can you please open a JIRA enhancement issue? thanks, dims On 6/5/07, Shawn Dever <[EMAIL PROTECTED]> wrote: In hopes that someone might be able shed some light on it, we have reduced our problem to a simple test case. SCENARIO We have a web service wit

AXIS 2 WSDL2Java Oddly Naming Exceptions

2007-06-05 Thread Shawn Dever
In hopes that someone might be able shed some light on it, we have reduced our problem to a simple test case. SCENARIO We have a web service with two methods: "Method1" and "Method2". Each method can throw an exception called "CustomException". We use the WSDL2Java to build our Java clie

RE: *************Striping down the name spaces in the response (Urgent)****************

2007-06-05 Thread Walker, Jeff
Hi Vibhor, I don't think it will be that easy. The namespaces are fundamental to XML Schema and web services. To start with, you need to clean out your schema, to make elementFormDefault="unqualified' to reduce the occurrence of xml prefixes on every line. Then you'd have to rewrite your entire sch

RE: [AXIS2] Throwing exceptions with ADB

2007-06-05 Thread Raghu Upadhyayula
Dims, From the WSDL2Java documentation it says that -g option is only valid with the -ss (generate server side code) option. But in Fran's case, he is generating the client code and he is not seeing the MyFault class but he is seeing the MyFaultException class. Fran,

*************Striping down the name spaces in the response (Urgent)****************

2007-06-05 Thread Vibhor_Sharma
Hi How can we make sure that the response that we get from the soap request does not have the name spaces? If it is just a configuration issue that has to be taken care of in the server side then please let me know. Just wondering that if the response is pretty large then would'nt the na

How does Axis Server determine style and encoding?

2007-06-05 Thread Adam Retter
Hi, I have written a small SOAP Server for a very specific purpose, it was designed to support Document/literal style requests initially and this works well certainly with Apache SOAP and .NET. However, it does not seem to work nicely with Apache Axis clients and in the interests of interoperabil

Re: Axis 1.4 client get cookies

2007-06-05 Thread dreamryder
Hi, I am using Axis 1.3, but I got one cookie to work well. (Multiple cookies is difficult, I will explain why). On the service side, I wrote a handler class that extends JAXRPCHandler. In the invoke() method I have this: public void invoke(MessageContext context) throws AxisFault { if (co

Re: A basic question about HTTP authentication in Axis2

2007-06-05 Thread Davanum Srinivas
http://www.jguru.com/faq/view.jsp?EID=239670 On 6/5/07, Wang, Hailong (NIH/CIT) [C] <[EMAIL PROTECTED]> wrote: Hi, After following code is added to the axis2 client, what's work flow, and who should verify this username and password? Thanks. ArrayList authSchemes = new ArrayLis

Re: [Axis2]Axis2 Hackathon NEXT WEEK in Indiana University, IN, USA

2007-06-05 Thread Glen Daniels
This sounds great, I'm in! Except... Eran Chinthaka wrote: The nearest hotel to the hackathon will be IMU Hotel : http://www.imu.indiana.edu/hotel/index.shtml. Unfortunately the hotel is completely booked for Thurs and Fri nights. :( There is apparently a Courtyard by Marriott and also a Hil

Response parsing problem

2007-06-05 Thread Falko-Germar.Schwarz.extern
Hi, when the axis2 client is parsing the following message I receive an error javax.xml.stream.XMLStreamException: ParseError at [row,col]:[1,626] Message: http://www.w3.org/TR/1999/REC-xml-names-19990114#AttributePrefixUnbound?contentRefType&xsi:nil&xsi The contentRef element does not separatel

Re: [Axis2]Axis2 Hackathon NEXT WEEK in Indiana University, IN, USA

2007-06-05 Thread Eran Chinthaka
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Venue : Lindley Hall, Computer Science Department, Indiana University, Bloomington, IN. (Rooms are still not finalized. So come to room 215 or 316 and we will re-direct you) The nearest hotel to the hackathon will be IMU Hotel : http://www.imu.indiana

[Axis2] Oracle BPEL Async Callbacks

2007-06-05 Thread Alejandro Calbazana
Hello, I am hoping that someone has dealt with this problem before :) I am working with an asych Oracle BPEL process. I can initiate the workflow but I have a couple of problems dealing with callbacks. The callback appears to be "skipped" as part of the workflow's final step to call the cli

A basic question about HTTP authentication in Axis2

2007-06-05 Thread Wang, Hailong (NIH/CIT) [C]
Hi, After following code is added to the axis2 client, what's work flow, and who should verify this username and password? Thanks. ArrayList authSchemes = new ArrayList(); authSchemes.add(HttpTransportProperties.Authenticator.BASIC); HttpTransportProperties.Authent

war

2007-06-05 Thread Doug Kunzman
Hi - I am trying to deploy axis 1.4 and my application as a single WAR file. I used the following command to build my deployment file, cd webapps/axis jar cf ../cgs.war * And my war has everything in it as far as I can tell, WEB-INF\lib\axis.jar, etc... WEB-INF\classes\... Etc. and when I start

Re: Client connection options

2007-06-05 Thread Jon Horsman
http://saloon.javaranch.com/cgi-bin/ubb/ultimatebb.cgi?ubb=get_topic&f=51&t=004513 Just to follow up, i think the information in this post seems to work, i still have a lot more testing to do. Protocol.unregisterProtocol("https"); Protocol.registerProtocol("https", new Protocol("https", new Eas

Re: Client connection options

2007-06-05 Thread Davanum Srinivas
Jon, We started looking into this issue and have add support for a custom protocol factory in latest svn: http://www.mail-archive.com/[EMAIL PROTECTED]/msg17172.html We are yet to write a SunFakeTrustSocketFactory for use with Axis2. Any help would be welcome. thanks, dims On 6/5/07, Jon Horsm

Re: Encryption/Rampart problems

2007-06-05 Thread Jon Horsman
This looks like a bug. Can you please file a JIRA in Rampart, along with the wsdl? https://issues.apache.org/jira/secure/Dashboard.jspa Sure, i'll create one later today and post back when i'm done. Jon. - To unsubscribe, e-ma

Re: Client connection options

2007-06-05 Thread Jon Horsman
For my application though i can't be messing around with certs as it will be a pain to deploy in the field, which is why i need to simply tell axis to trust all certs. After spending all day yesterday looking I came across AxisProperties.setProperty("axis.socketSecureFactory","org.apache.axis.c

Re: Client connection options

2007-06-05 Thread Jon Horsman
Anything else I have to do? Hopefully someone else will chime in to help you as i'm not really sure. I didn't actually create the cert i am using, it was created by another group here at work. As mentioned, all i had to do was import the cert and it worked, sorry i'm not more help. Jon -

Re: Axis2 : how to enable soap message logging

2007-06-05 Thread Eric
Davanum Srinivas wrote: http://wso2.org/blog/dims/1554 This works superb for the client side. :-) Thanks. Eric. On 6/5/07, Eric <[EMAIL PROTECTED]> wrote: Hi, I have written a webservice with Axis2 and deployed the same on Apache Tomcat 6.0.13. I need to enable some form of logging , so tha

Re: Axis2 : how to enable soap message logging

2007-06-05 Thread Davanum Srinivas
http://wso2.org/blog/dims/1554 On 6/5/07, Eric <[EMAIL PROTECTED]> wrote: Hi, I have written a webservice with Axis2 and deployed the same on Apache Tomcat 6.0.13. I need to enable some form of logging , so that I can see the SOAP message received by Tomcat. Also, can I set some jvm property on

Re: [AXIS2] Throwing exceptions with ADB

2007-06-05 Thread Davanum Srinivas
Fran, Did you try "-g" option in wsdl2java when generating the client? thanks, dims On 6/5/07, Fran <[EMAIL PROTECTED]> wrote: Hi, list! I have a problem throwing Exceptions from service to client, using ADB. I create a service with Exceptions in some methods, I compile this class and I crea

Re: problems implementing polymorphic pojos with axis2

2007-06-05 Thread Davanum Srinivas
Olaf, We must have missed some cases, please log a JIRA and upload your sample code. thanks, dims On 6/5/07, Olaf Schuemann <[EMAIL PROTECTED]> wrote: Hi, just for your (and others) information: The nightly build axis2-SNAPSHOT.war of the 05-Jun-2007 01:27 does not fix the mentioned issue of

Re: problems implementing polymorphic pojos with axis2

2007-06-05 Thread Olaf Schuemann
Hi, just for your (and others) information: The nightly build axis2-SNAPSHOT.war of the 05-Jun-2007 01:27 does not fix the mentioned issue of the missing properties from superclasses. Regards Olaf. Davanum Srinivas wrote: > > Doug, > ...If you could try the latest nightly you can see it per

[AXIS2] Throwing exceptions with ADB

2007-06-05 Thread Fran
Hi, list! I have a problem throwing Exceptions from service to client, using ADB. I create a service with Exceptions in some methods, I compile this class and I create WSDL with Java2WSDL tool. In this WSDL I change these lines:

Re: [Axis2] WS-Security with Apache Rampart

2007-06-05 Thread Dimuthu
Hi, This is not possible. However you can have couple of web services, one with security and other without. Then you will have to provide couple of end point references to clients. Cheers, Dimuthu http://wso2.org On Mon, 2007-06-04 at 16:36 -0700, Raghu Upadhyayula wrote: > Hi, > > > >

Re: Axis2 : how to enable soap message logging

2007-06-05 Thread Samisa Abeysinghe
Eric wrote: Hi, I have written a webservice with Axis2 and deployed the same on Apache Tomcat 6.0.13. I need to enable some form of logging , so that I can see the SOAP message received by Tomcat. You may use the logging module and log the messages: http://ws.apache.org/axis2/1_2/modules.html

[Axis2]Axis2 Hackathon NEXT WEEK in Indiana University, IN, USA

2007-06-05 Thread Deepal Jayasinghe
Hi All. Indiana University and WSO2 are going to host an Axis2 hackathon at Indiana University, Bloomington, Indiana from June 11th to June 16th (inclusive). The main goal of the F2F is to use some co-located hacking time to help stabilize and create a better Axis2 1.3 release at the earliest time