Re: [Axis 2] : Newbie question on Attachment

2006-09-28 Thread Thilina Gunarathne
Axis 2 supports both MTOM & SwA... Use of MTOM or SwA will depend on what your service supports. MTOM is the better way, but most of the existing SOAP engines do not have support for that. Only the new generation stacks like Axis2 has support for that. . Following is an extract on interoperabili

Re: about Axis2's binary attachment

2006-09-28 Thread scott ken
Usually we will have an InputStream object. But I didn't make it work. I tried using a byte array as input. you can easily convert an InputStream to a byte array. After that, use ByteArrayDataSource.    // Build OMText to hold binary data     byte[] binaryBytes = ...;   

about Axis2's binary attachment

2006-09-28 Thread sam wang
Hi, there, I have a question about transferring binary attachment through Axis2. I want to transfer binary attachment from server side to client side. My question is that if I can attach any kind of binary data? from Axis2's api, I see there are only two datasource: file and image. theoriticall

body size axis 1.1

2006-09-28 Thread raul eduardo plata rico
Title: body size axis 1.1 Hi, I have a web service using axis 1.1 and a client using the same api. >From my client, I am sending through https a signedMessage, the xml body is a xml file (string), the size of this file was pitiful, but now the xml is growing and when is about 800K there is

Re: Axis2 and dotNet interoperateability

2006-09-28 Thread scott ken
Thanks R B.I think my problem is that I didn't engage addressing both at client and server. Now I'm trying fix the problem. I started with Axis2 sample EchoNonBlockingDualClient. I put addressing-1.0.mar in the client classpath. Read archived mails in Axis2 mailinglist, I actually need to copy add

RE: [Axis2]Stub generated from WSDL2Java doesn't generated operation with no input parameter.

2006-09-28 Thread Sharad Baronia
Hi Anne, I know SOAP encoding is not supported by Axis2. It has nothing to do with execution code, but code generation. It generates the whole code. But inside the stub and test code, it is missing the method for operation without input parameter. /Sharad -Original Message

Re: [axis2] Unexpected subelement

2006-09-28 Thread Davanum Srinivas
please log a bug and upload your wsdl and soap response. -- dims On 9/28/06, Jake Goulding <[EMAIL PROTECTED]> wrote: After getting around the NTLM issues I had earlier, I've hit this error: java.lang.RuntimeException: Unexpected subelement Lists at com.vivisimo.connector.sharepoint.Li

Re: Newbie question about Axis2 - Unexpected subelement

2006-09-28 Thread Anne Thomas Manes
One thing that I did notice -- you must remove the namespace attributes from the and descriptions in the binding. The namespace attribute is use ONLY with RPC style services. Anne On 9/28/06, Davanum Srinivas <[EMAIL PROTECTED]> wrote: Please log a JIRA issue and then upload your wsdl. it has

Re: [Axis2]Stub generated from WSDL2Java doesn't generated operation with no input parameter.

2006-09-28 Thread Anne Thomas Manes
Axis2 does not support SOAP Encoding. Anne On 9/28/06, Sharad Baronia <[EMAIL PROTECTED]> wrote: Hi All, Stub generated from WSDL2Java doesn't generated operation with no input parameter. I have attached wsdl file. Is this a bug in WSDL2Java? Thanks, /Sharad __

[axis2] Unexpected subelement

2006-09-28 Thread Jake Goulding
After getting around the NTLM issues I had earlier, I've hit this error: java.lang.RuntimeException: Unexpected subelement Lists at com.vivisimo.connector.sharepoint.ListsStub.fromOM(ListsStub.java:16602) at com.vivisimo.connector.sharepoint.ListsStub.GetListCollection(ListsStub.j

using WSDL 2.0 MEP in axis2

2006-09-28 Thread Yadav, Yogendra \(IT\)
Does Axis2 1.0 support MEPs defined in WSDL2.0 ? Please point me to some examples/tutorials using MEPs introduced in WSDL2.0. thanx -yogen     NOTICE: If received in error, please destroy and notify sender. Sender does not intend to waive confidentiality or privilege. Use of this email is

Re: [axis2] NTLM Authentication available?

2006-09-28 Thread Jake Goulding
Ah, thanks. I seem to now get past the authentication part, on to other errors. :-) Davanum Srinivas wrote: ah. looking at the code again. Please set the host and the domain. The code is in here: http://svn.apache.org/viewvc/webservices/axis2/trunk/java/modules/kernel/src/org/apache/axis2/tran

Re: [axis2] ADB Features - Any info on what's working and what isn't?

2006-09-28 Thread Davanum Srinivas
Dave, Known missing features from w2j codegen-wise: http://issues.apache.org/jira/browse/AXIS2-1092 http://issues.apache.org/jira/browse/AXIS2-983 http://issues.apache.org/jira/browse/AXIS2-1093 We've made good progress w.r.t codegen. Any help from you w.r.t serialization/de-serialization would

Re: [axis2] NTLM Authentication available?

2006-09-28 Thread Davanum Srinivas
ah. looking at the code again. Please set the host and the domain. The code is in here: http://svn.apache.org/viewvc/webservices/axis2/trunk/java/modules/kernel/src/org/apache/axis2/transport/http/AbstractHTTPSender.java -- dims On 9/28/06, Jake Goulding <[EMAIL PROTECTED]> wrote: My code is l

Re: [axis2] NTLM Authentication available?

2006-09-28 Thread Jake Goulding
My code is listed below. I tried without either realm/domain, with both, and with just one of each. I always get the same exception. CODE== ListsStub lists = new ListsStub("http://192.168.0.27:81/_vti_bin/Lists.asmx";); ServiceClient sc = lists._getServiceClient(); HttpTransportProperties.Aut

[axis2] ADB Features - Any info on what's working and what isn't?

2006-09-28 Thread Dave MacLean
Hi there, We have been using Axis2 with xmlbeans for the last little while, but the huge change in generated code structure (from axis 1.1) is causing some users of our consumer code to complain (for instance, "type.Factory.newInstance()" instead of "new type()" - when you consider large applicatio

Re: [axis2] NTLM Authentication available?

2006-09-28 Thread Davanum Srinivas
are u using setDomain or setRealm? On 9/28/06, Jake Goulding <[EMAIL PROTECTED]> wrote: Thanks for the information. I poked a bit at the Nightly, but the NTLMAuthentication object is now gone, replaced with a more generic Authentication class. Trying to use it yields: Sep 28, 2006 2:28:41 PM or

[Axis2]Stub generated from WSDL2Java doesn't generated operation with no input parameter.

2006-09-28 Thread Sharad Baronia
Hi All,      Stub generated from WSDL2Java doesn't generated operation with no input parameter.    I have attached wsdl file.      Is this a bug in WSDL2Java?   Thanks,   /Sharad ___ All outbound Email is

Re: [axis2] NTLM Authentication available?

2006-09-28 Thread Jake Goulding
Thanks for the information. I poked a bit at the Nightly, but the NTLMAuthentication object is now gone, replaced with a more generic Authentication class. Trying to use it yields: Sep 28, 2006 2:28:41 PM org.apache.commons.httpclient.HttpMethodDirector authenticate SEVERE: Credentials cannot

Re: Newbie question about Axis2 - Unexpected subelement

2006-09-28 Thread Davanum Srinivas
Please log a JIRA issue and then upload your wsdl. it has gotten too mangled in the email message. thanks, dims On 9/28/06, Xia Zhao <[EMAIL PROTECTED]> wrote: Hi everyone, I am new to AXIS2 and have a question of correctly invoking the service. I developed an asynchronous web service an

Re: [axis2] NTLM Authentication available?

2006-09-28 Thread robert lazarski
http://www.wso2.net/kb/161 My recommendation is to use the latest nightlies , or you could wait a week or so for the 1.1 release . Robert On 9/28/06, Jake Goulding <[EMAIL PROTECTED]> wrote: I notice that the release notes for version 0.93 state that NTML support was added: http://www.nabble.

Re: [axis2] NTLM Authentication available?

2006-09-28 Thread Davanum Srinivas
It's in current nightly builds. please try that. thanks, dims On 9/28/06, Jake Goulding <[EMAIL PROTECTED]> wrote: I notice that the release notes for version 0.93 state that NTML support was added: http://www.nabble.com/-ANN---Axis2--Axis2-0.93-Released-tf663808.html#a1762495 However, this e

[axis2] NTLM Authentication available?

2006-09-28 Thread Jake Goulding
I notice that the release notes for version 0.93 state that NTML support was added: http://www.nabble.com/-ANN---Axis2--Axis2-0.93-Released-tf663808.html#a1762495 However, this email: http://www.nabble.com/Axis2-authenticating-with-IIS-Active-Directory-tf2146956.html#a5948790 states that the

RE: Problem deploying Sandesha module

2006-09-28 Thread Punnoose, Roshan
Well I kept researching and I think I see a problem… I’m not sure how this compiles:   PolicyInclude.java: public void addPolicyElement(int type, Policy policy): key = (policy.getName() != null) ? policy.getName() : policy.getId();   But neethi-1.0.1 does not have these methods: Polic

[Axis2] What Method can be overridden in-order to release the resource stored in the configuration context, when a service is inactivated

2006-09-28 Thread Sharad Baronia
Hi Axis2 user,      Can anyone tell me, What Method can be overridden in-order to release the resource stored in the configuration context, when a service is inactivated?   Thanks,   /Sharad   ___ All outbo

Problem deploying Sandesha module

2006-09-28 Thread Punnoose, Roshan
Hi,   I seem to have problems loading Sandesha 1.0 with the latest Axis2 nightly. Here is the error I’m getting, something about the Policy: (Any ideas?)   28 Sep 2006 11:59:02,377 [ExecuteThread: '2' for queue: 'weblogic.kernel.System'] ERROR org.apache.axis2.deployment.DeploymentEngin

Newbie question: Access the string body part of a soap message

2006-09-28 Thread Jose Manuel Valladares Pernas
Hello, I am using axis to access some services as a client. I would like to store in a database the soap message that the server sends as a response to my request. What I would like to store is only the body part if possible. But I don't know how to access the raw string of the soap response mess

JAX-RPC handler chain

2006-09-28 Thread Oliver Wulff
Hi all I've implemented my custom handler but noticed that the handler chain is built up each time I make a call on my proxy class. Is there are reason that the handler chain is not re-used for the proxy instance (see HandlerChainImpl.newHandler)? Thanks Oliver *** BITTE BE

RE: [Posible SPAM] Re: [Axis-1.4] Failure on my behalf to deploy a simple wrapped messag e

2006-09-28 Thread Crespillo, Matias
yes just got it fixed adding an appropiate mapping, thanks a lot. -Mensaje original- De: rp johns [mailto:[EMAIL PROTECTED] Enviado el: Jueves, 28 de Septiembre de 2006 12:18 Para: axis-user@ws.apache.org Asunto: [Posible SPAM] Re: [Axis-1.4] Failure on my behalf to deploy a simple wrapped

Re: [Axis-1.4] Failure on my behalf to deploy a simple wrapped messag e

2006-09-28 Thread rp johns
I'm about as far away from an expert as one can get, but but is it possible that you need typeMapping and beanMapping elements? For example: deserializer="org.apache.axis.encoding.ser.ArrayDeserializerFactory" encodingStyle="http://schemas.xmlsoap.org/soap/en

[Axis-1.4] Failure on my behalf to deploy a simple wrapped messag e

2006-09-28 Thread Crespillo, Matias
Hello I have been trying to deploy a simple wrapped service that returns a bean, and so far I have been unsuccesful, i "think" I have done things right however i get the error detailed below when deploying the service, if this is something dumb on my behalf please feel free to reply a RTFM or STFW,

Newbie question about Axis2 - Unexpected subelement

2006-09-28 Thread Xia Zhao
Hi everyone,   I am new to AXIS2 and have a question of correctly invoking the service. I developed an asynchronous web service and built an archive file to be deployed on my local server. There’s no error during deploying. I attached the wsdl file.   The following is the code I try to

Forcing client socket closure

2006-09-28 Thread Ely Alvarado
Hello,I've inherited an application to stresstest a WebService that simulates different client connections from prepackaged requests. Recently the server team introduced client authentication using SSL client certificates. The problem I'm currently having is that I don't know how to force the Socke

Re: Axis2 and dotNet interoperateability

2006-09-28 Thread R B
Hi, I don't know if it can help. What I understood is that you try to access your service by using a SOAP session. As specified it the following document, you have to engage the adressing module on both sides (client and server), and change the scope of your service before engaging it. ( http://ww

Re: [Axis2] Deployment without aar

2006-09-28 Thread Manuel Ernstberger
Hello Davanum, thank you for your tutorial. That might be useful for me. But I still have some questions about that. As I use Eclipse, which has an automatical build function, I think I won't need maven. But in which directory should I put my classes and which classes are needed? Is the implem

[Axis 2] : Newbie question on Attachment

2006-09-28 Thread Ramkumar.Sakthivel
Hi Everyone,   My requirement is, I have to call a web service by sending an attachment. I would like to know which implementation is better (SwA/MTOM)?   Could someone provide an expert advice on this?   I am using Axis2.   Your response is much appreciated.   Thanks in advance,

Re: [Axis 1.4] Arrays Interop with .NET etc

2006-09-28 Thread Anne Thomas Manes
Please file a JIRA. On 9/28/06, Ian Su <[EMAIL PROTECTED]> wrote: Hi, I'm having trouble getting arrays of objects to be sent properly from an Axis 1.4 servlet to a .NET client. In my I have: I then use

Re: [Axis2] java2wsdl generates unknown namespace

2006-09-28 Thread Kinichiro Inoguchi
I logged this to http://issues.apache.org/jira/browse/AXIS2-1252 --- Kinichiro Inoguchi <[EMAIL PROTECTED]> wrote: > Hi Deepal, > > >> and if you want to change the namespace you can do that too , > > I executed j2w with -stn option, see below. > So, I think namespace should be "http://aaa.bbb/

[Axis 1.4] Arrays Interop with .NET etc

2006-09-28 Thread Ian Su
Hi, I'm having trouble getting arrays of objects to be sent properly from an Axis 1.4 servlet to a .NET client. In my I have: I then use WSDL2Java to generate the servlet, and then I tried using it against