Re: Clients using GET and POST

2002-06-06 Thread Rozi Kovesdi
Sudhir, I have the same questions you had a while back - Have you find the answer? I want to understand if Axis can be used for "ordinary" HTTP POST w/o SOAP? As a test, I gave a WSDL file to the WSDL2Java program which had http binding and verb=POST but the output java code was still a SOAP rp

Axis Clients for Microsoft Terra Service and Mappoint .net

2002-06-06 Thread VEDRE, RANAPRATAP REDDY
has anybody done interoperability test for Axis Clients to Microsoft mappoint .net and terraservice web services. URLS: http://terraservice.net/ http://www.microsoft.com/mappoint/net/ http://service.mappoint.net/find-20/ Thanks, Rana

Axis for HTTP POST binding

2002-06-06 Thread Rozi Kovesdi
I am working on a Web Services application where some of the Providers and Requestors are able to send/accept SOAP messages, while others can only send/accept HTTPS POST request / response messages (i.e. they do not understand SOAP) I am using Axis for the SOAP messaging - and would like to use

Re: Newbie question - running samples

2002-06-06 Thread Martin Jericho
I have been having the same problem, and sent a question to this mailing list a couple of days ago but it didn't seem to get through for some reason. The problem is caused by a null pointer exception on the server (stack trace included below), but I have no idea what is causing that. To get start

Re: Deserializer exception

2002-06-06 Thread Sudhir
I am using the BeanSerializerFactory and the BeanDeserializerFactory to register with the call. The QuoteData  is a simple bean class.   import java.io.Serializable;import java.math.*;import java.util.*; public class QuoteData implements Serializable {   public QuoteData(){ } private java.lan

RE: Deserializer exception

2002-06-06 Thread Ng, Charles
You might want to browse the QuoteData class to see what QName is it expecting.  Another thing you might want to check is whether you have the correct (de)serializer associated with the QName.   Charles -Original Message-From: Sudhir [mailto:[EMAIL PROTECTED]]Sent: Thursday, Jun

Re: Deserializer exception

2002-06-06 Thread Sudhir
Charles,  The QName looks that was cause I set the return type as "call.setReturnType(new QName("http://ws.cdyne.com/", "QuoteData"));"   I got this value from the wsdl file.   This is a publicly hosted service. I am trying to write the client for that. So I dont have the control over the

RE: Deserializer exception

2002-06-06 Thread Ng, Charles
I think you are mixing up WSDL and WSDD.  The ".wsdd" file describes the QName <--> Java type mappings.  From the error you have given, it looks like there is no Java type mapped for the QName "http://ws.cdyne.com/:QuoteData".  That QName looks a bit odd.  Did someone mix up the namespace pr

Re: Deserializer exception

2002-06-06 Thread Sudhir
Rohit,  This is a publicly hosted service. I have no control on that. Thanks 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 without integrity is dangerous and dreadful.

RE: Deserializer exception

2002-06-06 Thread Chaudhri Rohit-CRC037
Do you specify a type mapping for QuoteData in the Web Service deployment descriptor? -Original Message-From: Sudhir [mailto:[EMAIL PROTECTED]]Sent: Thursday, June 06, 2002 4:43 PMTo: [EMAIL PROTECTED]Subject: Deserializer exception   Sorry for re-posting this. I havent

Deserializer exception

2002-06-06 Thread Sudhir
  Sorry for re-posting this. I havent gotten any replies for this query. I would really appreciate any help on this   I have written a client for a soap document based service. When I try this I am getting the following exception - Exception:org.xml.sax.SAXException: Deserializing parameter '

Re: Newbie: WS return only -3 or null value

2002-06-06 Thread Dan Chisholm
Abhishek, If you are using Java 2 Standard Edition version 1.4 (J2SE v1.4), then you might be having a problem with the endorsed standards override mechanism. If that's the case, then you could try step 3 of the following modified version of the installation instructions. http://home.attbi.com/~

Re: Newbie: WS return only -3 or null value

2002-06-06 Thread Abhishek Agrawal
On Thursday 06 June 2002 12:22, Frederic MOLINIERES wrote: You are missing some steps, look at the following link http://www.onjava.com/pub/a/onjava/2002/06/05/axis.html?page=2 Abhishek > Hi, > > I try to create an new web service under Axis (and tomcat 4.0.1, jdk > 1.4.0). > > # The code

problem adding global request handler

2002-06-06 Thread Timothy N. Jones
I want to funnel all SOAP requests in my server to a single handler. My assumption is that the easiest way of accomplishing this is with a global request handler. I tried testing this using the LogHandler and the following deployment file: http://xml.apache.org/axis/wsdd/"; xmlns:java="http://

Re: embedded webservices

2002-06-06 Thread Steve Loughran
- Original Message - From: "Adrian 'Dagurashibanipal' von Bidder" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Thursday, June 06, 2002 2:14 AM Subject: Re: embedded webservices On Wed, 2002-06-05 at 15:44, Adrian 'Dagurashibanipal' von Bidder wrote: > Yo! > > H. Nobody else seem

Re: Retrieving data from a SOAP packet

2002-06-06 Thread Sudhir
chris,  I followed the code generated by the axis to write a client for a service which returns a complex type. but I am getting the deserializer exception. I am attching the client and the wsdl file. Could you please tell me where am I going wrong?   Thanks Sudhir   I have written a client

RE: Retrieving data from a SOAP packet

2002-06-06 Thread Chris Haddad
Anna / Paul – if I read this thread correctly, you are trying to receive a complex type from the service.     Wsdl2java (if you have the service wsdl) and/or a Java2WSDL->WSDL2Java round trip (if you are starting from a service bean) will generate the proper client code.   After you h

Java2WDSL problem

2002-06-06 Thread Chaudhri Rohit-CRC037
Hello, I am using Axix beta2. I use Java2WSDL to generate a WSDL file from a Java interface. The methods in the interface expect a complex type (a JavaBean). One of the properties of the bean is a boolean. I notice that the generated WSDL dosen;t contain the boolean element in the complexType WSDL

RE: Newbie question - running samples

2002-06-06 Thread Minh Duong
Pavel, I'm a newbie too but it seems to me that you need to replace "java -cp %CP% org.apache.axis.client.AdminClient -lhttp://localhost:8080/axis/services/AdminService deploy.wsdd" with the actual java class file you intend to use as a service. In this case it would be stock. so it would be

RE: wsdl2java bug?

2002-06-06 Thread Tolsch, Ed
Looks like the minOccurs/maxOccurs DOES work in WSDL2Java when you have elements of the form: But they DO NOT appear to work with elements of the form: I'm changing my schema to use the above definition. Hope this helps. -Original Message- From: Dennis Reil [mailto:[EMAIL PROTE

Newbie: WS return only -3 or null value

2002-06-06 Thread Frederic MOLINIERES
Hi, I try to create an new web service under Axis (and tomcat 4.0.1, jdk 1.4.0). # The code of Interface ## package util; public interface Util { public String test(); } # The code of Class ## package util; public class UtilImpl { public String test() { return "May the f

Fw: Deserializer exception

2002-06-06 Thread Sudhir
I am reposting this question again. Any help is really appreciated.   Sudhir I have written a client for a soap document based service. When I try this I am getting the following exception - Exception:org.xml.sax.SAXException: Deserializing parameter 'GetQuoteResult': could not find deserial

Re: wsdl2java bug?

2002-06-06 Thread James Black
My bug was on my side. WSDL2Java worked fine for me, so far.

Re: wsdl2java bug?

2002-06-06 Thread James Black
I just looked at bugzilla, and there are two bugs that I am curious about. ID 9239: where the Java2WSDL example fails, any idea when this may be fixed? I wonder if this is why my Java2WSDL call is failing. ID 9643: I have had to change the service name when using WSDL2Java by hand, after running

Newbie question - running samples

2002-06-06 Thread Pavel Bernshtam
Hi! I'm trying now to run axis samples. I have installed axis beta 2 on tomcat 4.0.4 beta 3 (jdk 1.4.0). I can access succesfully http://localhost:8080/axis/servlet/AxisServlet and http://194.90.182.183:8080/axis/servlet/AdminServlet , but when I run examples (echoString or stock) I receive "Nu

Re: another WSDL2Java-problem: no stubs / skeletons emitted

2002-06-06 Thread James Yegerlehner
Dennis- > Wsdl2java doesn't generate stubs and skeletons for > the attached wsdl file. > > What did I do wrong ? The one problem I notice right away when I open it with Omniopera is that your SOAP bindings aren't actually soap bindings: they're in the wrong namespace. Your namespace prefix "soap

RE: WSDL types schema definition

2002-06-06 Thread Thomas, Mathew
I found the answer.  The problem had to do with the fact that I was serving the .xsd document through my app server, Resin, which was not handling the MIME type correctly (didn't know what it was).  When I configured the web server to serve .xsd files as type 'plain-text', the Wsdl2Java impo

Re: wsdl2java bug?

2002-06-06 Thread Russell Butek
Yes, this does look like a bug. Most of our clauses are of the form where this one is Could you try your scenario with a type instead of a referenced element to see if that works? Also, could you open a bug with bugzilla? http://nagoya.apache.org/bugzilla/index.html There are more and more

Re: Retrieving data from a SOAP packet

2002-06-06 Thread Paul Johnston
Anna,   You are a star!  Thanks loads for that.  It does exactly what I need it to!   Thanks loads   Paul - Original Message - From: Anna Chen To: [EMAIL PROTECTED] Sent: Thursday, June 06, 2002 3:57 PM Subject: Re: Retrieving data from a SOAP packet Ok, here

Re: Retrieving data from a SOAP packet

2002-06-06 Thread Anna Chen
Ok, here is my actual code: javax.xml.rpc.namespace.QName p0QName = new javax.xml.rpc.namespace.QName("controtex.com", "code1");     call.addParameter(p0QName, new javax.xml.rpc.namespace.QName("http://www.w3.org/2001/XMLSchema", "int"), int.class, javax.xml.rpc.ParameterMode.IN);

another WSDL2Java-problem: no stubs / skeletons emitted

2002-06-06 Thread Dennis Reil
I'm having another problem with wsdl2java. Wsdl2java doesn't generate stubs and skeletons for the attached wsdl file. It doesn't throw an error message so the file seems to be correct.   What did I do wrong ?   I used the following command line options: -a -s -S true -p eVerlage.ws.gruppen

Re: Retrieving data from a SOAP packet

2002-06-06 Thread Paul Johnston
Here is the code I am using:       Service  service = new Service();    Call call    = (Call) service.createCall();        // create the endpoint URL    String endpoint = "http://localhost:8900/Soap-Control";    // set up the call information    ca

Re: Retrieving data from a SOAP packet

2002-06-06 Thread Anna Chen
Maybe you could try to use: RPCElement[] input = new RPCElement[1];     RPCParam arg1 = new RPCParam("XXXnamespace", "XXXparameter name", (Object)parameter value));     input[0] = new RPCElement("XXXnamespace", "XXXmethod name", new Object[]{arg1});     Vector  elems =

Re: Retrieving data from a SOAP packet

2002-06-06 Thread Paul Johnston
Still having a problem... Getting quite urgent now! > > I suppose you mean deserialization and not serialization. If you have a > service in Axis: I have sent the SOAP request and the response is throwing an error: [java] - Exception: [java] org.xml.sax.SAXException: SimpleDeser canno

RE: How to use TCPMon

2002-06-06 Thread Arne M. Degenring
> I am new to axis and trying to use TCPMon. The service I am > using is located on "service-hostname" with port number 9234. > I set listener port as 1 and target host name as > service-hostname and target port as 9234. When I run my > client Iam not seeing any message. Your client proba

Re: wsdl2java bug?

2002-06-06 Thread Dennis Reil
Seems to be a bug. I discovered the same. Nobody on this list answered my question about that. Regards Dennis Reil - Original Message - From: "Tolsch, Ed" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Wednesday, June 05, 2002 11:19 PM Subject: wsdl2java bug? > I'm wondering if

query regarding org.apache.axis.wsdl.toJava.Emitter class

2002-06-06 Thread Sandeep L
I have been using the Emitter class to generate the stubs for the given WSDL URI. I am using the getGeneratedFileInfo() method and the returned GeneratedFileInfo object to retrieve information about the generated classes. Now I want to find out the name of the method(i.e. the Port for the serv

RE: RE:Axis web services for MySQL Connection.

2002-06-06 Thread Jiri Kunstat
Hi, I'd be also interested in Java equivalent of .NET DataSet type in context of web services. Especially if anybody knows specification .NET DataSet or some free implementation. Although Systinet WASP contains JDBC connectivity provided by JNDI connector which works over SOAP, each database oper

RE: String[]

2002-06-06 Thread Chohan, DB (Dharmesh)
Hi Heitzso, I have recompiled with the debugging information. Attached file contains details of the exception. Hope somebody can spot what is going ? Thanks -Original Message- From: Heitzso [mailto:[EMAIL PROTECTED]] Sent: 31 May 2002 17:09 To: [EMAIL PROTECTED] Subject: RE: String[

RE: WSDL types schema definition

2002-06-06 Thread Russell Butek
Import is supported by WSDL2Java. Try typing the doc's location (exactly has you have it in your WSDL import) into a browser and see whether you get it that way. Sounds like there's something wrong with either the access to the file or the file contents. Is the imported file publicly available?

Re: ArrayOutOfBoundsException

2002-06-06 Thread Russell Butek
This question has been raised on axis-dev, but not discussed, so I can't say when. Possibly this month sometime. Russell Butek [EMAIL PROTECTED] Please respond to [EMAIL PROTECTED] To: [EMAIL PROTECTED] cc: Subject: Re: ArrayOutOfBoundsException Russell, Would you know if/when a Beta 3

Re: How to use TCPMon

2002-06-06 Thread Doug Davis
Make your client point to port 1. -Dug Please respond to [EMAIL PROTECTED] To: "'[EMAIL PROTECTED]'" <[EMAIL PROTECTED]> cc: Subject: How to use TCPMon I am new to axis and trying to use TCPMon. The service I am using is located on "service-hostname" with port number 9234. I set listene

Tomcat and Axis Performance

2002-06-06 Thread Michael Connor
Title: Tomcat and Axis Performance Hello all, I'm running Tomcat 4.0 with Axis and the calls I'm making are a little slower than I would expect.  I ran the same call 1000 times and found the average performance to be 337 milliseconds per call I'm running both the client and the server on

ClassNotFoundException in org.apache.axis.client.Admin during deployment

2002-06-06 Thread Minh Duong
Hi, I'm a newbie to Axis and Tomcat. This is my test environment: Win2K Server JDK1.4 Tomcat 3.2.4 Axis (beta2) Xalan (2.0.1) Tomcat is running as a service and the http server. I was following the installation instructions, but when it came to deploy the service I got the following error:

Axis to Javascript using MS Soap

2002-06-06 Thread robert woodley
Just thought I'd jot down some notes about how we approached this, and maybe get some feedback, discussion going... Requirements: Consume SOAP services (from an AXIS server) in Javascript on Windows. The javascript should have no browser dependencies, i.e. you should be able to run it from cscrip

How to use TCPMon

2002-06-06 Thread Thombathu, Parameshwara
I am new to axis and trying to use TCPMon. The service I am using is located on "service-hostname" with port number 9234. I set listener port as 1 and target host name as service-hostname and target port as 9234. When I run my client Iam not seeing any message. Any idea ? Thanks Paramesh

service instances and application scope

2002-06-06 Thread Geza.Szocs
Hi, As I understand application scope deployment guarantees that I will have only one instance of my service. Is there a way to specify this intance ? I mean I don't want Axis to create the object when the first call arrives, but I want to make an instance earlier, than make Axis to use that o

Re: embedded webservices

2002-06-06 Thread Adrian 'Dagurashibanipal' von Bidder
On Thu, 2002-06-06 at 11:14, Adrian 'Dagurashibanipal' von Bidder wrote: > (1) How can I avoid this? I'll try to set a globalOption in my > EngineConfig object. which I subclassed from SimpleProvider. Would it make sense to make globalOptions protected, or to offer a means of setting globalOptio

Re: embedded webservices

2002-06-06 Thread Adrian 'Dagurashibanipal' von Bidder
On Wed, 2002-06-05 at 15:44, Adrian 'Dagurashibanipal' von Bidder wrote: > Yo! > > H. Nobody else seems to be interested in this :-( > > Ok, I think I'm on the right track now: I'm registering my own > axis.EngineConfigFactory, and deploy AxisServlet from Jetty. > > But I see that it seems