[Axis2] How get IP address of client

2006-06-03 Thread Roman Weidlich
Where is the (remote) IP address of the service invoker located? ConfigurationContext ? - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

org.apache.axis2.AxisFault: Module not found

2006-06-03 Thread nancy
Hi, I have found following to set read time out: options.setProperty(HTTPConstants.SO_TIMEOUT,timeOut); options.setProperty(HTTPConstants.CONNECTION_TIMEOUT,timeOut); But As I have studied the there is one nonBlockingDualClient option in axis2, but I am facing one problem is that

Re: [Axis2] How get IP address of client

2006-06-03 Thread Andreas Hörnicke
Hi Roman, msgContext.getProperty(MessageContext.REMOTE_ADDR) should be sufficent. -- Andreas am Samstag, 3. Juni 2006 schrieb Roman Weidlich: RW Where is the (remote) IP address of the service invoker located? RW ConfigurationContext ? RW

AXIS1x bug: 2+ operations with same input/output

2006-06-03 Thread Julio César Pérez Arques
Hello boyz. I am developing a axis ws that has 2 operations with same input/output. I use axis 1.4 and wsdl2java. But always 1st operation is executed, never the 2nd one. I have read in axis mailing lists it is a bug. Is this correct? I always have read a possible solution in by a user. It

Re: SOAP Literal style and nillable fields

2006-06-03 Thread Martin Gainty
Good Morning Dan- One must havesome semblance of aschema a way to define (in other words what your sending and what you expect to receive) to generate the Java Classes So I am puzzled why does this process sound stupid?Martin- This email message and any files transmitted with it contain

Re: org.apache.axis2.AxisFault: Module not found

2006-06-03 Thread Martin Gainty
If you are using Axis2 you can update axis2.xml property transportSender name="http" class="org.apache.axis2.transport.http. CommonsHTTPTransportSender" parameter name="PROTOCOL" locked="false"HTTP/1.1/parameter parameter name="Transfer-Encoding" locked="false"chunked/parameter

Re: Tomcat5.5+Axis

2006-06-03 Thread Martin Gainty
Good Morning Sidney- Did you define the service in server-config.wsdd and did you deploy the configured service to AxisServlet ??? Then did you do a List of the services? Martin -- This email message and any files transmitted with it contain confidential information intended only for the

how to set timeout with httpclient ?

2006-06-03 Thread remi flament
Hi, I'm trying to set a global timeout with HTTPClient using the CommonsHTTPSender class. I do this with this code : AxisProperties.setProperty(DefaultCommonsHTTPClientProperties.CONNECTION_DEFAULT_CONNECTION_TIMEOUT_KEY, timeout);

Re: [Axis2] How get IP address of client

2006-06-03 Thread Roman Weidlich
And how retrieve the MessageContext msgContext? Andreas Hörnicke wrote: Hi Roman, msgContext.getProperty(MessageContext.REMOTE_ADDR) should be sufficent. -- Andreas am Samstag, 3. Juni 2006 schrieb Roman Weidlich: RW Where is the (remote) IP address of the service invoker located? RW

Re: Problems with Axis2

2006-06-03 Thread aliban
Yes, I don't get any log4j errors anymore. However the eclipse wizard plug-in keeps on not working with the following error message (except the log4j thing it's the same problem as in my starting post on this topic): Unhandled event loop exception Reason: java.lang.NullPointerException I guess

Re[2]: [Axis2] How get IP address of client

2006-06-03 Thread Andreas Hörnicke
Depends on where you need it but most likely you want to access it in your impl class so that a look at [1]. [1] http://www.wso2.net/2006/05/how_do_i_make_message_contexts_available_to_my_service_impl_class -- Andreas am Samstag, 3. Juni 2006 schrieb Roman Weidlich: RW And how retrieve the

header problem

2006-06-03 Thread DO
Hello, I am trying to test a service with the header. I auto generated stubs and every time I invoke the service it returns the following message: org.apache.axis2.AxisFault: SOAPEnvelope must contain a body element which is either first or second child element of the SOAPEnvelope. The service

Re: [Axis2] pls help about sending XML file -- enclosing in the SOAP message vs. attachment?

2006-06-03 Thread Eran Chinthaka
Jenny ZHANG wrote: Hey all, I wonder if I could enclose the policy file (in the format of XML) in the SOAP message, or have to treat it as an attachment ? if the former is possible, then which way is better considering I have to do some operations with the client side's policy

elaboration needed on modules

2006-06-03 Thread DO
Hi there; I need help understand this. I modified the sample logging module and built a custom mar file (logging2.mar). May be it is a figment of my imagination or a lack of common sense but the module was not found until I changed module ref=logging to module ref=logging2 in the config file. My

Re: WSDL Weirdness - Can you explain?

2006-06-03 Thread Cleve OpenSource
Thanks Deepal that worked. I can see the wsdl. However, when i access the endpoint directly, by dropping the ?wsdl I get Requested Object Not Found. I can still hit the endpoint from any web service client, its just that from within the console, i cannot hit it directly. This is no big

Re: AW: Axis arrays and .NET problem

2006-06-03 Thread Stanley Stanev
I am pretty sure all my namespaces are correct, you are right that the array items are part of the SOAP response, but .NET client does not handle them correctly What I am finding is that the part of the SOAP response looks something like this: ... tickets item xmlns=.../item item

how to send xml string in soap evelope header

2006-06-03 Thread shantanu chawla
I am trying to develop a client that will consume a webservice developed in .NET One requirement of the webservice is that it needs a header value which is an xml string like this HeaderName HeaderValuevalue/HeaderValue /HeaderName In my axis client when I tried to setup the header as

AxisHTTPSessionListener

2006-06-03 Thread Rolf Ernst
Noobie alert: I am trying to install Axis 1.4 under Tomcat 5.0 under USS. Tomcat installs and operates fine. However, Axis refuses to initialize with the error messages below (and more), complaining about a AxisHTTPSessionListener listener class. I googled the code (no idea which libraries I

Re: AxisHTTPSessionListener

2006-06-03 Thread Martin Gainty
Include Servlet.jar on your CLASSPATHViel GluckMartin -- This email message and any files transmitted with it contain confidentialinformation intended only for the person(s) to whom this email message isaddressed. If you have received this email message in error, please notifythe sender

Re: [Axis2 1.0][Sandesha2] Problem connecting server RMSampleService

2006-06-03 Thread Chamikara Jayalath
Hi Elodie, Have you configured the tcp monitor correctly. You should start tomcat in the port 8080 and have a mapping in tcp monitor from port 8070 to 8080. Add the following additional line to the client code to send the request through the ctp monitor.

Re: [Axis2 1.0][Sandesha2] Problem connecting server RMSampleService

2006-06-03 Thread Chamikara Jayalath
Please see my response in the sandesha-dev list. Chamikara On 6/2/06, Charles Souillard [EMAIL PROTECTED] wrote: Hi all,I am trying to use the same example.I am encoutering the same problem. I have also caught the http requestinside tcpmon.You can find it hereafter :POST

Re: [axis2][ADB] parsingcomplexTypeall as ordered children

2006-06-03 Thread Davanum Srinivas
Already fixed. http://issues.apache.org/jira/browse/AXIS2-724 -- dims On 5/31/06, Jeremy Pitten [EMAIL PROTECTED] wrote: Using wsdl2java to generate ADB bindings I've noticed that generated bindings expect to parse complexTypeall child elements in a specific order but not in the order the

Re: Deployment with JDK5 and annotations?

2006-06-03 Thread Davanum Srinivas
Check out Apache Beehive's WSM module. It supports JSR 181 on top of Axis. -- dims On 5/26/06, Larry Meadors [EMAIL PROTECTED] wrote: Are there any examples of doing annotation-based deployment of web services with axis? I can't help but think that if I can generate all of the XML that I need

Re: AxisHTTPSessionListener

2006-06-03 Thread Rolf Ernst
Martin, thanks a lot. Actually, with my Tomcat version it turned out to be 'servlet-api.jar' but adding this got me past this error. /re Martin Gainty wrote: Include Servlet.jar on your CLASSPATH Viel Gluck Martin -- This email message and any files transmitted with it