Accessing spring context inside axis2 handlers and CallbackHandler

2006-11-30 Thread Dejan Milošević
I've found some solutions for this on the net, all of them trying to access current message context with MessageContext.getCurrentMessageContext(), then retrieve the ServletContext, then call spring's WebApplicationContextUtils.getWebApplicationContext(servletContext). This worked well with axis1 a

AW: AW: AW: AW: AW: AW: [Axis2] Trouble with WS routing through proxy server

2006-11-30 Thread Peter Neu
Hi Michele, I'm using the default constructor in my client class. Call looks like this BinarytestStub stub = new BinarytestStub();. This is the constructor below. In the BinarytestStub I included the code into the default constructor. It looks like this now: public BinarytestStub() throws org

[Axis2] Which databinding to use

2006-11-30 Thread kumar.vinodh
Hi *, Axis supports four flavours of databinding ADB, XMLBeans Jibx jaxme Is there any document explaining about these data bindings. On what basis one should choose the Data binding for the webservice. Has anyone has come across the document detailing the bindings, its advantage, disadvan

Re: Generate WSDL for dynamic types

2006-11-30 Thread Sanka Samaranayke
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Elli wrote: > Hi, I am trying to write a generic service that works against > another framework. This service has to support a few data types > that are specified as Java Beans, but are not known at development > time as they will be specified at deplo

Re: Calling blocking/non-blocking services from Ruby, Perl, and Python

2006-11-30 Thread Sanka Samaranayke
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Thilina Gunarathne wrote: > There are some work happening in the Axis2/C[1] side regarding > these(Ruby, Perl and Python).. > > Try pinging them... They'll have much better answers... > > Thanks, > ~Thilina > > [1]http://ws.apache.org/axis2/c/ > > On 1

Re: [axis2 1.1.1]original wsdl soap:address altered

2006-11-30 Thread Deepal Jayasinghe
Hi Nirmit ; Please create a JIRA issue for this , that will help us not to forget the issue. Thanks Deepal >Hi, > >I am using Axis2 1.1.1. I author my wsdl and specify useOriginalwsdl in my >services.xml so that the published WSDL would be the one I authored and not >the one generated by Axis. I

Re: How to configure axis2-1.1 to support JAXB-RI

2006-11-30 Thread jim ma
Great thanks, Brennan. This feature will be supported in the next release ? Jim On 11/30/06, Brennan Spies <[EMAIL PROTECTED]> wrote: Jim, Your best bet is to generate databinding using some other supported tech ( i.e., XmlBeans). Then alter the generated classes (the MessageReceiver and

question regarding DII vs Generated Stubs

2006-11-30 Thread Aniket M Shende
Hello , It is said that stubs provide faster response than DII . I noticed that Axis internally uses the Call object ( DII interface ) internally even for the generated stubs model. DII is supposed to have some overheads which Axis seems to be overcomming . Can someone tell me what those overh

RE: how to get soap header from stub in axis2

2006-11-30 Thread Brennan Spies
The SOAPEnvelope (which you create on the client or receive from the service) has a getHeader() method for getting the SOAPHeader axiom class that has the appropriate methods. The ServiceClient (class member in the Stub) also has helper methods for adding SOAP headers. _ From: hoy hoy

question regarding DII vs Generated Stubs

2006-11-30 Thread Aniket M Shende
Hello , It is said that stubs provide faster response than DII . I noticed that Axis internally uses the Call object ( DII interface ) internally. DII is supposed to have some overheads which Axis seems to be overcomming . Can someone tell me what those overheads are and how Axis manages to ov

Re: [axis2 1.1] SOAPMonitor: where to put SOAPMonitor classes

2006-11-30 Thread Qiyun Yang
Thanks Robert!! Now it works. From: "robert lazarski" <[EMAIL PROTECTED]> Reply-To: axis-user@ws.apache.org To: axis-user@ws.apache.org Subject: Re: [axis2 1.1] SOAPMonitor: where to put SOAPMonitor classes Date: Thu, 30 Nov 2006 06:52:31 -0500 On my system I have: On my system I have I can e

Intercepting SOAP Request Using ServletFilter

2006-11-30 Thread sridhar vudutha
Hello All, I understand that this is not the right forum to post this message but want to see if there any better solution. I'm trying to intercept a SOAP request, modify the XML and pass it on to the AxisServlet. Gone through forums and got to a point where I could read the request content int

Re: Axis 1.4 /CFMX6.1/JRun4

2006-11-30 Thread Martin Gainty
Hi Alex- jrun -Djrunx.axis.AxisServerObjectFactory=org.apache.axis.server.JNDIAxisServerFactory java.lang.NoSuchMethodException: jrunx.kernel.JRun.Djrunx.axis.AxisServerObjectFactory=org.apache.axis.server.JNDIAxisServerFactory([Ljava.lang.String;) at java.lang.Class.getMethod(Class.java

Missing org.apache.axis.encoding.ser.xbeans package in axis 1.4

2006-11-30 Thread Ran
Hi all, I couldn't find ser.xbeans in the package as it is supposed to according to the 1.4 documentation. Anyone had a chance to dig this ? Thanks, ran

how to get soap header from stub in axis2

2006-11-30 Thread hoy hoy
Hi all, I'm using Axis 2 1.1 and have a stub that was generated from a WSDL. The soap call that I'm making returns SOAP headers, namely session information. How can I retrieve those SOAP headers from my stub? What methods or helper classes do I need to use? Thanks, Hoy

Re: [Axis2 1.1 RC2]Can't manage session

2006-11-30 Thread Davanum Srinivas
Can u please log a bug? Sorry for the delay in answering. thanks, dims On 11/27/06, Stadelmann Josef <[EMAIL PROTECTED]> wrote: Hi axis2 session-management-team Can someone from this axis2 team explain me why a first client thread can not continue to operate because it's service group id is no

Re: [axis2-1.1.1] probems with enumerated types

2006-11-30 Thread Davanum Srinivas
Mary, Please create an issue in JIRA and upload your wsdl and sample service/client. thanks, dims On 11/29/06, Mary Thompson <[EMAIL PROTECTED]> wrote: One more thing that broke when I moved from 2.1 to 2.1.1. In 2.1 enumerated types based on strings were just treated as ordinary strings. In 2

Re: WS-Attachments

2006-11-30 Thread Martin Gainty
Hi Asaf 1.3 has a ready to implement attachments sample located in your $AXIS_HOME/samples/attachments folder 1)setup CLASSPATH to include xerces,junit,mail.jar and activation.jar (safe to add all of the jars in the $AXIS_HOME/lib folder) 2)start a server (tomcat) 3)Deploy the service java org.a

Re: Rampart problem with encryption

2006-11-30 Thread Marcel Casado
Hi Philipp, I filed a jira http://issues.apache.org/jira/browse/AXIS2-1646 but it has not been taken care for anybody so I gave up until is fixed. Which version of Rampart are you using I stop updating Rampart nigthlies on 11/05/06 so I did not try the nightlies recently neither the Apache R

Re: help with attribute not generated in xmlbeans

2006-11-30 Thread robert lazarski
Post your entire wsdl and maybe we can help. Robert On 11/30/06, Pader, Erwin <[EMAIL PROTECTED]> wrote: Hi All, i have defined an attribute for each element (kindly see snippet below) but xmlbeans does not seem to generate the objects associated with the attributes. i am using wsdl2java o

Re: Encrypting Message Failure

2006-11-30 Thread Mary Thompson
I haven't tried encryption, but have signature verification working with Axis2-1.1.(1) and Rampart 1.1. Do you have the rampart module findable by your client? ie, engaged in axis2.xml and available at run time. I copied the following command line from an example somewhere. #!/bin/sh . setcl

Re: [axis2] 0.95->1.1 service deployment error

2006-11-30 Thread Stefan Lecho
Andreas Bohnert weberhofer.at> writes: > > hi, > > if have just upgraded my web services from axis 0.95 to axis 1.1. > now I'm getting an exception while deploying the ws. > the QueryService.wsdl which gives the error is created by axis, so I > don't know what to do with this. > > please, can

Re: AW: AW: AW: AW: AW: [Axis2] Trouble with WS routing through proxy server

2006-11-30 Thread Michele Mazzucco
Hi Pete, so, if I'm right, you are suing one of the 2 constructors you mentioned in you previous email. The call to 'this' fixes the EPR, but I think you don't set the proxy options, do you? Where is the chunk of code about the proxy settings?, you should call somewhere _serviceClient.g

Re: [AXis2] MissingResourceBundle Exception

2006-11-30 Thread Martin Gainty
Kumar- references to getMessage construct a MessagesBundle from values of 2 constants from class RB e.g. BUNDLE_NAME+"."+BASE_EXT "resource"+"."+"properties" I would copy a working resource.properties and amend the attributes you require and place in local folder (which I assume would be \org\a

FW: [Axis2] SOAP message is sent corrupted

2006-11-30 Thread Kedar, Shahar
The reason for the "corruption" was that I used chunked Transport-Encoding and the server I communicated with did not support HTTP/1.1. Shahar From: Kedar, Shahar [mailto:[EMAIL PROTECTED] Sent: Wednesday, November 29, 2006 8:07 PM To: axis-user@ws.apache.

WS-Attachments

2006-11-30 Thread asaf.lahav
Does any one have samples or documentation of working with axis 1.2 (or any other means which are not axis 2.0) to send payloads employing WS-Attachments?

[AXis2] MissingResourceBundle Exception

2006-11-30 Thread kumar.vinodh
Hi *, I have done a scheduling application, and now we have requirement to expose it as webservice and adopted Axis2 for the same. I have wriiten wsdl file and generated the skelton class, clent stub. Modified the skelton class to call the backend logic from there. I m using Resource bundle in

WSDL2Java and ExtensionMapper location

2006-11-30 Thread Carlos Ribeiro
Hi, I'm having problems with the WSDL2Java script. In my WSDL I have : http://www.w3.org/2001/XMLSchema"; attributeFormDefault="qualified" elementFormDefault="qualified" targetNamespace="http://aaa.bbb.ccc";> If I don't specify the ns2p argument of WSDL2Java, all schema cl

Re: adb, byte array, base64

2006-11-30 Thread Davanum Srinivas
BoD, could you please log a JIRA and upload your sample? thanks, dims On 11/30/06, BoD <[EMAIL PROTECTED]> wrote: Hi! I'm trying to make a very simple web service, using adb: . I make a simple class with public methods . I use java2wsdl to generate a .aar . I publish it, and get the wsdl fil

[Axis2] problems reading the settings for transportin/ out from axis2.xml

2006-11-30 Thread korges
Hi I have some problems reading the settings for transportin/ out from axis2.xml. I would like to use them for smtp transport. It’s working by setting them at runtime by: HttpTransportProperties.MailProperties mailProps = new HttpTransportProperties.MailProperties

help with attribute not generated in xmlbeans

2006-11-30 Thread Pader, Erwin
Hi All, i have defined an attribute for each element (kindly see snippet below) but xmlbeans does not seem to generate the objects associated with the attributes. i am using wsdl2java of axis2 1.1. any help is greatly appreciated. thanks! http://HMANS"; xmlns:tns="http://HMANS"

Encrypting Message Failure

2006-11-30 Thread Philipp Perner
I have a service to transfer files. I am using SwA with ADB as data binding. But in my opinion, the client doesn't even take the client's axis2.xml when running, so outflow configuration from client doesn't even make timestamp, signature or encryption. It doesn't matter which items i have in th

adb, byte array, base64

2006-11-30 Thread BoD
Hi! I'm trying to make a very simple web service, using adb: . I make a simple class with public methods . I use java2wsdl to generate a .aar . I publish it, and get the wsdl file . I use the wsdl file to generate a stub It works well as long as I use simple types (String, int) for the method

Re: Axis2.1.1 services.xml

2006-11-30 Thread robert lazarski
For #1, try: yourMethodNotIncluded HTH, Robert On 11/30/06, Pär Malmqvist <[EMAIL PROTECTED]> wrote: Hi, I have two short questions about the services.xml file. I have a services.xml file that looks like this: This is a webservice for FileDB2 http://www.w3.org/20

Escaping charaters in HTML

2006-11-30 Thread prashanth shivakumar
Hello All, Is there any way wherein i can send HTML content inside SOAP body. Iam trying to set content using addTextNode method but all HTML characters doesnt seem to be formed correctly when i output. Ex: should be instead Thanks Prashanth

RE: WS-Addressing setReplyto method name namespace

2006-11-30 Thread Vaibhav Pandey
Hi David, Kindly hav a look at the SOAP req/res that i captured:- My flow is WSAD client--> JBoss WS1 --> RAD WS2 1) SOAP Request from WSAD client to JBoss service:- POST /axis2/services/WSAddressing HTTP/1.1 SOAPAction: "urn:echo" User-Agent: Axis2 Host: 127.0.0.1:8089 Transfer-Encoding: chunk

Axis2.1.1 services.xml

2006-11-30 Thread P�r Malmqvist
Hi, I have two short questions about the services.xml file. I have a services.xml file that looks like this:   This is a webservice for FileDB2    http://www.w3.org/2004/08/wsdl/in-out"   class="org.apache.axis2.rpc.receivers.RPCMessageReceiver"/>main.FileDB2       

Re: sesion managment, scope=soapsession

2006-11-30 Thread robert lazarski
Stadelmann, Deepal describes well what Axis2 does and my recommendation is to use axis2 for your session management if possible. You may find, however, that it does not match your business case. If it does not, you may consider rolling your own via something like UUID - which WS-Addressing does i

Re: [axis2 1.1] SOAPMonitor: where to put SOAPMonitor classes

2006-11-30 Thread robert lazarski
On my system I have: On my system I have I can execute the command: ls /home/iksrazal/tomcat/webapps/axis2 Which returns: axis2-web META-INF SOAPMonitorApplet.class SOAPMonitorApplet$SOAPMonitorFilter.class SOAPMonitorApplet$SOAPMonitorPage.class SOAPMonitorApplet$SOAPMonitorTableModel.class S

AW: AW: AW: AW: AW: [Axis2] Trouble with WS routing through proxy server

2006-11-30 Thread Peter Neu
OK. The third constructor looks like this: public BinarytestStub(org.apache.axis2.context.ConfigurationContext configurationContext, java.lang.String targetEndpoint) throws org.apache.axis2.AxisFault { //To populate AxisService populateAxisService(); populate

org.apache.axis.ConfigurationException: Could not find class for the service named: com.canarys.cvsbase.CVSIntegratorWS

2006-11-30 Thread ruchira
Any solution for this error. Fault - ; nested exception is: org.apache.axis.ConfigurationException: Could not find class for the service named: com.canarys.cvsbase.CVSIntegratorWS Hint: you may need to copy your class files/tree into the right location (which depends on the servlet system

Re: AW: AW: AW: AW: [Axis2] Trouble with WS routing through proxy server

2006-11-30 Thread Michele Mazzucco
Pete, On 30 Nov 2006, at 10:03, Peter Neu wrote: Hi, the client comes with two constructors. The default one is now with the corrected code. public BinarytestStub() throws org.apache.axis2.AxisFault { this("http://192.168.200.194:8080/axis2/services/binarytest";); Options

AW: AW: AW: AW: [Axis2] Trouble with WS routing through proxy server

2006-11-30 Thread Peter Neu
Hi, the client comes with two constructors. The default one is now with the corrected code. public BinarytestStub() throws org.apache.axis2.AxisFault { this("http://192.168.200.194:8080/axis2/services/binarytest";); Options options = new Options(); HttpTransportProperties

[axis2 1.1] SOAPMonitor: where to put SOAPMonitor classes

2006-11-30 Thread Qiyun Yang
I tried to use SoapMonitor w/o success (class SOAPMonitorApplet.class not found). I followed the steps in: Using the SOAP Monitor. but I confused where to put teh applet classes. The web page stated: place the applet classes as axis2/SOAPMonitorApplet*.class/WEB-INF. Does it means that

Re: AW: AW: AW: [Axis2] Trouble with WS routing through proxy server

2006-11-30 Thread Michele Mazzucco
Pete, before sending the message, you have to call the setOptions() method on the ServiceClient object (or the OperationClient or RPCServiceClient, whatever you are using). I can't see this call in the chunk of code you provided us. I'm not practice about stub (I use the AXIOM api), but what does

Re: WS-Addressing setReplyto method name namespace

2006-11-30 Thread David Illsley
Hi, I'm not an expert on RAD6 by any stretch of the imagination but I don't think it supports operation identification based on the wsa:Action field. If that's the case then you'll need to make the response message body from JBoss look like the request message that RAD6 is expecting. David On 30

How to handle SOAP header parameters and WSDL generation?

2006-11-30 Thread Martin Buch
Hello, we have immense problems dealing with SOAP header parameters. We use Axis 1.4 and generate WSDL from Java. The soap header of each operation of a service should contain a single element "systemContext" of custom type SystemContextTO, to be defined like: ... ... S

Re: Rampart problem with encryption

2006-11-30 Thread Philipp Perner
Hi, have you got this problem fixed, and how? I am having the same problem now - encryption doesn't work, although i have similar configuration like the rampart sample5. Marcel Casado schrieb: Hi, I'm trying to secure services with Rampart encrypting the body of the soap message. When the

W3C Basic XML Schema Patterns for Databinding

2006-11-30 Thread Paul Downey
Dear Axis Devlopers/Users, You may be interested to take a look at the work of the W3C XML Schema Patterns for Databinding WG: http://www.w3.org/2002/ws/databinding/ which has published a Last Call Working Draft of the "Basic XML Schema Patterns for Databinding 1.0" specification: http://w

AW: AW: AW: [Axis2] Trouble with WS routing through proxy server

2006-11-30 Thread Peter Neu
Hello, I'm sorry but this whole proxy stuff still does not work for me. In the client stub I put the changes into the default constructor public BinarytestStub() throws org.apache.axis2.AxisFault { this("http://192.168.200.194:8080/axis2/services/binarytest";); Options options =