Re: How to get the properties in context.xml in the server skeleton class

2008-02-20 Thread Simon Steinacker
Something like this > MessageContext msgC=MessageContext.getCurrentContext(); > ServletContext context=((HttpServlet)msgC.getProperty(HTTPConstants.MC_HTTP_SERVLET)).getServletContext(); should work. Generally speaking you can get a lot of properties concerning the current http and soap messa

Axis from a Javascript Client

2008-02-20 Thread Marchioni Francesco
Hi all! I have developed a Web Service using axis1.4 and deployed on JBoss4.0.5. I have the need to use a Javascript client to invoke the Web Service- is it possible to do it ? Any link, suggestion is highly appreciated. Thanks Francesco --

Re: WS-Security, SSL or both

2008-02-20 Thread Paul Fremantle
Mikle More answers: On Feb 19, 2008 7:54 PM, mikle <[EMAIL PROTECTED]> wrote: > The clients are large organisations that will be submitting and pulling > financial transaction. so a username and password is not enough The Authentication mechanism in WS-Security allows the use of client certific

Re: I'm having a problem using Axis2. What should I do?

2008-02-20 Thread Michele Mazzucco
Your code is wrong. Options options = new Options(); options.set... serviceClient.setOptions(options); On 20 Feb 2008, at 05:33, 雪莉 焦 wrote: Hi all: I publish a web service using axis2 on websphere 5.1, also i can invoke this webservice correctly with java application client ,but

Re: Fw: Axis2 session management (yes, I know that subject is a bit worn-out)

2008-02-20 Thread Benoît Smith
Just a thought : is it problematic that the SOAP envelope of the response message context doesn't have a header ? Benoît Selon Benoît Smith <[EMAIL PROTECTED]>: > Here is my service configuration : > > > > > > > >

Re: Axis from a Javascript Client

2008-02-20 Thread Seref Arikan
Hi Marchioni, My two cents: check out Json support for Axis. Cheers Seref Arikan Marchioni Francesco wrote: Hi all! I have developed a Web Service using axis1.4 and deployed on JBoss4.0.5. I have the need to use a Javascript client to invoke the Web Service- is it possible to do it ? Any link

rampart decryption issue

2008-02-20 Thread Paul Ryan
Hi, I'm attempting to call a secure web service hosted within Oracles OWSM using an Axis2 client. The client is using rampart 1.3 and wss4j 1.5.3 to handle the singing and encrypting of the SOAP message. Signing and encrypting the SOAP request works fine, the message is successfully verified and

Axis2 - determine whether a message is a request or response inside a module

2008-02-20 Thread Simon Steinacker
Hello, I have a module with some handlers. And I need to tell if a given message is a request or response. Is there a possibility to achieve that? Thanks, Simon - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional comma

Generating service.xml with wsdl2java

2008-02-20 Thread Matthias.Gaiser
Hi all, I am generating the server-side code from a wsdl with wsdl2java which generates the corresponding java classes and the service.xml. Now I am changing the service.xml to add some handlers, messagereceiver, etc. When some methods are added to wsdl, I am generating the code again with

axis2 status of rpc encoding

2008-02-20 Thread John Langley
Hi, I've been trying to use Axis2 to generate java classes (using wsdl2java.sh) from wsdl for that describes an rpc/literal service delivered from Axis1. Regardless of which options I choose I seem to consistently get a complaint about an "unexpected subelement". "org.apache.axis2.databinding.

RE: Generating service.xml with wsdl2java

2008-02-20 Thread D . H . T . M . Gameren
Hi, I suggest to create an ant-script which alters the 'default' services.xml so you don't have to change This manually everytime. For instance alter the call to the skelton to the implementation Regards Dirk -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTE

Re: axis2 status of rpc encoding

2008-02-20 Thread Martin Gainty
Hi John 2 questions: 1)Cant help without looking at the wsdl for a service with a pingReturn operation 2)rpc is supported as exemplified style="rpc" attribute illustrated in intergration/test-resources/rpc/test-rpc-2.wsdl http://schemas.xmlsoap.org/soap/http"/>

External Schemas in WSDL

2008-02-20 Thread Kahler, Jason J (US SSA)
Is this still broken. Is there really no way for me to run the Maven aar plugin to build an archive that Has a WSDL with external schemas ? I try and everything builds, but I cannot get the WSDL back from my service. I don't believe supplying the full path to the schemas is possible (they live

Strange behavior while using Commons-discovery.jar

2008-02-20 Thread NB222
If I use "commons-discovery.jar" on my WAS 6.0 server classpath, it gives me an error -"Could not find Web Service Engine" but the specifications for axis say that it has to be there on the server classpath. And more interesting is when I run the Web Service Axis client, it gives me a "NoClassD

Information about WSDL Parser and Code Generator Framework

2008-02-20 Thread Andrea Turli
Hi all, I'm studying the "WSDL Parser and Code Generator Framework" described at http://ws.apache.org/axis/java/integration-guide.html. In particular I'm interested in exploit the opportunity described in "Example 1 - Simple extension of WSDL2Java - additional artifact". Unfortunately I'm having

Custom TrustManagers with Axis + SSL

2008-02-20 Thread Raghuram Sreenath
I am writing this email as the last hope to get some help with my effort to get a custom trust manager with axis. I have gone through the documention (whatever is available) and have found no answers. Specificall, i have tried the following: 1. followed the steps in axis/docs/integration-guide.htm

AW: Generating service.xml with wsdl2java

2008-02-20 Thread Matthias.Gaiser
Hello Dirk, Thank you for your answer. That is exactly what I want to do. And I think there are lots of other people out there which have the same problem or am I wrong? My question now is if there is a kind of standard way to alter the default services.xml? This altering of the services.x

Re: Deploy my Service in a different war than axis2.war

2008-02-20 Thread Antonio Manuel Muñiz Martín
See this: http://wso2.org/library/90 2008/2/19, Moley Harey <[EMAIL PROTECTED]>: > > Hi folks! > > I have developed an Axis2 Web Service and to deploy and use it in Tomcat I > generate the MyService.aar file and copy it into the > "$CATALINA_HOME/webapps/axis2/WEB-INF/services" folder so it gets

configure AxisServlet

2008-02-20 Thread mathieu fabre
Hi, I use an AxisServlet in a webapp. in the web.xml i configure my axisServlet like that : AxisServlet Apache-Axis Servlet org.apache.axis2.transport.http.AxisServlet axis2.xml.path C:\long path\webapp\WEB-INF\conf\axis2.xml axis2.repositor

Re: configure AxisServlet

2008-02-20 Thread mathieu fabre
Thanks for your answer, for axis2.xml location, axisServlet search for the path WEB-INF/conf/axis2.xml by default. So, i removed the tag axis2.xml.path and it's value. But if i put the tag : axis2.repository.path WEB-INF I obtain an exception : org.apache.axis2.deployment.Deplo

Re: configure AxisServlet

2008-02-20 Thread Davanum Srinivas
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Don't specify them at all..AxisServlet looks in WEB-INF/conf for axis2.xml and uses WEB-INF as the repo. - -- dims mathieu fabre wrote: | Hi, | | I use an AxisServlet in a webapp. | | in the web.xml i configure my axisServlet like that : | | |

Re: configure AxisServlet

2008-02-20 Thread Davanum Srinivas
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 axis2.repository.path should be the full directory path. So i'd recommend that you don't set that as well. mathieu fabre wrote: | Thanks for your answer, | | for axis2.xml location, axisServlet search for the path | WEB-INF/conf/axis2.xml by default

Re: [Axis2][Savan] Is there WS Eventing for Axis2/Java

2008-02-20 Thread Leon Searl
Hi Samir, Please look at https://issues.apache.org/jira/browse/SAVAN-4 I've attached a couple of patches that should fix the savan-config.xml issue that I described below. leon Leon Searl wrote: Hi Samir, I've made several changes. - There was a problem with the module class loader looking

Re: Deploy my Service in a different war than axis2.war

2008-02-20 Thread Moley Harey
Thanks Antonio, the tutorial was very useful!! 2008/2/20, Antonio Manuel Muñiz Martín <[EMAIL PROTECTED]>: > > See this: > > http://wso2.org/library/90 > > > 2008/2/19, Moley Harey <[EMAIL PROTECTED]>: > > > > Hi folks! > > > > I have developed an Axis2 Web Service and to deploy and use it in Tomc

Example policy file needed

2008-02-20 Thread Simon Nunn
I am trying to use ws-policy for my webservice. I would like for the service to receive either a saml assertion or a username token for authetication. I have been unsuccessful in getting a ws-policy configured for this. Does anyone have an example of a policy file that does this? Thanks,

Axis 1.4 - CommonsHTTPSender and proxy protocol problem

2008-02-20 Thread Mario Felarca
Hello all, This is with Axis 1.4 and commons-httpclient 3.0.1 I have an axis client, deployed via webstart, which has been fine in the past with picking up its proxy settings from the browser and communicating correctly. Recently, I ran into a deployment at a customer site where the communicati

Re: [Axis2][Savan] Is there WS Eventing for Axis2/Java

2008-02-20 Thread Leon Searl
Hi Samir, I'm not sure what you mean. I assume that what you want to do is add some data to the subscription request that the publisher/eventing service would then add to the published data sent to a subscriber service when an event occurs. If you take a look at the specification for WS-Eventing

Re: [Axis2][Savan] Is there WS Eventing for Axis2/Java

2008-02-20 Thread samir shaikh
Hi Leon, Is there a way to put a payload in the subscribe request? I was hoping to call a service on the server with the subscribe request. Thanks, Samir --- Leon Searl <[EMAIL PROTECTED]> wrote: > Hi Samir, > > Please look at > https://issues.apache.org/jira/browse/SAVAN-4 > I've attached a c

RE: [Axis2] What is the difference between various Timeouts?

2008-02-20 Thread Raghu Upadhyayula
Hi, Can anyone let me know the difference between the below 3 timeouts (Axis2 1.3). Are they same? 1) stub._getServiceClient().getOptions().setTimeOutInMilliSeconds(timeoutIn MilliSeconds); 2) stub._getServiceClient().getOptions().setProperty(org.apache.axis2.trans port.http.HttpConstants

Re: How to get the properties in context.xml in the server skeleton class

2008-02-20 Thread Suriya Simsuwat
Thank Simon for your reply. I have tried it, but always got the java.lang.NullPointerException. Any suggestion? My context.xml data located in \webapps\axis2\META-INF : My SOAP server class : /** * HelloServiceSkeleton java skeleton for the axisService *

[Axis2] Deploying multiple services under single web app (single war file)

2008-02-20 Thread Raghu Upadhyayula
Hi, I'm using Axis2 1.3. Is it possible to deploy multiple services under single web application (I mean using single war file). Here's my scenario. Current situation: Currently I have a webservice with multiple methods (one of them being the login method). The clients of my webservi

How do I add an issue in Jira for Axis2?

2008-02-20 Thread Tom Chappell
I'm sorry, I'm probably blind, but I did look for a way to do it for an awfully long time. I can see the Jira page, and search for issues, and see all kinds of report options, but don't see a link for creating a new issue. So, how do I do it? Thanks!

RE: How do I add an issue in Jira for Axis2?

2008-02-20 Thread Raghu Upadhyayula
Tom, The JIRA website is https://issues.apache.org/jira/ If you already have an account, login with your username & password and you can see a menu item on top which says "Create a new issue". If you don't have an account, you ca

Re: [Axis2][Savan] Is there WS Eventing for Axis2/Java

2008-02-20 Thread samir shaikh
Leon, I was just hoping to include a payload in the subscribe request... but apparently as per the specification thats not the way this is supposed to work. I also noticed that it looks like fireandforget method is used for publishing events to the event listener. In my case the event does not ap

Returning HashMap in Axis2

2008-02-20 Thread Ajit.Kamalakant
Hi Group, Could you please let me know if a method can return a HashMap under Axis2? I am unable to retrieve the HashMap on the client side. Thanks, Ajit DISCLAIMER: This message contains privileged and confidential information and is intended only for an individual named. If you a

RE: Returning HashMap in Axis2

2008-02-20 Thread Hoda, Nadeem [USA]
Please see: http://marc.info/?l=axis-user&m=119101035910688&w=2 Thanks, Nadeem From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Thursday, February 21, 2008 11:10 AM To: axis-user@ws.apache.org Subject: Returning HashMap in Axis2 Hi Group, C