AW: Best Practices?

2004-05-11 Thread Dorner Thomas
The right way is to write a interface which includes all the Methods your webservice should offer. Then you use java2wsdl to generate your wsdl. You have to correct your parameternames in your auto generated wsdl, cause the the params looks like in0, in1, in2... . Then you use wsdl2java to gene

RE: Question about Service() Constructor

2004-05-11 Thread Blake Dournaee
Thanks dims, I've got it now. I'm a bit confused as to why the toolkit can't pull the service name out of the WSDL as well? It seems like the WSDL is being parsed twice in this respect. In short, I'm populating a class with information strictly from the WSDL. Blake -Original Message- Fro

RE: Question about Service() Constructor

2004-05-11 Thread Blake Dournaee
Anne –   D’oh!   Thanks for pointing out my silly mistake. It works now.   Blake   From: Anne Thomas Manes [mailto:[EMAIL PROTECTED] Sent: Tuesday, May 11, 2004 7:37 PM To: [EMAIL PROTECTED] Subject: RE: Question about Service() Constructor   Blake,   You get the serv

Re: high fidelity and streaming=on

2004-05-11 Thread Aleksander Slominski
Davanum Srinivas wrote: can you please submit a patch for your Benchmark test (morph it into a axis test case). The more Benchmark tests we have the better it is to do performance testing. hi, the benchmark is still in the initial stage as what i was really interested is to compare C++ and Ja

Re: high fidelity and streaming=on

2004-05-11 Thread Davanum Srinivas
Alek, can you please submit a patch for your Benchmark test (morph it into a axis test case). The more Benchmark tests we have the better it is to do performance testing. thanks, dims On Tue, 11 May 2004 17:43:39 -0500, Aleksander Slominski <[EMAIL PROTECTED]> wrote: > > Goldstein, Scott wrote:

RE: Question about Service() Constructor

2004-05-11 Thread Anne Thomas Manes
Blake,   You get the service name from the WSDL:   :service name="TesterService">   Use “TesterService” rather than “TesterClient”.   Anne   From: Blake Dournaee [mailto:[EMAIL PROTECTED] Sent: Tuesday, May 11, 2004 7:15 PM To: [EMAIL PROTECTED] Subject: RE: Question abou

Re: LogHandler alternative filename (other than axis.log)

2004-05-11 Thread Davanum Srinivas
try replacing filename with "LogHandler.fileName" -- dims On Tue, 11 May 2004 17:46:59 -0400, Christopher Blunck <[EMAIL PROTECTED]> wrote: > > Hi all- > > Fairly straight forward question . . . I'm sure I'm doing something improper. > > I wish to log all incoming and outgoing SOAP using the L

Re: Question about Service() Constructor

2004-05-11 Thread Davanum Srinivas
Blake, Can you post the WSDL itself? typically you pick up the targetNamespace as the uri for constructuing the QName. You can check out my samples/client/DynamicInvoker code -- dims (Davanum Srinivas) - Original Message - From: Blake Dournaee <[EMAIL PROTECTED]> Date: Tue, 11 May 2004

RE: Question about Service() Constructor

2004-05-11 Thread Blake Dournaee
All,   I’ve updated this to include a guess at the namespace part of the QName. Still the same problem:   try {     String uri = new String("http://localhost:8080/axis/Tester.jws");   String localPart = new String("TesterClient");     QName serviceName = new QName(uri,l

Re: high fidelity and streaming=on

2004-05-11 Thread Aleksander Slominski
Goldstein, Scott wrote: Could someone explain to me that advantages/disadvantages of turning streaming on (high-fidelity off)? hi, it would be nice if somebody who implemented (Dims? Glen?) this feature posted some notes about it and expected performance gains/trade offs (if streaming no long

java.lang.String is type tns:string in wsdl

2004-05-11 Thread Travis Stevens
Hello. I feel like I am missing something simple here. I have search the mail-archive and nobody seems to have had this problem (at least not on any of the keywords I search for). Basically, I am doing Bean serialization on a simple java bean. I am expecting the wsdl to described the propert

LogHandler alternative filename (other than axis.log)

2004-05-11 Thread Christopher Blunck
Hi all- Fairly straight forward question . . . I'm sure I'm doing something improper. I wish to log all incoming and outgoing SOAP using the LogHandler. I've set up my LogHandler in the requestFlow and responseFlow in my server-config.wsdd: For some reason, Axis is still dumping

Question about Service() Constructor

2004-05-11 Thread Blake Dournaee
All,   Given a WSDL, how does one properly find the name of the service? That is, I have a WSDL and am making a call to the Service() constructor that takes two arguments:   The WSDL (stream or file) A QName.   I am stuck on how to properly populate the QName. At this point I am g

Getting error org.apache.axis.encoding.ser.BeanPropertyTarget on call from HP Unix.

2004-05-11 Thread Padmanaban, Duraiswamy
Title: Getting error org.apache.axis.encoding.ser.BeanPropertyTarget on call from HP Unix. Hi, The following problem occurs when I try to invoke call to webservice on HP Unix.  On Solaris the same call works fine. =20 Only difference is we have Java 1.3.01-release (HP Version) on HP unix b

Re: SOAP message size limit with Axis

2004-05-11 Thread Jim Murphy
Not at stupid question at all: There are roughly 2 ways to deal with XML: 1. All at once in a tree of some sort, like a DOM 2. As a stream: like Sax, Pull parsers or XML Readers DOMs are generally easier to deal with since all of the XML is available and you can write code that runs around the

Re: handler after the request

2004-05-11 Thread samir_chouthai
Martin -   Add the handler in the ResponseFlow of the global configuration. Your handler will get invoked after the service has processed the request.   - Samir Chouthai.Martin Hamel <[EMAIL PROTECTED]> wrote: -BEGIN PGP SIGNED MESSAGE-Hash: SHA1Hi,I would like to had a handler that would b

wrong float result C++ client / Tomcat ?

2004-05-11 Thread Bochnak Filip
Hi guys Can anybody help me out? I wrote a c++ client which connects to a Tomcat Server. My method is giving me the wrong number? what I am doing wrong? I suppose that´s a parsing problem ?!? my method looks like: float GetQuote::getQuote(xsd__string Value0) { float Ret; if (AXIS

Re: response chain invoked on a fault?

2004-05-11 Thread Tomasz Pik
Nelson Minar wrote: If a service method invocation at the pivot generates a fault, do handlers on the response chain get invoked? Does their invoke() method get called? Their onFault() method? Some tests I've done suggest that only Handlers in the request chain get called, but I'm not sure I'm rig

RE: SOAP message size limit with Axis

2004-05-11 Thread Miller, Janet
How do you stream parse it in one pass and what does that mean? Sorry if this is a stupid question. Haven't actually worked with web services yet. Jan -Original Message- From: Jim Murphy [mailto:[EMAIL PROTECTED] Sent: Tuesday, May 11, 2004 3:48 PM To: [EMAIL PROTECTED] Subject: Re: SOA

Re: SOAP message size limit with Axis

2004-05-11 Thread Jim Murphy
Thats a pretty large SOAP message - I hope you have lots of RAM in the server machine. I should say its a large message to parse into a DOM - not much is too large if you can stream parse it in one pass. Jim Murphy Mindreef, Inc. Miller, Janet wrote: I will be getting one message of that size e

RE: SOAP message size limit with Axis

2004-05-11 Thread Miller, Janet
I will be getting one message of that size every minute. I am new to Web Services, so it will take awhile before I can try it. Also, the Web Service is not available yet. -Original Message- From: Nelson Minar [mailto:[EMAIL PROTECTED] Sent: Tuesday, May 11, 2004 3:25 PM To: [EMAIL PROTEC

RE: response chain invoked on a fault?

2004-05-11 Thread Nelson Minar
>In my experience, handlers do NOT get invoked on a fault. No handlers at all? Surely Handler.onFault() is good for something?! There's actually a test for this in test/chains/TestChainFault.java But it kind of looks to me like onFault() is only called on request handlers, not response handlers.

RE: response chain invoked on a fault?

2004-05-11 Thread Brian Speight
In my experience, handlers do NOT get invoked on a fault. -Original Message- From: Nelson Minar [mailto:[EMAIL PROTECTED] Sent: Tuesday, May 11, 2004 2:28 PM To: [EMAIL PROTECTED] Subject: response chain invoked on a fault? If a service method invocation at the pivot generates a fault, d

response chain invoked on a fault?

2004-05-11 Thread Nelson Minar
If a service method invocation at the pivot generates a fault, do handlers on the response chain get invoked? Does their invoke() method get called? Their onFault() method? Some tests I've done suggest that only Handlers in the request chain get called, but I'm not sure I'm right.

Abort a axis handler chain

2004-05-11 Thread Robert Mecklenburg
I'm pretty new to SOAP and Axis, so I'm not sure how to do this: I want to implement a service that authenticates the caller (using a certificate in the message). If the user is not authorized to invoke the service, I want *no response* sent at all. No return value, no exception, nothing. Is th

Re: SOAP message size limit with Axis

2004-05-11 Thread Nelson Minar
>I will be accessing a Web Service written using Axis. The messages >will be about 3.2MB or less in size. I'm wondering if I will have >performance issues parsing a message of this size. I suggest you just try it and report back! I think it should work OK, but the details depend a lot on what's in

RE: handler after the request

2004-05-11 Thread Yakulis, Ross (Ross)
context.getPastPivot() -Original Message- From: Martin Hamel [mailto:[EMAIL PROTECTED] Sent: Tuesday, May 11, 2004 12:21 PM To: [EMAIL PROTECTED] Subject: handler after the request -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi, I would like to had a handler that would be executed af

handler after the request

2004-05-11 Thread Martin Hamel
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi, I would like to had a handler that would be executed after the call to the method. It is to put some context informations in my answer. That could happen on every calls. The information could be warnings or "success rate" or anything.. But that

Re: Best Practices?

2004-05-11 Thread Joe Plautz
Thanks for the response! When creating the the service this way, when do you create any objects? Do you have them created from the begining, or do you add them to the WSDL and let them be generated? - Original Message - From: "Yakulis, Ross (Ross)" <[EMAIL PROTECTED]> To: <[EMAIL PROTECT

RE: Best Practices?

2004-05-11 Thread Yakulis, Ross (Ross)
My personal opinion and I know some will disagree, but here goes. Start witha Java class and use Java2WSDL then WSDL2Java to generate the service. have the style be Wrapped for the best interoperability. Keep the interface as simple as possible. Ross -Original Message- From: Joe Plautz

SOAP message size limit with Axis

2004-05-11 Thread Miller, Janet
I will be accessing a Web Service written using Axis. The messages will be about 3.2MB or less in size. I'm wondering if I will have performance issues parsing a message of this size. 3.2MB will be the max and the message will initially be much smaller. The message will contain about 6-8 differen

Error Hot-Deploying Axis Code to Client

2004-05-11 Thread Kennedy, Mark
Hi there, We're having trouble hot-deploying our J2EE application which uses Apache Axis code. Our setup is as follows: 1) We have a SOAP client talking to a SOAP server. The SOAP client and server use the Apache Axis libraries to generate the stubs and skeletons, which are packaged and deployed

bug: non nillable element sent as nil

2004-05-11 Thread Brian Speight
Thought I would run this by the list before I entered this bug... Element defined in schema: When using Axis 1.2 Alpha: wsdl2java generates this... private int numberOfChildren; and when not setting any value for this, this is what is sent in the SOAP request... http://schemas.xmlsoap.org/s

Best Practices?

2004-05-11 Thread Joe Plautz
I'm a newbie looking for guidance in creating WebServices with Axis. I've gone through the documentation backwards and forwards and have come up with me own ways of doing things. I start with a WSDL that I create and use WSDL2Java to generate the code and go from there. What I'm looking for is a be

How do you remove encoding - newbie question!

2004-05-11 Thread Lee, Ken
Title: How do you remove encoding - newbie question! This is probably really simple and hopefully I don't get a RTFM response (or at least let me know the page number!), but I didn't see an answer in the historical posts for this specific question. Question: In the response, how do I get the

RE: c++ client/Tomcat Web-Server with Java Axis?

2004-05-11 Thread Anne Thomas Manes
As I said, for multi-platform scenarios, you have three choices: - Axis C++ (BSD) - gSOAP (MPL/GPL) - WASP C++ (Commercial) See the Axis C++ documentation for installation instructions. (http://ws.apache.org/axis/cpp/documentation.html). It assumes you're using Apache Web server. You don't actua

RE: c++ client/Tomcat Web-Server with Java Axis?

2004-05-11 Thread Anne Thomas Manes
As I said, for multi-platform scenarios, you have three choices: - Axis C++ (BSD) - gSOAP (MPL/GPL) - WASP C++ (Commercial) See the Axis C++ documentation for installation instructions. (http://ws.apache.org/axis/cpp/documentation.html). It assumes you're using Apache Web server. You don't actua

RE: WSDL2Java for Basic Profile..

2004-05-11 Thread Anne Thomas Manes
Are you sure that it's using the encodingStyle attribute and not just including a namespace declaration? Please post your SOAP request and the WSDL definition. Thanks. -Original Message- From: Gutty, Ramesh (MLIM) [mailto:[EMAIL PROTECTED] Sent: Monday, May 10, 2004 6:27 PM To: [EMAIL P

RE: WSDL2Java for Basic Profile..

2004-05-11 Thread Anne Thomas Manes
Are you sure that it's using the encodingStyle attribute and not just including a namespace declaration? Please post your SOAP request and the WSDL definition. Thanks. -Original Message- From: Gutty, Ramesh (MLIM) [mailto:[EMAIL PROTECTED] Sent: Monday, May 10, 2004 6:27 PM To: [EMAIL P

Re: possible logic error in RPCHandler

2004-05-11 Thread Davanum Srinivas
fixed in cvs. -- dims On Tue, 11 May 2004 14:04:04 +0200, Biörn Biörnstad <[EMAIL PROTECTED]> wrote: > > Jeff, > > I think your right. The way the method is used in the code snippet doesn't make > any sense to me. You should file a bug report. > > Bioern > > Jeff Greif wrote: > > In this code

Re: possible logic error in RPCHandler

2004-05-11 Thread Biörn Biörnstad
Jeff, I think your right. The way the method is used in the code snippet doesn't make any sense to me. You should file a bug report. Bioern Jeff Greif wrote: In this code snippet from org.apache.axis.message.RPCHandler, around line 260 in the axis-1.2 beta sources, if(null != dest

MSGProvider,EJBProvider and XML flow/DOM

2004-05-11 Thread arnaud
MSGProvider extends JavaProvider and EJBProvider extends RPCProvider so is it possible to use style="message" with the EJBProvider ? Is it foreseen for the version 1.3 ? And (other question) : with style message,is it foreseen for the version 1.3 that a xml flow is use instead of an object DOM ?

AW: c++ client/Tomcat Web-Server with Java Axis?

2004-05-11 Thread Dorner Thomas
Hello Anne, can you pls give me more informations about "deploy a SOAP client environment for C++ on the Web server"? Or can you please give me some links for this topic??? Thanks Tomi -Ursprüngliche Nachricht- Von: Anne Thomas Manes [mailto:[EMAIL PROTECTED] Gesendet: Montag, 10. Mai 2