Resolve remote host full path

2007-05-31 Thread Johannes Brauner
Hi all, I have a servlet using axis to send a soap message to a soap service. The soap service should do something and also include the requesting servlet's url. And I do not want to send the servlet url in the soap message. I can only get the servlet's host machine's ip address by ServletReques

Re: WS-Notification

2007-05-31 Thread Paul Fremantle
This is a tangled political story, so maybe I won't portray it all correctly, but basically the story goes like this. IBM and Globus, plus a few others, got together and built a model for stateful services called the WS Resource Framework. Then they build Notifications on top of those stateful re

Re: WS-Notification

2007-05-31 Thread José Antonio Sánchez
They are trying to unify some specs. WS-Notification and WS-Eenting are among them. On 5/31/07, Paul Fremantle <[EMAIL PROTECTED]> wrote: This is a tangled political story, so maybe I won't portray it all correctly, but basically the story goes like this. IBM and Globus, plus a few others, got

Re: WS-Notification

2007-05-31 Thread José Antonio Sánchez
Sorry, forgot to post the link: http://devresource.hp.com/drc/specifications/wsm/ On 5/31/07, José Antonio Sánchez <[EMAIL PROTECTED]> wrote: They are trying to unify some specs. WS-Notification and WS-Eenting are among them. On 5/31/07, Paul Fremantle <[EMAIL PROTECTED] > wrote: > > This is

RE: WS-Notification

2007-05-31 Thread smitha.aldrin
Hi Paul Thank you for the mail. Then Is it wise to go ahead with Muse which supports WS_Nofification for Webservices Eventing. Thanks And Regards Smitha Aldrin From: Paul Fremantle [mailto:[EMAIL PROTECTED] Sent: Thursday, May 31, 2007 1:00 PM To: a

berbose mode for org.apache.axis.wsdl.Java2WSDL

2007-05-31 Thread Celinio . Fernandes
hi, there is a verbose option -v for the WSDL2Java tool but there is no such option for the Java2WSDL how can i get a verbose output when running this command ? thanks

IllegalArgumentException axis 1.4

2007-05-31 Thread Odysseas Bournas
Hello all, I hope you can help me with this.. I am deploying a web service in Tomcat 6.0.13 and use Axis 1.4 to deal with the SOAP messages. I managed to deploy my service successfully and write a client that will invoke its methods. (I was given a WSDL and created the server skeletons with: W

Forcing the unpacking of aar files

2007-05-31 Thread Desmond Whewell (CV/ETL)
Is there a configuration option that will force Axis2 (1.2) to unpack the the aar files upon deployment? Cheers, Des - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: How to disable generation of http binding(s) in the WSDL ?

2007-05-31 Thread Angel Todorov
Hi , Thanks. In fact, it should also be possible for a user to choose whether to generate binding for SOAP 1.1 , for SOAP 1.2, or for both. Currently in the generated WSDLs (both java2wsdl and the axis servlet) , axis2 generates bindings for both soap11 and soap12. Maybe this should also be param

Re: How to disable generation of http binding(s) in the WSDL ?

2007-05-31 Thread Paul Fremantle
+1 from me. Paul On 5/31/07, Angel Todorov <[EMAIL PROTECTED]> wrote: Hi , Thanks. In fact, it should also be possible for a user to choose whether to generate binding for SOAP 1.1 , for SOAP 1.2, or for both. Currently in the generated WSDLs (both java2wsdl and the axis servlet) , axis2 gener

Re: Axis2: Retrieving particular tags from SOAP message headers

2007-05-31 Thread Ruchith Fernando
Hi Inder, Axis2 uses AXIOM[1] as the object model and you can use the AXIOM API [2] to navigate the XML nodes of a SOAP envelope. Also AXIOM has XPath support [3]. Thanks, Ruchith [1] http://ws.apache.org/commons/axiom/ [2] http://ws.apache.org/commons/axiom/OMTutorial.html [3] http://wso2.org/

Re: Forcing the unpacking of aar files

2007-05-31 Thread Davanum Srinivas
Des, You can actually deploy an unpacked aar : http://www.developer.com/open/article.php/10930_3557741_2 -- dims On 5/31/07, Desmond Whewell (CV/ETL) <[EMAIL PROTECTED]> wrote: Is there a configuration option that will force Axis2 (1.2) to unpack the the aar files upon deployment? Cheers, D

RE: Forcing the unpacking of aar files

2007-05-31 Thread Desmond Whewell (CV/ETL)
Yes, that is what I have reverted to doing. I have an issue with my business logic such that it will only work correctly when some of the bundled resources are held as real files on Tomcat, rather than contained in a Jar. I really should fix this problem, but I was hoping for a quick fix that woul

Re: [Axis2] Howto register own xsd referenced from own wsdl

2007-05-31 Thread Tobias Seng
see JIRA AXIS2-2736 or https://issues.apache.org/jira/browse/AXIS2-2736 thanks Tobias Davanum Srinivas wrote: Are u using 1.2 final? Can you create a JIRA and upload your aar? - To unsubscribe, e-mail: [EMAIL PROTECTED] Fo

Setting use of Ws-Addressing header mandatory at service

2007-05-31 Thread Erwin Reinhoud
Hello, I still don't know how to set WS-Addressing mandatory for a service. Adding "" to the wsdl does not seem to work (this is by the way in the Ws-addressing 2006 spec and i use the 2005 so is not surprising). Is it not possible to do this by configuration (service.xml)? An other questio

[Axis2] Using Exploded Format

2007-05-31 Thread Edward Bush
Team, I've read conflicting accounts regarding whether a person can deploy a service in exploded format. Some say yes; some say no. Can someone please tell me whether this is possible in Axis 1.2? If so, could you please point me to some information regarding how to make this happen? I have co

Axis2 POJO service problems (namespace / WSDL)

2007-05-31 Thread Falko-Germar.Schwarz.extern
Hi, having a deployed POJO web service in Axis2 (running in WebSphere) I have the following problems: - the WSDL being generated by Axis2 is invalid since one of our Execeptions is defined multiple times - running a request to the server and processing the response gives an error "Unexpected e

RE: [Axis2] Message Receiver Not Found for "in-only" Operation

2007-05-31 Thread Ted Jones
This is working now after a plethora of changes (including schema changes). Must have had one or two ducks out of row. Thanks, Ted From: Ted Jones [mailto:[EMAIL PROTECTED] Sent: Wednesday, May 30, 2007 9:15 AM To: axis-user@ws.apache.org Subject: [Axis2] Messa

org.apache.axis2.databinding.schema.util.ConvertorUtil in axis2 1.0

2007-05-31 Thread Srinivasan T R
Hi, I am generating axis2 (1.0 version ) client side stub using adb binding. It generates the ConvertorUtil.toHexBinary() call in the stub code.But if I look at the signature of the ConvertorUtil class present inside axis2-adb-1.0.jar its having the method with 'H' in small case (toHexBinary

Re: Axis2 POJO service problems (namespace / WSDL)

2007-05-31 Thread Davanum Srinivas
Falko-Germar, We are actively looking into this kind of problems, can you please log a bug with your code? thanks, dims On 5/31/07, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: Hi, having a deployed POJO web service in Axis2 (running in WebSphere) I have the following problems: - the WSDL

[AXIS2] : maven2 - axis2 war distribution

2007-05-31 Thread Vasil Benov
Hi all, Is it possible to build axis2 war distribution with maven2 Regards, Vasil -- Vasil Benov, Mobile: +359(0)889/202682 @-mail: benovv at gmail dot com ICQ: 140269988 GPG Fingerprint: 2CDC 5DA0 4C0A 7C06 5259 DE12 ACF3 177C 8906 0908 Public Key URL: *) http://random.sks.keyserver.pengu

Axis2 client stub thread safety question

2007-05-31 Thread Saju Pillai
Hello, Is the Axis2 client stub thread safe ? Can one client stub be shared by multiple threads making requests without explicit synchronization ? -srp - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail

RE: Re: Confused...

2007-05-31 Thread Kraus, David
Martin, I am not exactly sure what you are asking, and whether this is a general WSDL question, or a question pertaining to the implementation of polymorphism. You use the term "entity". Are you talking about attributes of the element WSDL tag? We typically see the attributes minoccurs and maxocc

Re: Hostname parameter in axis2.xml

2007-05-31 Thread Luis Mariano Luporini
Ok. I'm on that. When user provides a WSDL it's a simple change. In fact, it's almost there, just a matter of pass more data to a function, but when Axis needs to auto generate the WSDL, handling is completely different. I'm working on that part and trying to understand how things work, I do not w

RE: Forcing the unpacking of aar files

2007-05-31 Thread Raghu Upadhyayula
Hi Desmond, You can just put the wsdl file & services.xml in your aar file and put all the class files in your WEB-INF/classes directory. Thanks Raghu -Original Message- From: Desmond Whewell (CV/ETL) [mailto:[EMAIL PROTECTED] Sent: Thursday, May 31, 2007 5:57 AM To: axis-user@w

Apache WSS4J 1.5.2 Released

2007-05-31 Thread Ruchith Fernando
Apache WSS4J Team is happy to announce the WSS4J-1.5.2 release. You can download the releases from: http://www.apache.org/dyn/closer.cgi/ws/wss4j/1_5_2 Apart from the binary and source distributions, We have an additional ZIP file that contains other required JAR files to install and run WSS4J.

Re: MTOM error "java.lang.OutOfMemoryError: Java heap space"

2007-05-31 Thread Tammy Dugan
I submitted bug Axis2-2743. Here is an excerpt from the JIRA: When I try to return 270 MB of xml from an axis2 service, I get an OutOfMemory error. I wrote my own CustomDataSource and the error occurs in the following serialize method: public void serialize(XMLStreamWriter xmlWriter) throws XM

Retrieving caller's port number from current message context

2007-05-31 Thread Gul Onural
I know how to retrieve caller's IP Address from the message context in Axis2 (via property keyed by MessageContext.REMOTE_ADDR). Is there a similar way of retrieving caller's port number from the current message context ?

Re: Retrieving caller's port number from current message context

2007-05-31 Thread Davanum Srinivas
Nope. AFAIK. Is it available in a typical servlet? thanks, dims On 5/31/07, Gul Onural <[EMAIL PROTECTED]> wrote: I know how to retrieve caller's IP Address from the message context in Axis2 (via property keyed by MessageContext.REMOTE_ADDR). Is there a similar way of retrieving caller's port

RE: Retrieving caller's port number from current message context

2007-05-31 Thread Gul Onural
A standard HTTP request has the port number and IPAddress. Would it be possible for Axis2 to retrieve the port number and stick it into the message context ? Gul -Original Message- From: Davanum Srinivas [mailto:[EMAIL PROTECTED] Sent: Thursday, May 31, 2007 2:18 PM To: axis-user@ws.ap

Re: Retrieving caller's port number from current message context

2007-05-31 Thread Davanum Srinivas
Gul, we call the HttpServletRequest's getRemoteAddr and stick it into REMOTE_ADDRESS. if you can log a jira with some code to get the port from HttpServletRequest's. we'd certainly entertain a enhancement request. thanks, dims On 5/31/07, Gul Onural <[EMAIL PROTECTED]> wrote: A standard HTTP

RE: Retrieving caller's port number from current message context

2007-05-31 Thread Gul Onural
HttpServletRequest's getRequestURL method returns client's URL which has protocol, server name, port number, and server path. You can use that method to add a PORT property to Axis2 current message context. Also another property SESSION_ID can be put into the Axis2's current message context by c

Re: [Axis2] v1.2 - getResourceAsStream error??

2007-05-31 Thread Jeff Greif
I think the path to the resource should begin with "/" -- "/config/dir...". Jeff On 5/29/07, Javier V <[EMAIL PROTECTED]> wrote: Hi. I'm using JDK 1.5.0_11, and Tomcat 5.5.23. I was using Axis2 1.0 and when I wanted to load a resource at my service implementation class I was doing with: I

RE: Retrieving caller's port number from current message context

2007-05-31 Thread Raghu Upadhyayula
Instead of parsing the port number from the getRequestURL, the HttpServletRequest method has a getServerPort() method which returns the port number. Thanks Raghu -Original Message- From: Gul Onural [mailto:[EMAIL PROTECTED] Sent: Thursday, May 31, 2007 12:13 PM To: [EMAIL PROTECTED] Cc:

RE: Retrieving caller's port number from current message context

2007-05-31 Thread Gul Onural
The port returned by getRequestURL is the client's port that is used to make the request and this is what I am interested in. The port returned by the getServerPort() is the port number on which this request was received (not the port request was sent from). Gul -Original Message- Fro

Re: Retrieving caller's port number from current message context

2007-05-31 Thread Alex Dickinson
Wasn't Gul's original query regarding getting the TCP port that the client is connecting with? Won't getServerPort() return the port that the application server accepted the connection on? In the Servlet 2.4 spec, getRemotePort() is available on ServetRequest, but trying it with Tomcat 5.5.20 and

Keystore for Axis2 Service

2007-05-31 Thread sridhar vudutha
Hello, I'm having trouble taking out the KeyStore file from the Axis2 war file. As long as it is in the Axis2.war/WEB-INF/classes directory, everything works fine. I'm using JBoss 4.0.5 and would like to put KeyStore file outside the Axis2.war file. I tried putting it in Jboss/server/default/li

JavaBean Properties Order Sequence

2007-05-31 Thread Chen Zhang
Hello, I am using Axis2 1.2 and my ws endpoint is a pojo class. The return type is a java bean. No matter in what order I define the properties in the java bean, Axis always sorts the property names in alphabetical order and render them in that order in xml. Eg. my bean is defined as: pub

Re: How to disable generation of http binding(s) in the WSDL ?

2007-05-31 Thread keith chapman
Adding a bit to your question. Should the user be given the liberty to dissable SOAP 1.1 and SOAP 1.2 for his service? (Assuming he wants to use the HTTPBinding only). Thanks, Keith. On 5/31/07, Angel Todorov <[EMAIL PROTECTED]> wrote: Hi , Thanks. In fact, it should also be possible for a us

Re: Axis2 client stub thread safety question

2007-05-31 Thread Deepal Jayasinghe
Hi Saju , Axis2 client side is not thread safe , but if you create multiple stubs then I hope it will be thread safe (if you use only one stub and try to access that in different threads then that will not work). I have not tested that , but if you can please try and see. Thanks Deepal > Hello, >

Re: JavaBean Properties Order Sequence

2007-05-31 Thread Deepal Jayasinghe
Hi Chen , There is no way to change that , and if you are going to do so you will have issues as well. According to my experience Annogen behave differently in different JVM and JDK , to overcome that I had to short the bean property order. In the meantime we generate the correct XML schema as we

Parsing WSDL

2007-05-31 Thread Demetris G
Hi all, are there any examples anywhere on how to use the org.apache.axis.wsdl.gen.Parser ? Thanks - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]