Re: Axis2-1.5.1 and user exceptions

2010-02-19 Thread Mauro Molinari
Il 17/02/2010 3.53, glopezm ha scritto: Any thoughts/experiences with a similar issues with axis2? I use contract-first approach. My user exceptions extend Exception and have a field called faultMessage with getter getFaultMessage and setter setFaultMessage. The constructor prepares

Re: Axis2-1.5.1 and user exceptions

2010-02-19 Thread Li Ma
are using code-first approach because of its simplicity. Thanks! Li On Fri, Feb 19, 2010 at 6:42 AM, Mauro Molinari mauro.molin...@cardinis.com wrote: Il 17/02/2010 3.53, glopezm ha scritto: Any thoughts/experiences with a similar issues with axis2? I use contract-first approach. My user

RE: Axis2-1.5.1 and user exceptions

2010-02-19 Thread Martin Gainty
with the open port you are using to the RPC method AXIS2 is heavily favoring doc-literal over RPC for above stated reasons when you state ..it definitely worked under axis1 ..are you stating you must specify RPC over doc-literal? Is the use of RPC a stated business requirement? Martin Gainty

Axis2 1.5.1, JAX-WS and Rampart: client and endpoint configuration

2010-02-18 Thread Victor Rentea
Hy everyone! I built a working (?) solution and I want your opinion if this is a safe approach, and if its semantically consistent with Axis2 internals. I would really appreciate if you could give me a hand because my knowledge of Axis internals is very limited. Many will be interested

how to add interceptor for axis2 client

2010-02-18 Thread and)
hi all I need to add interseptor in client code, which will be triggered before sending (pos/get)requests on server, it is possible in axis2? -- View this message in context: http://old.nabble.com/how-to-add-interceptor-for-axis2-client-tp27642627p27642627.html Sent from the Axis - User

AW: how to add interceptor for axis2 client

2010-02-18 Thread Stadelmann Josef
never use it so far) Doing-something-clever-at-interception-point - you have to write your own code and develop an interceptor-modul.mar 1. In this case best look at the architecture of Axis2 first, 2. look at the component model of AXIS2 , in particular look about phases

Axis2 Rampart1.4, Encounter org.apache.axis2.AxisFault: Error in extracting message properties

2010-02-18 Thread aldray
Hi, I am currently having some issue with Rampart on Axis2. I am trying to configure the Rampart for only 1 way request security header, this means that the response back from the Server to the Client does not contain the SOAP security header. What i did is instead of having both

Axis2 Rampart1.4, Encounter org.apache.axis2.AxisFault: Error in extracting message properties

2010-02-18 Thread aldray
Hi, I am currently having some issue with Rampart on Axis2. I am trying to configure the Rampart for only 1 way request security header, this means that the response back from the Server to the Client does not contain the SOAP security header. What i did is instead of having both

Axis2/C build issues on AIX: patches pending

2010-02-16 Thread Olivier Mengué
Hi, One month ago I reported some issues when building Axis2/C on AIX 5.3. I've linked them to issue 1424 for tracking: https://issues.apache.org/jira/browse/AXIS2C-1424 Could someone have a look at them? I've attached a patch to most of them, so it would be great if they could be reviewed

where is SVN repo http.// svn.apache.org / asf / webservices / axis2 / java / trunk NOW

2010-02-16 Thread Stadelmann Josef
Hi all, Can someone from the TEAM tell me where all this SVN repos or subdirs where moved by gmcdonald on Saturday 13. February 2010-02-16 this was the root http://svn.apache.org/repos/asf/webservices I need to update from http://svn.apache.org/repos/asf/webservices/axis2/trunk and fail now I

AW: help needed building axis2 using NetBeans 6.8 and maven 2.2.1

2010-02-16 Thread Stadelmann Josef
and used by default the latest greates maven 3.0 Now I have the luxury to select the proper maven version used for axis2 builds and it works error free with maven 2.2.1 But I am not that maven guru yet like you able to fix all problems seen with maven 3.0 So, thanks for the help Josef.Stadelmann

Re: where is SVN repo http.// svn.apache.org / asf / webservices / axis2 / java / trunk NOW

2010-02-16 Thread Katherine Sanders
Hi Josef, Axis2 has been moved to its own top level project instead of being underneath the webservices project. The code for it has been moved to: http://svn.apache.org/repos/asf/axis/axis2/java/core/trunk/. The other projects that depend on axis2 such as sandesha and rampart have also

File Transfer Web Service (.NET Client to AXIS2 Service)

2010-02-16 Thread Stadelmann Josef
Web Service Client to an AXIS2 File Transfer Web Service? Josef.Stadelmann @axa-winterthur.ch

RE: Axis2-1.5.1 and user exceptions

2010-02-16 Thread glopezm
I've continued doing some research about these issues and I've also found out that there's another related issue in http://issues.apache.org/jira/browse/AXIS2-3412. It is now clear for me that custom exceptions are not working the way it should (at least for those like me using the code first

RE: Interoperability of Axis2

2010-02-15 Thread Sandeep Khurana
the reverse with a POJO did not work? Has anyone faces this issue before? -Sandeep From: Sandeep Khurana [mailto:sandeep_khur...@persistent.co.in] Sent: Friday, February 12, 2010 11:21 AM To: axis-user@ws.apache.org Subject: RE: Interoperability of Axis2 Any pointer

Please help on Axis2 Exception handling

2010-02-15 Thread Li Ma
Dear All, I ran into a very weird problem with Axis2 exception handling, which puzzled me for long time. Any help from you Axis2 expert will be greately appreciated! This is what I did: 1. Get my service POJO ready. All method throws a customized MyException which is derived from

RE: Please help on Axis2 Exception handling

2010-02-15 Thread Sandeep Khurana
, February 15, 2010 7:34 PM To: axis-user@ws.apache.org Subject: Please help on Axis2 Exception handling Dear All, I ran into a very weird problem with Axis2 exception handling, which puzzled me for long time. Any help from you Axis2 expert will be greately appreciated! This is what I did: 1. Get

RE: Please help on Axis2 Exception handling

2010-02-15 Thread Martin Gainty
or disrupt this transmission. Thank You Date: Mon, 15 Feb 2010 09:04:08 -0500 Subject: Please help on Axis2 Exception handling From: lim...@gmail.com To: axis-user@ws.apache.org Dear All, I ran into a very weird problem with Axis2 exception handling, which puzzled me for long time. Any help from you

Data Binding in axis2

2010-02-15 Thread Sandeep Khurana
I want to create a simple webservice wherein i require: 1. interoperability 2. interact with custom objects Do i require to use any data bindings or using POJO is sufficient? do we have enough documentation for the Data binding? Because Axis2 quick start guide has some text for how to create

Axis2-1.5.1 and user exceptions

2010-02-15 Thread glopezm
Hi, I'm using axis2 v1.5.1 as it is stated in the subject of this message and I've found that user exceptions are not being reported as they used to be with axis1. If one declare an operation throwing an exception, whenever the exception is thrown the detail part of the soap fault element used

RE: Axis2-1.5.1 and user exceptions

2010-02-15 Thread Doughty, Michael
In the axis2.xml file on the server/service side, you should see this line: parameter name=sendStacktraceDetailsWithFaultsfalse/parameter Set that parameter to true. Additionally, you might want to change this parameter as well: parameter name=DrillDownToRootCauseForFaultReasonfalse

RE: Axis2-1.5.1 and user exceptions

2010-02-15 Thread glopezm
Thanks for your response Michael!!! That may be useful and I was not aware of that setting however I was trying to get axis2 to work pretty much the same way it was doing it in previous versions. Let me explain. Axis1 whenever you expose an operation as a web service (bottom up) it generates

RE: Strange issue with Axis2 setting improper default namespaces in responses

2010-02-14 Thread Doughty, Michael
So I tested an existing client written using Axis2 1.4.1 and Rampart 1.4 against the Web service today written using Axis2 1.5.1 and Rampart 1.5. With encryption and signature turned off things went fine, but when encryption and signature were turned on, the client sent a proper request

Re: How java.lang.Object is handled in Axis2 1.4.1?

2010-02-13 Thread Chinmoy Chakraborty
Hello All, I am using using Axis2 1.4.1. I found if I have argument of a service of type *java.lang.Object*, Axis2 internally converts it into * javax.activation.DataHandler*. So Axis2 does support java.lang.Object as argument of a service method? Could any one please give me pointer

Strange issue with Axis2 setting improper default namespaces in responses

2010-02-13 Thread Doughty, Michael
We've been porting our Web services from another provider to Axis2. Both support XML bean bindings, and we used them in our original implementation, so that has made the porting easier than it would have been otherwise. However, I've run into an odd issue that I haven't caught up to now using

anyone can help me on exception hanlding in Axis2?

2010-02-12 Thread Li Ma
IF you can spare an hour or so with me on phone to help resolve my exception halding issue, please let me know. I'm in eastern standard time zone (New York). thanks! Li

RE: Interoperability of Axis2

2010-02-11 Thread Sandeep Khurana
From: Amila Suriarachchi [mailto:amilasuriarach...@gmail.com] Sent: Thursday, February 11, 2010 10:34 AM To: axis-user@ws.apache.org Subject: Re: Interoperability of Axis2 On Wed, Feb 10, 2010 at 9:31 PM, Sandeep Khurana sandeep_khur...@persistent.co.inmailto:sandeep_khur...@persistent.co.in

RE: Interoperability of Axis2

2010-02-11 Thread Sandeep Khurana
Any pointer on this issue will be helpful... -Sandeep From: Sandeep Khurana [mailto:sandeep_khur...@persistent.co.in] Sent: Thursday, February 11, 2010 6:52 PM To: axis-user@ws.apache.org Subject: RE: Interoperability of Axis2 I have checked the request

Problem on Using RPCServiceClient to call Axis2 Web Service

2010-02-10 Thread a f
Hello, I have a problem when I use *RPCServiceClient* to call my java web service (POJO). I created my service from my java class using Eclipse Axis2 Wizards plugins. My service reads some data from database and we are using Hibernate in our code as well. The problem is when I first call

Interoperability of Axis2

2010-02-10 Thread Sandeep Khurana
Hi, I have created a simple webservice using the POJO class in eclipse. One of the web had a custom class as a parameter. The issue that I faced was when I created the C++ client using gSoap client. The Webservice was not able to receive the custom class object and it was null Is this a known

Re: [Axis2] - Error setting SOAP 1.1

2010-02-09 Thread Juan Felipe Alvarez Saldarriaga
those from one server to the other, pretty odd eh? Thanks. On Mon, Feb 8, 2010 at 10:07 PM, Amila Suriarachchi amilasuriarach...@gmail.com wrote: On Tue, Feb 9, 2010 at 2:26 AM, Juan Felipe Alvarez Saldarriaga nebi...@gmail.com wrote: Hey!. I got some question about Axis2, in one

Re: [Axis2] - Error setting SOAP 1.1

2010-02-09 Thread Amila Suriarachchi
wrote: Hey!. I got some question about Axis2, in one machine when I create a request using Axis2 it creates this request: ?xml version='1.0' encoding='utf-8'? soapenv:Envelope xmlns:soapenv= http://schemas.xmlsoap.org/soap/envelope/; soapenv:Header wsse:Security xmlns:wsse= http

Inaccessible WSDL files after enabling both HTTP and HTTPS in Axis2/Tomcat

2010-02-08 Thread Doughty, Michael
I have a problem that I am hoping someone could shed some light on. I have enabled both HTTP and one-way HTTPS in my Tomcat 6 instance. Likewise, I have added the correct configuration information to my axis2.xml in the war distribution of Axis2 1.5.1. The HTTP port is 8080 and the HTTPS

Error Axis2 Client. Retrying request after eight minutes

2010-02-08 Thread pacoleal
Hello, I have a axis2 client. I some requests I get next situation: Aprox eight minutes after I get last trace write to, after client close the connection and retrying the request. Second try is working properly. 11:53,979 DEBUG org.apache.commons.httpclient.Wire.wire - f9c[\r

Re: Inaccessible WSDL files after enabling both HTTP and HTTPS in Axis2/Tomcat

2010-02-08 Thread Andreas Veithen
Michael, This looks like another example of the issue described in AXIS2-4465. Not sure if it is possible to make this work properly in 1.5.1, but in the current trunk the configuration mechanism to enable HTTP and HTTPS in a servlet environment is much more transparent (and known to work

[Axis2] - Error setting SOAP 1.1

2010-02-08 Thread Juan Felipe Alvarez Saldarriaga
Hey!. I got some question about Axis2, in one machine when I create a request using Axis2 it creates this request: ?xml version='1.0' encoding='utf-8'? soapenv:Envelope xmlns:soapenv=http://schemas.xmlsoap.org/soap/envelope/; soapenv:Header wsse:Security xmlns:wsse= http

Re: [Axis2] - Error setting SOAP 1.1

2010-02-08 Thread Amila Suriarachchi
On Tue, Feb 9, 2010 at 2:26 AM, Juan Felipe Alvarez Saldarriaga nebi...@gmail.com wrote: Hey!. I got some question about Axis2, in one machine when I create a request using Axis2 it creates this request: ?xml version='1.0' encoding='utf-8'? soapenv:Envelope xmlns:soapenv=http

Re: [Axis2] - Error setting SOAP 1.1

2010-02-08 Thread Juan Felipe Alvarez Saldarriaga
nebi...@gmail.com wrote: Hey!. I got some question about Axis2, in one machine when I create a request using Axis2 it creates this request: ?xml version='1.0' encoding='utf-8'? soapenv:Envelope xmlns:soapenv= http://schemas.xmlsoap.org/soap/envelope/; soapenv:Header

RE: Inaccessible WSDL files after enabling both HTTP and HTTPS in Axis2/Tomcat

2010-02-08 Thread Doughty, Michael
Thanks for the information. I am glad to hear it is fixed in the main trunk, which I hope means it will make it into the next version of Axis2. For the time being I've implemented my own logic to create these files at deployment time by modifying the original WSDL file to contain the policy

SPML based Web Service in Axis2

2010-02-08 Thread shyam shukla
Hello All, Does Axis2 support SPML v2.0 (Service Provisioning Markup Language) based we= b services? If yes, then please provide the pointer for the same. Thanks, Shyam

Preventing Axis2/Rampart from encrypting faults

2010-02-07 Thread Doughty, Michael
We've rewritten several of our services from another Web services stack to Axis2 1.5.1. We are using Rampart 1.4 to handle the WS-Security 1.0 functionality from our previous services. There have been a few differences though and I am unable to resolve some of them. The most important one

Re: Preventing Axis2/Rampart from encrypting faults

2010-02-07 Thread Amila Suriarachchi
On Mon, Feb 8, 2010 at 7:25 AM, Doughty, Michael michael_doug...@bmc.comwrote: We’ve rewritten several of our services from another Web services stack to Axis2 1.5.1. We are using Rampart 1.4 to handle the WS-Security 1.0 functionality from our previous services. There have been a few

RE: Preventing Axis2/Rampart from encrypting faults

2010-02-07 Thread Doughty, Michael
That seems to have worked. Thanks very much for your help. From: Amila Suriarachchi [mailto:amilasuriarach...@gmail.com] Sent: Sunday, February 07, 2010 9:46 PM To: axis-user@ws.apache.org Subject: Re: Preventing Axis2/Rampart from encrypting faults On Mon, Feb 8, 2010 at 7:25 AM, Doughty

Re: Axis2/C and client side SWA attachments

2010-02-05 Thread Michael Huffman
How about Axis2/Java or Axis2/C++? What are my options if I need to support SwA attachments, but still want to stay with the Axis project? --Mike. On Fri, Feb 5, 2010 at 1:24 AM, Samisa Abeysinghe sam...@wso2.com wrote: Axis2/C does not support SWA, but MTOM only. Samisa... On Fri, Feb 5

Re: Axis2/C and client side SWA attachments

2010-02-05 Thread Samisa Abeysinghe
You can use Axis2/Java. Samisa... On Sat, Feb 6, 2010 at 1:05 AM, Michael Huffman michael.mhuff...@gmail.comwrote: How about Axis2/Java or Axis2/C++? What are my options if I need to support SwA attachments, but still want to stay with the Axis project? --Mike. On Fri, Feb 5, 2010 at 1

Axis2/C and client side SWA attachments

2010-02-04 Thread Michael Huffman
I've been searching for an example of sending SwA attachments via Axis2/C. I've seen examples in Axis2/Java, but I'm a little lost as to how to accomplish the same in Axis2/C. Can someone please point me in a direction? Thanks in advance, --Mike.

Re: Axis2/C and client side SWA attachments

2010-02-04 Thread Samisa Abeysinghe
Axis2/C does not support SWA, but MTOM only. Samisa... On Fri, Feb 5, 2010 at 2:29 AM, Michael Huffman michael.mhuff...@gmail.comwrote: I've been searching for an example of sending SwA attachments via Axis2/C. I've seen examples in Axis2/Java, but I'm a little lost as to how to accomplish

Re: help needed building axis2 using NetBeans 6.8 and maven 2.2.1

2010-02-03 Thread Andreas Veithen
                                     Maven 2.2.1           external Maven 2.2.1 Ant 1.7.0               external Ant 1.7.0 C:\asf\webservices\axis2\tags\java\v1.5.1               fails fails                                   -Dmave.test.skip=true C:\asf\webservices\axis2\tags\java\v1.5.1               success success

Embedding Axis2 into an existing web-app

2010-02-03 Thread Chris Mannion
I Wonder if anyone can help, I'm trying to embed Axis2 into an existing web-app running on Tomcat 5.5 in order to server web-services from the app. I've done everything I can think of to do based on reading around the subject on various web-pages but whenever I try to hit any of the services I've

Ports used by Axis2

2010-02-03 Thread Philippe A.
Hello, I have configured the Axis2 standalone server to listen on port 9002 only (https). After starting the server, I obtained its pid and ran lsof -i to find what ports are used. I have found three: java 27253 20094u IPv4 0x600471c3880 0t0 UDP *:63786 java 27253

Re: Axis2 JAX-WS: The service class cannot be found for this AxisService

2010-02-03 Thread Andreas Veithen
: The annotations generated by wsimport are: HelloService: @WebServiceClient(name = HelloService, targetNamespace = com/wb/hello, wsdlLocation = file:/C:/axis2-1.5.1/hello2/service/hello.wsdl) HelloPortType: @WebService(name = helloPortType, targetNamespace = com/wb/hello) @SOAPBinding

Re: Embedding Axis2 into an existing web-app

2010-02-03 Thread Amila Suriarachchi
hi, this[1] may help you. thanks, Amila. [1] http://wso2.org/library/90 On Wed, Feb 3, 2010 at 4:55 PM, Chris Mannion chris.mann...@icasework.comwrote: I Wonder if anyone can help, I'm trying to embed Axis2 into an existing web-app running on Tomcat 5.5 in order to server web-services from

AW: help needed building axis2 using NetBeans 6.8 and maven 2.2.1

2010-02-02 Thread Stadelmann Josef
C:\asf\webservices\axis2\tags\java\v1.5.1 fails fails -Dmave.test.skip=true C:\asf\webservices\axis2\tags\java\v1.5.1 success success .NA. C:\asf\webservices\axis2\trunk\java

Re: axis2 configuration fine tuning: Local Transport and transportReceiver

2010-02-02 Thread gshum
I managed to configure axis2.xml with 'hostname' parameter that substitute server part of EPR. But I wonder is there a way to configure axis2 to use http 'host' header as part of generated EPR? Host value should contain the server name as it 's seen by the service consumer, which, I believe

Re: help needed building axis2 using NetBeans 6.8 and maven 2.2.1

2010-02-02 Thread Andreas Veithen
                                     Maven 2.2.1           external Maven 2.2.1 Ant 1.7.0               external Ant 1.7.0 C:\asf\webservices\axis2\tags\java\v1.5.1               fails fails                                   -Dmave.test.skip=true C:\asf\webservices\axis2\tags\java\v1.5.1               success success

Re: help needed building axis2 using NetBeans 6.8 and maven 2.2.1

2010-02-01 Thread Andreas Veithen
Josef, Please see AXIS2-3290 and AXIS2-4460. This issue has been fixed recently in the trunk. Andreas On Mon, Feb 1, 2010 at 16:35, Stadelmann Josef josef.stadelm...@axa-winterthur.ch wrote: Hi all, I’ve used subversion to catch down axis2 /trunk/java/ /tags/java/v1.5.1 /branches/java

AW: help needed building axis2 using NetBeans 6.8 and maven 2.2.1

2010-02-01 Thread Stadelmann Josef
used maven 2.2.1 from a Vista cmd window, but fails now with the latest greatest NetBeans IDE 6.8 Then I like to formulate my question differently. What source code version of axis2 shall I use to have an error free build using NetBeans IDE 6.8 with external maven 2.2.1 and ant 1.7? Thank you

Re: help needed building axis2 using NetBeans 6.8 and maven 2.2.1

2010-02-01 Thread Andreas Veithen
when I used maven 2.2.1 from a Vista cmd window, but fails now with the latest greatest NetBeans IDE 6.8 Does this imply that you had a build failure using the trunk sources and plain Maven? Then I like to formulate my question differently. What source code version of axis2 shall I use to have

AW: help needed building axis2 using NetBeans 6.8 and maven 2.2.1

2010-02-01 Thread Stadelmann Josef
for JAXWS Integration with this flag set to OFF 2. And maybe I get something wrong here but maybe of interest to you: When I use the vista cmd window ... mvn -Dmaven.test.skip=true clean install The build C:\asf\webservices\axis2\tags\java\v1.5.1\modules\jaxws-integrationmvn -Dmaven.test.skip

Re: help needed building axis2 using NetBeans 6.8 and maven 2.2.1

2010-02-01 Thread Andreas Veithen
The build C:\asf\webservices\axis2\tags\java\v1.5.1\modules\jaxws-integrationmvn -Dmaven.test.skip=true clean install fails too. That is the issue we fixed last weekend. See: http://svn.apache.org/viewvc?view=revisionrevision=904780 So are you saying I have to use the POM from the trunk

Re: Axis2 JAX-WS: The service class cannot be found for this AxisService

2010-02-01 Thread Daniel Walsh
Andreas, I annotated my service class per your example and I am still getting the No annotated classes found in the jar message when I click on the link Faulty Services c:\tomcat-6.0.20\webapps\axis2\WEB-INF\servicejars\HelloService.jarhttp://localhost:8080/axis2/services/ListFaultyServices

Re: Axis2 JAX-WS: The service class cannot be found for this AxisService

2010-02-01 Thread Andreas Veithen
click on the link Faulty Services c:\tomcat-6.0.20\webapps\axis2\WEB-INF\servicejars\HelloService.jar on the list services page at http://localhost:8080/axis2/services/listServices; My annotated implementation class, HelloPortImpl, is pretty simple: package com.wb.hello; import

Re: Axis2 JAX-WS: The service class cannot be found for this AxisService

2010-02-01 Thread Daniel Walsh
Andreas: The annotations generated by wsimport are: HelloService: @WebServiceClient(name = HelloService, targetNamespace = com/wb/hello, wsdlLocation = file:/C:/axis2-1.5.1/hello2/service/hello.wsdl) HelloPortType: @WebService(name = helloPortType, targetNamespace = com/wb/hello) @SOAPBinding

Axis2 clustering error

2010-02-01 Thread Shailesh Potnis
Hi: I am trying to get a better understanding of the following parameters and how to set them for Axis 2. 1.5 cluster: mcastBindAddress localMemberHost I have set mcastBindAddress to 127.0.0.1 and localMemberHost to IP address of one of the hosts in the cluster. (I tried to set

Re: Axis2 clustering error

2010-02-01 Thread Shailesh Potnis
It got resolved when I commented out the localMemberHost element. Thank You and Best Regards Sincerely Shailesh From: Shailesh Potnis potnis2...@yahoo.com To: axis-user@ws.apache.org Sent: Mon, February 1, 2010 4:58:13 PM Subject: Axis2 clustering error

Re: help needed building axis2 using NetBeans 6.8 and maven 2.2.1

2010-02-01 Thread Amila Suriarachchi
and in absence of a well running build I switched to the tags/v1.5.1 sources, which did it perfectly when I used maven 2.2.1 from a Vista cmd window, but fails now with the latest greatest NetBeans IDE 6.8 Then I like to formulate my question differently. What source code version of axis2 shall I use

Re: Axis2: SampleService example from Axis 2 webpage gets exception

2010-01-31 Thread Daniel Walsh
Andreas, Yup, 1.5.1 did it. Thanks. Dan On Fri, Jan 29, 2010 at 11:20 AM, Andreas Veithen andreas.veit...@gmail.com wrote: That probably means that the Axis2 version you used to compile the code is not the same as the one deployed in Tomcat. In particular, axis2-std-1.0-bin doesn't sound

Re: Axis2 DII client exception : Unexpected subelement arg0

2010-01-31 Thread Tarus
/wsdl:definitions -- View this message in context: http://old.nabble.com/Axis2-DII-client-exception-%3A-Unexpected-subelement-arg0-tp27338174p27338174.html Sent from the Axis - User mailing list archive at Nabble.com. -- Amila Suriarachchi WSO2 Inc. blog: http

Axis2: SampleService example from Axis 2 webpage gets exception

2010-01-29 Thread Daniel Walsh
I'm trying to build and run the SampleService example from the Apache Axis2 webpage at http://ws.apache.org/axis2/1_5_1/userguide-buildingservices.html#buildserviceslistings 8-10. When I try to run the client I get org.apache.axis2.AxisFault: org.apache.axiom.om.OMFactory.createOMText(Lorg/apache

Re: AXIS2-2883

2010-01-29 Thread Nirav Shah
...@opensource.lkwrote: Are you on Windows ? If so this is a common problem, in Windows it takes a while to actually close the connection. Thanks Deepal.. Even after doing the cleanup's. I still see the CLOSE_WAIT appears. Axis2 Client makes a call to Axis 1.4 service and i get a response from

Re: Axis2: SampleService example from Axis 2 webpage gets exception

2010-01-29 Thread Andreas Veithen
That probably means that the Axis2 version you used to compile the code is not the same as the one deployed in Tomcat. In particular, axis2-std-1.0-bin doesn't sound good. If you are starting with Axis2 you should use version 1.5.1, unless there is a particular requirement to use a version as old

Serialization error while deploying Axis2 Cluster

2010-01-29 Thread Shailesh Potnis
Hi All: I am getting the following error when I deploy a sinple service version to axis2 cluster. Here is the error Could not send command message ContextClusteringCommandCollection to group since it is not serializable. Also it seems that it cannot bind to one of the servers in the cluster

Re: Loading Axis2 repository from classpath instead of file system

2010-01-28 Thread Andreas Veithen
Yes, this is possible, but you need to add services.list and modules.list files so that Axis2 is able to locate your services and modules. By searching for these two names on the internet and in the mailing list archives, you should be able to find some examples. If not, let us know and we

Re: Loading Axis2 repository from classpath instead of file system

2010-01-28 Thread Stephanos Piperoglou
Great East London Software Company übermittelt Andreas Veithen andreas.veit...@gmail.com 28/01/2010 16:08 Please respond to axis-user@ws.apache.org To axis-user@ws.apache.org cc Subject Re: Loading Axis2 repository from classpath instead of file system Yes, this is possible, but you need

Re: Axis2 JAX-WS: The service class cannot be found for this AxisService

2010-01-28 Thread Daniel Walsh
the exception when trying to run the client), now the service doesn't even deploy. Clicking through the faulty services link on the listServices page gives me this: Error: No annotated classes found in the jar: file:/c:/tomcat-6.0.20/webapps/axis2/WEB-INF/servicejars/HelloService.jar. Service

Re: Axis2 JAX-WS: The service class cannot be found for this AxisService

2010-01-28 Thread Andreas Veithen
by wsimport), the attributes have a different meaning. There is an example here [1]. Note that this requirement is not specific to Axis2, but comes from JSR-109/181. Andreas [1] https://svn.apache.org/repos/asf/webservices/axis2/scratch/java/veithen/AXIS2-4611/jaxws-calculator-aar/src/main/java

Re: Axis2 DII client exception : Unexpected subelement arg0

2010-01-28 Thread Amila Suriarachchi
http:address location=http://localhost/TestGateway/TestGateway.asmx / /wsdl:port /wsdl:service /wsdl:definitions -- View this message in context: http://old.nabble.com/Axis2-DII-client-exception-%3A-Unexpected-subelement-arg0-tp27338174p27338174.html Sent from the Axis - User mailing

Re: [Axis2] How to deploy Axis2 in https

2010-01-28 Thread Amila Suriarachchi
On Sat, Dec 16, 2006 at 5:27 PM, Subash Devkota sdevk...@d2hawkeye.comwrote: Ruchith, My https configuration does not require client to authenticate itself. I have already included security in Axis2 with rampart. It works fine when axis server is hosted in http. But, when i hosted the same

Re: AXIS2-2883

2010-01-28 Thread Nirav Shah
Thanks Deepal.. Even after doing the cleanup's. I still see the CLOSE_WAIT appears. Axis2 Client makes a call to Axis 1.4 service and i get a response from the service. After 30 seconds, i see a CLOSE_WAIT. If i make 2 concurrent requests, i see 2 CLOSE_WAIT (netstat -a | grep CLOSE_WAIT

Re: AXIS2-2883

2010-01-28 Thread Deepal Jayasinghe
Are you on Windows ? If so this is a common problem, in Windows it takes a while to actually close the connection. Thanks Deepal.. Even after doing the cleanup's. I still see the CLOSE_WAIT appears. Axis2 Client makes a call to Axis 1.4 service and i get a response from the service. After 30

Axis2 DII client exception : Unexpected subelement arg0

2010-01-27 Thread Tarus
/Axis2-DII-client-exception-%3A-Unexpected-subelement-arg0-tp27338174p27338174.html Sent from the Axis - User mailing list archive at Nabble.com.

Re: AXIS2-2883

2010-01-27 Thread Nirav Shah
, Can you advice?? I am using Axis 2.1.5.1... I do a soapBinding._getServiceClient().getOptions().setTimeOutinMillis() for every call made to another webservice. Do i need to cleanup transport after every call or does the AXIS2-2883 fix cleans up after every request. Is these issue also

Re: AXIS2-2883

2010-01-27 Thread Deepal Jayasinghe
2.1.5.1... I do a soapBinding._getServiceClient().getOptions().setTimeOutinMillis() for every call made to another webservice. Do i need to cleanup transport after every call or does the AXIS2-2883 fix cleans up after every

Re: archive lib directory and 3rd party libraries (axis2/tomcat 6)

2010-01-27 Thread Charles Galpin
Thanks for your help with this Andreas I put a bunch of debug statements in various places and found the WebappClassLoader was being used consistently throughout. I still don't understand what was happening in this SQLException case, but I did end up finding my problem(s) stem from the use of

Axis2 JAX-WS: The service class cannot be found for this AxisService

2010-01-27 Thread Daniel Walsh
I have written a simple hello application in Axis2 JAX-WS and when I run my client I am getting an error that the service class cannot be found. In this email I'm including the exact message, my services.xml file, a jar output of my aar file, my wsdl file, my schema file, a snippet from

Re: Axis2 JAX-WS: The service class cannot be found for this AxisService

2010-01-27 Thread Andreas Veithen
Daniel, Please have a look at AXIS2-4611 [1]. If deploying as a servicejar is not an option for you, feel free to vote for the issue and leave a comment. Andreas [1] https://issues.apache.org/jira/browse/AXIS2-4611 On Wed, Jan 27, 2010 at 21:32, Daniel Walsh walsh94...@gmail.com wrote: I

Axis2 maven plugin: repository 301 Moved Permanently

2010-01-26 Thread Dzmitry Lazerka
Hello, I get several errors while using axis2-wsdl2code-maven-plugin, just one of them: Downloading: http://ws.zones.apache.org/repository2/org/apache/axis2/axis2-xmlbeans/1.5.1/axis2-xmlbeans-1.5.1.pom [INFO] Unable to find resource 'org.apache.axis2:axis2-xmlbeans:pom:1.5.1' in repository

Re: Axis2 maven plugin: repository 301 Moved Permanently

2010-01-26 Thread Andreas Veithen
That is because java.net messed up their repository. See [1] for details. Note that this thread discusses a problem with building the Axis2 sources (which is a bit different from just using axis2-wsdl2code-maven-plugin), but the root cause is the same. Andreas [1] http://markmail.org/message

Re: AXIS2-2883

2010-01-26 Thread Nirav Shah
Hi Thilina/Glen, Can you advice?? I am using Axis 2.1.5.1... I do a soapBinding._getServiceClient().getOptions().setTimeOutinMillis() for every call made to another webservice. Do i need to cleanup transport after every call or does the AXIS2-2883 fix cleans up after every request

Re: AXIS2-2883

2010-01-26 Thread Deepal jayasinghe
every call or does the AXIS2-2883 fix cleans up after every request. Is these issue also fixed for https ?? Regards, Nirav On Mon, Jan 25, 2010 at 8:01 AM, Nirav Shah snirav.s...@gmail.com mailto:snirav.s...@gmail.com wrote: Anyone??Would appreciate valuable suggestions

Re: AXIS2-2883

2010-01-26 Thread Nirav Shah
i need to cleanup transport after every call or does the AXIS2-2883 fix cleans up after every request. Is these issue also fixed for https ?? Regards, Nirav On Mon, Jan 25, 2010 at 8:01 AM, Nirav Shah snirav.s...@gmail.com mailto:snirav.s...@gmail.com wrote: Anyone

Re: [Axis2] How to deploy Axis2 in https

2010-01-26 Thread stevens_wu
Does anybody know how to deploy axis2.war to https port in geronimo 2.1?I have deployed axis2.war to http port in geronomo 2.1. Any suggestions will be appreciated. Subash Devkota wrote: Hi all, I have problem deploying axis2 1.0 in https. I need to deploy my axis2 1.0 server over https

Re: AXIS2-2883

2010-01-25 Thread Nirav Shah
Anyone??Would appreciate valuable suggestions.. On Sat, Jan 23, 2010 at 12:35 PM, Nirav Shah snirav.s...@gmail.com wrote: Hi, I have been reading some different sides of this defect. Based on the Release Email sent out, it said the Connections are released automatically and should not

Re: archive lib directory and 3rd party libraries (axis2/tomcat 6)

2010-01-25 Thread Charles Galpin
to work around this other than putting the libraries in the axis2/WEB-INF/lib directory? To be clear I have other problems beside this. A good example is we have a custom log4j appender we use which is in Shared.jar. This cannot be found either unless it's in axis2/WEB-INF/lib but your

Re: archive lib directory and 3rd party libraries (axis2/tomcat 6)

2010-01-25 Thread Andreas Veithen
13:38:58 ERROR- Aborted due to startup failure. Aborted due to startup failure: Error initializing CORBA ORB. Unexpected CORBA error. Is there any other way to work around this other than putting the libraries in the axis2/WEB-INF/lib directory? To be clear I have other problems beside

Re: archive lib directory and 3rd party libraries (axis2/tomcat 6)

2010-01-25 Thread Charles Galpin
:38:58 ERROR- Aborted due to startup failure. Aborted due to startup failure: Error initializing CORBA ORB. Unexpected CORBA error. Is there any other way to work around this other than putting the libraries in the axis2/WEB-INF/lib directory? To be clear I have other problems beside this. A good

Re: archive lib directory and 3rd party libraries (axis2/tomcat 6)

2010-01-25 Thread Andreas Veithen
Charles, According to the stack trace you posted, the error occurs inside a thread that is neither managed by the servlet container, nor by Axis2: 13:38:58 DEBUG- Stack trace: org.omg.CORBA.INITIALIZE: can't instantiate default ORB implementation org.jacorb.orb.ORB vmcid: 0x0 minor code: 0

Re: archive lib directory and 3rd party libraries (axis2/tomcat 6)

2010-01-25 Thread Charles Galpin
/.aar charles On Jan 25, 2010, at 3:12 PM, Andreas Veithen wrote: Charles, According to the stack trace you posted, the error occurs inside a thread that is neither managed by the servlet container, nor by Axis2: 13:38:58 DEBUG- Stack trace: org.omg.CORBA.INITIALIZE: can't instantiate

Re: archive lib directory and 3rd party libraries (axis2/tomcat 6)

2010-01-25 Thread Andreas Veithen
Charles, That might actually explain the issue. Here is some additional info: * ORB.init looks up classes from the thread context class loader (I checked that in the JRE sources). * ServiceTCCL=composite means that Axis2 sets the TCCL to the service class loader when entering a service method

Re: archive lib directory and 3rd party libraries (axis2/tomcat 6)

2010-01-25 Thread Charles Galpin
class loader (I checked that in the JRE sources). * ServiceTCCL=composite means that Axis2 sets the TCCL to the service class loader when entering a service method and resets it after the method exits. * A new thread that is being created inherits the TCCL from its parent thread (see Javadoc

  1   2   3   4   5   6   7   8   9   10   >