Re: [axis2 ]soap session scope does not work

2007-05-02 Thread Nencho Lupanov
Hi Paul, Do you know if with the Secure conversation i can force the client to send the username token only the first time without having the login operation, or I still need this entry point? Is there any usefull documentation on the rampart secure conv. implementation? Thanks, Nencho

Re: Question on getFirstChildWithName(qName) within an iterator?

2007-05-02 Thread Paul Fremantle
Craig There are some options that might be interesting: * JIBX allows you to bind to existing POJOs by specifying a simple binding file * ADB has a helper mode where it will generate POJOs and leave the XML gorp in other files. * JAXB generates pretty clean nice POJOs. Paul On 5/2/07,

Re: [axis2 ]soap session scope does not work

2007-05-02 Thread Paul Fremantle
Nencho Yes, the conversation initiation will happen on the first call - no matter what operation. I think there are good samples in Rampart. They are the best approach to getting started with Rampart. Paul On 5/2/07, Nencho Lupanov [EMAIL PROTECTED] wrote: Hi Paul, Do you know if with the

Axis2 performance and listener process construction

2007-05-02 Thread T W
Hi, we're fairly new to Axis2 in general but lately we've been writing a small web service to test the Sandesha2 WS-RM stack with Axis2. We have however two questions: 1. Is it normal that it takes about 15 seconds to make 10 synchronous requests? We are just calling a simple Web service

Re: Axis2 performance and listener process construction

2007-05-02 Thread Paul Fremantle
Toon I'm surprised you are getting those results. The Sandesha2 code isn't tuned and the timing parameters are not optimized for fast exchange, but without Sandesha2 the Axis2 calls should take about 100ms for 10 calls. Do you have some sample code I can try? Also I don't understand the

wsdl2java ant task and -Ebindingfile

2007-05-02 Thread Armin Ehrenfels
Hi list, how can I specify something like the -Ebindingfile option with the ant task ? TIA and regards Armin - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: [ANN][Axis2]Axis2 1.2 Released

2007-05-02 Thread Davanum Srinivas
We have pom.xml for almost all modules. All modules built using m2 are pushed to the SNAPSHOT repo. There is at least 1 sample (jaxws-calculator) in 1.2 that uses m2 Please check the 1.2 final for WSDL2Java and AAR plugins that work and report JIRA issues if they don't work as you expect them to.

Re: Axis2 performance and listener process construction

2007-05-02 Thread Toon Wouters
Paul Thanks for your reply. You're right about the timing, seems there was a communication problem with my colleague, my appologies. I just tried it without Sandesha and it is indeed quite fast. To get back to the listener question what I mean is the seperate listener logic which comes with

Re: wsdl2java ant task and -Ebindingfile

2007-05-02 Thread Dennis Sosnoski
I don't think the ant task has ever been updated to support -Exxx data binding extension options. You can just use WSDL2Java directly, though, with an Ant javac: java classpathref=axis-classpath fork=true classname=org.apache.axis2.wsdl.WSDL2Java !-- -o parameter sets the

Re: Axis2 performance and listener process construction

2007-05-02 Thread Michele Mazzucco
Toon, as you said the listener uses port 6060 by default, but by providing a custom configuration context you can change. Furthermore, you can use the same configuration context across different ServiceClient(s) or even use the same ServiceClient across different invocations. Michele On Wed,

[ANN][Axis2] Axis2 book and training course available

2007-05-02 Thread Thilo Frotscher
== Axis2 book == I am pleased to announce that our new Axis2 book was published last week. It contains nearly 600 pages and covers all aspects of Web Service development using Axis2. Topics include: - Web Service fundamentals (SOAP, WSDL, Code-First vs. Contract-First) - First

Re: Axis2 performance and listener process construction

2007-05-02 Thread Paul Fremantle
Toon Two things: 1) you can modify the default Sandesha timing parameters by editing the module.xml inside META-INF in sandesha2.mar. The default timing parameters are: RetransmissionInterval 6s (6000ms) InactivityTimeout 60s 2) When you do setUseSeparateListener, Axis2 does not spawn a new

Re: XMLBeans, Attachments and Rampart

2007-05-02 Thread Thilina Gunarathne
Also I want to secure my message also and I found that Rampart and MTOM have memory problems. Not that I know.. Can you please be more specific and report these problems with samples or test cases, so that we can fix if there is any.. - When I used ADB and MTOM I could see that if I don't

Re: [ANN][Axis2] Axis2 book and training course available

2007-05-02 Thread Paul Fremantle
Congratulations! I was so impressed I blogged it! Paul On 5/2/07, Thilo Frotscher [EMAIL PROTECTED] wrote: == Axis2 book == I am pleased to announce that our new Axis2 book was published last week. It contains nearly 600 pages and covers all aspects of Web Service

Re: wsdl2java ant task and -Ebindingfile

2007-05-02 Thread Armin Ehrenfels
Dennis, pity ! Thank you, anyway. Regards Armin Dennis Sosnoski wrote: I don't think the ant task has ever been updated to support -Exxx data binding extension options. You can just use WSDL2Java directly, though, with an Ant javac: java classpathref=axis-classpath fork=true

[axis2]WS Security Policy includeToken option problem

2007-05-02 Thread Nencho Lupanov
Hi All , I am trying the rampart sample that comes with the distro. I am going with sample01, only that i wanted it to be slightly different: I change the sp:IncludeToken attribute, so instead of: sp:SignedSupportingTokens xmlns:sp= http://schemas.xmlsoap.org/ws/2005/07/securitypolicy;

axis 2 and eclipse 3.2.1

2007-05-02 Thread Ashish Kulkarni
Hi I just downloaded eclipse 3.2.1 and was trying to create a web service using WST plugin, I think this plugin uses axis 1.3, does anyone know how to upgrade it to use axis 2? Is there any document explaining this Ashish

wsdl2java -u option question

2007-05-02 Thread Michael Davis
Hello, I'm new to Axis. I'm using the latest version, 1.2, and I've created a simple web service that takes three strings and returns a string. I created a client using wsdl2java. It works fine, but it creates three source files that are 5M in size. Is this expected behaviour, or is it a clue

Generating supporting classes

2007-05-02 Thread Rich Adili
Hi, I've been working with a project that was built around Axis 1.2. The source repository contains only the Axis-generated class files, no source code. So I've had to do some guesswork. Would like to upgrade to Axis 2 but there's a bit I haven't figured out yet. This project contains a number of

Re: WSDL2Java: WSDLProcessingException: Encoded use is not supported?

2007-05-02 Thread Davanum Srinivas
I believe we are throwing better exceptions now...if you post the wsdl in a bug report, we can take a look to confirm that it is indeed an rpc/encoded wsdl which we don't support. thanks, dims On 5/1/07, wolverine my [EMAIL PROTECTED] wrote: Hi! I encounter the following error when tried to

RE: [Axis2] MessageReceiver is Null in Axis2 Operation using WS-RM

2007-05-02 Thread Ted Jones
Hi Chamikara, Upon further review, I don't believe this is a Sandesha2 issue. The operation is generated without a CallbackReceiver value set in the ADB generated stub. If I set a default CallbackReceiver in my client code, everything works fine. Maybe the operation should have a default

RE: Axis2-1.1.1 samples DATABINDING CAN'T GENERATE SERVICE

2007-05-02 Thread jparisot
: Thanks, there was a problem with castor -1.1 jar and/or classpath. I downloaded Castor-1.1.1 jars and put this time all the downloaded jars into the classpath and then ant generate.service worked OK. The first time i had only castor-1.1.jar in classpath. however ant run.client (command from

RE: Question on getFirstChildWithName(qName) within an iterator?

2007-05-02 Thread Hickman, Craig
Thanks, but I resolved the issue: see code below* Craig Hickman, Sr. Architect ADP Working with the previous Axis1 I was able to write a very easy implementaion for a ServiceRouter and ServiceProcessor that worked for exposing all my services through a properties lookup and hiding the Axis1

Re: [Axis2] Other ways of doing sessions w/o addressing

2007-05-02 Thread Glen Mazza
Can't answer your second question, but the first one may be no. The bottom of page 1 of the below article states Managing a SOAP session requires you to engage addressing modules on both the server side and client side: http://www.developer.com/java/web/article.php/3620661 Hopefully a more

Re: [Axis2] Other ways of doing sessions w/o addressing

2007-05-02 Thread robert lazarski
You can manage the sessions yourself by generating your own token via a return value and mandate the passing of it back in a future calls, but then you have to manage the token yourself. That does have the advantage of after a few days work its stable and flexible. I've done that with both

Re: axis2 - array of object - no data ?

2007-05-02 Thread jony
I got this working. For posterity's sake: you need to have a 'get' and 'set' for each param in your bean. instead of class MyBean { public String str0; public int n0; } use class MyBean { private String str0; private int n0; public String getStr() { return str0;

Re: axis2 - array of object - no data ?

2007-05-02 Thread Deepal Jayasinghe
Hi Jony , That was one of the issue with annogen, but we have fixed the issue in 1.2 Please try with Axis2 1.2. Thanks Deepal jony wrote: I got this working. For posterity's sake: you need to have a 'get' and 'set' for each param in your bean. instead of class MyBean { public String

embedding axis2 in a webapp and REST

2007-05-02 Thread jnedzel
I'm using axis2 v1.1.1 I'm embedding axis2 in my webapp following the example shown here: http://www.redhat.com/magazine/021jul06/features/apache_axis2/ I'm following what the article calls Use Case 2. I've added the Axis servlet to my web.xml: ?xml version=1.0 encoding=UTF-8? web-app

Axis2 Eclipse dependencies with Maven2

2007-05-02 Thread lightbulb432
At the Maven2 repository at http://repo1.maven.org/maven2/org/apache/axis2/axis2/, all dependencies get properly placed into my lib directory, but the dependencies apart from axis2 itself don't get updated in the Eclipse .classpath. Have dependencies like axiom only been declared as provided or

axis 2 error, associated Fault container is not available

2007-05-02 Thread Ashish Kulkarni
Hi I have a WSDL file, and i created all the java classes using WSDL2Java, and was writing a client program as below, MapsLimsTransactionsLocator locator = new MapsLimsTransactionsLocator(); MapsLimsTransactionsBindingStub stub = new MapsLimsTransactionsBindingStub(new URL(

Re: axis 2 error, associated Fault container is not available

2007-05-02 Thread Martin Gainty
It has something to do with SOAPVersion ftp://www6.software.ibm.com/software/developer/library/ws-reliablemessaging200403.pdf the good news is that if you're still using Axis 1.x you can override the SingleSOAPVersion attribute with the correct version(SOAP 1.1 version that wont produce these

Re: axis 2 error, associated Fault container is not available (part 2)

2007-05-02 Thread Martin Gainty
(Part 2) public static AxisService createClientSideAxisService(Definition wsdlDefinition, QName wsdlServiceName, String portName,

HELP - The attachments stream can only be accessed once; either by using the IncomingAttachmentStreams class or by getting a collection of AttachmentPart objects. They cannot both be called within the

2007-05-02 Thread Prasad Viswatmula
I am using Axis 1.4 and getting the above error. Thanks, Prasad - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: targetnamespace hard-coded in code generated through WSDL2Java

2007-05-02 Thread Ulf Heyder
I filed a JIRA concerning that subject: http://issues.apache.org/jira/browse/AXIS2-2600 Ulf - Original Message - From: asinghal123 [EMAIL PROTECTED] To: axis-user@ws.apache.org Sent: Tuesday, May 01, 2007 7:25 PM Subject: targetnamespace hard-coded in code generated through WSDL2Java

Re: HELP - The attachments stream can only be accessed once; either by using the IncomingAttachmentStreams class or by getting a collection of AttachmentPart objects. They cannot both be called within

2007-05-02 Thread Glen Mazza
This may be related to AXIOM internally (I don't know if AXIOM is used in Axis 1, however). I googled the error message and it seems like the only thing that could cause that error message to occur (search on The attachments stream within [1]) is that you called *both* getPart() and

Re: what is extraElement?

2007-05-02 Thread Anne Thomas Manes
The xsd:any (there's only one) will map to a single OMElement -- which may in turn contain anything. Therefore, the xsd:any is the last element (only element) in your sequence). Anne On 5/2/07, no spam [EMAIL PROTECTED] wrote: ok, but this seems to be thinking of an xsd:any element as the

Re: Axis2 and Maven

2007-05-02 Thread lightbulb432
When you have a project that depends on the axis2 artifact and you do a mvn deploy, all of the Axis2 JARs (e.g. axis2-adb, axis2-codegen, etc...) get imported automatically into the WAR file as specified in my pom.xml, which I'd expect to happen. Why, though, do these JARs not get stored in my

RE: axis 2 and eclipse 3.2.1

2007-05-02 Thread Krishnamoorthy J (HCL Financial Services)
Axis2 Eclipse plug-in is available here http://ws.apache.org/axis2/tools/index.html which can used now. From: Lahiru Sandakith [mailto:[EMAIL PROTECTED] Sent: Wednesday, May 02, 2007 10:24 PM To: axis-user@ws.apache.org Subject: Re: axis 2 and eclipse