RemoteExceptions and Soap:Fault

2004-08-24 Thread Sami Lakka
Hi,   I’m implementing a specification that requires me to put fault codes into the Soap:Fault- element. The Axis documentation says that RemoteExceptions can be used to create the Soap:Fault- element. Is there some way that I can use to specify what the fault code of the Soap:Fault- e

AW: Session Management using SOAP Headers in AXIS

2004-08-24 Thread Dorner Thomas
Hi Mahen, I dop it this way: I use this this client-config.wsdd below to do my sessionhandling. I also use a chain of handlers instead of a single handler - no matter. And you had to define the Service for which the client should use the handler. http://xml.apache.org/axis/wsdd/";

Session Management using SOAP Headers in AXIS

2004-08-24 Thread Mahen Perera
Hi ! I want to manage Session using SOAP headers. For this i am using the "SimpleSessionHandler" provided by AXIS. I added this handler successfully to the server side and it is getting executed. I noticed the SOAP headers containing the Session id using the TCPMON tool. However, I was unable to

Axis response has incorrect namespace?

2004-08-24 Thread Dana Kaufman
I can't figure this out. I have a simple Echo web service written in Java using Axis. Axis appears to return a namespace attribute as part of the wrong element. My response looks like this: http://schemas.xmlsoap.org/soap/envelope/"; xmlns:xsd="http://www.w3.org/2001/XMLSchema"; xmlns:xsi="http

DuplicateFileException

2004-08-24 Thread Cari M. Ridley
Hello,I'm using axis 1.2 beta 2.  I was recently given a wsdl document which I'mrunning through the Wsdl2Java tool to generate the java code for invokingthe service.  I end up getting the following error:org.apache.axis.wsdl.toJava.DuplicateFileException: Duplicate file name:C:\niscdev\ivue_

Re: Axis with .Net WebService

2004-08-24 Thread Paul Callahan
yeah that ;-) and agreement on the 1.2!!! On Tue, 24 Aug 2004 17:39:14 -0400, Anne Thomas Manes <[EMAIL PROTECTED]> wrote: > First -- there is no way to define a "default" namespace in WSDL. But I > suspect what Paul meant to ask is whether your WSDL specifies > elementFormDefault="qualified", whi

RE: java2wsdl and wsi conformance

2004-08-24 Thread Anne Thomas Manes
Ricardo, Issue 1: where did the imported file (http://glite.org/wsdl/services/org.glite.data.catalog) come from? Was this generated by Java2WSDL or is this a file you defined? What type of file is it? (I gather that it isn't a schema.) If your WSDL references elements or types defined in this file

RE: java2wsdl and wsi conformance

2004-08-24 Thread Anne Thomas Manes
Ricardo, Issue 1: where did the imported file (http://glite.org/wsdl/services/org.glite.data.catalog) come from? Was this generated by Java2WSDL or is this a file you defined? What type of file is it? (I gather that it isn't a schema.) If your WSDL references elements or types defined in this file

RE: Axis with .Net WebService

2004-08-24 Thread Anne Thomas Manes
First -- there is no way to define a "default" namespace in WSDL. But I suspect what Paul meant to ask is whether your WSDL specifies elementFormDefault="qualified", which it does. What this means is that all child elements must be namespace qualified. Either of the following requests should wo

RE: Axis with .Net WebService

2004-08-24 Thread Anne Thomas Manes
First -- there is no way to define a "default" namespace in WSDL. But I suspect what Paul meant to ask is whether your WSDL specifies elementFormDefault="qualified", which it does. What this means is that all child elements must be namespace qualified. Either of the following requests should wo

RE: Axis with .Net WebService

2004-08-24 Thread Deepak Kothule
Uday, It worked perfectly for me. I used java org.apache.axis.wsdl.WSDL2Java http://www.winisp.net/cheeso/books/books.asmx?WSDL to generate the stub and here is a sample code: LookyBookServiceLocator loc = new LookyBookServiceLocator(); LookyBookServiceSoapStub binding =

apache SOAP and apache Axis

2004-08-24 Thread Shah, Soniya M. [RA]
Title: Message I have my SOAP server using Apache Axis 1.1.   One of our client is asking if they could use Apache SOAP 2.2 client to talk to my server.  They do not want to change to Apache Axis.   I read on the Apache web site that is is fine.   Does anyone have any experience with this?

Re: SSL client authentication

2004-08-24 Thread Michael Thompson
See http://www.mail-archive.com/[EMAIL PROTECTED]/msg20141.html I think it is detailed enough to get you going. Just be sure that your client is pointing to an https url ;) Good Luck. --m Steven Nakhla wrote: I am trying to enable an Axis client to do SSL client authentication to an Axis servi

RE: Newbie: Using Axis for serializing/deserializing only

2004-08-24 Thread Janarthanan Poornavel
Hi Google and look for skaringa.net ,its quite simple and effective Regards, jana -Original Message- From: Oleg Tkachenko [mailto:[EMAIL PROTECTED] Sent: Tuesday, August 24, 2004 9:01 PM To: [EMAIL PROTECTED] Subject: Newbie: Using Axis for serializing/deserializing only Hello! I won

Bad namespace(s) with doc/literal

2004-08-24 Thread Tudor TEUSAN
It seems that AXIS (latest CVS) doesn't serialize properly complex objects (beans) when in doc/literal. More precisely it doesn't handle as it should a SOAP body with multiple namespaces, as shown in the following exemple : (I've come upon this problem trying to return a tree structure from a

SSL client authentication

2004-08-24 Thread Steven Nakhla
I am trying to enable an Axis client to do SSL client authentication to an Axis service that is SSL-enabled in Weblogic 7.00.  I have setup the truststore correctly with the server certificate.  The service is deployed properly and working under SSL.  I've also specified in weblogic to require an S

RE: Axis with .Net WebService

2004-08-24 Thread Uday Kamath
Thanks for responding. The wsdl is as shown below, there is no default namespace from what I understand..Since this is external web service hosted by this company, we have no control, also I saw the same behavior for many of .Net webservicesDo you have a solution http://dinoch.dyndns.org/webs

Re: Axis with .Net WebService

2004-08-24 Thread Paul Callahan
does your wsdl specify a default namespace? -pc On Tue, 24 Aug 2004 10:51:47 -0400, Uday Kamath <[EMAIL PROTECTED]> wrote: > > Hi > This may have been repeated many times on the list, but I couldn't > search for this in the archives. If anyone has clue please respond > > 1. I use Axis 1.1 as a

Re: Newbie: Using Axis for serializing/deserializing only

2004-08-24 Thread Stuart Barlow
Yep if you need schema support and are maybe going to be using the XML in web services then xmlbeans look more like the thing. Sherman, Dennis (END-CHI) wrote: You might want to take a look at XMLBeans: http://xmlbeans.apache.org -- Dennis R. Sherman Endeavor Information Systems 847-227-2976 [EMAIL

RE: Newbie: Using Axis for serializing/deserializing only

2004-08-24 Thread Sherman, Dennis (END-CHI)
You might want to take a look at XMLBeans: http://xmlbeans.apache.org -- Dennis R. Sherman Endeavor Information Systems 847-227-2976 [EMAIL PROTECTED] http://www.endinfosys.com -Original Message- From: Oleg Tkachenko [mailto:[EMAIL PROTECTED] Sent: Tuesday, August 24, 2004 11:03 AM To: [

Re: Newbie: Using Axis for serializing/deserializing only

2004-08-24 Thread Oleg Tkachenko
Stuart Barlow wrote: Axis is complete overkill for this job. You will increase complexity many times over and get the job done slower. Well, I sort of aware of that, but I'd like to know exactly how this can be done to talk with customers. Do you want to use the XML to interact with web services?

Re: Newbie: Using Axis for serializing/deserializing only

2004-08-24 Thread Stuart Barlow
Axis is complete overkill for this job. You will increase complexity many times over and get the job done slower. Do you want to use the XML to interact with web services? Oleg Tkachenko wrote: Stuart Barlow wrote: use xstream nice and simple Thanks for suggestions, but I really need (well, custome

NoSuchMethodException on BeanSerializeFactory.create

2004-08-24 Thread Fabien Marsaud
Hi everyone   I am trying ot access some webservices. I WSDL2Javaed the WSDL i wanted, made a project using Axis 1.2beta, including its 8 jars + the activation, mail, commons-logging, dom, sax, xalan, xercesimpl jars.   First, when i instanciate a new Service(), i get the following :   -

Axis with .Net WebService

2004-08-24 Thread Uday Kamath
Hi This may have been repeated many times on the list, but I couldn't search for this in the archives. If anyone has clue please respond 1. I use Axis 1.1 as a client to all webservices. 2. For many .Net WebService e.g "http://dinoch.dyndns.org/webservices/books";, the SOAP Body Request generat

Re: Newbie: Using Axis for serializing/deserializing only

2004-08-24 Thread Oleg Tkachenko
Stuart Barlow wrote: use xstream nice and simple Thanks for suggestions, but I really need (well, customers want) to use Axis here. -- Oleg Tkachenko http://blog.tkachenko.com Multiconn Technologies, Israel

RE: Newbie: Using Axis for serializing/deserializing only

2004-08-24 Thread Barlotta, Timothy - Arlington, VA - Contractor
Take a look at JAXB > -Original Message- > From: Oleg Tkachenko [mailto:[EMAIL PROTECTED] > Sent: Tuesday, August 24, 2004 11:31 AM > To: [EMAIL PROTECTED] > Subject: Newbie: Using Axis for serializing/deserializing only > > > Hello! > > I wonder how can I use Axis for doing only seria

Re: Newbie: Using Axis for serializing/deserializing only

2004-08-24 Thread Stuart Barlow
use xstream nice and simple Oleg Tkachenko wrote: Hello! I wonder how can I use Axis for doing only serialization of java to XML and back. What I have is only arbitrary (but generated and rather simple ones) java classes. I need a way to serialize objects of those classes to XML and deserialize

Newbie: Using Axis for serializing/deserializing only

2004-08-24 Thread Oleg Tkachenko
Hello! I wonder how can I use Axis for doing only serialization of java to XML and back. What I have is only arbitrary (but generated and rather simple ones) java classes. I need a way to serialize objects of those classes to XML and deserialize them back. -- Oleg Tkachenko http://blog.tkachenk

RE: interface typemapping

2004-08-24 Thread Janarthanan Poornavel
Hi all, Well first is not the case, I have done the type mapping part through and not through the client-config.wsdd. i don't see the necessity to Write custom serializers, because the bean-serializers when registered with Types it doesn't seem to throw any problems, but only upon calling

Conversion problem on response of document style call

2004-08-24 Thread tony . q . weddle
Hi, I'm fairly new to Axis and have been trying to write a client to access a document style web service. Using the WSDL2JAVA utility works fine and I can successfully make the call, using the generated classes. However, I get a class cast exception on the response, since the stub is just trying t

java2wsdl and wsi conformance

2004-08-24 Thread Ricardo Rocha
Hi all. I'm using the Java2WSDL tool to generate my WSDL from Java Interfaces. On these interfaces i have my own complex objects defined (beans), and i'm throwing exceptions. I'm now trying to get it to be WSI conformant, but still have some issues. Started trying with the Java2WSDL utility com

RE: interface typemapping

2004-08-24 Thread egemen kalyoncu
i think you didn't configure your stub typemapping on the client. if you want to use custom serializer you must configure deploy.wsdd on server-side and stub class on client to do type mapping. look at this link for more info http://www-106.ibm.com/developerworks/library/ws-castor/ __

RE: Class/resource loading with applet killing performance

2004-08-24 Thread Keith Hatton
Hi Mark, For #3, you can call the following to turn off most of the BeanInfo behaviour. java.beans.Introspector.setBeanInfoSearchPath(new String[0]); Another possibility for #3 and #1 is just to provide empty implementations of the BeanInfo and _Helper classes. This is a pain but I haven't seen

interface typemapping

2004-08-24 Thread Janarthanan Poornavel
Hi people, I have this situation, where when I try to send a soapmessage ,with data objects added in the message body, it results in {http://xml.apache.org/axis/}stackTrace: java.io.IOException: No serializer found for class a.b.c Would there be any suggestion about how to say implem