WSDL -> WSDD failed ! Please help !

2002-05-30 Thread HARI,SANJAYAGANESH (HP-India,ex2)
Hi :   I am facing issues with services deployment vis WSDL way.   I followed the procedure below:   (1) I have an EchoService.java as attached.   (2) I generated the WSDL from the above java class file using java org.apache.axis.wsdl.Java2WSDL -o EchoService.wsdl  -l"http://localhost:808

Missing port information (JAX-RPC interoperability bug)

2002-05-30 Thread Kyle Lomeli
I am trying to get my Axis client to invoke a Web service which was developed using JAX-RPC (JWSDP RI). When I invoke the Web service, my JAX-RPC service throws an exception saying that the Axis client did not include the port information in the HTTP POST request URL. > [ERROR] http - -no port sp

Missing port information (JAX-RPC interoperability bug)

2002-05-30 Thread Kyle Lomeli
I am trying to get my Axis client to invoke a Web service which was developed using JAX-RPC (JWSDP RI). When I invoke the Web service, my JAX-RPC service throws an exception saying that the Axis client did not include the port information in the HTTP POST request URL. > [ERROR] http - -no port sp

RE: WebService Studio error...

2002-05-30 Thread Stickley, Jim
Found the problem... It is a server side problem with the way we setup the CSRGroupOrder object... the getter/setter for the csrList was overloaded (getCsrList() and setCSRList() ).  There was one for getting and setting the list and another to get elements of the list given an index as inp

Serializer/DeSerializer question/Help

2002-05-30 Thread Tolsch, Ed
I'm trying to use "my own" (Castor from Exolab) serializer / deserialer to marhsall/unmarshall my xml to/from Java Beans.   My deploy.wsdd file looks like the following:                   xmlns:ns="http://fmr.com/hw/"    qname="ns:FESCOHead"    type="java:c

RE: Session ID from Axis

2002-05-30 Thread Jill Heck
Title: RE: Session ID from Axis thanks. i keep forgetting about the AxisServlet. i was debugging the actual session object and looking at that api it works perfectly.   jill -Original Message-From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]Sent: Thursday, May 30, 200

RE: AxisFault vs SOAP Fault

2002-05-30 Thread Glen Daniels
Hi Brenton!   So you're saying that you observe the fault you posted below coming back across the wire, and when that gets turned into an AxisFault you can't get at the details?  That sounds like a bug to me if that's the case.   Regardless of whether or not Axis uses the details to constru

Is something wrong with this file?

2002-05-30 Thread Robert Nicholson
Hi, I'm on OSX and when I use gnutar ztf on the following file xml-axis-beta2-src.tar.gz Under beta2 distribution I get xml-axis/java/wsdd/v2dd/docs/v2dd_p8.png gzip: stdin: decompression OK, trailing garbage ignored gnutar: Child returned status 2 gnutar: Error exit delayed from previous err

RE: IncompatibleClassChangeError

2002-05-30 Thread le vieil amant
I finally found the reason of my problem. I can use WSDL2Java included in the beta2 version to generate stub compatible. The bug of the alpha3 version with the return of byte[] doesn't exist anymore in this new version of axis. So I'm happy. I just regret that the use of attachment is'nt compat

Axis and Webspehere/Weblogic

2002-05-30 Thread Dimmick, Bill
Has anyone gotten Axis to run successfully on IBM's Websphere or on BEA's Weblogic? Thanks, Bill

RE: AxisFault vs SOAP Fault

2002-05-30 Thread Schwartz, Brenton
In case this question got lost inside a previous post I am re-asking it here:   I realy need to get at a custom fault code.  This does not appear to possible through the API due to a disconnect between SOAPFault and AxisFault.   Does anyone know a way to get at the raw SOAP message retur

Re: AW: How do you pass an XML document between Axis and .Net Client?

2002-05-30 Thread Andrew Vardeman
But I guess what I'm confused about is why you don't just write a messaging client that manually adds this element to the request: 8 and then sucks the returned XML out of the SOAP Body? Seems so much more straightforward... Andrew At 05:25 PM 5/30/2002 +0200, you wrote: >Hi, > >I have some

AW: How do you pass an XML document between Axis and .Net Client?

2002-05-30 Thread Kolodziej, Erik
Hi, I have some methods which need an in-parameter (in most cases a primitive type like int) and return a XML document. Sadly, I haven´t found a way to tell Axis to use RPC mode for the request and don´t apply any deserializers on the response, so that I can extract the XML document from the res

RE: question on migrating from Soap 2.2 to Axis

2002-05-30 Thread Jesper Söderlund
You could deploy a separate servlet that you configure to start before (load-on-startup) the axis-servlet which will pool your db-connections. Or you could do it "on-demand" the first time the service was accessed (probably pissing off the first user, but hey the world's not perfect! /Jesper

RE: How do you pass an XML document between Axis and .Net Client?

2002-05-30 Thread Andrew Vardeman
I have limited programming experience, and I don't know what sorts of things people are using SOAP for out there. One thing I wonder (possibly because I just haven't needed to do it yet) is why so many people want to write an RPC client that passes an XML document as a parameter. What is the

RE: How do you pass an XML document between Axis and .Net Client?

2002-05-30 Thread Gertjan Assies
Bob, - use the system.xml.xmldocument to create a XMLDocument (DOM) object - use the loadxml method to load a string into it the precise syntax depends on which .net dialect you use greetings, Gertjan -Original Message- From: Robert Evans [mailto:[EMAIL PROTECTED]] Sent: donderdag 3

question on migrating from Soap 2.2 to Axis

2002-05-30 Thread Tolsch, Ed
HI, I'm trying to migrate from a Soap 2.2. mindset to the Axis framework and I have a question. In SOAP 2.2 I had control over the init() method in the rpcrouter servlet. I put a hook in there which setup some database connections and put them in cache. When my implementation class was in

Re: Error with BeanSerializer

2002-05-30 Thread Abhishek Agrawal
you will have to change the set classpath.sh file in tomcat/bin directory and set the java.endorsed.dirs to point to the your "lib" in which you keep ur jar file of the service. eg: in setclasspath.sh -Djava.endorsed.dirs=: also make sure that the classpath in setclasspath.sh has everything you w

How do you pass an XML document between Axis and .Net Client?

2002-05-30 Thread Robert Evans
Greetings, I have been trying to figure out how to pass an XML document to/from an axis web server from/to a .Net client. As near as I can tell, on the Java side I need to convert the XML document to/from a string (no problem). The part I can't figure out is how to convert the Xml String to

Error with BeanSerializer

2002-05-30 Thread Stefan Wagner
Hi! I try to use Java2WSDL and WSDL2Java. I created a simple bean which I want to return from a method of my service. When I invoke the service with a tester I get the following exception: Exception in thread "main" Internal Server Error at org.apache.axis.transport.http.HTTPSender.in

RE: AxisFault vs SOAP Fault

2002-05-30 Thread Schwartz, Brenton
Axis.GetFaultDetails returns an array of Elements Cycling on these elements all I get is a stack trace in element[0] and nothing else.  I suspect that this is because Axis threw an exception when trying to read the details and put the stack trace in that slot for safe keeping...   Next way

RE: Session ID from Axis

2002-05-30 Thread thomas . cherel
Title: RE: Session ID from Axis The HttpRequest object is stored "as is" in the message context property bag. See org/apache/axis/transport/http/AxisServlet.java line 273: msgContext.setProperty(HTTPConstants.MC_HTTP_SERVLETREQUEST, req) So, something like: ((HttpServletRequest)msgContex

RE: WSDL2Java: abstract class generated for referenced type?!?

2002-05-30 Thread R J Scheuerle Jr
There is a problem with calling a service that has an abstract complex type as a parameter.  I am working on this right now. Rich Scheuerle XML & Web Services Development 512-838-5115  (IBM TL 678-5115) "St-Germain, Sylvain" <[EMAIL PROTECTED]> 05/30/2002 08:31 AM Please respond to axis-use

RE: Axis cannot find my Service class!

2002-05-30 Thread Jesper Söderlund
I think that the problem was when debugging in Jbuilder6, JB does some magic handling of the threads during debugging. Axis uses Thread.currentThread().getContextClassLoader() but when debugging this in Jbuilder this classloader seems to be the "application" classloader and not the webapplicat

RE: WSDL2Java: abstract class generated for referenced type?!?

2002-05-30 Thread St-Germain, Sylvain
Use the -a switch on WSDL2Java. Sylvain. -Original Message- From: Ronald Hütter [mailto:[EMAIL PROTECTED]] Sent: Thursday, May 30, 2002 5:19 AM To: [EMAIL PROTECTED] Subject: WSDL2Java: abstract class generated for referenced type?!? I defined a service, which uses a complex type. The c

Re: Serialization / deserialization problem

2002-05-30 Thread Vishal Batra
Thanks a lot...   I am not getting the deserialization exception but some other exception.   After including your code (given below) i get following exception:   - Exception:org.xml.sax.SAXException: Bad types (null -> class test.service.Data)    at org.apache.axis.message.RPCHandler.onS

Re: Axis configuration problem

2002-05-30 Thread Prabhakar Chaganti
You also need to copy an implementation of the xml apis - such as xerces. Check the install instructions at xml.apache.org/axis/. -prabhakar > I am trying to setup axis to work with Tomcat. > > I have copied axis directory from axis-beta2/webapps to > TOMCAT_HOME/webapps/ > I have even copied

Capitalization: WSDL doesn't match SOAP

2002-05-30 Thread robert woodley
Hi All - If my java bean has property "foo", then the SOAP message contains a tag like this , but the WSDL (generated using Java2wsdl) has a tag like this (note that the case is different). Axis ignores this case difference, but other SOAP clients (like the MS Soap toolkit) do not. Am I missi

IncompatibleClassChangeError

2002-05-30 Thread le vieil amant
Hi, I've got this exception when trying to run a client with stub generated by IBM toolkit wsdl2java. The toolkit was using axis alpha3 and I had a problem with reception of byte[]. (i didn't receive everything, but just a part). This problem doesn't appear with soap and .NET. I though it was

Axis configuration problem

2002-05-30 Thread Gaonkar, Anuroop (MED, WIPRO)
I am trying to setup axis to work with Tomcat. I have copied axis directory from axis-beta2/webapps to TOMCAT_HOME/webapps/ I have even copied the jaxrpc-ri.jar and jaxrpc-api.jar along with axis.jar to TOMCAT_HOME/common/lib. Even then, whenever the Axis adminservlet is accessed, following err

RE: Serialization / deserialization problem

2002-05-30 Thread Joachim Björklund
You have to put the same type of typemapping in your client, something like this:    QName rt = new QName("urn:TestService", "Data"); call.registerTypeMapping (Data.class,   rt,  new BeanSerializerFactory(Data.class, rt),      new BeanDeserializerFactory(Data.class, rt));

RE: Serialization / deserialization problem

2002-05-30 Thread Geza.Szocs
Did you write your client using WSDL2Java ? I assume that you have to insert the same type mapping thing in your client code as well. From the client code you need to do the following: QName qn2 = new QName("http://hello.org/types","TableType";); call.registerTypeMapping(Table

Serialization / deserialization problem

2002-05-30 Thread Vishal Batra
Hi all,I need some help on serialization/deserialization.I have created a web-service whose code is given below:package test.service ;public class Service{    public Data dataOperation()    {    return new Data() ;    }}Data is a simple java bean.   The definition of Data class is giv

Re: AXIS BUG ?

2002-05-30 Thread Jean-Marc Taillant
I tested all my wsdl generated file trought Cape Studio toolkit and all is ok!. I definitely think that XML Spy aren't following WSDL spec. Thanks, Jean Marc - Original Message - From: "Russell Butek" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Cc: <[EMAIL PROTECTED]> Sent: Wednesday, Ma

WSDL2Java: abstract class generated for referenced type?!?

2002-05-30 Thread Ronald Hütter
I defined a service, which uses a complex type. The complex type (at the service side) is described by an _interface_. Running the sources through Java2WSDL and WSDL2Java results in a client-side class being generated for the complex type which is _abstract_. Now, if I execute the service method,