Re: Services.xml

2007-07-23 Thread Dinesh Premalal
Dinesh Premalal [EMAIL PROTECTED] writes: Manoj Rao [EMAIL PROTECTED] writes: Hi all, Can anyone please explain how different is the addition of the following line under operation name helpful? parameter name=wsamapping Calculator#add/parameter BTW this parameter value should be a URL

Re: Services.xml

2007-07-23 Thread Dinesh Premalal
Hi Manoj, Manoj Rao [EMAIL PROTECTED] writes: Hi Dinesh, Thanks for the reply. I was using axis2c 0.90 till recently and now migrated to 1.0 the same services.xml doesn't work here is there anything I need to change in axis2.xml before using it? Sample of my working services.xml is the

Re: Services.xml

2007-07-23 Thread Samisa Abeysinghe
Did you copy axis2.xml file form 0.90 to 1.0.0? They are not compatible, there are minor changes. You have to use axis2.xml that comes with 1.0.0. However, we did not change services.xml as far as I can recall. It helps to have a look into the services.xml file to get an idea on what is going

Re: Services.xml

2007-07-23 Thread Samisa Abeysinghe
Looking at the back trace, the problem is most probably with the service library. Please try to re-compile the service. Also make sure the old libs form 0.90 are not in the library path, when you compile and run the service and client. Samisa... Manoj Rao wrote: Ok Maybe I was not clear in

RE: Services.xml

2007-07-23 Thread Manoj Rao
Hi Samisa, Yes I am using axis2.xml from 1.0.0 version. If you want to have a look into my services.xml this is how it looks === service name=MyService parameter name=ServiceClass locked=xsd:falseMyService/parameter description This is

Re: rampart/c not working with stubs generated using wsdl2c

2007-07-23 Thread Kaushalye Kapuruge
Hi Sharada, Could you pls send us the generated client code? Then we can see what's wrong with it. Reading the log it's clear that Rampart is not in the outgoing path for the generated client. So there is no way of adding security headers. Also we believe that you have specified AXIS2C_HOME

Re: Unexpected subelement Result

2007-07-23 Thread Dimuthu
Hi Matt, The fix is included in Axis2's 1.3- RC2[1]. Please use Rampart nightly builds with it[2]. Cheers, Dimuthu [1]http://people.apache.org/~deepal/axis2/1.3-RC2/ [2]http://people.apache.org/dist/rampart/nightly/ On Tue, 2007-07-17 at 10:20 -0600, Matthew Bailey wrote: I have a

Re: Using asynchronous messaging with Rampart (axis-users)

2007-07-23 Thread Dimuthu
Hi Mark, options.setProperty(RampartMessageData.KEY_RAMPART_POLICY, securityPolicy); Replace the above with the following. ServiceContext context = serviceClient.getServiceContext(); context.setProperty(RampartMessageData.KEY_RAMPART_POLICY, securityPolicy); Regards, Dimuthu On Wed,

Re: Newbie needs a few pointers .. Command line Usage / Eclipse

2007-07-23 Thread albert quinn
Hi Lahiru !! : Many thanks for spending your time with this. I can't generate again the error scenario because I removed the failing Eclipse project and the failing Archive plugin when I became frustrated with them after many hours of trying almost everything and I moved to Ant. I could dive

Axis2 - Invoking Rampart UsernameToken-service using client written in PHP

2007-07-23 Thread Jaskin
Hi,I am trying out UsernameToken (plain text) authentication with Axis2-Rampart.However, I am encountered some issue on the CallbackHandler when invoking the service (Rampart’s sample03).- The handle() method is not execute at all when invoking the service using client written in PHP- This has

Re: a bug in the Axis 2 Service Archiver Eclipse plugin?

2007-07-23 Thread albert quinn
Hi again, Lahiru !! : As i've told u in the other thread, I'm so sorry, but I can't generate again the error. I've posted a Eclipse trace in the other thread, it seems to be the only trace that could be related with that error, but I'm not sure. Sorry again. 2007/7/23, Lahiru Sandakith

Re: help deciphering error message

2007-07-23 Thread Thilina Gunarathne
Hi, Problem seems to be that Axis2 could not find the destined operation for your message using the data available in the message.. If your WSDL (or is it generated by Axis2) is correct then WSDL2Java should generate enough information for the operation dispatch... What's the Axis2 version are

Re: [ANN][Axis2] Axis2 1.3-RC2 release

2007-07-23 Thread Michele Mazzucco
oops... the two methods are actually onMessage() and onComplete() [1] Michele [1] http://www.nabble.com/switch-from-Callback-AxisCallback-% 28with-problems%29-tf4118188.html On Sun, 2007-07-22 at 21:45 -0400, Eran Chinthaka wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Michele

Re: Axis2 - Invoking Rampart UsernameToken-service using client written in PHP

2007-07-23 Thread Dimuthu
Hi Jaskin, Can u please check whether the UsernameToken is included in the SecurityHeader by looking at the message on the wire. You can use the TCPMonitor[1] to do this. Security Header is a Must Understand header. I think if it is not processed properly a Must Understand failure must be thrown

Fault logging

2007-07-23 Thread landry soules
Hello, I developped a web service (server) and need to log every transaction in database. So i made a handler, inspired by org.apache.axis.handlers.LogHandler. I deployed it with deploy.wsdd, and it works well, for standard transactions. However, everytime my webservice answers with an error,

Help on Axis2 with ws-addressing.

2007-07-23 Thread Pedro Costa
Hi Guys, The reason I'm writing you is that we are trying to use Axis2 on a project we have, with the ws-addressing and was wondering if you could help us understand a problem we are having. Going short on the problem description, we basically have a very long time to complete web-service (in

Re: Help on Axis2 with ws-addressing.

2007-07-23 Thread Paul Fremantle
Pedro AFAIK You need to use one of the Async MessageReceivers instead of the sync ones. For example: RPCInOutAsyncMessageReceiver.java Paul On 7/23/07, Pedro Costa [EMAIL PROTECTED] wrote: Hi Guys, The reason I'm writing you is that we are trying to use Axis2 on a project we have, with

RE: measuring Axix 1.4 overhead

2007-07-23 Thread Firas Khasawneh (fkhasawn)
Any help regarding the below please? any suggestions on how to measure the overhead Axis adds? From: Firas Khasawneh (fkhasawn) Sent: Sunday, July 22, 2007 11:50 PM To: 'axis-user@ws.apache.org' Subject: measuring Axix 1.4 overhead Hi all, Anybody knows how

Re: Newbie needs a few pointers .. Command line Usage / Eclipse

2007-07-23 Thread Lahiru Sandakith
Hi Albert, I am using the plugin 1.2.1 and I am not seeing the problem to recreate with Eclipse 3.3, Thanks Lahiru On 7/23/07, albert quinn [EMAIL PROTECTED] wrote: Hi Lahiru !! : Many thanks for spending your time with this. I can't generate again the error scenario because I removed

Re: Newbie needs a few pointers .. Command line Usage / Eclipse

2007-07-23 Thread albert quinn
Hi again Lahiru !! : I've tried to reinstall the plugin in my Eclipse (3.2.1), but I can't recreate the problem because I had removed my faulty project. If I can recreate it, I'll post it again, if not... I hope anybody with the same problem could do it. Many thanks for your time and

anonymous operation invocation

2007-07-23 Thread Ecker Severin
Hi, I think I stumbled over a bug but I wanted to check here first in case I'm just being stupid. I have a webservice (using axis2 to handle the soap stuff) and I wanted to use this service with both, WSDL-based access and anonymous operation invocation (with the

HTTPSListener private access

2007-07-23 Thread Nencho Lupanov
Hi all, I would like to use org.apache.axis2.transport.http.HTTPSListener in order to configure transportReceiver in axis2.xml , only that when loaded from the deployment package(when config is populated) it thows ClassNotFound exception, since HTTPSListener is declared with private access.Do

RE: Axis2 - Invoking Rampart UsernameToken-service using client written in PHP

2007-07-23 Thread Jaskin
Hi Dimuthu,Appreciate your reply on this matter.For your information, I am using sample03's service as a test case. Basically, I followed the sample guide by starting the sample03's service and run the sample03's client, which is running just fine.But, when using client written in PHP to

Re: Help on Axis2 with ws-addressing.

2007-07-23 Thread Pedro Costa
Thanks Paul. Your change did the trick. we are know receiving the accept immediately after the service invocation. 2007/7/23, Paul Fremantle [EMAIL PROTECTED]: Pedro AFAIK You need to use one of the Async MessageReceivers instead of the sync ones. For example:

Re: HTTPSListener private access

2007-07-23 Thread Davanum Srinivas
Nencho, Please create an enhancement request in JIRA. thanks, dims On 7/23/07, Nencho Lupanov [EMAIL PROTECTED] wrote: Hi all, I would like to use org.apache.axis2.transport.http.HTTPSListener in order to configure transportReceiver in axis2.xml , only that when loaded from the deployment

RE: measuring Axix 1.4 overhead

2007-07-23 Thread Firas Khasawneh (fkhasawn)
Hi Jaliya, I am using only server side Axis, for client I am using SoapUI. if I put the handler in transport for both response and request, I am getting the response time I am measuring from my client so looks like it is measuring from the client side (the time it gets the request till it

Reg : WSDL 2.0 Support in Axis2

2007-07-23 Thread Ashok Kumar Rajendran
Hai all , I am a newbie to Axis2 . In my current project , our specification is to use SOAP 1.2 and WSDL 2.0 . While searching through the documentation at the axis2 site i came to know AXIS2 supports SOAP 1.2 . But i could'nt able to find the WSDL version support by AXIS2. While digging

Re: Reg : WSDL 2.0 Support in Axis2

2007-07-23 Thread keith chapman
Hi Ashok, Yes Axis2 does support WSDL 2.0 to its fullest extent. Please use the latest release (Preferably 1.3-RC2). WSDL 2.0 support is not integrated into the eclipse plugin, but you can use the wsdl2java tool to accomplish this task. U should use the -wv 2 option together with the other

Re: Reg : WSDL 2.0 Support in Axis2

2007-07-23 Thread Ashok Kumar Rajendran
Thanks a lot Keith . I will start working with the latest build . A few more Questions Can you suggest me with a WSDL 2.0 validator tool ? Is it possible to convert the existing Web service which is wrote based on WSDL 1.1 specification in to WSDL 2.0 If so any tool available ? Thanks ,

Re: Reg : WSDL 2.0 Support in Axis2

2007-07-23 Thread Chathura Herath
Woden has wsdl2 validation, i believe its turned off by default and there is a API to turn it on, at least thats how it was when i last saw it. I don't think we ve exposed those validations in Axis2 tools. Chathura On 7/23/07, Ashok Kumar Rajendran [EMAIL PROTECTED] wrote: Thanks a lot Keith

Re: [ANN][Axis2] Axis2 1.3-RC2 release

2007-07-23 Thread Erik Bertelsen
2007/7/20, Deepal Jayasinghe [EMAIL PROTECTED]: Hi all, I have upload Axis2 1.3 RC2 artifact into my apache home location [1] , . [1] : http://people.apache.org/~deepal/axis2/1.3-RC2/ ... Thanks Deepal I feel at little stupid about asking this, but I just cannot find the

Re: Reg : WSDL 2.0 Support in Axis2

2007-07-23 Thread keith chapman
Hi Ashok, I think Woden does WSDL 2.0 validation. I will look into the switch that Chathura mentioned. You will find a converter tool at http://tools.wso2.org:19762/wservices/WSDLConverter/ its a lossy transformation. It might be better to write your own WSDL 2.0 if you are starting from

Re: Reg : WSDL 2.0 Support in Axis2

2007-07-23 Thread Chathura Herath
FYI http://incubator.apache.org/woden/userguide.html#Getting+Started On 7/23/07, keith chapman [EMAIL PROTECTED] wrote: Hi Ashok, I think Woden does WSDL 2.0 validation. I will look into the switch that Chathura mentioned. You will find a converter tool at

RE: measuring Axix 1.4 overhead

2007-07-23 Thread Firas Khasawneh (fkhasawn)
Hi Jaliya, Do you know if response coming back from transport handler after the request is processed in the Axis engine also hits AxisServlet and uses doGet? Thanks, Firas From: Jaliya Ekanayake [mailto:[EMAIL PROTECTED] Sent: Monday, July 23, 2007 9:42 AM

ExtensionMapper

2007-07-23 Thread Michael Bell
Hi, we create WSDL types with two different schemas - one for common types and one for special types. The idea is that we want to implement common types in a central place for all of our web services (e.g. common error handling). During the implementation we noticed that Axis2 generates

Re: Too many open files

2007-07-23 Thread Chathura Herath
If the same client is making multiple requests you could try to use HTTP keep alive so sockets would be reused. I had a similar problem in a totally different software and this trick worked, just an idea. Chathura On 7/20/07, Davanum Srinivas [EMAIL PROTECTED] wrote: Michele, My 2 cents,

Re: Fault logging

2007-07-23 Thread cara
I had the same problem. My ServiceLogHandler extends the axis LogHandler. I can pull normal messages from the MessageContext by implementing the invoke method. To catch and log exceptions in the handler chain, I had to implement public void onFault(msgContext). On 7/23/07, landry soules [EMAIL

[Axis2]. - Disable/Enable client side schema validation with axis and ADB

2007-07-23 Thread Ravi Somepalli
My Schema contains data types for which some of the attributes are mandatory, as defined in the schema, but during testing or I just want to disable/enable schema validation. The default client from the samples does schema validation and complains about null values. xs:complexType

Re: Too many open files

2007-07-23 Thread Michele Mazzucco
Chathura, thanks for your advice, but HTTP 1.1 uses keep alive by default. Michele On 23 Jul 2007, at 16:57, Chathura Herath wrote: If the same client is making multiple requests you could try to use HTTP keep alive so sockets would be reused. I had a similar problem in a totally different

Web Services: Axis - C# :: AuthenticationException

2007-07-23 Thread Srinivasa Rao K
Hi, I have extracted certificate .der (its not allowing .cer) file by using IBM ikeyman tool. C:\Program Files\IBM\irRational\SDP\6.0\runtimes\base_v51\etc\DummyServerTrustFile.JKS file is used as input file for the too. ( RAD6 ) C# client for Version Service which is on

Re: [ANN][Axis2] Axis2 1.3-RC2 release

2007-07-23 Thread Glen Daniels
Hi Michele: As it explains in the JavaDoc, onMessage(msgContext) is called every time a NON-FAULT message is received. So if you had a custom OUT-IN-IN MEP, that method would usually be called twice. The onComplete() method is *always* called at the end of an MEP, regardless of the outcome.

Re: Axis2 service archiver plugin for Eclipse

2007-07-23 Thread carles massalle
Thanks Lahiru, now it works! I didn't know that's tutorial. It has been very useful for me. carles On 7/23/07, Lahiru Sandakith [EMAIL PROTECTED] wrote: Hi Chrles, In order to generate the service from the SampleService using the eclipse service archive we need to supply the dependent

NullPointer Exception on HTTPClient issue

2007-07-23 Thread Sunny44
I have Async Web service that does not have any response. 1 I created the ADB Data binding classes 2 I have created the Client using Async procedure (Eclipse Plugin did that for me). 3 Regenerated AD classes to have defaultForm***=qualified on wSDL and XSD When i call Service it throws

Jar version changes between Axis2 1.2 and Axis2 1.3RC2

2007-07-23 Thread Alick Buckley
Hi Guys, Doing a quick compare of axis2-1.2.zip and axis2-1.3RC2-bin.zip download lib directory jar files. http://ws.apache.org/axis2/download.cgi You have gone from xercesImpl-2.8.1.jar back to xercesImpl-2.6.2.jar commons-io-1.2.jar back to commons-io-1.1.jar You have

Re: rpc-encoded vs rpc-literal vs document-literal migrate Axis1.4 wsdl (rpc-encoded) to Axis2 doc-lit

2007-07-23 Thread david
Hello Ann, thanks for the WSDL editor recommendations. I have only one more question about the WSDL you graciously repaired after my bungled attempt to translate the document. Your WSDL generated perfect (dot).java and now I have the service deployed via Axis2 webapp running under Tomcat. The

Re: [AXIS] SOAPConnectionImpl timeout

2007-07-23 Thread Jack Sprat
Can someone answer this question? My guess is milliseconds but I just want to be sure. The documentation is very thin. This seems like it would be a *really* easy question to answer for anyone who contributred to Axis 1..4 Thanks, T Jack Sprat [EMAIL PROTECTED] wrote: Can anyone answer

RE: Axis2 - Invoking Rampart UsernameToken-service using client written in PHP

2007-07-23 Thread Dimuthu
Hi Jaskin, On TCPMon, the request is oddly empty but the response returns the wsdl message. Does this mean the SOAP body is empty or security header is empty? Regards, Dimuthu On Mon, 2007-07-23 at 21:02 +0800, Jaskin wrote: Hi Dimuthu, Appreciate your reply on this matter. For your

AXIS2: SAML example using Rahas

2007-07-23 Thread Par Nagi
Hi, I have seen a few posts/requests for SAML example(s) using Rahas. I haven't seen anything concrete as responses - mostly along the lines that code is documentation. Does anyone have a simple example that illustrates how to use Rahas to have uid/pwd or other credentials mapped to SAML tokens

Re: AXIS2: SAML example using Rahas

2007-07-23 Thread Dimuthu
Hi Nagi, A new sample was added to the current trunk under development[1]. Some documentation about the STS is available here[2]. All these will come out with the next release. Regards, Dimuthu

Re: NullPointer Exception on HTTPClient issue

2007-07-23 Thread keith chapman
Can you send the StackTrace Please. Thanks, Keith. On 7/24/07, Sunny44 [EMAIL PROTECTED] wrote: I have Async Web service that does not have any response. 1 I created the ADB Data binding classes 2 I have created the Client using Async procedure (Eclipse Plugin did that for me). 3

RE: Axis2 - Invoking Rampart UsernameToken-service using client written in PHP

2007-07-23 Thread Jaskin
Hi,The soap body/header is empty and the following is the extract from TCPMon.Request:GET /axis2/services/sample03?wsdl HTTP/1.0Host: localhost:8081And, response returns entire WSDL message.On the other hand, fault/exception should be thrown if security header is empty or auth

Re: Jar version changes between Axis2 1.2 and Axis2 1.3RC2

2007-07-23 Thread Deepal Jayasinghe
I think this has happen when we move from maven1 to maven2 , we really need to address this before 1.3 release. Thanks Deepal Hi Guys, Doing a quick compare of axis2-1.2.zip and axis2-1.3RC2-bin.zip download lib directory jar files. http://ws.apache.org/axis2/download.cgi You have gone

Re: Getting Error on wsdl2java generation

2007-07-23 Thread Deepal Jayasinghe
Please send as the wsdl. Thank Deepal DSL wrote: Hello all, I am getting an error on the wsdl2java generation of my wsdl: [axis-wsdl2java] Running Wsdl2javaAntTask with parameters: [axis-wsdl2java]verbose:true [axis-wsdl2java]debug:false [axis-wsdl2java]

RE: Axis2 - Invoking Rampart UsernameToken-service using client written in PHP

2007-07-23 Thread Dimuthu
Hi Jaskin, You have to use HTTP POST request for SOAP. I have never used HTTP GET for SOAP messages. The other thing I noticed is the endpoint address. It should be http://localhost:8081/axis2/services/sample03 You have added an extra ?wsdl to the message. This will return the wsdl of the