Custom WSSE EJB JBOSS Provider

2006-11-14 Thread Warren Crossing
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

Re: Installation problem with Tomcat 5.5

2006-09-14 Thread Warren Crossing
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

Re: Yet another embedded Axis question

2006-09-14 Thread Warren Crossing
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

JIRA ISSUE ClassUtil

2006-08-29 Thread Warren Crossing
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

Re: stateful web service

2006-07-30 Thread Warren Crossing
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

Re: Abandoning AXIS :( !!!

2006-07-24 Thread Warren Crossing
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

Re: [AXIS2] J2EE Support

2006-07-12 Thread Warren Crossing
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

REPOST: Problem with session management

2006-07-11 Thread Warren Crossing
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

Re: [AXIS2] Need some help to create a session

2006-07-11 Thread Warren Crossing
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

Re: How to write Security Environment handler

2006-07-03 Thread Warren Crossing
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

Re: [Axis v1.4] deploying with Basic Authentication turned on?

2006-06-29 Thread Warren Crossing
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" /> .

Re: [AXIS2] J2EE Support

2006-06-28 Thread Warren Crossing
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

Re: [AXIS2] Need some help to create a session

2006-06-27 Thread Warren Crossing
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

Re: [AXIS2] Does AXIS2 support Java2WSDL?

2006-06-27 Thread Warren Crossing
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

Re: AXIS on a PDA

2006-06-27 Thread Warren Crossing
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

Re: performance test

2006-06-27 Thread Warren Crossing
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

Re: [AXIS2] Does AXIS2 support Java2WSDL?

2006-06-25 Thread Warren Crossing
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

Re: Axis2 Deployment Model Deficiency

2006-06-15 Thread Warren Crossing
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

Re: axis-admin ant task problem

2006-06-01 Thread Warren Crossing
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:/

Axis Compiler Support Jikes Javac Gcj

2006-06-01 Thread Warren Crossing
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

Re: http header

2006-05-31 Thread Warren Crossing
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

Re: http header

2006-05-31 Thread Warren Crossing
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

Re: Problem with code generated by WSDL2Code

2006-05-30 Thread Warren Crossing
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

Re: http header

2006-05-30 Thread Warren Crossing
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)

Re: Problem with WSDL2Java with HTTP POST

2006-05-30 Thread Warren Crossing
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

Re: [Axis2] Best way to use skeleton?

2006-05-30 Thread Warren Crossing
[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

Re: [Axis2 v1.0] WSDL2Java - Generated Source does not compile

2006-05-28 Thread Warren Crossing
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.