Re: [axis2 - v1.0] [please help!] dual blocking client

2006-06-22 Thread Ali Sadik Kumlali
Hi Diego, In insertMappingAnnotations() you set the action two times and the latter one seems like a copy-paste-and-forget issue: ... _operationClient.getOptions().setAction("insertMappingAnnotations"); ... _operationClient.getOptions().setAction("urn:echo"); Might that be the p

Re: [Axis2] Missing jar file?

2006-06-22 Thread Ajith Ranabahu
Hi, What is the Axis2 version we are talking about here ? BTW OMPolicyReader is in the Neethi.**.jar AFAIR. Ajith On 6/22/06, Ron Turner <[EMAIL PROTECTED]> wrote: Thanks, Kinichiro. In axiom-api-1.0.jar I can see org.apache.axiom.om.OMContainer but the version of OMPolicyReader I have is lo

RE: [AXIS2] WS-Addressing HTTP-SMTP problem!

2006-06-22 Thread Dharmendra Dubey
Hi Deepal Have you made any changes in the WS-Addressing module. Can we have example for the same. Thanks Dharmendra -Original Message- From: Deepal Jayasinghe [mailto:[EMAIL PROTECTED] Sent: Wednesday, June 21, 2006 9:45 PM To: axis-user@ws.apache.org Subject: Re: [AXIS2] WS-Addressing

Re: [Axis2] accessing files within .aar

2006-06-22 Thread Deepal Jayasinghe
Hi Andrew; http://www.wso2.net/kb/98 Andrew B wrote: > Hi, > > I need to access files (property files and such) within the .aar, in a > deployed Axis2 service. (in a subdirectory of the .aar file root). > > I have tried this so far: > > String path = incomingContext.getConfigurationContext().get

How can I pass attachment file name

2006-06-22 Thread Qinjian Jian
All, I am using Axis1.4. When doing attachment, I found it seems no elegant way to pass the file name attached. Below is my source code fragment: String sourceDir = "C:\\temp\\example.doc"; //Get the file from the filesystem FileDataSource fileDS = new File

[axis2 - v1.0] [please help!] dual blocking client

2006-06-22 Thread Diego
Hi Everybody, I really need to get this code working. I've posted 5 times regarding this subject and had no reply at all. I would like to know if someone knows how I could modify the code generated by the wsdl2java in order to have a blocking dual client behaviour. The code and the excepti

Re: Could I get the client IP address in service or Handler class ?

2006-06-22 Thread 蘇 軼(CEC)
hi XingShan and Davanum, Thank you very much for your help ! Now I can get the client IP, thanks again ! Regards, - sukie - Original Message - From: "蘇 軼(CEC)" <[EMAIL PROTECTED]> To: Sent: Thursday, June 22, 2006 11:24 AM Subject: Could I get the client IP address in service or Handl

[Axis2] Why does generated code have an interface referring to an inner class of its own subclass

2006-06-22 Thread Derek
Hi, folks: While perusing the code generated by WSDL2Java (using the XMLBeans constructor), I noticed that the skeleton interface for one of my services was as follows. It seems very strange to me that the method throws an exception of a type which is defined within an inner class of its subclass.

NullPointerException in MessageContext.setEnvelope(MessageContext.java:681)

2006-06-22 Thread ip vp
Hi all, I am trying to call a comercial partner webservice thats return a string and do not need input parameters. Based on User guide ( Client for echoVoid Operation) I am doing the followig: - generating java code based on wsdl, using ecplise plugin. - did a very simple client whit

Axis2 with https WS

2006-06-22 Thread Vineet_Vashisht
Hello all,         I get a strange error while trying to use axis2.0 (using JDK1.4.2) to access a webservice that has an 'https' url. I have set the keystore etc. related system properties and get this when I run the client. I did see just one mail on this error and it turns out that the user had

[Axis2] accessing files within .aar

2006-06-22 Thread Andrew B
Hi,I need to access files (property files and such) within the .aar, in a deployed Axis2 service. (in a subdirectory of the .aar file root).I have tried this so far:String path = incomingContext.getConfigurationContext().getRealPath( ... ).getAbsolutePath();but it gives an erronous path back. Any i

RE: passing objects of subtypes

2006-06-22 Thread Martin Gainty
Joshua- AXIS has supported all WSDL Datatypes simple or complex from the projects's inception note message references XSD schema datatype TradePriceRequest TradePriceRequest contains ComplexType element element TickerSymbol which contains 1 element of type xsd:string But you can construct Com

Re: [Axis2] sending large file problem

2006-06-22 Thread Davanum Srinivas
you need to bump up the timeout. For which you need to use latest nightly builds. thanks, dims On 6/22/06, Wan Kaveevivitchai <[EMAIL PROTECTED]> wrote: Dear All Axis2 users I am working on Axis2 1.0 version. I am now trying to send large attachment file the size is about 10 MB. Bu

Re: [Axis2][1.0] Status of JMS URL syntax proposal

2006-06-22 Thread Davanum Srinivas
Ali, Yep. It was posted from Axis1. Only way to know is try some stuff out :) Unfortunately the guy who did the port (me!) does not know much about JMS :) thanks, -- dims On 6/22/06, Ali Sadik Kumlali <[EMAIL PROTECTED]> wrote: Hi all, Does anyone know whether JMS URL syntax proposal(http://

Re: Java.net.SocketException: Connection Reset

2006-06-22 Thread Davanum Srinivas
please try tweaking the jvm parameters for jrockit. Try the examples in the following sites [1] [1] http://www.google.com/search?hl=en&lr=&safe=off&q=specjappserver+jrockit+site%3Aspec.org&btnG=Search On 6/22/06, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: Hi All, I'm not sure if this qu

ServiceContext javadoc concern

2006-06-22 Thread D P
Hello all: I'm sure this has been asked before, but i searched the archives on among other terms"ServiceContext" and "clearly defined" but could n't find anything. The javadocs for the ServiceContext class in Axis2 1.0 include a comment: "Well this is never clearly defined, what it does or the lif

RE: passing objects of subtypes

2006-06-22 Thread James Clinton
Title: Message It is possible in Axis2 (not tried it myself)   google 'axis2 inheritance' -Original Message-From: Joshua Fox [mailto:[EMAIL PROTECTED] Sent: 22 June 2006 15:05To: axis-user@ws.apache.orgSubject: passing objects of subtypes My WSDL has type information,

Re: Could I get the client IP address in service or Handler class ?

2006-06-22 Thread Davanum Srinivas
http://wiki.apache.org/ws/FrontPage/Axis/ClientIP On 6/22/06, Peter Feng <[EMAIL PROTECTED]> wrote: Perhaps you can check the Soap Envelope headers or Set Soap Headers with this in your client code. On the client side to set them if they don't exist in your soap envelope already... with automat

RE: Could I get the client IP address in service or Handler class ?

2006-06-22 Thread Xingshan He
Try this: MessageContext messageContext = MessageContext.getCurrentContext(); String ipAddress = MessageContext.getStrProp(org.apache.axis.Constants.MC_REMOTE_ADDR); -Original Message- From: Peter Feng [mailto:[EMAIL PROTECTED] Sent: Thursday, June 22, 2006 10:58 AM To: axis-user@ws.

Re: Could I get the client IP address in service or Handler class ?

2006-06-22 Thread Peter Feng
Perhaps you can check the Soap Envelope headers or Set Soap Headers with this in your client code. On the client side to set them if they don't exist in your soap envelope already... with automatically generated stubs: ServiceWS port = service.getServiceWS(); org.apache.axi

[Axis2] Handler problem

2006-06-22 Thread Michele Mazzucco
Hi all, I have an handler that manipulates the message header (and eventually redirects the request to another node). On the second node I have another handler that updates the message context. The problem is that while the target endpoint is correct, the message doesn't hit the target service. W

Re: [Axis2] Missing jar file?

2006-06-22 Thread Ron Turner
Thanks, Kinichiro. In axiom-api-1.0.jar I can see org.apache.axiom.om.OMContainer but the version of OMPolicyReader I have is looking for org.apache.ws.commons.om.OMContainer when it's instantiated. Just for curiosity's sake, where in your Axis2 distribution is OMPolicyReader located? Best

Re: [Axis2]getting username and password

2006-06-22 Thread Davanum Srinivas
AND See my URL for how to parse the info back into strings :) -- dims On 6/22/06, Keith Hatton <[EMAIL PROTECTED]> wrote: This is Basic HTTP authentication, it's base 64 encoded - see for example section 11.1 of http://www.w3.org/Protocols/HTTP/1.0/draft-ietf-http-spec.html HTH Keith -

Re: [axis2] Anyone know tricks on NoClassDefFoundError --> commons/logging/LogFactory ?

2006-06-22 Thread robert lazarski
I tried that at first with commons-logging 1.0.4 and it didn't work, so I asked around. I tried the same thing: debug --> classpath --> add external jars and put in commons-logging 1.1 and it worked. One helluva problem. I'll try and open a jira soon - brazil is playing in the world cup today and

Re: [Axis2] Missing jar file?

2006-06-22 Thread Kinichiro Inoguchi
Hi, It's axiom-api-1.0.jar. But org.apache.axiom.om.OMContainer seems right. package is slightly different. Regrds, kinichiro __ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com

Re: [Axis2] Missing jar file?

2006-06-22 Thread Kinichiro Inoguchi
Hi, It's axiom-api-1.0.jar. __ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com - To unsubscribe, e-mail: [EMAIL PROTECTED] For

[Axis2] Missing jar file?

2006-06-22 Thread Ron Turner
Hi, In what jar file would I find the class org.apache.ws.commons.om.OMContainer ? I'm attempting to embed Axis2 in a server and am finding that the initialization of the AxisServlet is failing at the time the OMPolicyReader is instantiated because OMContainer cannot be found. Any help would

RE: [Axis2]getting username and password

2006-06-22 Thread Keith Hatton
Title: Message This is Basic HTTP authentication, it's base 64 encoded - see for example section 11.1 of http://www.w3.org/Protocols/HTTP/1.0/draft-ietf-http-spec.html   HTH Keith     -Original Message-From: Andrew B [mailto:[EMAIL PROTECTED] Sent: 22 June 2006 16:00To: axi

Re: An Error by Run the StubClient.java in Eclipse

2006-06-22 Thread Nicolas Guaneme
Hi muthana, you must be sure that the tomcat server is runing and the url it's ok. Try the ulr in your browser for view the wsdl descrption. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PR

[AXIS 1.4]Problem in getting list of services in axis

2006-06-22 Thread Kashif Saleem
Hi All, I just installed axis-1_4 axis on apache-tomcat-5.5.17 and now when I am trying to access the list of services by accessing the following link : http://localhost:8080/axis/servlet/AxisServlet then instead of getting the list of services,I am getting the blank page saying A

Re: [Axis2]getting username and password

2006-06-22 Thread Andrew B
Davanum,I set the username and password on the SOAPBindingStub on the client side (with Axis 1) like this:clientStub.setUsername( );I thought this was HTTP Basic authentication. But, when I do the following, per your suggestion:        HttpServletRequest request = (HttpServletRequest)incomingC

Re: [Axis2] NullPointerException in OutInAxisOperation

2006-06-22 Thread Michele Mazzucco
Deepal, I've investigated in more detail what happens: 1 - separatate client: a - options ANON_ROBUST_OUT_ONLY_OP + mepClient.execute(false): the message is not received b - options ANON_ROBUST_OUT_ONLY_OP + mepClient.execute(true): the message is received, but on the client side I get an AxisF

[AXIS 1.4] soapenc:array

2006-06-22 Thread Charles Souillard
Hi all, I am using Axis for 3 years and I am falling down a very specific case. I am trying to call a WS having a particular complexType as an output part type : wsdl:arrayType="tns:GeocoderResult[]"/> When I

RE: something is wrong with my deployment or Axis ?

2006-06-22 Thread maxim
Thank you, Anne, I will try to fix it  with CapeClear. --Maxim From: Anne Thomas Manes [mailto:[EMAIL PROTECTED] Sent: Wednesday, June 21, 2006 4:05 PMTo: axis-user@ws.apache.orgSubject: Re: something is wrong with my deployment or Axis ? Also, the namespace attribute can ca

passing objects of subtypes

2006-06-22 Thread Joshua Fox
My WSDL has type information, but to handle subtype objects (document-literal), I need runtime type information in the serialization of objects. .NET has the possibility of adding this; is it possible in Axis? For example, I want to return an object of a subtype of the declared return type.E.

[Axis2][1.0] Status of JMS URL syntax proposal

2006-06-22 Thread Ali Sadik Kumlali
Hi all, Does anyone know whether JMS URL syntax proposal(http://marc.theaimsgroup.com/?l=axis-dev&m=103617964921940&q=p3) is well supported by Axis2? If yes, is that proposal up-to-date and does Axis2 supports all the properties listed in? Thanks. Ali Sadik Kumlali P.S: I do know that the pr

Re: Strange SOAP Reply...

2006-06-22 Thread Kinichiro Inoguchi
Hi, I'm not sure but maybe it's called "byte order mark" (BOM). __ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com - To unsub

Re: Is SOAP appropriate for large data transmission

2006-06-22 Thread Rodrigo Ruiz
Hi Betsy, German, When you say FTP is faster than HTTP do you mean in equality conditions, or do you mean "a native FTP server is faster than a Java HTTP server"? AFAIK, both protocols introduce a little overhead for the connection establishment, and after that, just the raw data is sent over

send soap:headers with wsdl2java generated code

2006-06-22 Thread Magnus Bergman
Hi, I can see that this has been discussed earlier on this list but yet I have not found an answer. Using Axis 1.4. I'm trying to call a service which is expecting custom soap:headers. I'm generating code with wsdl2java from the attached wsdl. If I use the -a option with wsdl2java I get the

Re: Axis2 dynamic undeployment

2006-06-22 Thread Anamitra . Bhattacharyya
Hi Deepal I will try the nightly build and let you know - do I need to set the hotupdate to true for this [dont think so] - pls let me know. thanks Anamitra Deepal Jayasinghe

RE: Dynamic Proxy

2006-06-22 Thread Ted Jones
Thanks for the reply Martin.   I am trying to avoid generating stubs (not an option for me). I want to execute dynamically at runtime for a given wsdl. Is this possible with Axis2? I know you can do it with Systinet.   Thanks, Ted From: Martin Gainty [mailto:[EMAIL PROTECTED] Sent: Wednesda

Strange SOAP Reply...

2006-06-22 Thread mo
Hello list,I've developed my first axis-based service, which methods give back complex types. It works fine until  i call a method, which gives back an array of a complex type. The data is correct, but the response contains a number before and after the soapmessage. This causes parser errors on the

RE: Is SOAP appropriate for large data transmission

2006-06-22 Thread Betsy Frey
Hi German, I have not tried sending attachments with Axis2. Betsy -Original Message- From: German Sakaryan [mailto:[EMAIL PROTECTED] Sent: Thursday, June 22, 2006 4:43 AM To: axis-user@ws.apache.org Subject: Re: Is SOAP appropriate for large data transmission Hi,Betsey have tried to s

Re: Is SOAP appropriate for large data transmission

2006-06-22 Thread German Sakaryan
Hi,Betsey have tried to send large files with axis2 ? I get fast always broken pipe exception. German Sakaryan Betsy Frey schrieb: SOAP without an attachment is inappropriate for sending large amounts of binary data, because the XML requires it to be converted to Base64, which is inefficient.

RE: Is SOAP appropriate for large data transmission

2006-06-22 Thread Betsy Frey
SOAP without an attachment is inappropriate for sending large amounts of binary data, because the XML requires it to be converted to Base64, which is inefficient. With an attachment, SOAP over http has the overhead of the protocol, which is not as fast as ftp, for instance. I have used DIME at

[Axis2] Handler question

2006-06-22 Thread Michele Mazzucco
Hi all, I've got an handler intercepting messages. This handler sometimes has to submit an IN-OUT request to a web service (before allowing the message to pass through). The problem seems to be that the response is not received (the result message contains a file, MTOM "encoding"). Any help would

[axis2 - v1.0] [please help] blocking dual client

2006-06-22 Thread Diego
Hi Everybody, I would like to modify the code generated by wsdl2java in order to have a dual blocking client because the web service operation that I'm calling is particularly time consuming. I had a look at the EchoBlockingDualClient.java example and have come up with the following code. B

Re: Redirect SOAP Message using Handler?

2006-06-22 Thread Riadh BEN HALIMA
Thank you very much Deepal, but coud you please, tell me how to do? --- Riadh - Original Message - From: "Deepal Jayasinghe" <[EMAIL PROTECTED]> To: Sent: Thursday, June 22, 2006 1:28 PM Subject: Re: Redirect SOAP Message using Handler? With Axis2 you can

RE: A concrete axis + ssl client example.

2006-06-22 Thread subir.sasikumar
-ip vp   Can you check the following links...The code is not that complex. The configuration is a little confusing (or complex). Please read the following links so that it helps you.   [1] http://www.pankaj-k.net/WSOverSSL/WSOverSSL-HOWTO.html [2] http://blogs.missiondata.com/?p@ [

Encoding Issues With My AXIS Web Service

2006-06-22 Thread Lee Theobald
Hi all, I need to write a web service that works with a 3rd party tool I am using. All I have is a WSDL file describing what the 3rd party tool expects the web service to contain. I used Eclipse & AXIS to create a web service from this WSDL. Everything is working fine when I enter URL's manually.

Re: Redirect SOAP Message using Handler?

2006-06-22 Thread Deepal Jayasinghe
With Axis2 you can That is what actually happening in Synapse Riadh BEN HALIMA wrote: > Hello, > Can I redirect SOAP Message form Server1 to Server2 using Handler? > Could you please, help me to answer this question? > Thanks in advance. > --- > Riadh >

Java.net.SocketException: Connection Reset

2006-06-22 Thread Ravi_Srirangam
Title: Java.net.SocketException: Connection Reset Hi All, I'm not sure if this question has been posted before. There is an "java.net.SocketException: Connection Reset" when tried to call a web service. I googled for the solution and found that disabling the -server option on the JVM would

Re: WSDL file generation

2006-06-22 Thread Jim Bender
Deepal, The main problem is that when I run Java2WSDL on the interface that has an import of a class with variables and use that as the argument to the method, the generated WSDL is rejected by WSDL2Java, unless I edit the file and remove the duplicate complex type definition. After that, I am am

Redirect SOAP Message using Handler?

2006-06-22 Thread Riadh BEN HALIMA
Hello, Can I redirect SOAP Message form Server1 to Server2 using Handler? Could you please, help me to answer this question? Thanks in advance. --- Riadh - To unsubscribe, e-mail: [EMAIL PROTECTED] F

Re: [Axis2] NullPointerException in OutInAxisOperation

2006-06-22 Thread Michele Mazzucco
Yes, it does since the message is delivered to the target service (which is running on another tomcat server). Michele Deepal Jayasinghe wrote: > can u pls check whether > > BootstrapHelper.register(factory, omNs); > > work alone ? I mean as a client > > > > Michele Mazzucco wrote: > >> Hi

Is SOAP appropriate for large data transmission

2006-06-22 Thread Rodrigo Ruiz
Hi all, I usually read in this forum that web services and SOAP are not appropriate for large data transmission, but I have never read about any good technical reasons behind these sentences. Most of the issues I have seen in this matter are related to the SOAP stack implementation, rather t

Re: [Axis2] NullPointerException in OutInAxisOperation

2006-06-22 Thread Deepal Jayasinghe
can u pls check whether BootstrapHelper.register(factory, omNs); work alone ? I mean as a client Michele Mazzucco wrote: >Hi Deepal, > >I don't know how can this happen. >My handler extends AbstractDispatcher and replaces >RequestURIBasedDispatcher and it's globally engaged. Please find >atta

Re: [Axis2]getting username and password

2006-06-22 Thread Davanum Srinivas
Andrew, Are u talking about HTTP Basic authentication? You can access the HttpServletRequest as follows: HttpServletRequest request = (HttpServletRequest) msgContext.getProperty(Constants.HTTP_SERVLET_REQUEST) Then use: String auth = (String) request.getHeader(HTTPConstants.HEADER_AUTHORIZATION

Re: [Axis2] NullPointerException in OutInAxisOperation

2006-06-22 Thread Michele Mazzucco
Hi Deepal, I don't know how can this happen. My handler extends AbstractDispatcher and replaces RequestURIBasedDispatcher and it's globally engaged. Please find attached axis2.xml and module.xml. In the default public constructor I have: public NodeDispatcher() { this.fac

Re: [Axis2] Does anyone have the working example of sending large file?

2006-06-22 Thread heikki
Hi,at the company where I worked before, we used the following pattern to do this :- client prepares large file and puts in on its filesystem in a place accessible by FTP- client sends SOAP message informing the web service about the file, and about how to access it through FTP - a server-side JAX-

[Axis2] Does anyone have the working example of sending large file?

2006-06-22 Thread Wan Kaveevivitchai
Dear All We have tried so many way to configure how to send the large file via the webservice. Unfortunately we still got the same error about broken pipe and problem with outputstream. Eventhough we also configure the axis2.xml file for SO_TIMEOUT and CONNECTION_TIMEOUT. But the resul

Web Service Error

2006-06-22 Thread Vikram Sitaram
Hi,   I am trying to call a Web Service from a Message Listener (from within it's onMessage() method) class. The Message Listener (the class is attached with this mail) keeps listening to a queue and once a JMS message is received in the queue, it gets the JMS message and extracts the SOAP

Re: https <---> web service

2006-06-22 Thread Shuaibin Wang
Hi thanks a lot Ben ! I will try your tip right way.   BR.   shuaibin   - Original Message - From: Ben Ethridge To: axis-user@ws.apache.org Sent: Wednesday, June 21, 2006 7:17 PM Subject: RE: https <---> web service This is quite involved, and was a

Re: [Axis2]getting username and password

2006-06-22 Thread Ruchith Fernando
Hi, If you want to use WS-Security UsernameToken via Rampart module this [1] explains how to do it. Thanks, Ruchith [1] http://www.wso2.net/kb/169 On 6/22/06, Andrew B <[EMAIL PROTECTED]> wrote: Hi, Does anyone know how to get the username and password that were set on the client stub, in th