Doc-Style Web Clients

2004-03-24 Thread Vivek Nagulapati
Hello Guys, Can we develop doc-style web service clients? When I say doc-style web service clients, I mean a client which calls a web service directly without the involvement of Axis serialization wherein marshalling of function calls to XML is circumvented. What I want to do is, I have my "Do

Application Context Servlet

2004-03-24 Thread Gareth Western
Hi, This question might be more relating to servlets in general... I have a service in Axis which relies on a servlet... how can I make this required servlet persistent across sessions (ie to maintain the state of the object created by required servlet)? Does the question make sense? Thanks, Ga

Re: Question about server-config.wsdd

2004-03-24 Thread Nelson Minar
>Are always all deployed services noted in the server-config.wsdd??? >Or it is possible that a service is not registered in this file? There are other ways. You can create .jws files. Services can be deployed dynamically via AdminClient. For more information, see http://ws.apache.org/axis/java/u

Custom data type with BeanSerializer

2004-03-24 Thread Tony Thompson
If I have a custom data type that is (de)serialized with the BeanSerializer and one of the properties of the bean is an int, how can I specify that it is restricted to a set of integers (i.e. define a restriction base in the WSDL)? I had asked another question about making an element so that it ca

RE: wsdl2java "Connection Timed Out"

2004-03-24 Thread Ferguson, Hamish
try using the -O (timeout) option passed to WSDL2Javav with a higher value. The default is 45 seconds. I had to set mine to 2 mins for it to work. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Wednesday, March 24, 2004 4:02 PM To: [EMAIL PROTECTED] Subject

Axis and XML Validation

2004-03-24 Thread Ferguson, Hamish
Hello All, Does anyone know how to turn on validation for the Axis Parser? Currently I have added xsd constraints to the elements for my schema's in the section ( ie minOccurs, maxOccurs etc ) but Axis seems to be ignoring these. Is there some entry in a properties file or something that I h

wsdl2java "Connection Timed Out"

2004-03-24 Thread noelamannion
This is a multi-part message in MIME format.Hi, when trying to convert the attached wsdl file to java I get the following error. Does anyone know why this error occurs ? My network connection is fine >java org.apache.axis.wsdl.WSDL2Java test1.wsdl java.net.ConnectException: Connection timed out:

wsdl2java "Connection Timed Out"

2004-03-24 Thread noelamannion
This is a multi-part message in MIME format.Hi, when trying to convert the attached wsdl file to java I get the following error. Does anyone know why this error occurs ? My network connection is fine >java org.apache.axis.wsdl.WSDL2Java test1.wsdl java.net.ConnectException: Connection timed out:

Re: Provider Implementation

2004-03-24 Thread Virginie Legrand
Hi, Thank you for your answers. I've understood how to write a new Provider : I must extends the JavaProvider if I want to implements a new java provider. Right ? But, how to register it into axis ? Where do I put the NewProvider.class into webapps ? Thanks you Best Regards, Virginie Chris

Question about server-config.wsdd

2004-03-24 Thread Chris Aiken
Hi! I have a simple question about the server-config.wsdd: Are always all deployed services noted in the server-config.wsdd??? Or it is possible that a service is not registered in this file? Thanks4info, Chris

Question about server-config.wsdd

2004-03-24 Thread Chris Aiken
Hi! I have a simple question about the server-config.wsdd: Are always all deployed services noted in the server-config.wsdd??? Or it is possible that a service is not registered in this file? Thanks4info, Chris

RE: basic questions before start using Axis...

2004-03-24 Thread Chris Haddad
Hi Om - The Axis users guide is a good place to start for learning more about handlers. A search for 'axis.handlers' in the /test and /samples codebase yields a significant number of examples. Of particular note may be /test/session/TestSimpleSession and /samples/stock/ and /samples/userguide

RE: basic questions before start using Axis...

2004-03-24 Thread Omprakash . Bachu
Appreciate if anybody can give some light on the below email... Cheers! :o)m -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Tuesday, March 23, 2004 1:06 PM To: [EMAIL PROTECTED] Subject: RE: basic questions before start using Axis... Hi Anne, thanks very muc

RE: wsdl spec examples - do they work?

2004-03-24 Thread Nitin Mulimani
Steve, Thanks a lot. I did not understand this part though. " What you need to do is change the name of the Response message body part to not be called body ie call it return," Do you mean that I replace the name="body" to name="return"? Thanks for your time. -- Nitin -Original Message---

Re: Provider Implementation

2004-03-24 Thread Chris Haddad
Hi Virginie - see /src/org/apache/axis/providers/java and /test/providers for examples. /Chris -- Original Message -- From: Harald Pollak <[EMAIL PROTECTED]> Reply-To: [EMAIL PROTECTED] Date: Wed, 24 Mar 2004 16:31:03 +0100 >see the architecture guide.

nillable elements using a

2004-03-24 Thread Tony Thompson
I have a custom data type that is being returned by my service. I have a for it in my WSDD file. The generated WSDL for that data type has all of the elements marked as nillable. Is there a way to specify that those elements are not nillable? Thanks. Tony

RE: wsdl spec examples - do they work?

2004-03-24 Thread Nitin Mulimani
Thanks a lot Dario. Now it works. -Original Message- From: Dario Di Minno [mailto:[EMAIL PROTECTED] Sent: Wednesday, March 24, 2004 1:38 AM To: [EMAIL PROTECTED] Subject: Re: wsdl spec examples - do they work? Hi Nitin, as I can see from your output, there are some unwanted spare '>' c

InvocationTargetException with complex type

2004-03-24 Thread Jean-Christophe Praud
[sorry for reposting, my previous email had the same subject as another thread] Hi all, I've got this exception on my server after a SOAP call... It basically sends an array of beans to the Axis server... This code was working on another project. The SOAP part was the same, only the package na

Re: Provider Implementation

2004-03-24 Thread Harald Pollak
see the architecture guide. It should be possible its a special kind of handler. Harry Am Mi, den 24.03.2004 schrieb Virginie Legrand um 16:25: Hi, I'd like to write my own Provider implementation with axis. Is it possible like with ApacheSOAP ? I can't find the Provider Interface in the

Provider Implementation

2004-03-24 Thread Virginie Legrand
Hi, I'd like to write my own Provider implementation with axis. Is it possible like with ApacheSOAP ? I can't find the Provider Interface in the API. thanks Best regards, Virginie

Re: doc/lit web service works, ?wsdl doesn't

2004-03-24 Thread Dario Di Minno
Thanks for the reply Li, but the problem is not a firewall because I'm working on localhost! And for web services in rpc style I get the automatically generated wsdl. The problem is present with this doc/lit web service. Note: I've also tryed to generate the WSDL with the utility Java2WSDL a

Re: Remote Access Rejected

2004-03-24 Thread Harald Pollak
from the documentation: Remote Administration Note that by default, the Axis server is configured to only accept administration requests from the machine on which it resides - if you wish to enable remote administration, you must set the "enableRemoteAdmin" property of the AdminService to true

Re: Remote Access Rejected

2004-03-24 Thread Virginie Legrand
I have found what to do : turn to "true" the value of "enableRemoteAdmin" in the server-conf.wsdd. Bye, Virginie Virginie Legrand wrote: Hi all, I am trying axis and I want to deploy a web service by using Adminclient : java org.apache.axis.client.AdminClient hello.wsdd That works f

Re: Remote Access Rejected

2004-03-24 Thread Virginie Legrand
It's what I have done ... It doesn't work ! :( Harald Pollak wrote: try to uncommend the admin-section in web.xml ($CATALINA_HOME/webapps/axis/WEB-INF, when using Tomcat). Then it should work! best regards Harry Am Mi, den 24.03.2004 schrieb Virginie Legrand um 15:18: /Hi all, I am trying ax

RE: FW: 1-43507131 | Access Denied web service response causing an error with Apache Axis

2004-03-24 Thread Richard Martin
I'm reasonably certain that it's a Crimson problem. Try getting Xerces and forcing it to use that by setting system properties as below: javax.xml.parsers.DocumentBuilderFactory="org.apache.xerces.jaxp.DocumentBui lderFactoryImpl" javax.xml.parsers.SAXParserFactory="org.apache.xerces.jaxp.SAXPars

Re: doc/lit web service works, ?wsdl doesn't

2004-03-24 Thread Li Geng
One possible cause: your web service is behind firewall. One easy work around: In side web.xml, change the MIME mapping for the wsdl. Change wsdl text/xml to wsdl text/html Hope helps! Li >I wrote the wsdl included in this mail; >then WSDL2Java produced for me the

Re: Remote Access Rejected

2004-03-24 Thread smcardle
Hi Virinie, You need to set the entry in the web.xml file to allow remote administration. It is set off by default. Regards Steve Quoting Virginie Legrand <[EMAIL PROTECTED]>: > Hi all, > > I am trying axis and I want to deploy a web service by using Adminclient : > > java org.apache.ax

Re: session handler help!!!

2004-03-24 Thread Chris Haddad
Hi Thomas - once the first service call has returned, use the getSessionID method described below to obtain the session identifier. the identifier can then be 'attached' to the second service using the setSessionID method. static public void setSessionId(Service oService, Long oId) { AxisE

Re: Remote Access Rejected

2004-03-24 Thread Harald Pollak
try to uncommend the admin-section in web.xml ($CATALINA_HOME/webapps/axis/WEB-INF, when using Tomcat). Then it should work! best regards Harry Am Mi, den 24.03.2004 schrieb Virginie Legrand um 15:18: Hi all, I am trying axis and I want to deploy a web service by using Adminclient : j

Re: axis doesn't generate wsdl automatically

2004-03-24 Thread Nicholas Remy
I have not previously heard about any problem with Axis not generating *any* WSDL.  The first thing I'd check is that you're using the right URL to try to look at the WSDL: http://localhost:8080/axis/services/YourServiceName?wsdl I believe a common problem is omission of "services" from the URL.

Remote Access Rejected

2004-03-24 Thread Virginie Legrand
Hi all, I am trying axis and I want to deploy a web service by using Adminclient : java org.apache.axis.client.AdminClient hello.wsdd That works fine when I execute it on the same host that tomcat server. But It doesn't work when I try to call the AxisServlet from another host I typed :

Re: FW: 1-43507131 | Access Denied web service response causing an error with Apache Axis

2004-03-24 Thread Anne Thomas Manes
I've seen this error reported on this list before. The fault message is valid, but it contains the xml:lang attribute. For some reason Axis (or is it Crimson?) is having trouble parsing this attribute. The xml: namespace prefix is not an illegal namespace. It is a predefined, well-known namespa

session handler help!!!

2004-03-24 Thread Dorner, Thomas
Hi all, I use Axis SimpleSessionHandler in my Stub to handle Sessions for my SOAP-Messages My Problem is: I have a client which make a login at WebService1 and get a session for this loggin and the same client call a Service2 and should set the Session fo

Re: FW: 1-43507131 | Access Denied web service response causing an error with Apache Axis

2004-03-24 Thread smcardle
Hello Chris, Looking at your SOAP fault you do indeed have an undefined name space problem. The line [ISS.0084.9004] Access Denied has the problem xml:lang="en" problem. lang is namespace prefixed but the envelope name spaces does not include an entry for xml: Hope this helps point you in the

FW: 1-43507131 | Access Denied web service response causing an error with Apache Axis

2004-03-24 Thread Goguen, Chris
Hello, I am having a problem with Apache Axis properly recognizing an exception being thrown when consuming a webMethods web service. I'm not sure if the problem is what webMethods is sending as a response, or if Axis is not properly processing a valid message. Please take a look at the below SOAP

How to use JMS?

2004-03-24 Thread Jani Väisänen
Hi, I'm interested of using SOAP over JMS with Axis, but I can't get the example running nor my own tests. I have tried to get it working with simple service, but I only get error message from the client-side: No client transport named 'JMSTransport' found! at org.apache.axis.client.AxisC

RE: Using

2004-03-24 Thread
Hi Fabricio, I'm new to axis, but I got the following to work. I think this is what you want. -dexter --- On Sat 03/20, Fabricio B. Teixeira < [EMAIL PROTECTED] > wrote: From: Fabricio B. Teixeira [mailto: [EMAIL PROTECTED] To: [EMAIL PROTECTED] Date: Sat, 20 Mar 2004 17:18:07 -0300

deSerialisation problem ...

2004-03-24 Thread Hausenblas, Michael
hi dear axis-gurus! i am trying to get the content of a (database)table over the wire ... didn't find any ResultSet support, so i wrote my own ser/deserializing classes. (adopted samples.encoding.DataXXX code ...) now: the serializing part seems to work fine, but when i try to deserialize the

doc/lit web service works, ?wsdl doesn't

2004-03-24 Thread Dario Di Minno
I wrote the wsdl included in this mail; then WSDL2Java produced for me the java files and the .wsdd files; so I deployed the service; it works, but I can't get the automatically generated wsdl appending ?wsdl to the url of the service; I get a 500 error instead. Can someone help me? (all works fi

RE: How to get Enumerations in WSDL?

2004-03-24 Thread Ted Neward
You're not in a good way here; the problem is that Java's enumerations and iterators are written to return generic Object references, which is why java2wsdl is generating xsd:any elements for the enumerator. This is also thinking in very "object"-ish terms, which I would suggest is not the best wa

Re: wsdl spec examples - do they work?

2004-03-24 Thread smcardle
Hi Nitin, I see a couple of problems you want to address. 1. Always define the encoding in your xml header i.e. Both UTF-8 and UTF-16 are acceptable but I suggest UTF-8 because of some problems. This will not solve your problem. 2. In your message definition you have defined both the request

Re: AdminClient throws NoClassDefFoundError

2004-03-24 Thread smcardle
Hi Grant, you have not got the axis jar files on your class path. A common way to do this is to create an AXISCLASSPATH environment variable that has all of the Axis jar file defined in the lib directory under your AXIS_HOME installed directory and then call the method as java -cp %AXISCLASSP

Re: wsdl spec examples - do they work?

2004-03-24 Thread Dario Di Minno
Hi Nitin, as I can see from your output, there are some unwanted spare '>' characters, like in "{http://localhost:8080/jboost/stockquote.xsd}>TradePriceRequest", with... To eliminate this problem, you have to clean up the files produced by WSDL2Java from these '>'; then compile java files,

Re: How to get Enumerations in WSDL?

2004-03-24 Thread BLIS Webmaster (Patrick Houbaux)
Hi all, Has anybody any hints on my question? Patrick. BLIS Webmaster (Patrick Houbaux) wrote: Dear all, I have the following design for my object datatype model I want to expose from my web service: public class MyClass { MyClassTypeEnum myClassType; public MyClassTypeEnum get