, but I am curios why the difference.
Thanks for your tip.
Tim
Sebastien Mayemba Mbokoso wrote:
I think u don't need to include anything special for your arrays.
Generate all your stubs with the task WSDL2Java and look at in the
deploy.wsdd if the extra classes are mapped.
-
Sebast
Yes, I do. Ah, I missed the --extraClasses option ...
Do I need to also include anything special for the arrays to work (e.g.a
B[] in addition to B)?
Thanks.
Tim
Sebastien Mayemba Mbokoso wrote:
Do you know all the object types of 'Object o' at run-time ? If you do
maybe you can use
anywhere in the method signatures.
The work-around so far has been to add a dummy method that has both B
and B[] as arguments, but there's gotta be a nicer way to do it.
Thank you for your help.
--
Tim
OK, so it's not possible via Axis' configuration. That's what I wanted
to know so I can look at alternatives.
I guess one alternative is to patch the code, maybe even add an option
so I can flip it between dev and production envs.
Tim
Mike Barton wrote:
Tim,
Yes, we have done
Anyone out there who uses Axis on a production system and has disabled
these features?
Thanks.
Tim
Tim K. (Gmane) wrote:
Hello,
How can I turn off these features for an Axis production deployment:
1) Disable the generation of WSDL when one goes to
http://server:port/app/ws/ServiceName?wsdl
2
over what could
be exploited via the default Axis features (which for development are
great, but not for production).
Thank you for your help.
--
Tim
which obviously doesn't work (should be
ws instead of services).
Is there any configuration option that I am missing or is this a bug in
Axis where it doesn't get the servlet path right?
Thanks.
--
Tim
Axis has a built-in minimal HTTP server from what I read, but I never
used it so I don't know the details. Look into it a little bit and see
if it will work for you.
Tim
Douglas Kunzman wrote:
Hi,
I am looking for a java based web services "server" that does not need
tomcat or an
tact me in private if you would like the patch in a few weeks (when I
get around to doing it as I have other priorities right now).
Btw, there's a bug for it:
http://issues.apache.org/jira/browse/AXIS-986
Tim
Praveen Peddi wrote:
Thanks. But I have multiple services. On teh server side
= ats.getAxisTest(URL);
// This is the JAX-RPC way of setting it at the Stub level,
// no need to do it if you called ats.setMaintainSession(true)
// above
((javax.xml.rpc.Stub) stub)._setProperty(Stub.SESSION_MAINTAIN_PROPERTY,
Boolean.TRUE).
Tim
Tim K
one follows the JAX-RPC spec.
Tim
Praveen Peddi wrote:
Hello all,
I was using Apache SOAp on client side and Axis on server side. Since
ouor soap services need enabling of cookies on client side, I was
maintaining juts one Call object and calling
Call.setMaintainSession(true). This enables
em):
http://issues.apache.org/jira/browse/AXIS-1080
http://issues.apache.org/jira/browse/AXIS-986
http://issues.apache.org/jira/browse/AXIS-1754
Tim
Shantha Kumar wrote:
Hi,
if the client doesn't call setMaintainSession(true) the JSessionID cookie
doesn't get transported to the server. The server
Can you please file a bug for this at:
http://issues.apache.org/jira/
for project Axis
Thanks.
Tim
Vy Ho wrote:
That does it. The memory no longer go up. The way I do it is inside
the generated stub, I wrap the call with a try/catch/finally, and in
that, I put your code below. I am not sure
I may not understand exactly what you are trying to do, but did you
notice the "-c" option to wsdl2java where you can specify a class to use
instead of the BindingImpl?
Sorry if I am off topic with my answer.
Tim
Brian Davis wrote:
I wrote an ant task to do this, you can use it if yo
();
HttpServletRequest req = (HttpServletRequest)
context.getProperty(HTTPConstants.MC_HTTP_SERVLETREQUEST);
I hope this helps.
Tim
Alex Chen wrote:
I need to inspect the message in the program, e.g. I want to know there
the message comes from by
calling the getRemoteAddr() method of the request.
Flores, Raul
http://issues.apache.org/jira/
I'm not sure though what the difference between Axis and Axis2 projects
is. I think Axis is where you want to enter your bug.
Tim
Michael Oliver wrote:
How do I go about entering a bugzilla bug for Axis
Michael Oliver
CTO
Alarius Systems LLC
3325 N. Nellis
.
--
Tim
ed (if they are session
cookies, not persistent cookies then they are expired when the client
process exits -- in memory cookies).
Where are the cookies stored between requests? In the Service, Stub,
Call or HTTPTransport?
Tim
Tim K. (Gmane) wrote:
Correction: case 2) below is not valid, apparently
ase 1) still looks like a bug though.
Tim
Tim K. (Gmane) wrote:
Hello Axis Developers & Users,
I think I've discovered an Axis 1.2RC2 bug.
Some servers use cookies to do load balancing, so in addition to the
JSESSIONID session tracking cookie the load balancer may insert its own
cook
e it if you tell me
where. If it's a known bug and possibly already fixed, please let me know.
Thanks.
--
Tim
side
implementation.
2) Be able to set higher log levels (debug level) so I can see more
verbose messages, stack traces, etc. when something doesn't go as expected.
Can you please tell me how I can do 1) and 2)? I just need a starting
point and I can figure it out from there ...
Thanks.
--
Tim
ou are not confined to email only.
Gmane is great!
Enjoy.
Tim
Tetsuya Kitahata wrote:
Hi,
I noticed that this mailing list ([EMAIL PROTECTED])
does not have "digest mode" as well as [EMAIL PROTECTED]
Current digest subscribers: No digest available
Digest Subscription means that you (we)
ight?
The other thing is that I don't know what extra resources I would need
on the server side if I have 12 web services rather than 1 big one (in
terms of additional objects that Axis may use internally to keep track
and service the sessions for the deployed web services).
Tim
[EMAIL P
do I have to write one big interface that
extends all the existing interfaces and its implementation class to call
thru to the existing implementations?
Thank you,
Tim
Axis error messages.
Tim
[EMAIL PROTECTED] wrote:
You can also specify the methods to expose, using the -m option.
Tony
Tim K. wrote on 01/12/2004 19:21:04:
> Vy Ho wrote:
> > I wonder if you declare an interface for this service, then use it to
> > generate wsdl.
> >
>
that
won't be exposed.
Tim
think
SOAP headers for session tracking should work and I suppose it is more
portable, right? If I could get rid of the requirement to use cookie
based tracking ...
I am open to other suggestions :)
Tim
[EMAIL PROTECTED] wrote:
In that case, as I mentioned in my first reply, extract the cookies from
Thanks for your help.
Tim
rying to expose these bean properties and it
doesn't know how to serialize these classes. If that's the case just
rename your methods so that they don't start with "set" or "get" for the
properties you do NOT want exposed.
Double check the methods you changed or added ...
Tim
Is it possible to get and set cookies on the HTTP transport from the
*client* side of Axis?
If so, how? Are there any examples, please?
Thank you.
Tim
ion of the
SessionModule which will have to be called first before any method in
any other module can be used (authentication for an end user needed).
Tim
If anyone else has an example on how to get the Long stuff to
work end-to-end and to interoperate with .NET I would love to
see it (it has to be RPC not doc/lit) as it would be nice to
make use of the nillable property ...
Thanks.
Tim
The long type in .NET is not nullable, so trying to send
them in
your CLASSPATH, just ignore the warnings.
I hope this helps.
Tim
that talk
about BeanInfo:
http://java.sun.com/products/javabeans/docs/spec.html
Tim
nstead which is
>> not compatible with .NET?
>
>
> xsd:long and soapenc:long should be the same thing (IIRC the soap
> encoding spec defines soapenc:long as xsd:long).
>
>>
>> Is xsd:long nillable=true compatible with .NET?
>
>
> I don't know :) It should but...
I'll just use the primitive "long", at least I know that works ...
If anyone else has an example on how to get the Long stuff to work
end-to-end and to interoperate with .NET I would love to see it (it has
to be RPC not doc/lit) as it would be nice to make use of the nillable
property ...
Thanks.
Tim
[EMAIL PROTECTED] wrote:
Tim,
I've just come across the fact that the BeanSerializer does make use of
a BeanInfo class. Have you tried using a BeanInfo class with your bean?
I don't know if Java2WSDL makes use of it, but the bean serializer seems
to, at run time. Give it a go and l
on cookie to it (and
other cookies from the load balancer, etc.)?
The question boils down to the session sharing part between these
modules and how I can achieve it, if possible.
Thanks for your help.
Tim
Viktor Vojnovski wrote:
Tim Gmane se proiznese na 25.11.2004 17:42:
Please post the Java class you are trying to expose. I realize it may
contain proprietary information, so you should try writing a simple
example that reproduces the problem or posting snippets from the bean
that has the CPF
org.apache.axis.wsdl.fromJava.Emitter.writeMessages(Emitter.java:1087)
Please post the Java class you are trying to expose. I realize it may
contain proprietary information, so you should try writing a simple
example that reproduces the problem or posting snippets from the bean
that has the CPF attribute ...
Tim
hand
which is not an option because I am generating it many times a day and
it's pretty long and complicated.
It would be too nice for Axis to support BeanInfo :)
Thanks for your help.
Tim
[EMAIL PROTECTED] wrote:
The only other "simple" thing I can think of is, instead of using an
WAJSBERG Julien RD-BIZZ wrote:
Tim Dev a écrit :
Hi,
I have a simple test method:
Long foo(Long bar)
Java2WSDL maps the Long to xsd:long and the client stub contains the
method as:
long foo(long bar)
How does the WSDL look like ? The parameter and return value should have
a "nillable=
is' web.xml into
my webapp's web.xml
At this point happyaxis.jsp should work (it will complain that it can't
find log4j.jar but it will still work and log to stdout/stderr which in
the case of the Oracle App Server is captured in the OPMN log files).
I hope this will get you started.
Tim
modifiable property (in Axis terms, it means the property
> can be deserialised).
> Simon mentioned a special constructor on BeanSerializer
> and BeanDeserializer. If this can be used to do what Tim wants, only
BeanSerializerFactory
> and BeanDeserializerFactory subclasses would b
n XDoclet be used to achieve this? I can't tell from
> > briefly looking at it ... If someone has more experience with
> > it please share it with us.
> >
> > Thank you.
> >
> > Tim
>
> There's a constructor for the BeanSerializer that tak
ods to be exposed can be annotated via custom javadoc tags.
Can XDoclet be used to achieve this? I can't tell from briefly looking at
it ... If someone has more experience with it please share it with us.
Thank you.
Tim
T only supports DIME and not MIME.
How difficult is it to get both to perform in Axis?
Thanks.
Tim
interop with .NET, should I change the server side exposed
methods to only use primitive types and not their object counterparts? But
then I won't be able to pass around 'null' unless I encode it as '0' for
example -- ah, the C days are back :)
Thank you.
Tim
I find odd.
Is this an Axis bug or rather a "feature"? If it's a feature maybe is
should be made optional as the default (current) behavior doesn't help at
all, it's a source of confusion.
Does Axis look only for getXXX() and setYYY() methods? If so, I guess the
extra methods could be renamed so they don't start with get and set ...
Thanks.
Tim
, except that on the server the internal representation is
a map which I don't want exposed.
Thank you very much for your help and sorry if these questions have been
answered before but my searches on the list didn't reveal anything.
Tim
dear all:
i am trying a very simple webservice deployed in the
basic .jws fashion. the method returns a "boolean".
however, in the sample client code, the way to call
this method is to do:
Object result = call.invoke( new Object[] { offer } );
however, call.invoke returns a java Object, which d
.run(ThreadPool.jav
a:677)
at java.lang.Thread.run(Thread.java:536)
Platform is Win2k, Sun Java 1.4.2_02-b03, Liferay jboss-tomcat bundle
release 2.1.1
____
Tim Shea, Product Architect
Emphasys Computer Solutions
tshea emphasysworld com
Emphasys is
dear tony:
thanks for your reply. however, the Service object
requires not only the wsdl file, but also a QName
object which from the sample codes of axis-java,
requires a name from the wsdl file itself.
i will look into your other suggestions,
thanks again,
ye
--- [EMAIL PROTECTED] wrote:
>
dear all:
just started playing with axis (java) for some demo
project, and have one fundamental question:
if a wsdl file of a very basic service (e.g. invoke
the service to get a string) is available to the
client, is there some existing/easy way for the client
to extract the required parameters
7;server-config.wsdd' elements, the complete client endpoing URL information, and any other pertinent deployment information.
Also, I am currently working with dynamic clients as opposed to proxy clients, and therefore using the Axis client API, not a WSDL file.
Thanks,
Tim
Do you Yahoo!?
Title: ComplexType Array
All,
I feel I am asking a repeated question so I apologize.
How do I return an array of my custom complex type? I always get a null pointer exception.
I have read that I need to write my own custom serializer/deserializer class. Is this the case? I can not find a
there something I am missing while trying to connect to a WSDL that is hosted on IIS?
Thanks in advance!
Tim
roperty in the code:
Security.setProperty("networkaddress.cache.negative.ttl","0");
and on the command line -Dnetworkaddress.cache.negative.ttl=0
Any solutions?
Thanks
Tim
_
Use MSN Messenger to send music and pics to your friends
http://www.msn.co.uk/messenger
mum\MeMUMSubscriptionChangeServiceDoc.wsdl -l
"http://localhost:9249/axis/services/MeMUMSubscriptionChangeService"; -n
"urn:MeMUMSubscriptionChangeService" -p"net.cp.application.memum"
"urn:MeMUMSubscriptionChangeService"
net.cp.application.memum.MeMUMSu
, & tried to use the 'Generate DTD/Schema' facility therein; many
errors ensue, requiring the removal of the namespace prefixes within the
WSDL, ultimitely leading to a 'nonsense' looking schema.
Thanks,
Tim
Hello,
I modified the file attachment program to upload a file to my server and I
get the following error. Any idea what would cause this?
javax.activation.UnsupportedDataTypeException: no object DCH for MIME type
text
plain
Tim
}
But I am still unsure where the targetService SHOULD have been set? What is
the intention of the SOAP action header?
Thanks, tim
Client but wanted to avoid having our developers
run that tool every time they need to deploy a service. I was hoping there
would be something automatic I could do during startup.
Thanks,
Tim
***
The information contained in th
I need my web service to receive a file that is passed from a client. I was
wondering if Axis has a mechanism to transfer files in a web service?
***
The information contained in this message is intended only for the
confide
Perhaps within your deployment descriptor you need this:
-Original Message-
From: Herrick, Mike [mailto:[EMAIL PROTECTED]
Sent: Tuesday, April 01, 2003 1:43 PM
To: [EMAIL PROTECTED]
Subject: ServiceLifecycle init/destroy
Hi, I'm a little confused on javax.xml.rpc.server.ServiceLifec
Your web service always has access to the MessageContext. Once you have this, you can
pretty much get any context data you need:
import javax.servlet.*;
import org.apache.axis.*;
MessageContext mctx = MessageContext.getCurrentContext();
GenericServlet axis =
(Gen
I had the same problem using TomCat. You are right to remove it from the jar. To log
to a file you will need to modify the log4j.properties file as well (e.g. uncomment
line 3).
You might try setting the system property log4j.debug=true when the JVM starts. This
will show what Log4J is trying t
rence. Even if I delayed the
second call >10 sec it did not connect given the correct proxys.
In Apache SOAP I used SOAPHTTPConnection.setProxyHost() and setProxyPort()
to define (& re-define) proxys. Is there no equivalent way of setting the
proxy in AXIS?
Tim
_
this example in the main routine then It
connects to the server & a response is given.Anyone know what is going on
here?
Thanks!
Tim
import org.apache.axis.client.Call;
import org.apache.axis.client.Service;
import javax.xml.namespace.QName;
public class HelloClient {
public HelloClient(
w. Or does that just increase by
itself anyway?
I hadn't considered pooling the client side call objects, but I'm
already pooling business objects on the server side.
Tim.
Axis 1.1rc1, JBoss 3.0.4 app server, jdk 1.4.0, windows NT.
Tim.
shows how to
send a DIME attachment?
Thanks,
Tim Dierks
EDS PLM Solutions
San Diego, CA
__
Do you Yahoo!?
Yahoo! Shopping - Send Flowers for Valentine's Day
http://shopping.yahoo.com
havior
is most likely a bug.
Thanks for everyone's comments.
Tim Dierks
EDS PLM Solutions
San Diego, CA
__
Do you Yahoo!?
Yahoo! Mail Plus - Powerful. Affordable. Sign up now.
http://mailplus.yahoo.com
rver I
encounter the problem, whether I use Apache SOAP or
Axis on the client.
Is there something wrong with the way Axis handles
overloaded methods in a web service? Or could I be
overlooking something in my configuration?
Thanks,
Tim
__
Do you Yah
Hi
I am setting up a program so that the user specifies the proxy host & proxy
port graphically. If the wrong proxies are used & connection fails they are
given a window to change them in & connection tried again.
If I set the correct proxies before I make the first SOAP call then this is
fine
:9001/amberScannerInterface/services/PlanService/amberScannerInterface/services/PlanService";
when the service is actually deployed at
http://sun9pan:9001/amberScannerIterface/services/PlanService
Why the duplication of the second half of the URL?
ta,
Tim.
parameters in my wsdd file, but so far it hasn't
helped.
Thanks,
Tim
__
Do you Yahoo!?
Yahoo! Mail Plus - Powerful. Affordable. Sign up now.
http://mailplus.yahoo.com
ork. Has anyone experienced similar problems with
overloaded methods or know of a solution? And where
can I find better documentation on wsdd?
Thanks.
Tim Dierks
__
Do you Yahoo!?
Yahoo! Mail Plus - Powerful. Affordable. Sign up now.
http://mailplus.yahoo.com
I've just done that. Main driver for me was the WSDL generation as the
customer wouldn't talk to us without WSDL.
Tim.
On Wed, 2003-01-08 at 21:14, Johannes Fiala wrote:
> Hi there!
>
> Has anyone upgraded from Apache SOAP 2.3.1 to Apache AXIS yet?
> We use classes as
ind out if anyone has run 1.1 on Tomcat
3.2.1.
Cheers,
Tim
-Original Message-
From: Tim Colson [mailto:[EMAIL PROTECTED]]
Sent: Monday, December 23, 2002 8:53 AM
To: [EMAIL PROTECTED]
Subject: RE: Initial Axis 1.1b Install Failure & Build Error
Replying to myself here...at le
Sorry to be a pest, but has anybody got 1.1b to work with Tomcat 3.2.x?
Thanks!
Tim
-Original Message-
From: Tim Colson [mailto:[EMAIL PROTECTED]]
Sent: Monday, December 23, 2002 6:53 AM
To: [EMAIL PROTECTED]
Subject: RE: Initial Axis 1.1b Install Failure & Build Error
Replyin
Ooooh, made happyaxis.jsp work. I copied the Xerces files from
Tomcat/common/endorsed into my source (and therefore WAR file) and it
now seems to work. I can also list my newly deployed service.
Now to see if I can call it from something
Tim.
On Fri, 2002-12-27 at 17:57, Tim Sawyer wrote
org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:533)
at java.lang.Thread.run(Thread.java:479)
Tim.
On Fri, 2002-12-27 at 17:33, Benjamin Tomasini wrote:
> What is the error?
>
> On Fri, 2002-12-27 at 11:26, Tim Sawyer wrote:
> > Hi,
> >
jar
tjs users 83089 2002-12-27 16:15 xmlParserAPIs.jar
tjs users 354491 2002-12-27 16:15 xmlsec.jar
xerces files came from Xerces-J-bin.2.2.1.tar.gz, Axis is 1.1 Beta 1.
Notice there's no jaxp.
Any pointers would be useful...
Cheers,
Tim.
!
Tim
-Original Message-
From: Tim Colson [mailto:[EMAIL PROTECTED]]
Sent: Friday, December 20, 2002 9:45 AM
To: [EMAIL PROTECTED]
Subject: Initial Axis 1.1b Install Failure & Build Error
Hey folks -
I've run Axis before, but I'm starting fresh with 1.1beta and ru
r details.
P.S. I do have the Xerces libs in ${axis.home}/java/lib (xercesImpl.jar
and xmlApis.jar)... But the classpath shows
D:\java\xml-axis\java\${xerces.jar}; -> so what's up with that?
Thanks!
Tim
Hello, I'm connection to a webservice using Axis. My current build works
but when I move it to another machine I get the following error. Any ideas
on what would cause this?
AxisFault
faultCode:
{http://xml.apache.org/axis/}Server.generalException
d hits the
location in the targetNamespace?
Thanks,
Tim
***
The information contained in this message is intended only for the
confidential use of the recipient(s) named above. This message is privileged
and confidential. If
sdd because no services have
been deployed yet, and the server has only just been started.
ta,
Tim.
3:14
PMTo: [EMAIL PROTECTED]Subject: RE: running with
axisIs your code
swallowing an exception somewhere, so you can't see it?
Tim Lee
<[EMAIL PROTECTED]>
11/19/2002 10:47 AM Please respond to axis-user
your code
swallowing an exception somewhere, so you can't see it?
Tim Lee
<[EMAIL PROTECTED]>
11/19/2002 10:47 AM Please respond to axis-user
To:
"'[EMAIL PROTECTED]'"
ee it?
Tim Lee
<[EMAIL PROTECTED]>
11/19/2002 10:47 AM Please respond to axis-user
To:
"'[EMAIL PROTECTED]'"
<[EMAIL PROTECTED]> cc:
- Original Message -----
From: "Tim Lee" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Tuesday, November 19, 2002 1:40 PM
Subject: running with axis
> I'm using visual cafe to run a program that connects to a webservice using
> stubs generated by WSDL2Java.
I'm using visual cafe to run a program that connects to a webservice using
stubs generated by WSDL2Java. I'm trying to figure out some problems I'm
having running with axis. If I take a test program that runs perfectly fine
in cafe and run it from the command line, the response from the
call.invo
what would cause this? I am using java 1.3.1. Is there something
that clashes with the axis jar files?
Thanks,
Tim
***
The information contained in this message is intended only for the
confidential use of the recipient(s
you might find
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dnweb
srv/html/wsdlexplained.asp
useful.
Tim.
- Original Message -
From: "Shriram Kollipara" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Monday, November 18, 2002 3:26 PM
Su
this kinda posting.
But I am certainly not.
If you want to send the attachment(over 2MB), you should
send it to directly to the requester, but not in public discussion
group.
Pae
- Original Message -
From: "Johnson, Tim" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
I used WSDL2Java to generate stubs for my client. However, the service I'm
working with requires a header. I've attempted to set the header in the
stub class but I keep getting an API Exception. Any ideas on what I"m doing
wrong:
My code:
String checksum = .
Hi
Can someone tell me the best way of defining the proxyHost and proxyPort
that org.apache.axis.client.Call uses? I know this can be specified on the
command line(-DproxyHost) but I am looking for a setProxyHost() and
setProxyPort() for the transport/connection to use with the Call.
Many Tha
One addition to my header example question. I used Java2WSDL to create my
client stubs. I assumed it would set something up to handle the headers but
it did not.
***
The information contained in this message is intended onl
The service I'm trying to make contact with requires a security header. I'm
unable to find any examples as to how to build the header to add the call
request. Could anyone point me to some examples?
Here is the header from the wsdl:
-
-
1 - 100 of 110 matches
Mail list logo