Re: Content is not allowed in prolog Error in AXIS2 1.3 RC2

2007-07-23 Thread Ashok Kumar Rajendran
Thanks for your effort Keith . Here with I attached the sample wsdl that i am using.. kindly let me to know the Errors Thanks, Ashok On 7/24/07, keith chapman <[EMAIL PROTECTED]> wrote: Hi Ashok, Can u upload your WSDL please so that we can have a look. Thanks, Keith. On 7/24/07, Ashok K

Axis2 byte[] transfer/serialization bug ?!

2007-07-23 Thread Georgi Yonchev
Hi, i developing a web service, based on Axis2, and the client side on gSOAP and i have a serious problem, Each call, return a complex type Result, how contains a String, int & comples type ResultData (i try with Object (anyType) but always get a null, only if i set the object like a String) so the

Re: Content is not allowed in prolog Error in AXIS2 1.3 RC2

2007-07-23 Thread Hariharasudhan.D Dhakshinamoorthy
Ashok, Your WSDL is not proper. To make sure if your WSDL is proper you can try generating the SOAP Request with http://soapui.org Regards, Hariharasudhan.D On 7/24/07, Ashok Kumar Rajendran <[EMAIL PROTECTED]> wrote: Hi all , I downloaded the latest AXIS2 1.3 RC2 form Axis2 repository. Wh

Re: Content is not allowed in prolog Error in AXIS2 1.3 RC2

2007-07-23 Thread keith chapman
Hi Ashok, Can u upload your WSDL please so that we can have a look. Thanks, Keith. On 7/24/07, Ashok Kumar Rajendran <[EMAIL PROTECTED]> wrote: Hi all , I downloaded the latest AXIS2 1.3 RC2 form Axis2 repository. While running the bundled WSDL2Java to generate the Java stubs using WSDL 2.0

Content is not allowed in prolog Error in AXIS2 1.3 RC2

2007-07-23 Thread Ashok Kumar Rajendran
Hi all , I downloaded the latest AXIS2 1.3 RC2 form Axis2 repository. While running the bundled WSDL2Java to generate the Java stubs using WSDL 2.0 file i got a exception saying Content is not allowed in prolog . I couldn't find the flaw . can any one guide me to fix this one . I hope the error

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 ser

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]qui

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 hav

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 failed.Thanks,Jas

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< Regen

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 [1]https://svn.apache.org/repos/asf/webservices/rampart/trunk/java/modules/rampart-samples/policy/sa

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 - 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

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 th

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 qu

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 inclu

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 Null

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 libr

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.

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 WebSph

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 so

[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.

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 P

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, upd

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 some

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 To

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 http://tools.wso2.org:19762/wservi

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 scratch

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 AntCode

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 Keit

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 , A

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 opt

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 through

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 release

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: 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: RPCInOutAsyncMessageReceiver.

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 access

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

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 ServiceClient.sendReceive(OMEleme

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 dedication

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: 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 t

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 t

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 th

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, the

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 thr

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 M

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 you

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 <[EMA

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 c

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 in