Operation name being changed to parameter in SOAP

2003-10-20 Thread DealRaider.com
Hello, After installing the now-final JBoss 3.2.2 with embedded Tomcat and redeploying Axis, I'm appearing to get cleaner error messages. For now, I have a strange situation where the SOAP that is going on the wire is improperly formatted. It's not specifying the operation to call, only the

setting elementFormDefault="qualified" on schema generated by WSDL2Java

2003-10-20 Thread Michael Woinoski
I'm trying to implement an rpc/literal web service with Axis. I generated a WSDL description from the Java source using Java2WSDL with --style="RPC" and --use="LITERAL". The generated WSDL binding looks fine. Then I generated deploy.wsdd with WSDL2Java --server-side, and deployed and tested the

Couple of questions on Axis Handlers

2003-10-20 Thread Ramesh Sakala
Title: Couple of questions on Axis Handlers Hi All, I have couple of questions on Axis handlers. Any help in answering this questions (answers, hints, pointers are all welcome) is greatly appreciated. 1. I want to configure request and response handlers at the application scope. When I do

Axis Code generation for Fault message with 2 parts

2003-10-20 Thread Bihani, Swastik
Title: Message Hi All   In my WSDL I define 2 parts for the fault message. However, when I use WSDL2Java to generate the stub/proxy code, I find that my service method has a throw statement that contains just the 2nd part of the fault message (defined in the WSDL).   Has anyone been able t

Out of Memory Error in AxisClient.invoke

2003-10-20 Thread lou fox
I wrote an AxisClient that hits a commercial SOAP server, but whenever I try to return a very large result set (20K+) records I get an OutofMemoryError. I'm using eclipse to debug, which dumps me at the finally clause in invoke method of the AxisClient Class. What is the work around?

Help - problem listing deployed web services upon installation

2003-10-20 Thread Carol Bui
Title: Help - problem listing deployed web services upon installation Hi, all I've followed instructions to install axis and moved the appropriate = .jar files to my tomcat\common\lib directory.  I also moved the > w\packages that start w/java. or javax to the endorsed directory.  I'm =

Re: How to set the following header information

2003-10-20 Thread Justin Ruthenbeck
Tommy, Check out org.apache.axis.handlers.SimpleSessionHandler. This handler creates SOAP headers and should give you an example to base your code off of. justin At 07:08 AM 10/20/2003, you wrote: Hi I am working on a small project where I need to call a .net webservice. I have succesfully use

Call.setReturnType() prevents "proper" Exception Mapping

2003-10-20 Thread Thomas Fischer
Hi, As I am quite new using Axis, I am not sure whether this is a bug or expected behaviour. I did not find anything about the behavior in bugzilla. In the server, a method throws a Custom Exception which extends java.rmi.RemoteException. In the client, I am calling this method. The Exception

Re: Problems in format of returned complex type...how to specify xmlSchema type for java bean return result

2003-10-20 Thread Sanjay Krishnamurthi
Mike, If you expect the SOAP response to conform to the schema specified in WSDL you should choose your service to be DOC/Literal. From your mail, looks like you have chosen RPC/Encoded. Keep in mind that AXIS 1.1 Doc/Literal support is somewhat limited and you would have to put in a bunch of wor

empty operations, document/literal

2003-10-20 Thread Oliver Wulff
Hi I've got another problem with Axis and document/literal. I use Axis to write the client application. The service provides an easy operation like "void ping()". Here is the snippet of the WSDL: http://schemas.xmlsoap.org/soap/http"/>

How to set the following header information

2003-10-20 Thread Tommy Holm - TELMORE
Hi I am working on a small project where I need to call a .net webservice. I have succesfully used the WSDL2 java. The webservice provider requires me to give authentication information as a soap header. I just can't seem to get the soap header stuff working. If they turn of the SOAP header authen

Circular reference in SOAP?

2003-10-20 Thread William Lee
I'm working on a WSDL file that contains circular reference. In particular: For example: Market (1) --> (1) CollectionOfSegment (1) --> (*) Segment However, the Segment contains a reference to Market so it can refer to it. I tried to use the WSDL2Java tool to generate the Java code. It all se

Re: HTTP Chunking

2003-10-20 Thread Christopher Blunck
Dimuthu- The year on your computer is set to 2002. You might want to change that :) -c On Mon, Oct 14, 2002 at 04:35:35PM +0600, Dimuthu Leelarathne wrote: > Yes Axis supports chunking. Check out > org.apache.axis.transport.http.HTTPSender.java. > > > - Original Message - > From: "Pa

Re: Error trying to do typemapping and deploy

2003-10-20 Thread ian_d_stewart
There is an XMLSchema definition for WSDD, but it's buried in CVS. The online version is available at http://cvs.apache.org/viewcvs/ws-axis/java/wsdd/WSDD.xsd The section pertenant to appears below: This describes the mapping between XML and

Re: Problems returning interfaces

2003-10-20 Thread ian_d_stewart
Hey Leo, The problem you're encountering is one many of us have faced. Basically, AXIS does not support serializing/deserializing Interfaces out of the box. What you need to do is create implementations of org.apache.axis.encoding.Serializer and org.apache.axis.encoding.Deserializer which will

RE: .Net generating wrong function signature

2003-10-20 Thread Agarwal, Naresh
I've resolved the issue. Acutally this is beacuse of the fact that I'm using "parameters" name for the element referred by input and output message. .   thanks, Naresh -Original Message-From: Agarwal, Naresh Sent: Friday, October 17, 2003 8:30 PMTo: Axis (E-mail)Subject: .Net

Clustering with AXIS

2003-10-20 Thread Jacek Kempski
Hello all, there is a complete web reporting solution available free at http://sourceforge.net/projects/fourfive What might be of interest to you is, that Fourfive provides for clustering, load balancing and dynamic report publishing and all of these are programmed as web services using AXIS than

Problems returning interfaces

2003-10-20 Thread Leonardo Mena
I have been trying to expose my app as a set of web services with Axis but can't resolve how to correctly export an interface. That is, some web service method returns an interface instead of a JavaBean (of course the concrete implementation is a JavaBean).   I tried mapping the interface to

java.sql.Timestamp Problem

2003-10-20 Thread Hans Nestler
I can see by reading this Mailing lists that many people are experiencing the same problem with the java.sql.Timestamp data type. I am able to access all other data types from C#, except this one. Do you have plans to create a Serializer/Deserializer for the java.sql.Timestamp in the near future?

Problem with a ws client in servlet (Tomcat4)

2003-10-20 Thread taisto . onnela
Hi My client is running fine as an application but if i try to use the code in a servlet an Exception is thrown Anybody outthere with experience of this ? import java.sql.*; import java.util.*; import javax.xml.namespace.*; . . import org.apache.axis.client.*; //**

Error trying to do typemapping and deploy

2003-10-20 Thread DealRaider.com
Hello, I'm fairly new to Axis, and thought I had figured it out until I got to the typemapping. Since I have been unable to find a DTD/XSD for the WSDD file, I've had to try and use others' examples. This has consumed 10+ hours of my day now, so I would greatly appreciate any help. Please r

Serializer/Deserializer needed for .Net client

2003-10-20 Thread Hans Nestler
I can see by reading the Mailing lists that several people are experiencing the same problem with accessing the java.sql.Timestamp data type. I am able to access all datatypes and arrays of datatypes from the stateless session beans using C#, except for the the java.sql.Timestamp. Has anyone su

Problems with Axis User's Guide

2003-10-20 Thread ext-lasse.koskela
FYI, (hopefully this is the right medium...) In the Axis User's Guide (http://ws.apache.org/axis/java/user-guide.html), there is the following snippet which isn't wellformed XML: http://commerce.com/PO";> In the same document, there are links to "samples/

Problems in format of returned complex type...how to specify xmlSchema type for java bean return result

2003-10-20 Thread Mike Klein
I have created a Quotations web service, which when passed some parameters (or no parameters) returns a Quotation type (consisting of quote, author, subject, and source). I've had a simple version running for a while with clients in php/perl/python/jsp, where call to url would return simple quo

Re: Client IP address

2003-10-20 Thread Kiss Attila
Thank you it was a big help :) ! - Original Message - From: "Vitali W. Danilow" <[EMAIL PROTECTED]> To: "Kiss Attila" <[EMAIL PROTECTED]> Sent: Sunday, October 19, 2003 1:06 AM Subject: Re: Client IP address > here we go... > > private String getClientIP() { > HttpServletReques

Enhancement request: CORBA to WSDL Spec.

2003-10-20 Thread Oliver Wulff
Hi all The CORBA to WSDL spec (http://www.omg.org/docs/ptc/03-01-14.pdf) defines how Corba modules are mapped to WSDL. Ex. Corba Idl: module myservice { interface Calculator { typedef long Number_T; long add (in Number_T op1, in Number_T op2); }; }; WSDL:

Wrong 1.1 Response on 1.2 Request when it's a SOAP Fault

2003-10-20 Thread Lucia Sheehan
I'm getting a 1.1 Soap Fault response when I send in a 1.2 Soap request - see the soapenv below. This occurs when Axis creates the soap fault - for example if the body of the request is invalid. I tried setting to force the response version but this didn't work. Any ideas how to fix this probl