user name and password usage in service invocation

2002-06-18 Thread Sandeep Lakshmipathy
Dear Friends, I am trying to invoke the getQuote() method in the service urn:xmltoday-delayed-quotes. But I keep getting the message that I am unauthorized to access the service. I user the following method call to set the user name and password. stub._setProperty(org.apache.axis.clien

Re: WebService interface design..

2002-06-18 Thread Steve Loughran
I working on a design guide for publishing as a technical report sometime One thing you need to thing about is round trip times; a LAN scoped system can be chatty, but a long haul WS arch needs to deal with higher latency designs, for which a many-query design may not work. I like queries that ca

Re: InClass-Server

2002-06-18 Thread Sebastian Hasait
Am Dienstag, 18. Juni 2002 22:02 schrieb Wimmer, Matthias: > Sebastian: > > Your second question: The Axis server doesn't need to be assigned a port > because it is a web application. The configuration for the network stuff is > done by the web server (Tomcat, ...) and a web application makes use

deployment problem

2002-06-18 Thread Ng Yan Tun, Van Sioung
Title: deployment problem Hi guys, This is the first time I am using Apache Axis. I have followed that instruction on installlation. I am using Tomcat 3.2. I have already set the classpath for e:\todeploy;e:\axisjar\xerces.jar;e:\axisjar\axis.jar;e:\axisjar\commons-logging.jar;e:\axisjar\

RE: exec an application and write output to a file

2002-06-18 Thread Pamela Fong
Try looking for it in your tomcat bin dir. -Original Message-From: jzhao [mailto:[EMAIL PROTECTED]]Sent: Tuesday, June 18, 2002 1:41 PMTo: [EMAIL PROTECTED]Subject: exec an application and write output to a file Hi there,   I was trying to run a .exe in my web service

Re: exec an application and write output to a file

2002-06-18 Thread Heitzso
quick suggestion -- scan all drives and al ldirectories for the output. If on linux try running updatedb from root and then 'locate blat' to find the file. Just a thought ... On Tue, 2002-06-18 at 16:40, jzhao wrote: > Hi there, > > I was trying to run a .exe in my web service with Java runtim

exec an application and write output to a file

2002-06-18 Thread jzhao
Hi there,   I was trying to run a .exe in my web service with Java runtime. The code looks like:   command = "teiresias_char -l"+ L + " -w"+ W   +" -i"+ inputFile   +" -o"+ resultFile + " -c"+ C +" -k"+ K +" -s";     Runtime rt = Runtime.getRuntime();  try {   Process p=  rt.e

RE: object serialization

2002-06-18 Thread Pamela Fong
Never mind. Found the problem. It didn't like the member named 'A'. Renaming the data member seems to have solved the problem. -Original Message- From: Pamela Fong [mailto:[EMAIL PROTECTED]] Sent: Tuesday, June 18, 2002 1:50 PM To: '[EMAIL PROTECTED]' Subject: object serialization I hav

re: deserialization error

2002-06-18 Thread James Black
Hello, I used a nightly build from 11 June, and have a - Mapping Exception to Axis Fault message. I get a java.lang.reflect.InvocationTargetException error at org.apache.axis.message.SOAPFaultBuilder.endElement(SOAPFaultBuilder.java:135) at org.apache.axis.encoding.DeserializationContextImp

object serialization

2002-06-18 Thread Pamela Fong
I have couple questions regarding object serialization. 1) Is there an easy way to serialize a java HashMap without having to write my own custom serializer? I only need to pass some key-value pairs as strings. I guess I can pass them as two string arrays if it's easier. 2) I have a simple Java

Re: NoSuchMethodException...

2002-06-18 Thread Olivier . Brand
Where are your type mappings for the array, Vector, ... ?? Have you registered the service ? Olivier "Hurst, Cyrus"

NoSuchMethodException...

2002-06-18 Thread Hurst, Cyrus
All, I keep running into this problem and haven't found the cause of it .. I am testing out a message-based service . In my client code I have this as my endPointURL : String endpointURL = "http://localhost:8080/axis/services/CPRMessagingService";; In my message ser

Return Vs. Result

2002-06-18 Thread Oren Hollander
I have a problem with an Axis web service consumed by VC++ using MS SOAP Toolkit. I am trying to call the Calculator web service from a c++ client using the SoapClient object from the MS toolkit. What happens is that I don't get the result (there is no errors in the process). When I ran the jav

SOAP Message with attachments ?

2002-06-18 Thread olivier brand
Does Axis implement the SOAP message with attachments as specified by the JAX-RPC Specification ? (Chapter 7, p. 60) I am aware that Axis is handling attachments, but I would like to know if the integration has been done with the WSDL piece and therefore through the wsdl2java class ? Olivier

RE: InClass-Server

2002-06-18 Thread Wimmer, Matthias
Sebastian: You have to publish your class. This is called deployment. To do this you execute a Java application that takes a WSDD file as parameter. WSDD means web service deployment descriptor. You call it like this: java org.apache.axis.client.AdminClient deploy.wsdd The file deploy.wsdd co

RE: Castor Serializer/Deserializer ??

2002-06-18 Thread Chris Haddad
Document based messaging would integrate cleanly with Castor. /Chris -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Sent: Tuesday, June 18, 2002 2:00 PM To: [EMAIL PROTECTED] Subject: Re: Castor Serializer/Deserializer ?? > "Olivier" == Olivier Brand <[EMA

Re: Castor Serializer/Deserializer ??

2002-06-18 Thread Olivier . Brand
Bob, I am pretty sure that Axis won't be able to serialize a Cator object as a Bean type. I guess it might be trivial to just call the unmarshal/marshal on the castor object within the code. And yes, you are right, you would need castor on both end (you need the axis.jar anyway). The way I have

Re: Castor Serializer/Deserializer ??

2002-06-18 Thread Bob Cotton
> "Olivier" == Olivier Brand <[EMAIL PROTECTED]> writes: Olivier> All, Olivier> Has anyone implemented a Cstor Ser./Deser. for Axis ? I Olivier> have done it for Apache Soap while ago (which allowed me Olivier> to pass complex structures), but Axis is way more complex Oli

What causes the type attribute to be specified within SOAP:BODY?

2002-06-18 Thread Shinde, Uma
Here's a snippet of the code generated using WSDL2Java javax.xml.rpc.namespace.QName p0QName = new javax.xml.rpc.namespace.QName("http://my.com/someuri/";, "assetsetName"); call.addParameter(p0QName, new javax.xml.rpc.namespace.QName("http://www.w3.org/2001/XMLSchema";, "string"

Re: complex types

2002-06-18 Thread Sudhir
Brian, Thats precisely what I am doing. I am taking wsdl2java's output as the reference to generate the client artifacts. Sudhir The trouble with the world is that the stupid are cocksure and the intelligent are full of doubt. Integrity without knowledge is weak and useless, and knowledge witho

InClass-Server

2002-06-18 Thread Sebastian Hasait
Hi! I want to do normal RPC-Stuff: I have a class with a main-Method, to start it from command-line. This class contains some Methods to export, so they can be called by a client. This class should be a standalone application, because it provides GUI. As far as i have understood, i will need an

Re: change in xmlToString()'s handling of empty namespaces?

2002-06-18 Thread Andrew Vardeman
thought I'd answer my own question, correct some typos... xmlToString() should read "ElementToString()" The problem arose because, in trying to build a more correct webapp, I put Oracle's XML parser in my WEB-INF/lib directory (it had been in Tomcat's lib directory before). It was responsible

JWS files in package

2002-06-18 Thread Benoit Adam
Hi, I have a jws file (MyServices.jws) and I would like to use a package for this class now for example I insert the following line in my jws file: package tests; 1. Is It possible ? 2. Where should I put my jws file : In the axis/ directory or in the axis/test directory ? 3. Where I should po

Castor Serializer/Deserializer ??

2002-06-18 Thread Olivier . Brand
All, Has anyone implemented a Cstor Ser./Deser. for Axis ? I have done it for Apache Soap while ago (which allowed me to pass complex structures), but Axis is way more complex for implementing your own serializer. Is there any documentation beside the source code on how to do it ? I think that t

RE: DataSource

2002-06-18 Thread Pavel Bernshtam
I have solved problem with exception (it was my bug), but now I receive on client side ManagedMemoryDataSource instance with 0 avaiable bytes! :( 1) How make I creation of instance of my DataSource implementation on client side? 2) Why ManagedMemoryDataSource instance, created on client side was

DataSource

2002-06-18 Thread Pavel Bernshtam
1) As I see in the source code of ManagedMemoryDataSource, it does not use at all provided InputStream is readall parameter == false. Is it bug? 2) I really does not understand what means maxCached parameter :( 3) I try to use my own DataSource for sending binary data as attachment. I have wrote s

RE: Problem in running the service

2002-06-18 Thread Schie, Sjaak van
To be able to help you please attach a stacktrace of the Exception. Sjaak van Schie > -Original Message- > From: santhosh [mailto:[EMAIL PROTECTED]] > Sent: 17 June, 2002 19:40 > To: [EMAIL PROTECTED] > Subject: Problem in running the service > > > I am able to deploy the WSDD file but

Re: complex types

2002-06-18 Thread Brian Ewins
Sudhir wrote: > Olivier, > Thanks for the reply. Unfortunately, I dont have the luxury of using the > wsdl2java tool. My aim is to generate the clients and the required beans > automatically. And all I can use is the parsers and the axis apis. I cant > use that tool, wsdl2java. > My queston is, d

Re: How to enable Remote administor access??

2002-06-18 Thread Jeffrey Hau
On Mon, 17 Jun 2002, David Gadd wrote: Hi David, thanks for your help but after setting the 'enableRemoteAdmin' to true, i still cannot deploy services remotely (i can now run the list function), any idea why? Jeff >Jeff, > >from the user guide: > >Remote Administration >Note that by default, th