Arguments to Constructor

2002-03-13 Thread Kumar, Vinay 2
hello, it is easy to pass in Arguments to Web Service Function.. but, how can we pass in Arguments to Web Service Constructor VINK

Embedding axis (again)

2002-03-13 Thread Ralf Michl
Hi, this question has been asked before but I could not find an answer so far: How can I use axis from within my own program? Meaning that I have my own java program where I dynamically want to start/stop one or more axis/http servers (threads). For each of the started servers I want to

Help ! Deployment at Server

2002-03-13 Thread Taubenberger Stefan
Hello, I have a question to the deployment of a service. Must I have the classes for the service under the webapps/axis/web-inf/classes Directory. It means every new Service which i create, i must deploy my classes under this directory. Is this right ?? If this is right my next question

DEployment at server

2002-03-13 Thread Taubenberger Stefan
Hello, my question is, if i must deploy the class Files of service in the webapps\axis\web-inf\classes Directory ?? Is it possible top deploy every service in a single war file, that the webapps looks like that: webapps\axis webapps\service1 webapps\service2 I have tried this, but it doesnt

AXIS Installation Issues

2002-03-13 Thread Manuel Reyes
I have attempted to install Apache-Axis (xml-axis-beta1-rc1.zip) on a win32 platform running under Tomcat 4.0.2 (TC is working correctly). Following the supplied Axis docs to the letter ends up with me in the following situation : When I view the Axis index page

RE: javax.servlet package

2002-03-13 Thread Russell Butek
Ma, June wrote: While compilingaxis/attachments/ManagedMemoryDataSource.java, I got the following warning. I am wondering could that be fixed in the Beta1 also.    367.   }catch(Exception e2){ -- *** Caution: This try block cannot throw

Re: javax.servlet package

2002-03-13 Thread Russell Butek
No, the servlet package is not part of axis. It is part of whatever web server (Tomcat, WebSphere, whatever) that you use. Russell Butek [EMAIL PROTECTED] Ma, June [EMAIL PROTECTED] on 03/12/2002 06:24:26 PM Please respond to [EMAIL PROTECTED] To:'[EMAIL PROTECTED]' [EMAIL PROTECTED]

Re: XML-RPC and SOAP

2002-03-13 Thread Oliver Denzel
Hi Monika, XML-RPC is something different to SOAP. There is the possibility to do an RPC using SOAP, for info about this see either the spec or an introduction to SOAP (at www-106.ibm.com/webservices or www.webservicesarchitect.com or www.webservices.org) XML-RPC ist a protocol defined by

Re: Something go wrong with Java2WSDL

2002-03-13 Thread Russell Butek
Curious! I just tried the LogTestService with the SimpleAxisServlet and http://localhost:8080/axis/servlet/LogTestService?WSDL worked just fine. I don't know what to tell you. Russell Butek [EMAIL PROTECTED] ϯ À¤ [EMAIL PROTECTED] on 03/12/2002 09:51:32 PM Please respond to

Re: example2 glitch

2002-03-13 Thread Cun Yong Tan
You have to add this before call.invoke(: call.setReturnType( org.apache.axis.encoding.XMLType.XSD_STRING ); I am having trouble running example 3 and 4. After I deploy it using the AdminClient, when I try to acess the service using the client programs, in example 3, I get:

WSDL2Java Invalid Element from response problem

2002-03-13 Thread Token Scotsman
Hi. I'm getting the following error from my Java client that uses code from WSDL2Java: org.xml.sax.SAXException: Invalid element in com.foo.ws.ArrayOfAnyType - anyType I am returning in my response a System.Collections.ArrayList from a C# web service. For XML Request: POST

Life cycle of published classes ?

2002-03-13 Thread Riviere Stéphane Jean
Hi, I'd like to find some information about life-cycle of objects published as web-services. Apparently, each time a service is called, the associated object is instantiated and used. Are there any parameters in the deployment descriptor to say that only 1 instance of the object should be used

Re: example2 glitch

2002-03-13 Thread Russell Butek
H! I thought I fixed that! Sorry! I'll fix it right now... Russell Butek [EMAIL PROTECTED] Chris Haddad [EMAIL PROTECTED] on 03/13/2002 12:14:03 AM Please respond to [EMAIL PROTECTED] To:[EMAIL PROTECTED] cc: Subject:example2 glitch Axis-user In the 03/12 snapshot, I'm

RE: XML-RPC and SOAP

2002-03-13 Thread Simon McClenahan
These are two examples of XML protocols, as it has been defined by the W3C XML Protocol Working Group. There is a table comparing each of these protocols witha list of "facets"at http://www.w3.org/2000/03/29-XML-protocol-matrix. Apparently it is only dated in March 2000, but you should get

RE: Java2WSDL parameter p specification example?

2002-03-13 Thread Simon McClenahan
I've attached some batch files that I keep in a directory in my path. The genjava.bat is what you want. FYI, the command line eventually looks like: C:\java org.apache.axis.wsdl.WSDL2Java --verbose --server-side --fileNStoPkg D:\SS\transformation_server\dev\jstub\WebService\NStoPkg.properties

Problem with wsdl2java generator

2002-03-13 Thread Luis Novais
Hi, With the utility wsdl2java of 17 of February, based on this portion of the schema .. xs:element name="securityOut" minOccurs="0"xs:complexTypexs:all minOccurs="0"xs:element name="codePositions" type="CodePositionsType" minOccurs="0"xs:annotationxs:documentation3 random

RE: Java2WSDL parameter p specification example?

2002-03-13 Thread Simon McClenahan
After sending this message with attachments, I got a whole bunch of auto-responses from various anti-virus scanners thinking they were viruses. I apologize for being naive in sending batch files in a message! I should have zipped it first. If you want the files and didn't get them, send me a

RE: Problem with wsdl2java generator

2002-03-13 Thread Tom Jordahl
In your XML, since maxOccurs isn't specified, it defaults to 1. The code was changed to make minOccurs=0, maxOccurs=1 create a single Object type instead of an array. The object can either have a value or be null (which means it occurred 0 times). This was deemed to make more sense that

Re: sending byte arrays

2002-03-13 Thread R J Scheuerle Jr
Carsten, I don't know what level of Axis you are using, but there have been a number of improvements to the code associated with the serialization of byte[]. You may want to checkout a nightly build. Hope this helps. Rich Scheuerle XML Web Services Development 512-838-5115 (IBM TL 678-5115)

RE: Java2WSDL parameter p specification example?

2002-03-13 Thread Russell Butek
The Java2WSDL -p option now works. Russell Butek [EMAIL PROTECTED] robert woodley [EMAIL PROTECTED] on 03/12/2002 06:58:29 PM Please respond to [EMAIL PROTECTED] To:[EMAIL PROTECTED] cc: Subject:RE: Java2WSDL parameter p specification example? To recap: Java2WSDL takes a -p

Tomcat classloader issue

2002-03-13 Thread Simon McClenahan
I am running Tomcat 4.0.2 to host the AxisServlet. Whenever I build a new axis.jar, I place all the build jars in the %TOMCAT_HOME%\webapps\axis\WEB-INF\lib directory. As of about a month ago when I just started using Axis, it was discovered that Tomcat was not loading axis.jar and all sorts of

Java2WSDL List question

2002-03-13 Thread robert woodley
Simple question, but can't find the answer in the documentation, or in the discussion group. I hand this interface to Java2WSDL: public interface GeneralServer { // Returns a List of foo objects. public List returnAllPortfolios(); } Problem is that Java2WSDL doesn't know about

Re: example2 glitch

2002-03-13 Thread John Towell
Chris: This was answered yesterday by Yann: Dear Axis team, you're really doing great work with Axis. During my tests, the calculator example (userguide/example2) did not work. The result returned was always null. I found that the following line was missing :

Has anyone seen the DIME spec

2002-03-13 Thread James McCarthy
I just read a submission from a few Microsoft engineers for the encapsulation of multiple arbitrary messages into a single binary message attachment. The submission is called Direct Internet Message Encapsulation (DIME). I am trying to understand why they did not just use the ZIP encoding

RE: Java2WSDL parameter p specification example?

2002-03-13 Thread robert woodley
Thanks for the response, but Your example uses WSDL2Java, whereas I was asking about Java2WSDL. The --fileNStoPkg option does not exist for Java2WSDL unfortunately. The following do not generate errors, but they also do not substitute the namespace string in the generated WSDL:

RE: Life cycle of published classes ?

2002-03-13 Thread St-Germain, Sylvain
I think this is what you are looking for: http://marc.theaimsgroup.com/?l=axis-userm=101426238828814w=2 -Original Message- From: Riviere Stéphane Jean [mailto:[EMAIL PROTECTED]] Sent: Wednesday, March 13, 2002 10:43 AM To: '[EMAIL PROTECTED]' Subject: Life cycle of published classes ?

RE: Embedding axis (again)

2002-03-13 Thread Alan Gordie
Have you looked at Jetty? http://jetty.mortbay.com/ We are embeddingJetty within our own server application and then deploying Axis within it's servlet container. Works GREAT! This gives us the capability to programmatically access not only Axis, but also the http server features of

Problem with WSDL2JAVA (generated code doesn't compile)

2002-03-13 Thread Nuno Guerreiro
I have the following element defined in a schema: xs:element name=confirmationCode minOccurs=0 xs:complexType xs:all xs:element name=value type=CodeValueType minOccurs=3 maxOccurs=3/ /xs:all /xs:complexType /xs:element The CodeValueType definition is as follows: xs:simpleType

Namepace URIs and AXIS

2002-03-13 Thread Maneesh Sahu
Hi, I have attempted publishing a few services using both the jws file and wsdd deployment techniques and have some questions and feedback. 1. Services published using jws and wsdd, result in a WSDL definition having a namespace URI- http://hostname:port//axis/servicename or

Problem with NoSerializer for Proxy classes

2002-03-13 Thread Frank Griffin
I've written a SOAP application with a single method which invokes a specified method on an EJB. The name of the EJB and the name of the method are passed up as Strings. The return from the method is a single container-type object, say A, whose instance fields contain Strings or primitives plus

Re: Tomcat classloader issue

2002-03-13 Thread robert woodley
I had the same problem. There are numerous posting on Tomcat discussion groups that indicate that this is a pervasive problem specific to Tomcat. Bob Woodley --- Simon McClenahan [EMAIL PROTECTED] wrote: I am running Tomcat 4.0.2 to host the AxisServlet. Whenever I build a new axis.jar, I

AXIS beta 1 second release candidate

2002-03-13 Thread Russell Butek
We now have a new beta release candidate: http://xml.apache.org/axis/dist/beta1-rc2/. The documentation/samples have been updated/fixed, and a number of bugs have been fixed. Please play with this release candidate and report to axis-dev any problems you think are show-stoppers. There are a

Problem with MessageElement?

2002-03-13 Thread Steve Pannier
I have the following test program that makes use of the org.apache.axis.MessageElement class: import org.apache.axis.message.*; import org.w3c.dom.*; public class TestAxisApi { public TestAxisApi() {} public void run() { MessageElement parent = new MessageElement();

problem with complex data types and Delphi

2002-03-13 Thread Joe Russov
I have a problem with complex data types using the Axis server with a client written in Delphi. Both sides are generated from the same WSDL file. Here is an example type from my WSDL file: xsd:complexType name=Logs xsd:sequence xsd:element name=LogEntry type=xsd:string

RE: WSDL compliant ?!

2002-03-13 Thread Tom Jordahl
In the current CVS source, this work 2 ways: 1. Only a single CurrentWeather type is referenced, so a single Java class it output: java org.apche.axis.wsdl.WSDL2Java --verbose http://www.vbws.com/services/weatherretriever.asmx?WSDL Parsing XML file:

JAXM and Axis

2002-03-13 Thread Bruce Bleasdale
This may be a well know question/answer, but the FAQ is currently empty. :) How does Axis fit with Sun's JAXM and JAX-RPC APIs? From what I can see, now they really don't fit together currently (ie there are no implementing classes for the JAX* api's), however Axis could be a provider.

example2 go wrong

2002-03-13 Thread simon xi kun
hi, I have added the axis.jar to my classpath and axis.jar is placed under %tomcat_home%\common\lib,when I run the java samples.userguide.example2.CalcClient -p8080 add 2 3 I get the excption as follow: Exception in thread main java.lang.NoSuchMethodError at

RE: Life cycle of published classes ?

2002-03-13 Thread Riviere Stéphane Jean
Thanks, that was all I needed (for the moment) :-) Stéphane. -Message d'origine- De : St-Germain, Sylvain [mailto:[EMAIL PROTECTED]] Envoyé : mercredi 13 mars 2002 20:15 À : [EMAIL PROTECTED] Objet : RE: Life cycle of published classes ? I think this is what you are looking for: