RE: href, mozilla soap, and custom serializers

2002-06-04 Thread Vidyanand Murunikkara
HI Heitzso If the problem you are trying to solve is to prevent the axsi server from sending multi refs then it is very much possible and can be done in the server-config.wsdd. Look for inside /deployment/globalConfiguration . Just change the value of this paramter to false. Hope this helps

solved - was Re: InvocationTargetException/NoSuchMethodError ondeploy

2002-06-04 Thread Bryan Field-Elliot
I believe I have solved my problem... I used to be using Axis beta 1. I had the "jaxrpc.jar" left over from beta 1 in my Tomcat/common/lib directory. After copying beta 2's version of jaxrpc.jar into common/lib, it appears as though I can deploy correctly now. Thanks, Bryan On Tue, 200

Re: Help for those trying to do document style

2002-06-04 Thread Murray Spork
Jill Heck wrote: >hi, > >this looks very much like what i had to put together. one thing, in your >wsdd file, make sure you add a style to the service tag: > > > >that way, when axis renders the wsdl, you don't get an RPC description. > Ah -- ok. I was wondering about that. >the other thing we e

Type metadata generation with WSDL2Java

2002-06-04 Thread Stickley, Jim
Can anyone explain the purpose of the TypeDesc code generated in the stub classes when generating stubs with WSDL2Java? Sometimes my classes have TypeDesc info and sometimes they don't. What criteria determine when this is generated? In relation to this, Arrays of classes and references to clas

RE: provider RPC versus MSG

2002-06-04 Thread St-Germain, Sylvain
I do not know mozilla 1.0rc3 but if you are going from an RPC approach to document you should no longer do an operation. But rather take a DOM and stuff it into the SOAP:Body. Sylvain. -Original Message- From: Heitzso [mailto:[EMAIL PROTECTED]] Sent: Tuesday, June 04, 2002 3:47 PM To: [

InvocationTargetException/NoSuchMethodError on deploy

2002-06-04 Thread Bryan Field-Elliot
I'm using Axis beta 2. I've written a WSDL file (by hand), generated skeletons/stubs, compiled them, and deployed them to Tomcat just fine. Now when I try to deploy the Axis service (using the generated .wsdd file), I get the following exception. Any help would be greatly appreciated, as this is

provider RPC versus MSG

2002-06-04 Thread Heitzso
While trying to get around the href/multiref problem on the server side, I noticed that only RPC provider uses multiref, otherwise that property is set to false. For grins I tried setting my service to MSG provider and, while AxisServlet lists my class and methods as available axis throws an exce

RE: href, mozilla soap, and custom serializers

2002-06-04 Thread Heitzso
My client code is running in a Mozilla browser and doesn't touch the Axis environment except as a vanilla web service. So touching the stub doesn't help me. On the server side my class is, in theory, axis unaware or web-server-container neutral. So my assumption is that the PROP_DOMULTIREF

axis webservice "connection refused" problem

2002-06-04 Thread Abhishek Agrawal
I am trying to run a webservice that run simple "xindice" queries. the web service runs properly when i hard coded the database name in the webservice itself. But when i tried to configure the webservice such that is should read the database name while its being deployed i get the following err

RE: href, mozilla soap, and custom serializers

2002-06-04 Thread Heitzso
client side is just Mozilla 1.0rc3 browser, so touching stub code that won't get used doesn't help (??) I'll try your suggestion in my server side class that's being used to provide the methods. However, since this property needs to be toggled for a specific bean mapping, I'ld expect to be able

could someone who has written custom serializer

2002-06-04 Thread Heitzso
and successfully run w/ axis beta2 email me sample wsdd, ser/deser and factory code? wsdd typeMapping stanza is not getting into ServiceDesc, even after deploying, and then ServiceDesc lines 688 blows null pointer exception. Thanks I'm tearing my hair out trying to get this to work. Heitzso

RE: href, mozilla soap, and custom serializers

2002-06-04 Thread St-Germain, Sylvain
Isn't this trick trigger that both ends be inline? Would make sense to me... But I do not remember, give it a try before digging too deep... Have a look at ServiceContext.getCurrentContext() that may give you some hints. Sylvain. -Original Message- From: Heitzso [mailto:[EMAIL PROTE

Re: Stub won't compile

2002-06-04 Thread R J Scheuerle Jr
You forgot the "wsdl" namespace prefixes on the elements in you binding. For example should be . After making the changes, the stub was generated correctly. Rich Scheuerle XML & Web Services Development 512-838-5115 (IBM TL 678-5115) Bryan Field-Elliot <[EMAIL PROTECTED]> Bryan Field

possible ServiceDesc bug

2002-06-04 Thread Heitzso
with a custom de|serializer, after loading the wsdd and upon calling servlet/AxisServlet to see the exposed methods, ServiceDesc is being called without first setting the type mapping. This throws a null pointer exception on line 688. (partial stack chain by line num in ServiceDesc 488-507-6

Re: Stub won't compile

2002-06-04 Thread R J Scheuerle Jr
I am looking at this right now. Rich Scheuerle XML & Web Services Development 512-838-5115 (IBM TL 678-5115) Bryan Field-Elliot <[EMAIL PROTECTED]> Bryan Field-Elliot <[EMAIL PROTECTED]> 06/04/2002 11:05 AM Please respond to axis-user To: [EMAIL PROTECTED] cc: Subject: Stub w

Re: WSDL2Java bug ?

2002-06-04 Thread R J Scheuerle Jr
(1)  The Holder java class is emitted as defined by JSR 101.  Probably should remove the // ?++? comment from the emitted code. (2) I don't have enough information to determine the problem.  Please send more info. Rich Scheuerle XML & Web Services Development 512-838-5115  (IBM TL 678-5115)

Re: WSDL2Java and javadoc comments - why not?

2002-06-04 Thread Russell Butek
At this point, I believe WSDL2Java only transfers comments if they're at the top level. We could do a better job picking up more comments. Russell Butek [EMAIL PROTECTED] Please respond to [EMAIL PROTECTED] To: "Axis-User (E-mail)" <[EMAIL PROTECTED]> cc: Subject: Re: WSDL2Java and javadoc c

RE: href, mozilla soap, and custom serializers

2002-06-04 Thread Heitzso
Sylvan, Thank you for the clue. However I need to set this server side. I'm grepping the code now and digging around, but if you're aware of how to quickly set PROP_DOMULTIREFS false server side I'ld appreciate the info. Thanks, Heitzso On Tue, 2002-06-04 at 13:03, St-Germain, Sylvain wrote:

RE: Soap header, Authentication

2002-06-04 Thread St-Germain, Sylvain
Have a look at the Call object. You will see that it holds an Vector of SOAPHeaderElement. Sylvain. -Original Message- From: Anna Chen [mailto:[EMAIL PROTECTED]] Sent: Tuesday, June 04, 2002 12:18 PM To: [EMAIL PROTECTED] Subject: Soap header, Authentication Hi, could anyone tell me

RE: Soap header, Authentication

2002-06-04 Thread Nirmala Ranganathan
You can add authentication information such as userName , Password etc., into SOAPHeaderElement object. Document doc = XMLUtils.newDocument(); Element root = doc.createElementNS(nameSpace, ""); Element subElem = doc.createElementNS(nameSpace, "userName");

RE: href, mozilla soap, and custom serializers

2002-06-04 Thread St-Germain, Sylvain
Try puttin this line in your Stub's createCall method. import org.apache.axis.AxisEngine; call.setOption(AxisEngine.PROP_DOMULTIREFS, new Boolean(false)); Sylvain. -Original Message- From: Heitzso [mailto:[EMAIL PROTECTED]] Sent: Tuesday, June 04, 2002 12:24 PM To: [EMAIL PROTECTED] Subj

Re: WSDL2Java and javadoc comments - why not?

2002-06-04 Thread St-Germain, Sylvain
I found this thread in the archive that mention that WSDL2Java was to be updated for beta2 in order to spit out documentation notes as javadoc. How do I get the doc bits like those... Details about one piece of logon information. ...carried in my java co

href, mozilla soap, and custom serializers

2002-06-04 Thread Heitzso
HELP! Ouch. HELP HELP (please ... and thanks ...) Mozilla 1.0rc3 SOAP doesn't handle hrefs. I recoded a java bean (returned from web service) to only contain simple data types and arrays of simple data types but axis still uses a href even though nothing is gained by it. I'm trying _hard_ to

Soap header, Authentication

2002-06-04 Thread Anna Chen
Hi, could anyone tell me how to add Authentication, username, password, in SOAP header in client? Thanks Anna

Stub won't compile

2002-06-04 Thread Bryan Field-Elliot
I'm using Axis beta 2, and using WSDL2Java to generate skeletons and stubs. Obviously my skeleton won't compile until I provide method implementations for my operations.. However, I would think that my stub should compile "out of the box", but it doesn't. It's also missing method implementat

WSDL2Java bug ?

2002-06-04 Thread Prasanta Behera
With the attached WSDL,  there are 2 problems (Using AXIS Beta 2 , JDK 1.4, Win2k) 1.  It doesnot generate any set/get() methods for Holder objects. This is the generated code. public final class ArrayOfstringHolder implements javax.xml.rpc.holders.Holder {     public String[] value;     publ

RE: RE:Axis web services for MySQL Connection.

2002-06-04 Thread Eamonn Fallon
Hi Joe, I think the real problem is that, in Java there is not standard way of representing an offline result set (ie a DataSet). What you have to do is write a custom deserialiser to parse the xml in the soap response and put the data in an object that is equivalent to a .NET Dataset object. Doe

Re: WSDL Question

2002-06-04 Thread Russell Butek
This statement:   means that the part references an element type: There is no such beast in your WSDL. Your WSDL has a complexType called "Ping", so changing "element=" to "type=" finds the complex type. Russell Butek [EMAIL PROTECTED] Please respond to [EMAIL PROTECTED] To: "'[EMAIL PROTE

nagoya.apache.org on-line?

2002-06-04 Thread Frank Cohen
I am getting no response from nagoya.apache.org:5049/axis/service/echo as described in Example 1 in the Axis beta user guide. Is it just me? Who admins this server? -Frank -- Frank Cohen, CEO, PushToTest, www.pushtotest.com, phone: 408 374 7426 Come to PushToTest for free open-source Active Secu

RE: Axis web services for MySQL Connection.

2002-06-04 Thread Thomas Herbstreuth
Hi, yes please. Thank you, T. assistent = Unternehmensberatung http://www.assistent.com _ Thomas Herbstreuth Telefon: +49 711 735 760 0 Telefax: +49 711 735 760 5 > -Original Message- > From: Jürgen Kaatz [mailto:[

AXIS and UDDI4J need help

2002-06-04 Thread Jean-Marc Taillant
Does someone try to UDDI4J V1 with AXIS beta 2 ?   Need help with TransportClassname used in UDDI4J ...   Thanks, Jean Marc

RE: RE:Axis web services for MySQL Connection.

2002-06-04 Thread Thomas Herbstreuth
Hi,   now we're at a point where i need a little help from the community, since my RDBMS needs are more than satisfied with scalar data or an xml string that goes back on the soap wire.   I see the concepts behind SOAP as strictly connectionless, datagram oriented.   What you have as a dir

RE:RE:Axis web services for MySQL Connection.

2002-06-04 Thread Joe Harrison
> You couldn't find anything specific about SOAP and JDBC because there is not the slightest difference in the use of JDBC in a Web-Service and a directly connected client.   There is one major distinction between a MySQL client and a Web Service connecting to a database, the Web Service

Re: Axis web services for MySQL Connection.

2002-06-04 Thread Jürgen Kaatz
Hi to all, I use a data access object design pattern (DAO), to access a mysql database through a webservice function. To big advantage is, that one doesn't need any database specific environment variables like host, database, user or something else in the source code. All this is done in the JN

RE: Axis web services for MySQL Connection.

2002-06-04 Thread Thomas Herbstreuth
Hi, why not write an application that does the following: Call remote method with 2 paras (user and passwd) Method looks up user and password, if matches returns an array of keyvalues ( key to a certain task, project, whatever ) Second method uses keyvalue as parameter to look up task/project d

Re: Axis web services for MySQL Connection.

2002-06-04 Thread Miguel A Paraz
Hi, Nice timing, I need to write a tutorial on SOAP-to-JDBC and need suggestions. Ideas for a 'toy app' to build are greatly appreciated. On Tue, Jun 04, 2002 at 10:44:57AM +0200, Thomas Herbstreuth wrote: > 2.) > Writing a webservice that connects to a mySQL Server (your Webservice would > be t

RE: Axis web services for MySQL Connection.

2002-06-04 Thread Thomas Herbstreuth
Hi,   connecting to mySQl via SOAP can be understood as one of two things.   1.) Tunneling the requests that usually go through port 3306 via SOAP, that doesn't sound easy and i doubt if it's possible at all.   2.) Writing a webservice that connects to a mySQL Server (your Webservice would be

AXIS and Uddi4j

2002-06-04 Thread Jean-Marc Taillant
Does someone use Uddi4j version 2. I try to use it with AXIS nightly build from 28/05/2002 but i get the following exception:   *** Running UDDITest ***org.uddi4j.transport.TransportException    at org.uddi4j.transport.ApacheAxisTransport.send(Unknown Source)    at