Ques: How to use namespaces in WSDL2Java and Java2WSDL?

2002-05-15 Thread Steven Schreiber
I've been working to deploy a service using axis. I have currently had it working after running a Java2WSDL on the interface (and bean objects for complex types) I wish to expose and then using WSDL2Java to create server-side stubs. My issue arises when I attempt to create these stubs in a sub-p

Axis Admin Exception: Services must use targeted chains(?)

2002-05-15 Thread Mark Hauchwitz
Hi! I have a problem with the deployment of my web service class... The Axis' Admin class throws the following exception: D:\java\ws>java org.apache.axis.utils.Admin server deploy.wsdd - Exception: Services must use targeted chains at org.apache.axis.utils.Admin.registerService(Admin.jav

Re: RE: stateful service example (no cookies)

2002-05-15 Thread Andrew Vardeman
Steve, current solution is to wrap the Connection in an object that implements ServiceLifecycle. I store this in the Session object, which automatically calls the destroy() method on the ConnectionWrapper when the session times out. destroy() makes sure the connection is closed. Andrew > >

suggestion for session management in Axis API

2002-05-15 Thread Andrew Vardeman
Hi. This is sort of a suggestion for the developers, I guess-- I was looking over SimpleSessionHandler.java to get a feel for what it does (where it keeps track of active sessions and so on). I think it would be handy if a service had access to the list of active Session objects. I don't kn

Re: WSDL2Java error!

2002-05-15 Thread Sudhir
I am attaching two WSDL Files. I am trying to generate the client for both of them. WSDL2Java doesnt give any error for the addresslookup.wsdl. But it gives that error for the cweather.wsdl. Both of them have the "http://www.w3.org/2001/XMLSchema"; defined as the namespace. And both of them refer

RE: WSDL2Java error!

2002-05-15 Thread Shinde, Uma
I suppose you should include your WSDL file and then get opinions on how to fix your problem. -Original Message- From: Sudhir [mailto:[EMAIL PROTECTED]] Sent: Wed 5/15/2002 2:23 PM To: [EMAIL PROTECTED] Cc: Subject: Re: WSDL2Jav

Re: WSDL2Java error!

2002-05-15 Thread Russell Butek
First you have to decide what the schema type means to you. To some folks it means "xsd:anyType". Perhaps you could just replace schema with anyType? Russell Butek [EMAIL PROTECTED] "Sudhir" <[EMAIL PROTECTED]> on 05/15/2002 01:37:01 PM Please respond to [EMAIL PROTECTED] To:<[EMAIL PRO

Re: WSDL2Java error!

2002-05-15 Thread Sudhir
Jim, I knew the link to the schema. Probably I phrased my question wrong. I wanted to know how can I define that schema to the WSDL2Java? Thanks Sudhir - Original Message - From: "Stickley, Jim" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Wednesday, May 15, 2002 11:56 AM Subject: RE

RE: WSDL2Java error!

2002-05-15 Thread Stickley, Jim
If you do a little research, you could find it yourself, part of the URL in your error message is the following: http://www.w3.org/ Within 1 minute of visiting that site I was able to find the following url: http://www.w3.org/XML/Schema You might start by looking at that. Jim Stickley

RE: New beta-2 is not working with EJB's

2002-05-15 Thread Lasker, Kory
This allowed me to use the service with an EJB, but the wsdl is not auto-generated. Instead, it gives me an IllegalAccessException. Any ideas what's going on? Kory -Original Message- From: Bob Cotton [mailto:[EMAIL PROTECTED]] Sent: Thursday, May 09, 2002 9:23 AM To: [EMAIL PROT

axis deploy error

2002-05-15 Thread Mark Hauchwitz
Hi! I try to deploy a web service with axis but I got the following error message: D:\java\ws>java org.apache.axis.client.AdminClient deploy.wsdd - Processing file deploy.wsdd - AxisFault: AxisFault faultCode: http://xml.apache.org/axis/:Admin.error faultString: Root element must be ''clientde

Re: WSDL2Java error!

2002-05-15 Thread Sudhir
Thanks for the reply Russel. How can I define that schema? Can you give me a pointer to a place where I can learn about it. Thanks again sudhir - Original Message - From: "Russell Butek" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Wednesday, May 15, 2002 11:17 AM Subject: Re: WSDL2J

Handler and typemapping

2002-05-15 Thread Dirk Wollscheid
Hi, I'm trying to find out how to write a service with some custom typemapping. The actual data for the web service response is provided by a my own handler. Here's my wsdd: http://xml.apache.org/axis/wsdd/"; name ="myNS:MySoapService" provider="Handler"> http://xml.apache.org/axis/wsdd

Re: WSDL2Java error!

2002-05-15 Thread Russell Butek
AXIS doesn't support type http://www.w3.org/2001/XMLSchema:schema. Since it doesn't know about it, it assumes you've defined it. Since, of course, you haven't defined it, you see the message that you see. Russell Butek [EMAIL PROTECTED] "Sudhir" <[EMAIL PROTECTED]> on 05/15/2002 12:49:48 PM

WSDL2Java error!

2002-05-15 Thread Sudhir
can any1 answer my following qn please hi, I am using axis beta2. While using the WSDL2Java to generate the client side aritfacts, I am getting the following exception. java.io.IOException: Type http://www.w3.org/2001/XMLSchema:schema is referenced but not defined. at org.apache.axis.ws

RE: how to implement session in axis

2002-05-15 Thread Stickley, Jim
This is a copy from the user guide defining WSDD options: Scoped Services Axis supports scoping service objects (the actual Java objects which implement your methods) three ways. "Request" scope, the default, will create a new object each time a SOAP request comes in for your service. "Applicatio

NullPointerException when deploying

2002-05-15 Thread Gaƫl Pouzerate
Hi, I'm using Apache Axis beta2 (on weblogic5.1) I'm trying to deploy a web service by running: java org.apache.axis.client.AdminClient CustomerManagmentAPI.wsdd -lhttp://localhost:7654/axis/services/AdminService But on the server side (weblogic5.1), there's an exception occuring in Axis sayin

RE: security (SSL, HTTP)

2002-05-15 Thread KUMAR,PANKAJ (HP-Cupertino,ex1)
Hi, You may find the following helpful: http://www.pankaj-k.net/WSOverSSL/WSOverSSL-HOWTO.html /Pankaj. -Original Message- From: [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: 5/15/02 5:49 AM Subject: security (SSL, HTTP) Hi guys, I need to write a client that can handle SSL and also

security (SSL, HTTP)

2002-05-15 Thread Geza.Szocs
Hi guys, I need to write a client that can handle SSL and also HTTP authentications (Basic/Digest). Right now I'm browsing the HTTPSender.java for some clues. As far as I could understand the current version handles SSL and HTTP Basic authentication. Is this correct ? How can I make the SSL conn

access$i

2002-05-15 Thread Eric Jain
What are all those access$i entries doing in my auto-generated WSDL file? The underlying Java class doesn't have any 'access' methods or fields. I actually have to cut them out before I can use the file with SOAP::Lite... -- Eric Jain

Toubles with the wsdd generated by wsdl2java

2002-05-15 Thread dev
Hello, I am writting WSDL using the schema functionnalite, and i am trying to get all the code to deploy the service using WSDL2JAVA. I have to face some problems with simple types like 'boolean' and 'int' which are not object when deploying the service. This is a part of my schema: http://t