RE: Return type for complex types

2005-09-02 Thread #CHEN XINJUN#
Hi Rogério, Thank you for your response. Aspired by your previous emails, I tried to set style to "RPC" and it really works. I had never doubted that this setting would cause the problem, as specified in Globus website, GT4 programmers should set style="document" and use="literal" for interope

Re: Overloading Methods?

2005-09-02 Thread Tom Oinn
Bell, Douglas wrote: Is it possible to overload methods? I have three methods with the same name Possible? yes. Sensible? no. The various basic profiles forbid it for interop reasons and it'll almost certainly turn around and bite you in bad places if you try it. Trust me, you'll save yoursel

RE: [Axis2]- how to config multiple operations into same class method

2005-09-02 Thread Ebert, Chris
The short answer is yes. Try using the examples as a start, declare several methods on an interface and use Java2WSDL to give you an idea of what it might look like. You can also find examples on the web -- I think most sites define multiple operations for a single URL. Chris -Original Mess

RE: java.net.SocketTimeoutException: Read timed out

2005-09-02 Thread EmpereurYollson
Hallo Thank enough to unsubscribe me in the maillingsliste   Ne rien dire pour nuire ,ne pas se taire pour plaire Empereur Yollson 8 allee d orlean 92160 Antony (France) Tel: +33.6. 98.79.21.51(France) tel:0049.152.04.93.66.39 (Allemagne) Appel audio GRATUIT partout dans le monde avec l

RE: NullPointerException on SOAPConnection.call

2005-09-02 Thread Eduardo Elgueta
Never mind: Now I was missing Xerces. -Original Message- From: Eduardo Elgueta [mailto:[EMAIL PROTECTED] Sent: Viernes, 02 de Septiembre de 2005 11:10 To: axis-user@ws.apache.org Subject: NullPointerException on SOAPConnection.call Hi All, My code is this: SOAPConnectionFactor

[Axis2]- how to config multiple operations into same class method

2005-09-02 Thread Jen-Ya Ku
Hi, All:   I am new with Axis.  I wonder if I can config multiple operations into same method in Axis2? Thanks a lot in advance.     Thanks, Jen-Ya

Overloading Methods?

2005-09-02 Thread Bell, Douglas
Is it possible to overload methods? I have three methods with the same name   i.e.   search(String) search(int) search(long)   I'm getting back a method invocation exception.. Is there anyway to accomplish this without having different names for each object?

Re: Return type for complex types

2005-09-02 Thread Rogério Luz
Hi Xinjun   You are not the only one new to axis :-)   From the 4 Service Styles I ever read about in Axis docs (RPC, Document, Wrapped, and Message) I implemented only the RPC style.   I didn't get any problem (yet) using RPC Service. Actually I have clients in Java and .NET using this service,

Re: JBoss 4.0.2 and Axis

2005-09-02 Thread Dan R. Olsen III
Nope, making it a war did not work. Rogério Luz wrote: Try to make a war with the content of the axis dir. On 9/2/05, Dan R. Olsen III <[EMAIL PROTECTED]> wrote: I am trying to install Axis with JBoss 4.0.2. However, when I start up JBoss after moving the "axis" directory in JBoss I get

Re: JBoss 4.0.2 and Axis

2005-09-02 Thread Rogério Luz
Try to make a war with the content of the axis dir.On 9/2/05, Dan R. Olsen III <[EMAIL PROTECTED]> wrote: I am trying to install Axis with JBoss 4.0.2. However, when I start upJBoss after moving the "axis" directory in JBoss I get a lot of ZipExceptions. Has anyone see anything like this?Dan Olsen-

JBoss 4.0.2 and Axis

2005-09-02 Thread Dan R. Olsen III
I am trying to install Axis with JBoss 4.0.2. However, when I start up JBoss after moving the "axis" directory in JBoss I get a lot of ZipExceptions. Has anyone see anything like this? Dan Olsen

Re: java to wsdl: How to generate minOccurs="0" instead of nillable="true"

2005-09-02 Thread Martin Grotzke
On Fri, 2005-09-02 at 08:54 -0400, Anne Thomas Manes wrote: > I suggest that you file a feature enhancement request to add a > parameter to generate minOccurs="0". good idea, just submitted. cheers, martin > > Anne > > On 8/31/05, Martin Grotzke <[EMAIL PROTECTED]> wrote: > On Wed, 20

Re: Beginer site

2005-09-02 Thread Javier Gonzalez
http://ws.apache.org/axis/java/user-guide.html On 9/1/05, Dru Devore <[EMAIL PROTECTED]> wrote: > I need to get some people up and running on developing web services with > axis quickly and I don't have the time to teach them. Is there any > suggestions of sites I can direct them to so they can do

Multiref responses with ElementDeserializer

2005-09-02 Thread Tom Oinn
Hi all, We're seeing a slightly strange behaviour with an Axis 1.2.1 server returning a response containing multiref elements when we try to register the ElementDeserializer to handle it - the call completes but returns only part of the response. I guess it's not entirely clear what the seria

NullPointerException on SOAPConnection.call

2005-09-02 Thread Eduardo Elgueta
Hi All, My code is this: SOAPConnectionFactory conFactory = SOAPConnectionFactory.newInstance(); SOAPConnection con = conFactory.createConnection(); URLEndpoint endPoint = new URLEndpoint(config.getParameter(PARM_SERVICE_URL)); SOAPMessage reply = con.call( soapMsg

Re: accessing tomcat context in Axis service object

2005-09-02 Thread Javier Gonzalez
while I don't know how to access the context in the way you want, what I've done is encapsulate the data access stuff (the initialcontext, lookup datasource, etc) in a separate class, and when I need a connection I call a method from that class. Then I initialize that class on a servlet and bob's y

AW: [Axis2] Build problems during compiling

2005-09-02 Thread aii
>Hi Chris, > >[EMAIL PROTECTED] wrote: > >>Hi all, >> >>I receive the below listed build problems. >> >> >Well, I just compiled and built the code. It worked for me. It works for me, too - as far as I use JDK 1.4; but not for JDK 1.5. Just for nfo. >>By the way, on http://ws.apache.org/axis2/ma

RE: Client Side: Enable Attachment Support SOLVED

2005-09-02 Thread Eduardo Elgueta
I was missing MAIL.JAR in the classpath. Regards. -Original Message- From: Eduardo Elgueta [mailto:[EMAIL PROTECTED] Sent: Jueves, 01 de Septiembre de 2005 17:50 To: axis-user@ws.apache.org Subject: Client Side: Enable Attachment Support Hi All, I'm writing a SOAP WS client in which I

RE: Error -- org.xml.sax.SAXParseException: Premature end of file.

2005-09-02 Thread Gentile, Deborah
I have all the latest jar files in the right directories. (I do have the old jar files saved in another directory, but those are not in the classpath so I don't think that could be hurting me.) I modified the classpath and am no longer getting the java.lang.LinkageError. I'm still getting the SA

Duplicate 'toOM(...)' method: Non-compilable data binding code generated

2005-09-02 Thread Dawid Loubser
Hi, I've submitted the following bug: http://issues.apache.org/jira/browse/AXIS2-199 I was wondering if anybody else has experienced this problem, and can share a solution? I am happy to dig into the Axis code if needs be, but I am under extreme time pressure - we need to switch our project

accessing tomcat context in Axis service object

2005-09-02 Thread sanugu
Hi,  I am developing a web service, which has to insert the data into Oracle database.  I am not able to get the datasource object created as a global resource. I also, created a resource link for 'AXIS' web module.  My Server is tomcat 5.0, and I configured Axis on it, and its working fine with

access - tomcal datasource within axis service object

2005-09-02 Thread Sabitha
Hi,   I am developing a web service, which has to insert the data into Oracle database.  I am not able to get the datasource object created as a global resource. I also, created a resource link for ‘AXIS’ web module.   My Server is tomcat 5.0, and I configured Axis on it, and its worki

Re: java to wsdl: How to generate minOccurs="0" instead of nillable="true"

2005-09-02 Thread Anne Thomas Manes
I suggest that you file a feature enhancement request to add a parameter to generate minOccurs="0". AnneOn 8/31/05, Martin Grotzke <[EMAIL PROTECTED]> wrote: On Wed, 2005-08-31 at 10:57 -0400, Mike Woinoski wrote:> Martin Grotzke wrote:> > Btw, the concrete problem that we had has to do with C# /

Re: creating WSDL contract

2005-09-02 Thread Anne Thomas Manes
You might also try Cape Clear's SOA Editor. See http://www.capescience.com/soa/index.shtml. AnneOn 8/31/05, Guy Rixon <[EMAIL PROTECTED]> wrote: On Wed, 31 Aug 2005, Plorks mail wrote:> what editors are best to create the wsdl file?I use oXygen (http://www.oxygenxml.com/) which now has WSDL sche

Re: Return type for complex types

2005-09-02 Thread Anne Thomas Manes
I suggest you use provider="java:RPC" and specify style="wrapped". It will produce a document/literal service that performs like an RPC service. AnneOn 9/2/05, #CHEN XINJUN# <[EMAIL PROTECTED]> wrote: Hi Rogério,I am fairly new to Axis. Could you tell me what if I use RPCHandler?Mine service deplo

Re: java.lang.reflect.InvocationTargetException

2005-09-02 Thread Robina Brintha
I have fixed it.Thanks for suggestions provided. On 9/2/05, stud aosoa <[EMAIL PROTECTED]> wrote: Thanks for your reply.Actually I dont think error in my webservice.Because I have the running version of same setup in my laptop .But the one in my office PC stopped working suddenly.Its strange.:(

SOAPMonitor Problem

2005-09-02 Thread Nicolas FOURNIL
Hello   I have installed Axis 1.2.1 on Tomcat 5.5.9 on Windows XP and I have this problem :   I have followed the usual documentation and others tutorial to install SoapMonitor   When I try to connect to the SOAPMonitor URL I get the applet loading fine (split windows etc…) but I get

Re: java.lang.reflect.InvocationTargetException

2005-09-02 Thread stud aosoa
Thanks for your reply.Actually I dont think error in my webservice.Because I have the running version of same setup in my laptop .But the one in my office PC stopped working suddenly.Its strange.:( On 9/2/05, PrioCon Development <[EMAIL PROTECTED]> wrote: Hi,   I've encountered this issue sev

RE: java.lang.reflect.InvocationTargetException

2005-09-02 Thread PrioCon Development
Hi,   I've encountered this issue several times myself. It was a while ago, but I think it was (in my situation) because we didn't added a new WS class type to the wsdd (axis) and that caused a ClassNotFoundException in Tomcat. Anyhow, you should be able to see more details about the error m

Re: [Axis2] Build problems during testing (JIRA AXIS2-193)

2005-09-02 Thread Eran Chinthaka
Hi Chris, Its the same issue we have under Axis2-159. So I closed the duplicated Axis2-193 and left Axis2-159 open. [EMAIL PROTECTED] wrote: Hi, bug AXIS2-193 (http://issues.apache.org/jira/browse/AXIS2-193) is marked as closed but I can't help myself after updating and cleaning the source

Re: [Axis2] Build problems during compiling

2005-09-02 Thread Eran Chinthaka
Hi Chris, [EMAIL PROTECTED] wrote: Hi all, I receive the below listed build problems. Well, I just compiled and built the code. It worked for me. By the way, on http://ws.apache.org/axis2/maven-help.html there is a typo: the command 'maven -dmaven.test.skip=true' must be 'maven -Dmaven.t

java.lang.reflect.InvocationTargetException

2005-09-02 Thread stud aosoa
Hello everybody,I am calling a webservice which is deployed in tomcat(axis).It worked fine before and suddenly I get the following error.I couldnt figure out what went wrong?

[Axis2] Build problems during testing (JIRA AXIS2-193)

2005-09-02 Thread aii
Hi, bug AXIS2-193 (http://issues.apache.org/jira/browse/AXIS2-193) is marked as closed but I can't help myself after updating and cleaning the source I still receive the same test fail. Chris

[Axis2] Build problems during compiling

2005-09-02 Thread aii
Hi all, I receive the below listed build problems. By the way, on http://ws.apache.org/axis2/maven-help.html there is a typo: the command 'maven -dmaven.test.skip=true' must be 'maven -Dmaven.test.skip=true' (d -> D). Cheers, Chris java:compile: [echo] Compiling to E:\Entwicklung\Java\svn-w

Build problems during compiling

2005-09-02 Thread aii
Hi all, I receive the below listed build problems. By the way, on http://ws.apache.org/axis2/maven-help.html there is a typo: the command 'maven -dmaven.test.skip=true' must be 'maven -Dmaven.test.skip=true' (d -> D). Cheers, Chris java:compile: [echo] Compiling to E:\Entwicklung\Java\svn-w

RE: Return type for complex types

2005-09-02 Thread #CHEN XINJUN#
Hi Rogério, I am fairly new to Axis. Could you tell me what if I use RPCHandler? Mine service deployment descriptor is like http://xml.apache.org/axis/wsdd/"; xmlns:java="http://xml.apache.org/axis/wsdd/providers/java"; xmlns:xsd="http://www.w3.org/2001/XMLSchema";>

AW: java.net.SocketTimeoutException: Read timed out

2005-09-02 Thread Peter Koch
is there something like a socket timeout to set also on the server side ? can't see anything in the wsdd reference... any help apreciated! br, peter -Ursprüngliche Nachricht- Von: Peter Koch [mailto:[EMAIL PROTECTED] Gesendet: Mittwoch, 31. August 2005 15:24 An: axis-user@ws.apache.org