After researching how to make a custom axis 1.4 provider which supports WSSE
and passes the certificate to jboss here is a code level synopisis.
notice the create is done with the standard username/assword login module
META-INF/services/org.apache.axis.deployment.wsdd.Provider
ws.WSDDJavaEJBPro
yeah there is, I think you set debug="5" on the host and
service/context/elements
more info see tomcat configuration at www.apache.org
[EMAIL PROTECTED] wrote:
As mentionned in the email, the logs don't show anything. Is there a
Tomcat switch for a verbose log trace?
Regards,
Patrice Aubry
Unfortunatley web services are slightly more complicated than
SimpleAxisServer and require a lot more configuration than coding in my
experience. I think the configuration deployment model of axis
(although) is flawed as the webservice is [typically] a sub component of
the axis engine (archite
Hi please excues me, I couldn't seem to post an issue to JIRA
Axis-1_4 ClassUtil hides classload exceptions
patch is
src/org/apache/axis/utils/ClassUtils.java
205,206d204
< } else if (ret instanceof Throwable) {
< throw (ClassNotFoundException)new
ClassNotFoundException(_c
In the client call you need to set MaintainSession true.
Excuse the brief reply but I'm BAAF.
Shaowei Mao wrote:
Hi, I implemented a web service by generating stub and skeleton from wsdl.
Now I want to turn them into stateful. I have been looking through mailing
list and found that I need to set
You might have to add the jar file to the System classpath i.e set the
CLASSPATH env variable and export it > export CLASSPATH
Add an echo $CLASSPATH to tomcat/bin/catalina.sh around line ~147ish
Good luck, you're definatley using the technology!!
Davanum Srinivas wrote:
did you try dropping
home again (or just do a IC.rebind and
cause reauthentication) and creates a securityassociation local on the
current thread. The second call works from there.
Warren Crossing wrote:
I use axis1-4 for ws based auth and session management, this ties
directly into my sessionbean using the providers
This might be a possible bug.
The src/org/apache/axis/client/client-config.wsdd does not support
session based request by default. I had to add and rebuild.
Perhaps the client.wsdd defaults should support sessions and security,
or there should be some provision for the generated clie
client Locater to
change the provider before creating the Stub.
Warren.
Warren Crossing wrote:
Small information about sessions.
The are initiated by a call in the client by setting context property
javax.xml.ws.session.maintain 10.4.1.4
The are handled in the server hander
why not push that to the TLS such as SSL or HTTPS?
Kashif Saleem wrote:
Hi All,
I am calling couple of secure web-service.So before sending and
receiving the information to and from the services,I need to sign and encrypt
the information using client and server certificates stored in cl
can you please explain why you want to use j2ee declarative security
tomcat instead of webservices context security?
you must specify the http header authorization in the http-request?
otherwise add the handler to the wsdd
type="java:org.apache.axis.handlers.SimpleAuthenticationHandler" />
.
I use axis1-4 for ws based auth and session management, this ties
directly into my sessionbean using the providers and handlers from axis1-4.
If the context has a session then it talks to the same session bean
serviceobject. If the context has credentials then they are passed into
jni to look
Small information about sessions.
The are initiated by a call in the client by setting context property
javax.xml.ws.session.maintain 10.4.1.4
The are handled in the server hander SimpleSessionHandler, and the
providers JavaProvider are session aware so if there is a session with
the soap re
find /opt/axis2/lib/ -name "*.jar" -print -exec jar tvf {} \; | grep
".jar$\|WSDL"
i would expect it to be in /opt/axis2/lib/axis2-tools-1.0.jar
Ajith Ranabahu wrote:
Hi,
Hmm... I'm sure the The Java2WSDL is there in the codebase in the
Java2WSDL (maven)module. However I'm not sure whether i
your using gcj gnu which uses a native xml library as opposed to sun
java which uses ?xalan? or ?xerces?
you need to get the servlet.jar to satify runtime dependencies - as for
the jvm you choose its entirely up to you.
check http://tuxmobil.org/pda_linux_apps_java.html for more info.
Naraghi
I'm also doing such testing, I am thinking of using the axis junit
client modifying it somewhat and then measuring the request using jmeter.
The performance of the WS app is measured along with tomcat and axis
because your never going to run it outside of that container. so measure
client late
From a look at the codebase - no there is not this functionallity in
axis2. I am currently using axis-1.4 for this feature.
the invocation exception you get is because the plugin cannot find the
java2wsdl code.
correct me if i am wrong and i will stand corrected.
[EMAIL PROTECTED] wrote:
Hi
Is that a valid call? servletcontext.getRealPath("WEB-INF") be careful
here not to open a security violation.
servlet spec says this.
A special directory exists within the application hierarchy named
“WEB-INF”.
This directory contains all things related to the application that
aren’t in t
Upgrade to axis 1-4? Just download the asxis1.4.war webapp.
run
javap -classpath $AXIS_CLIENTJAR org.apache.axis.client.AdminClient is
there a constructor(boolean)?
Juan Alvarez wrote:
Hello. I'm using axis1.1. My problem is tha the axis ant task don't work
properly
This is that I have:
http:/
look at src/org/apache/axis/components/compiler/CompilerFactory it only
supports Javac and Jikes. Javac is actually
com.sun.tools.javac.main.Main which cannot be found. Jikes is launched
as a Runtime process. I would recommed either copy Jikes.java to
Gcj.java and hack the way the properties
Also look at the createCall member in your Stub and try to set a jax-prc
property ie. service.createCall().setProperty(Call.USERNAME_PROPERTY,name);
http://ws.apache.org/axis/java/apiDocs/org/apache/axis/client/Call.html
Have a lot of fun.
Warren Crossing wrote:
Have a look at the handler
Have a look at the handler framework
http://ws.apache.org/axis/java/apiDocs/org/apache/axis/handlers/http/HTTPAuthHandler.html
Christian Roth wrote:
well, there is an intermediate security system between client and web service
endpoint which extracts some parameters out of the http header; I ne
use adb databinding instread of xmlbeans
For some reason the code is bungholeio.
Martin Gainty wrote:
Good Monring
In 1.3 the name of the code generator is W
Use a servlet or a filter. Why do you think you can do it in your ws
endpoint?
Christian Roth wrote:
hi!
does anybody know how to access the http header in an axis java client if this
client is based on the generated stubs out of the wsdl? (e.g. in order to add
parameters to this http header)
What is the wsdl2java command look like exactley? I can't believe
google didn't "know" the answer ;-(
I would expect the wsdl to look like..
encodingStyle="http://schemas.xmlsoap.org/soap/encoding/";
namespace="urn:http://sencillo"/>
why does it not?
And it's not a "void" interface it's
[EMAIL PROTECTED] wrote:
Hi,
When I generate the server-side code from my wsdl, using wsdl2java, a
skeleton class is generated that gets invoked by the (generated)
MessageReceiver. From what I read, I understand that I'm supposed to
implement my busines logic in the skeleton. But if I would
Hi Throwaway. I also had this problem when generating the javacode from
the wsdl. It looks like xmlbeans is broken (which is ok because it
sucks anyway). I changed the databinding mechanism to adb. I suggest
you try the same.
27 matches
Mail list logo