Hi all!
Simple question: Can I expose an object through an Axis Webservice with
a paramerized constructor?
I.e. something like this:
public class MyObject {
MyObject(String test) {
// Constructor code goes here
}
}
Thanks,
~Morten :-)
I'm in the process of writing a web service and have ran into the problem
of sending custom objects.
I have an object that contains nothing more then a few String[] and
Datahandler[]. When calling invoke I get the error No serializer
found... understandable..
in my client code I added the
you could look at Jetty--little more lightweight than Tomcat.
-pc
On Wed, 16 Feb 2005 10:21:28 +0300, Eugene Prokopiev
[EMAIL PROTECTED] wrote:
Hi,
I need minimal production environment for Axis application. For
org.apache.axis.transport.http.SimpleAxisServer I read in javadoc: This
is not
Robert,
I think your second option is the best route. I have used MessageContext
to get a hold of my servlet's context and it works dandy.
-Original Message-
From: Robert Bateman [mailto:[EMAIL PROTECTED]
Sent: Tuesday, February 15, 2005 3:01 PM
To: axis-user
Subject: Re:
Yes, provided you implement a custom serializer for that object.
Jai
-Original Message-
From: Morten Egelund Rasmussen [mailto:[EMAIL PROTECTED]
Sent: Wednesday, February 16, 2005 6:32 AM
To: [EMAIL PROTECTED]
Subject: Parameterized constructors through Axis?
Hi all!
Simple
The problem is that the Applet is trying to read (not write) the log level.
We have to find a way to give it that knowledge. Doing a quick google. I
found this page.
http://www.geocities.com/dcblaha/articles/Soap/SoapSetup.htm
It gives a recommendation on how to get Axis working in an applet. In
Thanks for the response Dino.
I am using Axis rc1.2 nightly build from Feb
8th.
I think you are right regarding desinging the
interfaces.Its better to work on WSDL and schema before working on java
code but I have all the java classes built. These are not new services. I have
all these
Hello,
I'm looking for some guidance in the realm of security. I am in charge
of creating some web services to be used by a PowerBuilder front
end(changing this is not an option). What I've discovered is that
PowerBuilder does not allow you to modify/add headers in any shape or
form. So,
Carsten,
Do you want to share it? Please open a JIRA request for enchancement :)
thanks,
dims
On Wed, 16 Feb 2005 14:18:25 +0100, Carsten Ziegeler
[EMAIL PROTECTED] wrote:
Carsten Ziegeler wrote:
I'm searching for an easy way of validating an XML document against a
WSDL file. This is in
Try changing your WSDL so there is no additional
ArrayOd_tns1_ContainerBean type.
Basically, the definition ofContainerBean:
complexType
name="ContainerBean"
sequence
. .
. element maxOccurs="unbounded"
name="item" type="tns1:ContainerBean"/
/sequence /complexType
Not sure if this is
Davanum Srinivas wrote:
Carsten,
Do you want to share it? Please open a JIRA request for enchancement :)
Hmm, sure, I' not against sharing - but my solution currently runs
outside of Axis
and alters for example the incomming message in order to append the
schema information etc.
But I could
Hi, I am looking forward to using WSS4J in my project but I don't knowwhere to find the binaries from http://ws.apache.org/ws-fx/wss4j/. Cansomeone please point me in the right direction!
I know this is not the ideal mailing list but I hope someone can still help me out, pleeease!
Many
I changed the wsdl. ContainerBean is now defined as
(my changes are in blue):
complexType
name="ContainerBean"sequenceelement
name="ID" nillable="true"
type="xsd:string"/element
name="accessPermissions"
type="xsd:int"/element
name="accountID" nillable="true"
type="xsd:string"/element
Do you know all the object types of 'Object o' at run-time ? If you do
maybe you can use
Java2WSDL with that more option : --extraClasses ?
---
Sebastien
On Wed, 16 Feb 2005 11:20:24 -0800, Tim K. (Gmane) [EMAIL PROTECTED] wrote:
Hello,
Using java2wsdl to generate the WSDL from
Hi There!
I have seen a couple of people with the same problem but there seems to be
no answer so far:
The problem relates to WSDL generation of deployed services in Axis 1.2RC2 .
The error is:
BEGIN
AXIS error
Sorry,
I don't really like the option 1. And I don't know
how to go for option 2 :). I am trying to apply Eric's patch and see if it fixes
my problem (assuming that this patch will be applied to Axis's cvs :)
).
Praveen
- Original Message -
From:
Dino
Chiesa
To: [EMAIL
Hey there,
I'm looking for a solution to the following problem.
I'm trying to develop a rather simple Webservice with Axis 1_1
and want to use axis's built-in session-support.
When a user logs in (e.g calls login method) user will be marked as
online, so that user
of the same webservice may see
By the way, thanks for this advice about upgrading xerces. My
performance increased dramatically. (An operation that was previously
talking 5 or 10 minutes now only takes 12 seconds.)
Suprisingly, I had to replace xerces not only in my on web application,
but also in the
Wow, mail transport... the world's slowest RPC? :-)
And if that is still too fast, try:
org.apache.axis.transport.postalmail
Bill
[EMAIL PROTECTED] wrote:
Hi Kumar,
Other than the HTTP Transport, Axis also provides a JMS Transport and a Mail
Transport.
See the following packages for
xsd:sequence dictates the order of the elements whereas xsd:all child
elements can be any order. But I think everyone uses xsd:sequence,
although the receiver of messages may be forgiving if the elements are
illegally out of order.
http://www.w3schools.com/schema/schema_elements_ref.asp
Tom
I get a SOAP fault when trying to deploy wsdd with AdminClient.
No clue why this is happening. I have the classes on my CLASSPATH.
Appriciate any help.
Details below.
Thanks,
Samisa...
Processing file ca/deploy.wsdd
Exception: AxisFault
faultCode:
Hm
I don't really know what the problem is,
then.
I started with the WSDL you sent me, and removed the weird,
redundant ArrayOf_tns1_ContainerBean type, and introduced a new named
complexType in its place. Like so:
element
name="getRootContainersResponse" type="tns1:ArrayOfContainerBean"
--- Ry. [EMAIL PROTECTED] wrote:
Hi, I am looking forward to using WSS4J in my
project but I don't know
where to find the binaries from
http://ws.apache.org/ws-fx/wss4j/. Can
someone please point me in the right direction!
I know this is not the ideal mailing list but I hope
someone can
No binaries exist. Checkout from CVS and
build.
-Jon
From: Ry. [mailto:[EMAIL PROTECTED]
Sent: Wednesday, February 16, 2005 2:07 PMTo:
[EMAIL PROTECTED]Subject: Where are WSS4J
Binaries?
Hi, I am looking forward to using WSS4J in my project but I don't
knowwhere to find the binaries
I am not clear. Seems there are two issues,
1. SOAP encoding (blch!) vs
Literal
2. wrapped or bare arrays
Let's stay away from SOAPENC:arrayType since we all listen to
WS-I.
So, on issue #2, are you
asking, does .NET expect arrays embedded in types to be serialized
as[Example 1]:
You can get the snapshot at http://cvs.apache.org/snapshots/ws-fx/
On Wed, 16 Feb 2005 11:06:58 -0800 (PST), Ry. [EMAIL PROTECTED] wrote:
Hi, I am looking forward to using WSS4J in my project but I don't know
where to find the binaries from http://ws.apache.org/ws-fx/wss4j/. Can
someone
Hmm, it's mysterious. Praveen's problem was the item xmlns=""
namespace bug, documented (with patch) here:
http://marc.theaimsgroup.com/?l=axis-userm=109646648222389w=2
I don't know why it's working for Dino (but not Praveen) without that
patch.
Bill
Dino Chiesa wrote:
Hm
I
Wow, great answer. Thanks! I was actually just asking about issue #2,
wrapped or bare arrays.
I looked over the Axis code again and realized that in
ArraySerializer.java version 1.31, the code I mentioned in my previous
mail was corrected to output wrapped or bare arrays in concordance with
On the client side, we're using only Laszlo elements. We specify the
URL, and Laszlo is supposed to fetch the WSDL and handle all
communication. This is described at
http://www.laszlosystems.com/lps-2.2/docs/guide/rpc-soap.html
However, if I'm not mistaken, Laszlo uses Axis internally to
29 matches
Mail list logo