Re:

2007-10-31 Thread Paul Fremantle
Feng You should just need to call stub._getServiceClient().getOptions().setUsername("foo"); stub._getServiceClient().getOptions().setPassword("bar"); Paul On 10/31/07, Feng Lu <[EMAIL PROTECTED]> wrote: > > > > I have sent you an email yesterday asking whether AXIS2 support WS-policy > or not,

RE: Serialize/Deserialize

2007-10-31 Thread Sudhir Sharma
Hi, I am also facing the same problem. Can anyone help us out. Any help will be appreciated. Thanks & Best Regards, Sudhir Sharma _ From: ABBUHL Richard NL [mailto:[EMAIL PROTECTED] Sent: Wednesday, October 31, 2007 4:43 PM To: axis-user@ws.apache.org Subject: Serialize/Deseri

Re: Axis2 WSDL2Java error during service skeliton/stub generation

2007-10-31 Thread Anne Thomas Manes
You should define a void like this: If you don't define the type, then the element can contain anything. This definition specifies that the element contains nothing. Anne On 10/31/07, Kiran Sriram <[EMAIL PROTECTED]> wrote: > > Hi Anne, > > this basically for void return type of a method.

Re: Axis2.1.2 MTOM problem with large files

2007-10-31 Thread Thilina Gunarathne
Hi, IIRC there is a limitation in Rampart, where it builds the whole object model (including attachments) for any kind of security processing.. IMHO this is not necessary unless the payload is signed or the elements containing attachments are encrypted. Your option add the moment would be to incr

Re: Axis2.1.2 MTOM problem with large files

2007-10-31 Thread Anthony Bull
Looks like your application server has run out of heap space. I only deal with JBOSS, Tomcat and Glassfish, so can't point to where the memory settings are for your server. With Tomcat, the startup scripts pass in the heap space options as parameters to the Java command that starts up the ser

Re: Spring inside an AAR (Without a ServletContext)

2007-10-31 Thread Anthony Bull
That looks like it is finding a spring jar in your axis2/WEB-INF/lib folder - make sure spring*.jar isn't in there also. I have several successful projects running with Spring inside the AAR, without needing common libraries in the axis2/WEB-INF/lib area - so it is achievable! You will find t

RE: Axis2 WSDL2Java error during service skeliton/stub generation

2007-10-31 Thread Kiran Sriram
Hi Anne, this basically for void return type of a method. .Net is not having any problem with that. but Axis2 WSDL2Java is not generating client or server side code. Kiran > Date: Tue, 30 Oct 2007 08:28:03 -0400> From: [EMAIL PROTECTED]> To: > axis-user@ws.apache.org> Subject: Re: FW: Axi

Re: Spring inside an AAR (Without a ServletContext)

2007-10-31 Thread robert lazarski
Spring in the aar is an advanced use case, but many people have had success by following the tutorial. Have you made sure that there are no other spring or axis2-spring jars anywhere else in the container, ie, you have removed the axis2-spring* jars in WEB-INF/lib? HTH, Robert On 10/31/07, Sunesh

Spring inside an AAR (Without a ServletContext)

2007-10-31 Thread Sunesh Kumra
Hello, I have been struggling to get my Axis2 service (not deployed in any Servlet Container) to work with Spring. I followed the example in http://ws.apache.org/axis2/1_1/spring.html, but not much luck. Did anyone get that example to work ? I had to place the spring.jar and axis2-jar in the root

complex types

2007-10-31 Thread Paulo Sergio
Hi all, i'm developing a webservice in axis2 and one of the methods needs to send, and receive an object javax.mail.mimemessage, this is a class from the javax.mail package, the problem is that when generating the stubs (i'm using adb) the object mimemessage is handled as OMelement.. is this the n

Re: Axis2.1.2 MTOM problem with large files

2007-10-31 Thread Srihari
Hi, I am using Axis2.1.2 and Rampart1.2 module. onWAS6.1 server and on the server the axis2.xml has the following false false true false true D:/attachments/temp 4000 Here is the stack trace from the client side org.apache.axis2.AxisFault: java.lang.OutOfMemoryError at org.apache.ax

Re: Axis2.1.2 MTOM problem with large files

2007-10-31 Thread Srihari
I am using the Rampart 1.2 module. Thanks Srihari On 10/31/07, Srihari <[EMAIL PROTECTED]> wrote: > > Hi, > > I am using Axis2.1.2 and I am trying to upload 10mb file. I can upload the > file to the server and the server also gets the file in the temporary > directory specified. but before it st

Re: Axis2.1.2 MTOM problem with large files

2007-10-31 Thread Yogesh . Dhake
Hi Can you be more specific with exception stack trace. What kind of logic you implementing? If you are reading file in memory for processing then you may have this issue due to available heap size regard yogesh Srihari <[EMAIL PROTECTED]> 10/31/2007 02:10 PM Please respond to axis-use

Axis2.1.2 MTOM problem with large files

2007-10-31 Thread Srihari
Hi, I am using Axis2.1.2 and I am trying to upload 10mb file. I can upload the file to the server and the server also gets the file in the temporary directory specified. but before it starts my implementation logic the server throws as out of memory error. Do anybody have a similar issue. I am usi

Re: "Pure" dynamic client using DII

2007-10-31 Thread Ernesto Pin
Hi!... I could tie a deserializer via onStartChild and onEndChild methods and reading was successfull, but I can't return my value, it still returns a Document. Does anyone know how to do this? 2007/10/31, Ernesto Pin <[EMAIL PROTECTED]>: > > ¡wow!... it sounds very difficult for my project's cont

Re: [Axis2] How Do I Set mustUnderstand="0"?

2007-10-31 Thread Jon Hanshew
Here is the solution. I had to make changes in the code generated by WSDL2Java. /* Here is the call I make from TestClient.java */ response = stub.GetData(request); /* End of call I make from TestClient.java */ /* Control transfers here in ServiceneStub.java, the

Re: "Pure" dynamic client using DII

2007-10-31 Thread Ernesto Pin
¡wow!... it sounds very difficult for my project's context. The idea is to have (external) web services as information source, and let an administrator add new web services to compose new sources, and we have not much time. I think it would be easier to read server's response (which is correct) by

Re: "Pure" dynamic client using DII

2007-10-31 Thread Jeff Greif
Getting the specifications is not hard, but using them is a significant project. 1. Find wsdl4j via web search and use it to analyze the WSDL. It will also collect the schema types you need for the message elements. (There is also some wsdl-cracking machinery in axis2 which may be better.)

Webservice Muse Security Problem

2007-10-31 Thread POD69
Hello I try to run the ApacheMuse example of the tutorial http://ws.apache.org/muse/docs/2.2.0/tutorial/index.html . The problem is that I deployd it in the OMII tomcat webserver. This server has its own security features (X.509 Certificates and Keystores) http://www.omii.ac.uk/docs/3.4.0/user_

Re: Axis2 Security with Rampart

2007-10-31 Thread Martin Gainty
Hello Andreas- which version Rampart are you using? Thanks/ Martin-- - Original Message - From: "Andreas Fey" <[EMAIL PROTECTED]> To: Sent: Wednesday, October 31, 2007 9:21 AM Subject: Axis2 Security with Rampart > Hi, > > i recently tried to secure our webservices with rampart. I did

Axis2 Security with Rampart

2007-10-31 Thread Andreas Fey
Hi, i recently tried to secure our webservices with rampart. I did this first for all webservice methods, and it worked well (after several hours of unsuccessfull tries...). But now, some of these methods have to be unsecured to enable simple access for guest users. I left everything unchanged e

RE: axis2 1.3 wsa:To header usage

2007-10-31 Thread Erwin Reinhoud
Hello David, Thanks for the reply. It confirms my perception that there is a difference in interpretation. Kind regards, Erwin -Oorspronkelijk bericht- Van: David Illsley [mailto:[EMAIL PROTECTED] Verzonden: maandag 29 oktober 2007 9:58 Aan: axis-user@ws.apache.org Onderwerp: Re: axis2

Re: "Pure" dynamic client using DII

2007-10-31 Thread Ernesto Pin
So, is there any way to easily get both document's specification to store them and use them for later invocation?. I've been surfing a lot and found anything. Any reference would be very helpful, as I'm using this at university's project for a course, where the time is finite :-P . 2007/10/30, Je

RE: axis2 1.3 wsa:To header usage

2007-10-31 Thread Erwin Reinhoud
Hello Amila, Thanks very much this works. Kind regards, Erwin -Oorspronkelijk bericht- Van: Amila Suriarachchi [mailto:[EMAIL PROTECTED] Verzonden: dinsdag 30 oktober 2007 10:40 Aan: axis-user@ws.apache.org Onderwerp: Re: axis2 1.3 wsa:To header usage On 10/25/07, Erwin Reinhoud <

Re: [AXIS2] proxy problems

2007-10-31 Thread Alistair Young
thank you! Alistair -- mov eax,1 mov ebx,0 int 80h On 31 Oct 2007, at 12:30, Antonio Manuel Muñiz Martín wrote: Try this: ProxyProperties proxyProperties = new ProxyProperties(); proxyProperties.setProxyName("192.168.0.10"); proxyProperties.setDomain("

Re: response prefix omitted

2007-10-31 Thread Anne Thomas Manes
Please do. See http://issues.apache.org/jira/browse/AXIS2. Anne On 10/31/07, axelspin <[EMAIL PROTECTED]> wrote: > > > ..should someone submit it then? > > > Anne Thomas Manes wrote: > > > > Smells like a bug... > > > > On 10/30/07, axelspin <[EMAIL PROTECTED]> wrote: > >> > >> > >> and you are r

Re: [AXIS2] proxy problems

2007-10-31 Thread Antonio Manuel Muñiz Martín
Try this: ProxyProperties proxyProperties = new ProxyProperties(); proxyProperties.setProxyName("192.168.0.10"); proxyProperties.setDomain("192.168.0.10"); proxyProperties.setProxyPort(80); stub._getServiceClient().getOptions().setProperty( HTTPConstants.PR

Re: Axis2 RPC calls

2007-10-31 Thread Anne Thomas Manes
I meant the RPCMessageReceiver. I assume you're already using it. Anne On 10/31/07, Simon Steinacker <[EMAIL PROTECTED]> wrote: > Thank you for you help! I now use the unwrap option and I obtain the simple > rpc method calls. > > But what did you mean with '..., and use the RPC provider? Where ca

Serialize/Deserialize

2007-10-31 Thread ABBUHL Richard NL
Axis allows you to serialize an object into XML using a SerializationContext. For example, // serialize the object StringWriter strWriter = new StringWriter(); SerializationContext ctx = new SerializationContext(strWriter, MessageContext.getCurrentContext()); ctx.serialize(new QNam

[AXIS2] proxy problems

2007-10-31 Thread Alistair Young
Can anyone tell me how to get past a proxy when connecting to an HTTPS web service please? The error is: Unable to tunnel through proxy. Proxy returns "HTTP/1.0 403 Forbidden" there's HTTPConstants.PROXY but nothing to set the port thanks, Alistair -- mov eax,1 mov ebx,0 int 80

Re: problems in setting up axis

2007-10-31 Thread naresh g
I am using weblogic8.1 and j2sdk1.4.1_5.I am unable to fix this.I dont know where the problem is.Please help me in fixing this. Thanks in advance. Regards, Naresh On 10/31/07, naresh g <[EMAIL PROTECTED]> wrote: > > *following exception if I try to access axis index page.* > ** > ** > *Compila

Re: Axis2 RPC calls

2007-10-31 Thread Simon Steinacker
Thank you for you help! I now use the unwrap option and I obtain the simple rpc method calls. But what did you mean with '..., and use the RPC provider? Where can I find documentation about that or where can I configure any provider axis2 uses? What is the provider concept? Thanks a lot, Simon

problems in setting up axis

2007-10-31 Thread naresh g
*following exception if I try to access axis index page.* ** ** *Compilation of 'C:\bea\user_projects\domains\baradomain\.\myserver\.wlnotdelete\extract\myserver_axis_axis\jsp_servlet\__index.java' failed:* -- C:\bea\user_projects\domains\baradomain\.\myserver\.wlnotdele

Re: [Axis2] Generic Web Service client

2007-10-31 Thread Evgeniy Vyborov
Thanks for your answer! I know how to invoke such web services using org.apache.commons.httpclient.methods.GetMethod and PostMethod directly. But I'd like to invoke such services using Axis2 API. Charitha Kankanamge <[EMAIL PROTECTED]> wrote: Evgeniy Vyborov wrote: > Hi folks. > > I'm new

Re: response prefix omitted

2007-10-31 Thread axelspin
..should someone submit it then? Anne Thomas Manes wrote: > > Smells like a bug... > > On 10/30/07, axelspin <[EMAIL PROTECTED]> wrote: >> >> >> and you are right!.. I did it `cose I took some inspiration from here >> >> http://thefigtrees.net/DAWG/sparql-wsdl-1.1-note.html#wsdl11 >> >> Sinc