Title: RE: JWS Deployment
yep, I got the feeling long ago that JWS deployment doesn't stand up for
very long in anything but the most simplistic service implementations. I'd guess
its inability to support complex types within an interface are often more
debilitating than its 'package-related
Kai,
In the WSDL I see the following type: 'Methods', but in your client, you are
registering 'Methoden'! While it translate fine to German, Java probably
struggles with correlating them! ;) (Maybe I'm missing something.)
The other thing I'd mention is that Methods instances apparently contain a
Ve
Suresh,
Yes, WSDL can define enumerations. You can check out this currency
conversion service as an example -- it defines an enumeration for a simple
type named 'Currency'.
http://www.webservicex.net/CurrencyConvertor.asmx?WSDL
You can use Binding Point's QuickTry site to quickly test it:
http://ww
You won't need to create a custom serializer if you ensure that the values
returned (and passed) are one of the many 'supported types'. That includes
primitive types, other supported classes like String, Integer, etc., and
JavaBeans.
If you use JavaBeans, serialization support is provided by BeanSe
Hi,
I came across a reference to GXA (Global XML Web Services Architecture)-- an
initiative [led by IBM, Microsoft & others] to develop a suite of SOAP
extensions to support commonly needed features for a distributed system
--security, routing, reliability, etc.
Apparently MS has released a referen
Hi,
I came across a reference to GXA (Global XML Web Services Architecture)-- an
initiative led by IBM, Microsoft & others to develop a suite of SOAP
extensions to support commonly needed features for a distributed system
--security, routing, reliability, etc.
Apparently MS has released a reference
You can use the namespace attribute on the wsdl2Java task to map different
namespaces in the WSDL to different packages for the stub classes generated.
For example:
http://server.ws.cfg.firepond.com";
package="com.firepond.cfg.ws.client"/>
http://shared.ws.cfg.firepond.com"
Question for you Gurus out there:
While there's built-in serialization support for certain Java collection
classes (Map, Vector, etc) there isn't any for others like ArrayList. For
reasons I won't go into I need support for serialization of an ArrayList.
I did some 'low tech code reuse' of the seri
Ashwini,
I haven't tried it personally, but this is what I believe you'd need to do:
Create your own Handler, and use that to access the MessageContext
See MessageContext.getRequestMessage()
-Original Message-
From: Mark Galbreath
To: [EMAIL PROTECTED]
Sent: 3/12/2003 11:22 AM
Subject: RE
What determines the session timeout if one has specified 'session scope' for
one's web service?
Would it be through the use of a entry in the web.xml for
the Axis webapp?
For example:
...
60
...
Thanks Steve for the commentary! Just thought I'd throw in a link to a
related question answered by Anne, for whatever its worth:
http://searchwebservices.techtarget.com/ateQuestionNResponse/0,289625,sid26_
cid519718_tax289201,00.html
Btw, Milind: I'm glad you brought up the issue -- its led to an
axis-ant.jar contains Ant tasks corresponding to WSDL2Java, Java2WSDL and a
few other utilities.
Btw, (be warned) for some very strange reason I had very little success
generating valid WSDL using Java2WSDL from Ant scripts -- both when using
the Ant task Java2WsdlAntTask and when using the comma
Does your helloworld class specify a package? If so, try removing the
package declaration.
-Original Message-
From: Gianni Pucciani
To: ML Axis
Sent: 3/5/2003 12:11 PM
Subject: simple WS
Hi all,
following the book instructions (java web service) I'm trying to start a
simple WS, the clas
Don't know if this will help:
Sun's WSDP comes with a tutorial with a section on security that might help
some -- I believe a lot (if not all) you have to do to setup secure
communication with your service will be relevant even if you're using Axis
(as opposed to Sun's JAX-RPC reference implementat
Ah, you need access to 'context'. I'd say perhaps you need to implement a
'Handler'. You could take a quick look at samples\example4 which implements
a simple LogHandler.
public class LogHandler extends BasicHandler {
public void invoke(MessageContext msgContext) throws AxisFault;
}
As you can
There's always the constructor... ;)
I guess the absence of a notion like an init() method is a consequence of
Axis not enforcing implementation of a specific interface [by your service
handler] -- which is nice.
Can you think of a reason why the constructor would not work for you as a
place to do
Jan,
If you look under webapps\axis\WEB-INF\server-config.wsdd,
you will find a copy of the 'deployment descriptor' file being used by Axis.
Typically when you deploy a service using AdminClient, this is the file that
gets modified -- a new element is created within it. The wsdd
also contai
ng setMaintainSession before the first method invocation on
the
service instance. Right now I have called it between the first and second
method calls and axis behaves as if I'm not using session scope. I would
have
tried this before asking, but I'm snowed in at home and my code is at wo
Hi,
I've noticed something that appears to be a bug in WSDL2Java. If the class
used to generate the service contains a method that returns a Map (or takes
a Map as a parameter) then the signature of the corresponding stub
classes/interfaces use 'HashMap' instead of 'Map'.
For example:
public class
There's no need to call setMaintainSession() more than once to keep the
session alive, provided you're using the same service instance on successive
calls. (I've tried this, so I know it works.)
> -Original Message-
> From: Hainer Neil [mailto:[EMAIL PROTECTED]
> Sent: Tuesday, F
check the entry for that service in the deployment descriptor file
webapps\axis\WEB-INF\server-config.wsdd
If scope is unspecified then it is probably the default ('request' scope, I
believe). Or is that not what you were getting at?
> -Original Message-
> From: Hainer Neil [mailt
ned by the 'Service Locator'.
-Original Message-
From: Barry Levinson [mailto:[EMAIL PROTECTED]]
Sent: Thursday, February 20, 2003 3:14 PM
To: [EMAIL PROTECTED]
Subject: Re: Session Scope
Yes, you need to allow cookies to be stored. See archives of this list
for a more in de
I'm attempting to deploy a simple 'hello world type' service to run in
"session scope", but it doesn't appear to be working. ('request' &
'application' scope settings work as I would expect them to.)
If make two consecutive calls to the same method of a service for which the
scope is specified to b
23 matches
Mail list logo