Re: How to return array of beans

2004-02-27 Thread Tony Blair
Hi there,   I have a similar sample code. It takes a bean as an input but it returns a Collection of beans as oppose to an Array of beans. Is it possible for you to use Collection?   Cheers, Tony.Rosén_Håkan <[EMAIL PROTECTED]> wrote: Hi I try to deploy a service but i'm stuck halfways.I have writt

RE: newbie question about SOAPMonitor

2004-02-26 Thread Tony Blair
Tony,   Thanks for the response.   I meant to say .wsdd,  not .wsdl.  However, I'm still not seeing output.  Anything else I should be doing?   Thanks,   Dave Oppenheim -Original Message-From: Tony Blair [mailto:[EMAIL PROTECTED]Sent: Wednesday, February 25, 2004 9:22 PMTo: [EMAIL PROT

Re: newbie question about SOAPMonitor

2004-02-25 Thread Tony Blair
Hi there,   The and must go into your wsdd and not in the WSDL.   Cheers, Tony."Oppenheim, Dave" <[EMAIL PROTECTED]> wrote: On a Widows platform, do I have to put an entry of some type intoaxis\WEB-INF\web.xml in order to use the service?I've put the following lines into my wsdl, but, at runtime

Re: ConnectException from SOAP endpoint on apache

2004-02-22 Thread Tony Blair
Hi there,   Last time I got such an exception was because my Tomcat was not running.   Cheers, Tony.Raghu M <[EMAIL PROTECTED]> wrote: hi,i executed the samples/userguide/example1/TestClient.java file as given in the user guide,  and got the ConnectException.i included a printStackTrace() to get t

Re: No serializer found for class

2004-02-20 Thread Tony Blair
meSpace, "userErrors");         call.registerTypeMapping(UserErrorResult.class, qName, beanSF, beanDF);                         qName = new javax.xml.namespace.QName(nameSpace, "headers");         call.registerTypeMapping(EIResponseHeader.class, qName, beanSF, beanDF);                      

Re: Weblogic 6.1

2004-02-20 Thread Tony Blair
Hi there,   I had 2 people in my team using AXIS 1.1 with WL 6.1 and there weren't any issues. In Tomcat you need to drag the webapp from axis and drop it under Tomcat where in WL this step was not even required, so was I told.   Regards, Tony.Barry BURNEREAU <[EMAIL PROTECTED]> wrote: HelloI'd lik

Re: No serializer found for class

2004-02-20 Thread Tony Blair
Parul,   Can you post your Client code and the your WSDD (NOT the WSDL) here?   Regards, Tony.[EMAIL PROTECTED] wrote: Hi there, I am extremely new to Axis and SOAP, and am trying to solve this for the past 2 days, without and luck. I am running into a problem when I am trying to deserialize incomi

Re: Retrieve objects from SOAP response

2004-02-20 Thread Tony Blair
Hi there,   One thing that I noticed is your : call.addParameter( "outMsg", XMLType.XSD_ANYTYPE, ParameterMode.IN ); you need pass the qName as oppose to XMLType.XSD_ANTYPE.   Try this.   Regards, Tony.[EMAIL PROTECTED] wrote: Hi, I have a SOAP service that returns objects. I know the method works,

Re: No serializer found for class

2004-02-20 Thread Tony Blair
Hi there,   Adding bean mapping and the type mapping in your wsdd will create the ser/Deser on the server side. You also need to define ser/deser on the client side for each complex type in your Call.invoke() method. Let me know if you have more questions on this.   Regards, Tony.Rajagopal <[EMAIL

Re: R: java2wsdl problem with axis1.2 alfa

2004-02-17 Thread Tony Blair
Best Regards Roberto -Messaggio originale-Da: Tony Blair [mailto:[EMAIL PROTECTED]Inviato: lunedì 16 febbraio 2004 18.01A: [EMAIL PROTECTED]Oggetto: Re: java2wsdl problem with axis1.2 alfa Roberto,   The java2WSDL and WSDL2java not always work as one expected. They always work molto bene with

Re: Problem with running example with apache axis

2004-02-17 Thread Tony Blair
perhaps some problems. The userguide example2 (Calculator) worked. Now I have a problem with example3 (% java samples.userguide.example3.Client "test me!") I get an error, that there is no target service to invoke.   Do you have an idea, thanks, andi   - Original Message - From: T

Re: Problem with running example with apache axis

2004-02-17 Thread Tony Blair
Hi there,   Is your app server (i.e. TomCat) running?   Regards, Tony.Andreas Roppel <[EMAIL PROTECTED]> wrote: Hi, I have set the axisclasspath in the runtimenvironment like you said, but now comes another errormessage: "java.net.ConnectException: Connection refused: connect"   What can I do?

Re: Axis web services - multi-threaded ??

2004-02-17 Thread Tony Blair
Hamid,   That's true. "Request" will cause a new object to be created per request. This would be an ideal choice only if the service object contains state. Otherwise "Application" or "Session" would be preferable. Tony.Aaron Hamid <[EMAIL PROTECTED]> wrote: Doesn't that create a new object per req

Re: Axis web services - multi-threaded ??

2004-02-16 Thread Tony Blair
Hi there,   You need to set the scope to "Request".   Tony."Kenneth W. Meehan" <[EMAIL PROTECTED]> wrote: Hi,I have been running many of the Axis 1.1 sample web services withseveral different web services clients.In one of my web services client packages I have turned on HTTPpipelining, and I can n

Re: [repost] Java2WSDL serialization problem

2004-02-16 Thread Tony Blair
ht be in the issue tracking system used by Axis?   Thanks again,   Matt ----- Original Message - From: Tony Blair To: [EMAIL PROTECTED] Sent: Sunday, February 15, 2004 1:02 PM Subject: Re: [repost] Java2WSDL serialization problem Matthew,   We have discovered that java2WSDL ant task has pro

Re: java2wsdl problem with axis1.2 alfa

2004-02-16 Thread Tony Blair
Roberto,   The java2WSDL and WSDL2java not always work as one expected. They always work molto bene with those interfaces that contain simple type such as String, int, float and so on. The listUsers() interface seems simple, try to write the deploy.wsdd and the client code yourself and deploy the s

Re: concurrent call.invoke problem

2004-02-15 Thread Tony Blair
Hi there,   Have you played around with service scope? Perhaps if your Service is stateless then set the scope to "Application" to reduce the amount of the object creation. By default Axis set the scope to "Request" which cause the object creation to increase. Of course I am not sure if this is roo

Re: [repost] Java2WSDL serialization problem

2004-02-15 Thread Tony Blair
Matthew,   We have discovered that java2WSDL ant task has problem with nested complex types. It does not create proper WSDL.If the generated WSDL still doesn't have proper definition for your nested complex type, then you can create a dummy operation in your service interface as follow:   MyNestedC

Re: Axis and Classpath JAR's question

2004-02-14 Thread Tony Blair
Hi Niel,   Specifiying jar file in the classpath should technically work. Have you tried perhaps copy the third party jars under Tomcat? I had a similar problem with the SoapMonitorApplet classes and ended up moving them under Tomcat to make it work.   Regards, Tony.[EMAIL PROTECTED] wrote: Hi,I wo

Re: XML DOM

2004-02-14 Thread Tony Blair
Hi Vivek,   I am not sure if I understand your question correctly. The Web Services and the DOM standards are platform independent thus a correct implementation of these standards should be interoperable. I don't see why there should be any concern?   Regards, Tony.Vivek Nagulapati <[EMAIL PROTECT

Re: tomcat+axis

2004-02-14 Thread Tony Blair
Hi there,   Is your deploy.wsdd a valid XML document. It seems that the SAX parser is having a difficulty to parse your deploy.wsdd.   Hope this helps. Tony.Xiao-Ye Wu <[EMAIL PROTECTED]> wrote: HiI've installed tomcat v4.1.29 & axis1.1 on my machine according to the instruction, and I can get the

Freeware Testing tool

2004-02-11 Thread Tony Blair
Hi folks, Are there any freeware testing tool for web services? Thanks, Tony. Do you Yahoo!? Yahoo! Finance: Get your refund fast by filing online

Re: SoapMonitorApplet problem

2004-02-11 Thread Tony Blair
shows, perhaps there is an issue with your environment.   Tony.bethana kumar <[EMAIL PROTECTED]> wrote: Hi     keyboard problem  :::)) No i did not see any soap traffic ..I am just executing the sample example  i.e  axis/samples/userguide/example3 which is bundled with axis. Tony Bl

Re: SoapMonitorApplet problem

2004-02-11 Thread Tony Blair
have added request flow and response flow tags . This is my deploy.wsdd.. i hope we can see soap traffic only when there is delay in requet and response ???           xmlns:java="http://xml.apache.org/axis/wsdd/providers/java">                    Tony Blair <[EMAIL P

Re: Advanced WSDD

2004-02-11 Thread Tony Blair
Bill,   I had a similar question myself but ended up reading all the wsdd files in the sample codes to figure things out as I needed them. The Aixs documentation is very brief on many topics. Thanks to many good people on this mailing list, I've been learning a lot.   Tony."Heitzeg, Bill" <[EMAIL

Re: SoapMonitorApplet problem

2004-02-11 Thread Tony Blair
yed it with AdminClient.Now i am not getting any errors but i did not see any soap traffic while executing http://localhost:8080/axis/services/MyService?wsdl   whats the probelm?I did not see my service name in SOAPMonitorApplet.   I am using IE5.0 on windows 2000. Tony Blair <[EMAIL PROTECTED]>

Re: TCPMon

2004-02-11 Thread Tony Blair
net.URL(http://127.0.0.1:1234/axis/services/service_Name));BTW are you the Tony Blair in Cricket ;-)?Best Regards,Dimuthu.-- Lanka Software Foundation http://www.opensource.lk> There are plenty of post in the archives regarding the TCPMon which none> I could find my answer that I was looki

RE: TCPMon

2004-02-11 Thread Tony Blair
1234 (where your TCPMon is listening) and then TCPMon will forward it to the targeted host/port it's configured with; in your case: 127.0.0.1:8080. Also, the above URL presumes that you've done a custom deployment in Axis, and not a JWS deployment.Hope that helps.>From: Tony Blair &

Re: SoapMonitorApplet problem

2004-02-11 Thread Tony Blair
Hi there,   Did you deploy the soap monitor service.Go to http://www.sosnoski.com/presents/java-xml/axis/axis-monitor.html and follow the instructions. I was getting the same error but now the Soap monitor is working fine.   Tony.bethana kumar <[EMAIL PROTECTED]> wrote: Hi    I am getting followin

TCPMon

2004-02-10 Thread Tony Blair
There are plenty of post in the archives regarding the TCPMon which none I could find my answer that I was looking for. Here is my situation.   I have an axis client written in java. I have attached this client to this email for your viewing. I did not use  java2WSDL ant task to create this client

Re: SoapMonitorApplet

2004-02-10 Thread Tony Blair
Thanks Oleg that worked like a charm. The only thing I did different is that I pasted the xml to my deploy.wsdd as oppose to web.xml.   Thanks, Tony.Oleg Lebedev <[EMAIL PROTECTED]> wrote: Tony,   take a look at this link: http://www.sosnoski.com/presents/java-xml/axis/axis-monitor.html The ins

RE: Simple arrays in complex types

2004-02-10 Thread Tony Blair
d?  Would you mind sending me a code snippet and a snippet of your wsdd?  I just want to get this right, it's really slowing me down and I need to move on.   thanks for you time, I really appreciate it.   Bill -Original Message-From: Tony Blair [mailto:[EMAIL PROTECTED]Sent: Tuesday, Febru

Re: SoapMonitorApplet

2004-02-10 Thread Tony Blair
[EMAIL PROTECTED]> wrote: Hi Tony,SOAPMonitorApplet comes with axis installation itself and islocated at webapps/axis/ directory. Anyways Iam attaching that file. regardsvenkateshOn Tue, 10 Feb 2004, Tony Blair wrote:> Thanks Dhanush, I do not find the SoapMonitorApplet.java anywhere in> the axis-home.

Re: Simple arrays in complex types

2004-02-10 Thread Tony Blair
Bill,   I have a similar code where I pass in a Collection (as oppose to an array) of beans inside a complex type as a method parameter to an operation. It works fine but I had to provide a QName and register the type mapping with the Call object inside my Client code.   Hope this helps, Tony."Heit

Re: SoapMonitorApplet

2004-02-10 Thread Tony Blair
g that file. regardsvenkateshOn Tue, 10 Feb 2004, Tony Blair wrote:> Thanks Dhanush, I do not find the SoapMonitorApplet.java anywhere in> the axis-home. I even looked in the jar files in the lib dir.> > Thanks,> Tony.> > Dhanush Gopinath <[EMAIL PROTECTED]>wrote:> >

Re: SoapMonitorApplet

2004-02-10 Thread Tony Blair
e that u must comment out the tag in web.xml file and compile the Applet java file using normal javac.   Cheerio   Dhanush - Original Message - From: Tony Blair To: [EMAIL PROTECTED] Sent: Tuesday, February 10, 2004 3:33 AM Subject: SoapMonitorApplet Hi,   I looked thru the archives a

Re: Where Axis store the WSDL?

2004-02-09 Thread Tony Blair
Thanks that's what I heard :-)Leo de Blaauw <[EMAIL PROTECTED]> wrote: Tony,   Then its only generated on the fly.   Leo - Original Message ----- From: Tony Blair To: [EMAIL PROTECTED] Sent: Monday, February 09, 2004 9:36 PM Subject: Re: Where Axis store the WSDL? Hi Leo,  

SoapMonitorApplet

2004-02-09 Thread Tony Blair
Hi,   I looked thru the archives and saw one post about the SoapMonitorApplet. It mentioned that the applet is part of the axis folders. I search thru the axis folders, lib and src but couldn't find it. I am trying to access http://localhost:8080/axis/SOAPMonitor and I get an Class not found except

Re: Where Axis store the WSDL?

2004-02-09 Thread Tony Blair
that in my email as well but where does Axis store the WSDL? the stub? the Skeleton? Tony.Leo de Blaauw <[EMAIL PROTECTED]> wrote: Tony, Enter the full URL for your service, followed by ?wsdl this should show you the wsdl for that service in most cases.GreetzLeo - Original Message - Fr

Re: Where Axis store the WSDL?

2004-02-09 Thread Tony Blair
tz Leo - Original Message - From: Tony Blair To: [EMAIL PROTECTED] Sent: Monday, February 09, 2004 8:00 PM Subject: Where is the WDSL? Hi,   After deploying my web service to Tomcat using the Client Admin along with the deploy.wsdd. I don't seem to find the wsdl on my hard drive.

Where is the WDSL?

2004-02-09 Thread Tony Blair
Hi,   After deploying my web service to Tomcat using the Client Admin along with the deploy.wsdd. I don't seem to find the wsdl on my hard drive. I know if I point my browser to myservice?WSDL I will see it. Where is WSDL?   Thanks, Tony. Do you Yahoo!? Yahoo! Finance: Get your refund fast by filin

Re: SimpleDeserializer error

2004-02-06 Thread Tony Blair
]> wrote: Hi Tony,Its a problem with your Client.java. You need to have this 2 linesof codeQName qParam=new QName("urn:PublicService3","Param");call.registerTypeMapping(Param.class, qParam, new ...);Every object should have one Qualified Name associated with it.regardsVenk

Re: Here is the solution for you, Tony!

2004-02-06 Thread Tony Blair
ECTED]> wrote: Hi Tony Blair,   Please take a look at the attached classes, WSDD file, request, response etc…   There is nothing wrong with the axis neither any bug. The issue was with your WSDD file. I wrote it little different way. Method signature etc are same just added the package name

Re: SimpleDeserializer error

2004-02-06 Thread Tony Blair
ent code.. You have sent thereturn type as Param and your type casting the result to a ArrayList.. So, modify your Client.java file and you need to modify the statementcall.setReturnClass(Param.class)... regardsVenkateshOn Thu, 5 Feb 2004, Tony Blair wrote:> Hi Venkatesh,> > Thanks for the s

RE: SimpleDeserializer error

2004-02-05 Thread Tony Blair
erated code for the containing bean should help. Or use 1.1 RC2, that's the only version of Axis that I saw actually do the right thing, for a brief while before 1.1 was released. - Navneet.   -Original Message-From: Tony Blair [mailto:[EMAIL PROTECTED]Sent: Thursday, February 05, 2004 8

Re: SimpleDeserializer error

2004-02-05 Thread Tony Blair
wsdd                         deserializer="apacheaxis.ParamDeserFactory"/>      Thanks, Tony. Venkatesh Kancharla <[EMAIL PROTECTED]> wrote: Have a look at org.apache.axis.encoding.ser package. It contains all theserializers and d

RE: dump of outgoing SOAP messages

2004-02-04 Thread Tony Blair
Samir,   I am running Axis on Win2000. I invoke the applet. I took the defaults for the host and port. I assigned port 24000 for the Listen port. I didn't see any data shown by tcpmon on port 24000 when I run my client!. Any idea?   Thanks.Samir Shaikh <[EMAIL PROTECTED]> wrote: you can use tcpmo

Re: SimpleDeserializer error

2004-02-04 Thread Tony Blair
Venkatesh,   Does Axis allow beans to have Collections as their data member?   Thanks, Tony.   Venkatesh Kancharla <[EMAIL PROTECTED]> wrote: > > Error : org.xml.sax.SAXException: SimpleDeserializer encountered a child element> , which is NOT expected, in something it was trying to deserialize.> >

Venkatesh you are the best :-)

2004-02-04 Thread Tony Blair
It worked. Thanks. Do you Yahoo!? Yahoo! SiteBuilder - Free web site building tool. Try it!

Re: SimpleDeserializer error

2004-02-04 Thread Tony Blair
_| _| _| _| _| _|_|_|_|_|_| _| _| _| _| _| _| _|_| _|_|_|_|_|A L G O R I T H M S F O R L I F EStrand Genomics, # 237, Sir C.V. Raman Avenue, Rajmahal Vilas, Bangalore, India - 560080. Ph no: 23618992,93, 94, 95 ext: 212http://www.strandgenomics.comFavorite quote:-------

Re: SimpleDeserializer error

2004-02-04 Thread Tony Blair
Hi Venkatesh,   Thanks for the reply. Answer to your question is 'yes'. My bean contains another bean inside. Both beans have getters and setters. None of the samples that came with axis download have similiar situation. They all contain simple types.   Initially I was getting "no deserializer foun

SimpleDeserializer error

2004-02-04 Thread Tony Blair
Hi,   Can someone tell me what causes the following error?   Error : org.xml.sax.SAXException: SimpleDeserializer encountered a child element, which is NOT expected, in something it was trying to deserialize.   My client is invoking a call to the service and pass it a bean that has a complex type a