Title: Tomcat 4.01 - Axis installation ..
HI ALL,
I was on vacation for past two days. Today I have opened my mail box and saw few mails. I have noticed that some of our friends have few issues with Tomcat 4.01 and Axis instillation (integration).
In reality ...it is very simple, Please
Hi!
It seems like the tip from Andrew Vardeman missed some casting. You need to cast the
result like this:
import javax.servlet.http.HttpServletRequest;
import org.apache.axis.MessageContext;
import org.apache.axis.server.AxisServer;
import org.apache.axis.transport.http.HTTPConstants;
.
Hi,ALL.
Please tell me how pass parameters which a handler classe
processed to the service class.
I want to process the SOAP header at the handler class and after,
the result is passed to the service class.
Shortly speaking I want to pass the information between handler
class and service clas
Yesterday I tried generating my wsdl using the nightly build of 2/7, and
apart from the fact that the deployment wouldn't work at all in this build,
I also noticed that the encoding of String has changed. It is now mapped to
a string type in soapenc ( http://schemas.xmlsoap.org/soap/encoding/ ),
I tried to use the same nightly build yesterday and also had problems with
deployment. I didn't save any stack dumps so I don't know whether it's the
same problem, but I just assumed it was an unstable build and went back to
beta2.
- Original Message -
From: "Cohan, Sean" <[EMAIL PROTECT
You *might* need to programmatically set the configuration options within
your webapp, and reach through the webapp's ClassLoader
(this.getClass().getClassLoader().getResourceAsStream(...) returns an
InputStream) to do it. Stting Log4j configuration TOMCAT_OPTS may do it for
the server as a whole,
I'm losing it. I'm using the 7/2 nightly build and trying to deploy. I
genned wsdl from my java file. Then genned java from my wsdl file. Then
tried to deploy. My deploy.wsdd and a portion of the stacktrace follows. I
was able deploy using the latest release build and had at least been able
how do you find out what the soap action is, from a web service?
Thanks.
But from reading this thread:
http://marc.theaimsgroup.com/?l=axis-user&m=102551663918520&w=2
it looks like WSDL2Java can't handle the at the moment.
Too bad.
>From: "Stocker, Walter" <[EMAIL PROTECTED]>
>Reply-To: [EMAIL PROTECTED]
>To: [EMAIL PROTECTED]
>Subject: AW: How do you ge
I believe the code is the way that it is to allow the use of a Stub object from
multiple threads, each having its own Call object. It is on my TODO list to revisit
the way this all works because:
- I believe that synchronizing the methods of the Stub would provide for the thread
safety that
WSDD can be auto-generated using the wsdl2java tool.
Thanks,
Nell
Helen (Nell) L. Rehn
Extreme Blue Intern
919-254-6251 (office)
Helen L Rehn/Durham/IBM
[EMAIL PROTECTED]
Doug McMaster <[EMAIL PROTECTED]>
07/03/2002 01:52 PM
Please respond to axis-user
To: [EMAIL PROTECTED]
At 01:02 PM 7/3/2002 +1000, you wrote:
>No I didn't evaluate Apache SOAP or Sun JWSDP due to time constraints, I
>took a gamble and it seemed to pay off. Because I wanted to use RPC, the
>decision to use axis over Apache SOAP was trivial (the latter doesn't
>support automatic generation of WSDL,
No that is a different story. We are talking about automatic header
handling from the WSDL file while you refer to to hability for axis to
serialize objects as SOAP Headers.
If you are adding your headers in the envelope manually you are fine, if you
are tired of doing this and are using a well
> You want something like this:
>
> MessageContext msgC = MessageContext.getCurrentContext();
> String sessionID =
> msgC.getProperty(HTTPConstants.MC_HTTP_SERVLETREQUEST).getSession().getId();
Ok, that static method makes a lot more sense, thanks for the tip.
Still, that cant be the way to ac
I don't think the code Barry sent would get you the sessionID anyway, since
the Session object that getSession() returns is an
org.apache.axis.session.Session, which has no method for retrieving a
sessionID.
You want something like this:
MessageContext msgC = MessageContext.getCurrentContext(
> from within a handler, the session can be retieved using :
But how about from within a service? The interface to my document
non-rpc service is:
public Element[] blah(Vector elems)
All I have is the body of the message at that point. Anyone know how to access the
context?
>
> p
You can define additional informations to be carried with the
soap header in the element's child element,
e. g.
http://schemas.xmlsoap.org/soap/encoding/"/>
The element indicates that the expiration part of the message
appears as a SOAP header.
The part="expiration" has to be
I used WSDL2Java to generate the client source files.
I would like to add some headers using Call.addHeader( ) before
the invocation of a method.
But I don't see how to get to the Call object with the
auto-generated client code. Looking at the client stub, each method creates
a Call object inter
Gaonkar, Anuroop (MED, WIPRO) would like to recall the message, "bad
request error".
I always seem to get the
Exception in thread "main" Bad Request
at
org.apache.axis.transport.http.HTTPSender.invoke(HTTPSender.java:518)
at
org.apache.axis.strategies.InvocationStrategy.visit(InvocationStrateg
y.java:71)
at org.apache.axis.SimpleChain.doVisiting(SimpleCh
Hello,
When the client calls the web service, the server throws an InternalException
"SimpleChain::addHandler: Null handler;" and I can't figure out what I'm doing wrong.
Well I am trying to get a very simple handler installed in a chain for a web service.
I have my handler class and add it t
I had started down the path of Apache SOAP for a few weeks and ended up
scrapping it for Axis. A requirement for me was interop with the MS Soap
Toolkit. Apache-SOAP did not support SOAP Header session management, which
I ultimately needed. Also there were a number of other interop issues
inclu
Call.NAMESPACE is there such a thing? I get an error sayning that
No variable NAMESPACE defined in class org.apache.axis.client.Call.
call.setProperty( Call.NAMESPACE, NAMESPACE_URI );
I don't know it is the response ... but in beta2 the javax interfaces are
compatible with JAX-RPC (v0.8). And if you want use the method addHeader with
the object Call, you must use the package org.apache.axis.client.Call and not
javax.xml.rpc.
I use this method with org.apache.axis.client
Hi.
I have simple problem.
I have new application in path:
%Tomcat%\webapps\myapp\WEB-INF\classes\webapp\Service.class
WEB-INF constraints web.xml where I defined authenticate contraints.
In Tomcat server.xml file added context for my application:
During server is starting context is properl
Hello *,
i've tried to setup logging with Log4j using Axis beta2 on
Tomcat 3.3a with log4j 1.2.3. What i've done:
- installing a log4j.properties file in the web-inf/classes
directory. the file looks like:
# Set root category priority to ERROR and its only appender to A1.
#
Title: RE: How to use DateSerializer?
Hi
Naresh,
Thank
you for your information first. But,I need your help once again !
Now I
have a partitional success, the format of Date is korrekt and time comes with.
But client throws an Exception at Deserialization,
- Could not convert java.util.
Hi,
i am posting my question again because i did not have any reply before.
Basically i am trying to use the attachments example in AXIS BETA 2.
Has anyone managed to run that example If so would he be kind enough
to send me a copy of his java files, and what configuration he
used(CLASSPATH
Does this mean that the addHeader method of the call object does not work in
beta2? Or do I have to add this method call to the ws2dl2Java proxy object ?
If so, could you send me the patch you spoke about ?
Thanks,
Martin
_
M
Title: RE: How to use DateSerializer?
Hi
Christian
There
is no mapping in my deployment file for my Date field directly, because it
is a embedded in another type. The entry for that type is as
follows:
xmlns:ns="http://transaction.common.oss.org"
qname="ns:Transact
Title: RE: How to use DateSerializer?
Hi,
I wanted to use
BeanSerializer and had only problems.
So I had a look
at the example 5 (BeanService) of axis userguide and it works when a
serialized Bean-Instance was sent to server.
Then I extended a
method to Service that should give me an in
Hi Cyril,
I got the same problem.
The problem is the following code:
String realpath = context.getRealPath(req.getServletPath());
if ((pathInfo == null || pathInfo.equals("")) &&
!realpath.endsWith(".jws")) {
The iPlanet-servlet-engine returns null als context.getR
Title: FW: SOAP - AXIS IMPLEMENTATION
Hi
Muthu,
I can
see a few things wrong w/ your setup, which are contributing to your
problems.
First, have you even successfully deployed
your service using the Axis AdminClient? I say this because the .wsdd
file you pasted into your msg has invali
Title: RE: How to use DateSerializer?
Hi
Naresh,
I testet it with nightly build version. You are right,
that the xsd:type is now mapped to dateTime, but the Data still contains
a String like this "2002-07-02". can you please
send me your mapping entry in your deployment file? I think thi
Thanks but I have still problem...
This is my webapps folder in Tomcat: (dots are inserted for properly layout
only)
1) \webapps\axis\WEB-INF\web.xml
2) ..\MyService.jws
In server.xml everything settings are after installation like (I mean
MemoryRealm authorisation m
35 matches
Mail list logo