RE: prob, array of base64binary

2007-09-17 Thread mark . nuessler
hello users, its me again, i got the same errors when trying to send a single image. mfg derMark - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

RE: Compiling and Linking WSDL2C

2007-09-17 Thread Callner, David A.
/home/dcallner/axis2c-bin-1.0.0-linux/lib/libmod_axis2.so: undefined reference to `apr_pool_create_ex' /home/dcallner/axis2c-bin-1.0.0-linux/lib/libmod_axis2.so: undefined reference to `ap_hook_handler' /home/dcallner/axis2c-bin-1.0.0-linux/lib/libmod_axis2.so: undefined reference to

Re: Compiling and Linking WSDL2C

2007-09-17 Thread Dinesh Premalal
Callner, David A. [EMAIL PROTECTED] writes: Yeah I thought that was obvious. I've never seen APR libraries before? Where are they? Do they come with Apache Axis2? I don't see them in the $AXISC_HOME/lib directory so where the ... should I find them? It (APR) comes with apache, If you intend

RE: Compiling and Linking WSDL2C

2007-09-17 Thread Callner, David A.
Well I'm actually just making a C++ standalone client, but the generated code depends on these libraries. I do not want any apache server. Where can I find the libraries so I can link them in? -Original Message- From: Dinesh Premalal [mailto:[EMAIL PROTECTED] On Behalf Of Dinesh

Re: Compiling and Linking WSDL2C

2007-09-17 Thread Dinesh Premalal
Hi David, I'm not sure how generated code ascribe to apr libraries. Ill look on to it and will get back to you. Or may be someone will be able to help you on this. thanks, Dinesh -- Dinesh Premalal http://xydinesh.wordpress.com/ GPG ID : A255955C GPG Key Finger Print : C481 E5D4 C27E

RE: Compiling and Linking WSDL2C

2007-09-17 Thread Callner, David A.
I removed the -lmod_axis2 from the list of libraries I depend on and it works now. Would be nice if the user-guide had something about the libraries that you need to link in when building clients vs. servers. -Original Message- From: Dinesh Premalal [mailto:[EMAIL PROTECTED] On Behalf

Re: Anyway to see what SOAP Request/Response is sent/received by the engine?

2007-09-17 Thread Dinesh Premalal
Yuva, Yuvaraj Athur Raghuvir [EMAIL PROTECTED] writes: I am working behind a firewall. So I used the proxy settings of tcpmon. Then I pasted my sample xml that I got from the log file (by enabling the logging module). I'm not sure whether this is correct procedure. AFAIK you don't have to copy

RE: Compiling and Linking WSDL2C

2007-09-17 Thread Callner, David A.
I found the APR downloads from apr.apache.org and now I'm getting ap_* undefines. /home/dcallner/axis2c-bin-1.0.0-linux/lib/libmod_axis2.so: undefined reference to `ap_hook_child_init' /home/dcallner/axis2c-bin-1.0.0-linux/lib/libmod_axis2.so: undefined reference to `ap_hook_handler'

Re: Unable to locate/load library

2007-09-17 Thread Dinesh Premalal
Hi Subra, Subra A Narayanan [EMAIL PROTECTED] writes: I have set the LD_LIBRARY_PATH and the file is in the path. Is there something else that I am missing? Is there an apache start up script file or something where I can specify where to look for library files? My web service builds

Re: Simple Java Client

2007-09-17 Thread Amila Suriarachchi
can you send the wsdl too. or can you please validate the request send by the adb client with the wsdl. Amila. On 9/7/07, sneha jain [EMAIL PROTECTED] wrote: Hi All, I developed an adb client using the method given in the axis2 docs and it is getting compiled alright. The problem i am

Re: [Axis2] Strange error parsing databinding

2007-09-17 Thread Amila Suriarachchi
On 9/7/07, José Antonio Sánchez [EMAIL PROTECTED] wrote: Hello, I'm developing a web service specification with Axis2 1.3 and I've generated the code using ADB. That specification has a type B that extends type A and in some circumstances I want to convert an object of type A to B so I did

Re: [Axis2-1.3] Compilation errors ... is not abstract and does not override abstract method serialize( ...

2007-09-17 Thread Amila Suriarachchi
are you deploying Axis2 1.2 (or ealier) generated code with Axis2 1.3? Axis2 1.2 generated code does not complile with the Axis2 1.3. Had to change some interfaces to fixsome bugs. So please generate the Code with Axis2 1.3 and deoploy it. (you won't have to change any of your written code)

Re: Problems with XMLBeans: Problem with invoking a service.

2007-09-17 Thread Amila Suriarachchi
Can you please check this with a axis2 SNAPSHOT? Amila. On 9/10/07, Anne Thomas Manes [EMAIL PROTECTED] wrote: See http://issues.apache.org/jira/browse/AXIS2. You must first register and log in to create a new issue. Anne On 9/10/07, omega-psi [EMAIL PROTECTED] wrote: I would do so,

Re: [Axis2] Can anybody currently use wsdl2java meaningfully in Axis2-1.3?

2007-09-17 Thread Amila Suriarachchi
Your problem seems to be that you use the Axis2 1.2 generated code with the Axis2 1.3. Amila. On 9/12/07, Ashish Arya [EMAIL PROTECTED] wrote: Yes, I have used this tool without any problem (except one related with throws clause of AxisFault) using ANT's AntCodegenTask task. Regards,

[axis2] Is there any example of building webservice from Java class?

2007-09-17 Thread Guoping Zhang
for example: class HelloWorld { public String sayHello(String s) { return s; } } Instead of using OMElement as argument - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL

Re: [axis2] Is there any example of building webservice from Java class?

2007-09-17 Thread Deepal jayasinghe
I think following article will help you. http://wso2.org/library/2546 Thanks Deepal for example: class HelloWorld { public String sayHello(String s) { return s; } } Instead of using OMElement as argument

int cannot be null in Java

2007-09-17 Thread Celinio . Fernandes
hi, i have a web service that has a method that takes an int argument. That argument is not compulsory but an int cannot be null in Java (but an Integer can be null). public MyObject methodName(String a, int b) { //blabla } how do you deal with this ? thanks for helping. I am using

Configure axis2 to use DOOM implementation

2007-09-17 Thread Gennady Shumakher
Hi all, I want to use axis2 dynamic invocation with DOM parsing of the results. As I could understand the underlying AXIOM can be configured to use DOOM implementation rather then linked list one (http://wso2.org/library/291). In this way I would save the need for transformations via SAAJUtil. My

Problem with content Id of MTOM attachment in Axis2 1.3

2007-09-17 Thread Ashish Arya
Hi Deepal and All, We are facing a critical issue in Axis2 1.3 and this may force us to degrade to either Axis2 1.2 or even away from Axis2. Please help us to resolve this. Issue: I noticed that incase of Axis2 1.3, the SOAP message corresponds to MTOM attachment has some issues related

Re: Problem with content Id of MTOM attachment in Axis2 1.3

2007-09-17 Thread Deepal jayasinghe
Hi Thilina , Do you have any idea abut this ? Thanks Deepal Hi Deepal and All, We are facing a critical issue in Axis2 1.3 and this may force us to degrade to either Axis2 1.2 or even away from Axis2. Please help us to resolve this. *Issue:* I noticed that incase of Axis2 1.3,

Re: [axis2] Is there any example of building webservice from Java class?

2007-09-17 Thread Guoping Zhang
Hi Deepal, Thanks for your reply.I follow the steps of creating pojo services but i got following exception when i was invoking services throug wsdl2java generated stub. The client is asking for return element which has nameURI=http://ws.apache.org/axis2, but server sends out its nameUr

Re: Parameter not passed

2007-09-17 Thread Deepal jayasinghe
Could someone please guide me. I have modified the Version sample to accept a parameter as follows: public class AxisTest { public String getVersion(String param1) throws Exception { return Hello I am Axis2 test service , + param1 + , + My version is +

Re: Calling Webservice by JSP

2007-09-17 Thread Deepal jayasinghe
Hi, I'm using axis2 and windows vista. I'm trying to access webservice by jsp. I have pasted Axis.jar and jaxrpc.jar to Tomcat 5.5\common\lib and also in java/jre/lib/ext. I'm having different exception every time. Some time org.apache.axis.AxisClient

Re: Parameter passing problem

2007-09-17 Thread Deepal jayasinghe
You can use remote debugging , you can start tomcat with CATALINA_OPTS and then you can connect to that using ur IDE. Thanks Deepal How to enable debugging in Axis2. Thank. On 9/10/07, *Deepal jayasinghe* [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] wrote: Hi Anas , I need to

Re: ADBException: Unexpected subelement Code

2007-09-17 Thread Amila Suriarachchi
On 9/17/07, Erwin Reinhoud [EMAIL PROTECTED] wrote: Dear users, I am using axis2 1.3 and an ant script to generate a service. However i keep getting the Unexpected subelement exception as soon as i add for example the Metadata element being a complex type (see additions below). I renamed

Re: Axis 2: How to pass WS-Addressing EPRs

2007-09-17 Thread Deepal jayasinghe
Hi Thomas , cant you do this with just string or please write your own bean to represent EPR related data. If you use Axis2 EndpointReference when generating wsdl (as you have specified) it will show all the fields in the EndpointReference class using java reflection and there is no way to avoid

Re: [axis2] Is there any example of building webservice from Java class?

2007-09-17 Thread Deepal jayasinghe
Please try to generate code again and see. Thanks Deepal Hi Deepal, Thanks for your reply.I follow the steps of creating pojo services but i got following exception when i was invoking services throug wsdl2java generated stub. The client is asking for return element which has

Re: Axis2 tutorial presentation at ApacheCon US 2007

2007-09-17 Thread Deepal Jayasinghe
That will be possible , in every apachecon the organizers make the presentations available for public use. Thanks Deepal Walker, Jeff wrote: Yes, please! If it is not too much trouble, I would also benefit from such publicly available notes on this board. Cheers, -jeff -Original

Re: Calling Webservice by JSP

2007-09-17 Thread Nasreen Laghari
Ohh so it means for Axis2 I have to make object of ServiceClient like ServiceClient servi = new ServiceClient Any changes in Call object? Regards - Original Message From: Deepal jayasinghe [EMAIL PROTECTED] To: axis-user@ws.apache.org Sent: Monday, September 17, 2007 11:50:59 AM

axis handler being omitted

2007-09-17 Thread pp pp
hi everyone, I am a bit puzzled about axis handler mechanism. Is there any way to invoke axis handler after web service operation rises an exception? whenever I invoke web service it goes through the handler as long as the service does not rise exception. if it does throw, the handler is omitted.

Please help with sending objects array

2007-09-17 Thread Bartlomiej Zdanowski
Hello. I have a problem. I use Axis2.0 at client side (Java) and PHP SOAP at server side. The problem is that when I send from client an array of objects, at server side only first object is seen as object not an array. My request is xsd:complexType name=AddDealerInfoRequest

RE: int cannot be null in Java

2007-09-17 Thread Walker, Jeff
Don't send primitives, send a Java wrapper, like Integer. Then in your schema, mark it as nillable. Better yet, move to Document/Literal-wrapped form of web services. -jeff _ From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Monday, September 17, 2007 5:12 AM To:

RE: java.net.ConnectException while invoking a web service.

2007-09-17 Thread Walker, Jeff
Well, The DataHandler class is in the activation.jar file, an MimeMultipart class is in mail.jar. I suggest you find a copy of these two jars and include them in your classpath, then try it. As for your connection refused, I would guess your web service is not actually up and running, or your url

Re: Parameter not passed

2007-09-17 Thread Anas Mughal
This is what I get in the browser window: ns:getVersionResponse ns:return Hello I am Axis2 test service ,null, My version is 1.3 /ns:return /ns:getVersionResponse As you see, param1 shows up as null. My services.xml is defined as: service name=AxisTest scope=application description

Migrating from Tomcat AXIS2 to Standalone AXIS2

2007-09-17 Thread Marko Simic
I am currently working on migration from AXIS2 deployed in Tomcat to standalone version. Can someone, please, advise me: 1. How to solve database communication problem(s) a) While it was working within Tomcat context we were using DataSources and just passing its names to web services. Question

Re: Parameter not passed

2007-09-17 Thread Charitha Kankanamge
Hey Anas, There was an error in your services.xml. As you can see, there is a space in the message receiver class definition. It is in between the class= and org.apache.axis2.* (messageReceiver mep=http://www.w3.org/2004/08/wsdl/in-out; class=

RE: axis handler being omitted

2007-09-17 Thread Walker, Jeff
So, my understanding and please correct me if I am wrong, somebody, is that if you declare a checked exception in your impl class and throw one, your response handler will not get called. The exception will immediately propagate back to the client, bypassing any response handlers you may have

axis2 1.3 - MTOM sample: OutOfMemory

2007-09-17 Thread Michele Rossi
Hi! I've build the sample ws-app named mtom (from axis2 distribution, version 1.3), obtaining the sample-mtom.aar archive; I've deployed it on tomcat 6, and run the client app using the ant target run.client, specifing file source and destination; file size is about 6MB; I've change the

RE: Problem with weblogic 9.2 axis2-1.2 war deployment

2007-09-17 Thread vittal nangunoori
hi All, I could resolve the issue by putting service name (*.aar ) in the services.list file of services folder in web-inf axis2-1.2 war distribution before making *.war file. I could able to deploy it and test it succesfully. I got the resolution from axis user guide which documents the

Re: axis2 1.3 - MTOM sample: OutOfMemory

2007-09-17 Thread Michele Rossi
Dear Charitha, I've tried increasing timeout from 1 to 1000 but I get the same exception: java.lang.OutOfMemoryError: Java heap space I note that in the my tmp directory (parameter name=attachmentDIR looked=falsec:/tmp//parameter), are present temporary caching files, with sime size

RE: Axis2 tutorial presentation at ApacheCon US 2007

2007-09-17 Thread Walker, Jeff
Hey Demetris, I'm confused. I thought it is in November? Did you mean the one they just had in Amsterdam (EU)? Can you humor me, and send me the link? Thanks, -jeff -Original Message- From: Demetris G [mailto:[EMAIL PROTECTED] Sent: Monday, September 17, 2007 12:24 PM To:

Re: axis handler being omitted

2007-09-17 Thread pp pp
well, if it comes to me I got different result. if I am wrong somewhere, please correct me. Now, If I call a method: public void print(){ System.out.println(MyService: print() +1/0); } the handler is omitted and client receives:java.lang.ArithmeticException: / by zero so I quess if I

RE: ADBException: Unexpected subelement Code

2007-09-17 Thread Kraus, David
Sorry, I take that back...I see the v0 being mapped to v0.2 From: Kraus, David Sent: Monday, September 17, 2007 9:51 AM To: 'axis-user@ws.apache.org' Subject: RE: ADBException: Unexpected subelement Code Your schema namespace is V0.2, yet your client is

Re: Axis2 tutorial presentation at ApacheCon US 2007

2007-09-17 Thread Demetris G
Oh sorry Jeff - I meant to say that ; this is the one in Amsterdam in May 07. http://www.eu.apachecon.com/ I will be checking the one in Nov for the material as well. Walker, Jeff wrote: Hey Demetris, I'm confused. I thought it is in November? Did you mean the one they just had in Amsterdam

Re: axis2 1.3 - MTOM sample: OutOfMemory

2007-09-17 Thread Charitha Kankanamge
Hi Mike, I just tried out MTOM sample again and transferred ~120MB file successfully in Axis2 1.3/Winxp/jdk15 environment. I'm not sure why you still get this error with the required settings. Can some developer please help Mike to resolve this issue? regards Charitha Michele Rossi wrote:

Re: axis2 1.3 - MTOM sample: OutOfMemory

2007-09-17 Thread Charitha Kankanamge
Michele Rossi wrote: Hi! I've build the sample ws-app named mtom (from axis2 distribution, version 1.3), obtaining the sample-mtom.aar archive; I've deployed it on tomcat 6, and run the client app using the ant target run.client, specifing file source and destination; file size is about 6MB;

RE: axis2 1.3 - MTOM sample: OutOfMemory

2007-09-17 Thread Bhojraj, Santosh
How about running your server side JVM with increased memory options ? Using -Xms and -Xmx in the startup script . -Original Message- From: Charitha Kankanamge [mailto:[EMAIL PROTECTED] Sent: Monday, September 17, 2007 12:23 PM To: axis-user@ws.apache.org Subject: Re: axis2 1.3 -

RE: axis handler being omitted

2007-09-17 Thread Walker, Jeff
Hmm, strange. I don't have an answer. Here is what I have in my wsdl for the operation I tested: ... wsdl:portType name=TestWebService wsdl:operation name=baseTester wsdl:input message=tns:getBaseRequest/ wsdl:output message=tns:getBaseResponse/ wsdl:fault name=RequestFault

soapenv:Server.userException java.lang.reflect.InvocationTargetException

2007-09-17 Thread david
Hello axis users, I have a very curious problem running my service. Except for getversion() the service has only one method: Transact(). The exception text is included below and as you can see the method is failing in the stub. I cannot seem to configure better log4j logging so this is all I

Simple Exception Logging

2007-09-17 Thread tyju tiui
I'm an axis newb ... please forgive the simplistic question. In trying to create a simple web service that uses signature / encryption I'm getting a return result of server error and I'm not entirely sure how to get axis to write to a log file. The web service was working great until I setup

logging service requests

2007-09-17 Thread Kimberly Nicholls
I am having trouble understanding how to log requests to my services in Axis2, specifically how to pass information between the phases. I'd like to log the client IP address, the response size, the name of the method being invoked, and (ideally) the parameter values they're using (ie method

Re: axis2 1.3 - MTOM sample: OutOfMemory

2007-09-17 Thread Michele Rossi
I'm getting the same exception with 256 - 1024 MB for tomcat Michele - Original Message - From: Bhojraj, Santosh [EMAIL PROTECTED] To: axis-user@ws.apache.org Sent: Monday, September 17, 2007 6:31 PM Subject: RE: axis2 1.3 - MTOM sample: OutOfMemory How about running your server

Re: axis2 1.3 - MTOM sample: OutOfMemory

2007-09-17 Thread Michele Rossi
I'm using the MTOM-Sample taken from Axis2 release; with plain Axis2 1.3 it works correctly... Michele - Original Message - From: Thilina Gunarathne [EMAIL PROTECTED] To: axis-user@ws.apache.org Sent: Monday, September 17, 2007 9:25 PM Subject: Re: axis2 1.3 - MTOM sample:

Re: axis2 1.3 - MTOM sample: OutOfMemory

2007-09-17 Thread Michele Rossi
Hi everyone! I've solved the problem: the java.lang.OutOfMemory: Java Heap Space exception happens if the soapMonitor is enabled; I've tried to disable the module (in Tomcat) and now all is working fine! I think that's important to document this problem. Thanks Michele Rossi - Original

Re: axis2 1.3 - MTOM sample: OutOfMemory

2007-09-17 Thread Thilina Gunarathne
Hi Mike, Are you using the MTOM-Sample taken from the Axis2 1.3 release or are you using a modified version... Did you try your use case with plain Axis2 1.3 and using the Axis2 MTOM sample and the client... I'm not sure whether this is something to do with a Tomcat 6, but IMHO chances are very

Re: axis2 1.3 - MTOM sample: OutOfMemory

2007-09-17 Thread Thilina Gunarathne
Cool :).. Nice to hear that.. On 9/17/07, Michele Rossi [EMAIL PROTECTED] wrote: Hi everyone! I've solved the problem: the java.lang.OutOfMemory: Java Heap Space exception happens if the soapMonitor is enabled; I've tried to disable the module (in Tomcat) and now all is working fine! I think

Re: Problem with content Id of MTOM attachment in Axis2 1.3

2007-09-17 Thread Thilina Gunarathne
Looks like a bug to me... I'll have look... Seems like a optimization gone wrong.. Thanks, Thilina On 9/17/07, Deepal jayasinghe [EMAIL PROTECTED] wrote: Hi Thilina , Do you have any idea abut this ? Thanks Deepal Hi Deepal and All, We are facing a critical issue in Axis2 1.3

Re: [axis2] Is there any example of building webservice from Java class?

2007-09-17 Thread Guoping Zhang
Hi Deepal, I started by creating a java class A.java and use java2wsdl to create a wsdl and wsdl2java to create Stubs. Client still get the exception: Caused by: org.apache.axis2.databinding.ADBException: Unexpected subelement return at

Re: Help solving InvokationTargetException with Axis2 codegen plugin for eclipse

2007-09-17 Thread Lahiru Sandakith
Hi George, If you can put the exact method signatures in all the methods that you expose, I ll try to reproduce the error, But for all the simple types and their arrays the plugin works for me. Thanks Lahiru On 9/8/07, George H [EMAIL PROTECTED] wrote: Hi, I am using Eclipse europa J2EE

Re: Help solving InvokationTargetException with Axis2 codegen plugin for eclipse

2007-09-17 Thread George H
Hi, I discovered it was giving me this exception with 1 method only. private GenericStruct createError(int id, String type, String type_desc) { } That's the method above.. the GenericStruct is my own custom class. I use it all around the place and it seemed that if I removed that method

RE: Problem with content Id of MTOM attachment in Axis2 1.3

2007-09-17 Thread Ashish Arya
Hi Thilina, Please provide your comments on this, as this is proving a 'stopper' for us. Thanks and Regards, Ashish Arya, Sungard Offshore Services (India) -Original Message- From: Deepal jayasinghe [mailto:[EMAIL PROTECTED] Sent: Monday, September 17, 2007 4:05 PM To: Ashish Arya

RE: Axis2/jaxws on jdk 1.4

2007-09-17 Thread Gennady Shumakher
Hi all, Could somebody from axis team to help me on this one and clarify whether axis2 and all its subproject are intended to run on JDK 1.4? Gennady -Original Message- From: Gennady Shumakher [mailto:[EMAIL PROTECTED] Sent: Sunday, September 16, 2007 16:58 To: axis-user@ws.apache.org

Re: logging service requests

2007-09-17 Thread Deepal Jayasinghe
I am having trouble understanding how to log requests to my services in Axis2, specifically how to pass information between the phases. I'd like to log the client IP address, the response size, the name of the method being invoked, and (ideally) the parameter values they're using (ie method

Re: Migrating from Tomcat AXIS2 to Standalone AXIS2

2007-09-17 Thread Amila Suriarachchi
On 9/17/07, Marko Simic [EMAIL PROTECTED] wrote: I am currently working on migration from AXIS2 deployed in Tomcat to standalone version. why you want to do this? I think it is not a good idea to put simple http server in production use. Can someone, please, advise me: 1. How to solve

Re: Please help with sending objects array

2007-09-17 Thread Deepal Jayasinghe
Hi Bartlomiej , Will you able to post your client code. Thanks Deepal Hello. I have a problem. I use Axis2.0 at client side (Java) and PHP SOAP at server side. The problem is that when I send from client an array of objects, at server side only first object is seen as object not an array.

Re: [axis2] Is there any example of building webservice from Java class?

2007-09-17 Thread Deepal jayasinghe
Hmm ,create a JIRA and attach your java class. Hi Deepal, I started by creating a java class A.java and use java2wsdl to create a wsdl and wsdl2java to create Stubs. try to deploy the service and then do the ?wsdl on it and generate the code using that. Client still get the exception:

Fast Webservices with Axis?

2007-09-17 Thread Thomas Kettenbach
Hi SUN has a nice paper about fast webservices. They don't send XML documents but a binary version of it. Anybody interessented can find it here: http://java.sun.com/developer/technicalArticles/WebServices/fastWS/ Can this be done with Axis?