Re: undefined 'scandir' and 'alphsort'

2010-02-19 Thread ramesh Gopal
These function are available only from SOL 10 onwards. You will probably need to write an equivalent of those functions Your Mail works best with the New Yahoo Optimized IE8. Get it NOW! http://downloads.yahoo.com/in/internetexplorer/

Re: Client API problem

2010-02-19 Thread Amir Mousavizadegan
For your first question, it seems to me you are losing a socket connection or timeout on the connection to server, check your network. For your second problem, it may be is related to drop of socket from first question. thx Amir - Original Message - From: Fan, Jan-fon

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 the

Re: Axis2-1.5.1 and user exceptions

2010-02-19 Thread Li Ma
I have been puzzled by this issue for long time. Seams like at this point, using contract-first approach is the only solution for now. But it will still be very very helpful if something can be done so code-first approach can work too. Axis1 definitely worked. I can imagine lots of people are

Message-level security on Axis 2 client against WebLogic web service

2010-02-19 Thread Maria Aneva
We are trying to apply message-level security to our Web Services - encrypting and singing the SOAP messages. Our web service is deployed on Oracle WebLogic 10.3 application server. It complies with standards: * WS Security 1.1 * WS Security Policy 1.2 * WS Policy 1.2 For

RE: Axis2-1.5.1 and user exceptions

2010-02-19 Thread Martin Gainty
Hello Li the biggest problem with a contract is you are bound to fixed record doc-literal-encoded has been around for 7 years and has been deployed numerous times on numerous production sites Here is a good whitepaper to read on the advantages of doc-literal over RPC

Client API problem

2010-02-18 Thread Fan, Jan-fon
Hi, I am using AXIS2C client api in my application to access web services which is developed with .NET. The way that I send my request is as below: /* Send request */ ret_node = axis2_svc_client_send_receive(svc_client, env, payload); if (ret_node) { axis2_char_t *om_str

Setting up the server side

2010-02-18 Thread StevenN82
Hello, I'm having troubles with setting up a webservice succesfully. I have to develop a rahter complex webservice and client. The client was not a problem. I generated the classes with WSDL2Java with option -g and -ss. I dit this because I have 2 wsdl files (thus 2 services) who use the same

Re: Sandesha2 1.5 Release Candidate

2010-02-18 Thread David Parsons1
Hi Amila, Definitely. I was planning on getting to this asap. I will try to get to it today and put the vote out. Regards, Dave Dave Parsons Web Services Development INTERNAL: David Parsons1/UK/i...@ibmgb :: DE3F20 :: 246930 EXTERNAL: parso...@uk.ibm.com :: (01962) 816930 Mail Point 211,

Jar/Mar files in temp directory are not getting deleted

2010-02-18 Thread Matthias.Gaiser
Hi all, after using Axis2 for about a year, I have discovered that Axis2 creates a lot of temporary jar/mar/aar copies on my temp folder. That way in the last 7 months 1256 folders with 18722 files were created which now use about 4GB of my disk space. It seems to me that every time I restart

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

Link to Rampart Module

2010-02-18 Thread Lorenzo Carnevale
Why does http://ws.apache.org/axis2/ does still link (via modules section) to http://ws.apache.org/axis2/modules/rampart/1_3/security-module.html instead of http://ws.apache.org/rampart/ ? Is this intended?

Can't get Axis handlers to work

2010-02-18 Thread Joe Ammann
Hi list I'm about to write my first module with Axis2 1.5. Here's what I did until now to my existing service: - write 2 classes SimpleModule (implements org.apache.axis2.modules.Module) and Simple handler (extends AbstractHandler implements Handler) - write module.xml and put it together

Re: Can't get Axis handlers to work

2010-02-18 Thread Joe Ammann
On Thursday 18 February 2010 16:15:03 Joe Ammann wrote: And - my problem - the handler.invoke() is never called. Any hints what I'm doing wrong? Ok, https://issues.apache.org/jira/browse/AXIS2-3588 was extremly helpful :-) Of course, I also got the XML tags case wrong :-/ Now it works --

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
0. intercepting ... just looking at it or doing something clever by a program-code? Just Looking at it - you can use TcpMonitor to see your soap/xml code traveling to the server (TcpMonitor is an interceptor too) Just Looking at it - you can use the soap-monitoring module (did

How to tailor our generated client XML

2010-02-18 Thread Damian Carey
Hello, We have created client software using ADB and a WSDL XSD files supplied by a third party who controls the Web Service. We have no control over the Web Service at all, and we are not yet able to test against it. We do have some sample XML as to what is expected. In checking our generated

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

Re: How to create a SSL client to support https

2010-02-17 Thread Ashok P
Hi Dumindu, As per your suggestions if client won't need any authentication, only SERVER_CERT is required. I am not sure why SERVER_CERT also required. Here server certificate may expire and so on. Is it easy to make changes in src\core\transport\http\sender\ssl\ssl_utils.c for

Rampart basic: security processing failed (actions mismatch)

2010-02-17 Thread Doughty, Michael
Hey guys, as I mentioned in the last request I sent to the list, I was unable to make use the Policy-based Rampart configuration due to the malformation of the SOAP messages – Rampart seems to have replace all empty default namespaces with the parent element’s default namespace, causing both

Re: Sandesha2 1.5 Release Candidate

2010-02-17 Thread Amila Suriarachchi
since rampart 1.5 has been released shall we do the sandesha release? thanks, Amila. On Tue, Oct 6, 2009 at 9:07 PM, David Parsons1 parso...@uk.ibm.com wrote: Hi, I have created a Sandesha2 1.5 release candidate here:

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 and

Re: Receive WSSecurityException (The signature verification failed)

2010-02-16 Thread Hans-Bernhard Friedrich
Hi! Here comes the stactrace our customer sent us: cause: org.apache.ws.security.WSSecurityException (The signature verification failed) ] ACI_FAULT_TRACE[ de.jbfagree.babylon.ps0.axis.faults.client.ClientBabylonFault: Fehler beim Verarbeiten des Security-Headers at

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
Hi Andreas, thank you for your excellent analysis. It is exactly what I are faced with. I just learned that what is built with an earlier version of maven is not what actually works on a given project. I was just failing into this trap because I've built all versions of maven from sources and

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

should java2wsdl add wsaw:UsingAddressing element to wsdl?

2010-02-16 Thread emengy
Hi, I'm using axis2.14 java2wsdl batch to create a wsdl but it seem the output is missing wsaw:UsingAddressing element, does it mean it was generated wrongly? Does wsaw:UsingAddressing is mandatory element for using axis2 WS-Addressing module ? Thanks -- View this message in context:

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

2010-02-16 Thread Stadelmann Josef
Has anyone manged to write an efficient file transfer web service providing A ) Methodes to up-load and down-load ASCII- and Binary-Files? B) Passing with the call a string pr other type parameter containing the remote path to the file? C) Has anyone managed to do this for a Microsoft .NET 3.5

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

Problem with wsdl2code..

2010-02-16 Thread Harlan Gray
Hi, I'm using Maven to create a web service application. When I build my project using a new repository, I get the following error from the axis2-wsdl2code-maven-plugin at the end of my log. Internal error in the plugin manager executing goal

Re: using faults w/ wsdl2c

2010-02-15 Thread Selvaratnam Uthaiyashankar
On Sat, Feb 13, 2010 at 12:07 AM, Sam Carleton scarle...@gmail.com wrote: Shankar, Thank you.  I was wondering: It is my understanding that when folks on this mailing list refer to axis2, they mean axis2/java not axis2/c.  Is this a correct statement? Yes, generally when someone mentions

RE: Interoperability of Axis2

2010-02-15 Thread Sandeep Khurana
I tried the reverse way. Generated the java server side classes from the generated WSDL (from the POJO deployed webservice) and then deployed the WS (using this new generated code). Now I was able to get the custom object as a parameter in the web method. But I am still not getting why the

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
Actually, I also faced a similar problem while throwing a RemoteException from POJO. Couldn't get a solution for that. Does anybody have a guide for exception handling or the best practices for this? -Sandeep From: Li Ma [mailto:lim...@gmail.com] Sent: Monday,

RE: Please help on Axis2 Exception handling

2010-02-15 Thread Martin Gainty
the client needs to disable setExceptionToBeThrownOnSOAPFault ServiceClient.setExceptionToBeThrownOnSOAPFault now the client is free to handle any exception.. you will need to configure the client method to throw your exception which you can do at the phase level ConfigurationContext

Receive WSSecurityException (The signature verification failed)

2010-02-15 Thread Hans-Bernhard Friedrich
Hi, I work on a webservice client and I always receive the same error when I try to make a request to our clients webservice. org.apache.ws.security.WSSecurityException (The signature verification failed) - Our client's webservice is axis-based, more I don't know - I use rampart 1.3 and

Is it normal that my cypher in SignatureValue has blanks instead of returns

2010-02-15 Thread Hans-Bernhard Friedrich
Hello, This is related to my previous mail Receive WSSecurityException (The signature verification failed). But I think this should be discussed seperatly. When I examine my requests with wireshark my SignatuerValue looks has no return and ist just one string with blanks every 78 characters.

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

Re: Receive WSSecurityException (The signature verification failed)

2010-02-15 Thread Nandana Mihindukulasooriya
Hans, Can you post the stacktrace too. Might be helpful to figure out what exactly is happening. regards, Nandana On Mon, Feb 15, 2010 at 7:17 PM, Hans-Bernhard Friedrich h.friedr...@levigo.de wrote: Hi, I work on a webservice client and I always receive the same error when I try to

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

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 the

RE: Initializing Web Service (Server) before first request received

2010-02-14 Thread Oded Onn
First, thank you Deepal, Michael, Charles and Kouki for your help. Second, after playing with different options, I ended up with a very easy solution. 1. The business logic class implements the interface org.apache.axis2.engine.ServiceLifeCycle 2. Add the class attribute to your service in the

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 that

Problem with wsdl2code..

2010-02-14 Thread Harlan Gray
Hi, I am building a web service project with Maven 2.0.9 and Netbeans 6.8. When I try to build the project I get the following log with an error at the end. This error occurs when I use a new location for the repository (made the change localRepositoryD:/maven_repo/localRepository in settings.xml

Re: Parameter ordering in SOAP Requests

2010-02-13 Thread Amila Suriarachchi
On Thu, Feb 11, 2010 at 9:02 PM, Larry Gilliam lgill...@innovim.com wrote: Hello, Is there any way to enable users to pass SOAP and/or REST parameters in any order? I can't quite understand why the order (as per the WSDL) is necessary since the input is name/value pairs. If there is a

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 on this?

RE: xsi:type

2010-02-13 Thread Rahul Rulz
Hi Martin, I have been trying to get this working for months but was not successful . I would like to know if it can be done..Please reply. Thanks,Raghav.  --- On Fri, 2/12/10, Rahul Rulz ragul...@yahoo.com wrote: From: Rahul Rulz ragul...@yahoo.com Subject: RE: xsi:type To:

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

Re: using faults w/ wsdl2c

2010-02-12 Thread Sam Carleton
Shankar, Thank you. I was wondering: It is my understanding that when folks on this mailing list refer to axis2, they mean axis2/java not axis2/c. Is this a correct statement? Sam On Fri, Feb 12, 2010 at 2:23 AM, Selvaratnam Uthaiyashankar uthaiyashan...@gmail.com wrote: Hi Sam, You can

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 : Need suggestions on Axis/c client stub

2010-02-11 Thread Olivier Mengué
De: Nadir Amra Axis-C++ client-side is not broken or buggy. It is perfectly functional and in some cases much easier to use than axis2/C. So why Axis2/C was created? I'm insterested in the history of the project. Is it because C support is not complete. in Axis C++ ? (according to

REST: HTTP_PUT: Debugging

2010-02-11 Thread Satish Bvs
Hi, We started adopting Axis2C framework for our project recently. And thank you for the the platform work. Currently we are stuck with a roadblock and seek your help or guidance. Problem Statement, Unable to place an successful HTTP: PUT request for an

RE : Need suggestions on Axis/c client stub

2010-02-11 Thread Nadir Amra
Actually, C support is as complete as the C++ support. But only on client side, and only for doc/literal. From an old post when I asked the question long ago: AxisC++ is a very good, solid, 2nd generation Web Services stack written in C++. It supports being a client to UDDI, and

Re: using faults w/ wsdl2c

2010-02-11 Thread Sam Carleton
Ok, I am trying to figure out to use faults with Axis2/C. There was a thread back in December that said there is some new features in the latest axis2 WSDL2C generator code. Is my understanding that on this mailing list when folks refer to axis2, they mean axis2/java not axis2/c, correct? At

Re: using faults w/ wsdl2c

2010-02-11 Thread Selvaratnam Uthaiyashankar
Hi Sam, You can take the checkout from https://svn.apache.org/repos/asf/webservices/axis2/trunk/java/ Regards, Shankar On Fri, Feb 12, 2010 at 9:30 AM, Sam Carleton scarle...@gmail.com wrote: Ok, I am trying to figure out to use faults with Axis2/C.  There was a thread back in December that

RE: Interoperability of Axis2

2010-02-11 Thread Sandeep Khurana
I have checked the request and response messages. wsdl:message name=getMethodRequest / wsdl:message name=getMethodResponse They are present in the WSDL file. Actually I am able to get String Objects but not this Custom Objects. Any pointers will be helpful? -Sandeep

Problem with service that is not found during WSDL parsing...

2010-02-11 Thread Mauro Brasil
Hello there! I'm experiencing some problems while parsing an especific WSDL to generate C code for a Visual C++ application. I have already parsed another 4 WSDL regarding most of web services I need on my application, and everything works pretty fine with them. Diferently of the others, this

Parameter ordering in SOAP Requests

2010-02-11 Thread Larry Gilliam
Hello, Is there any way to enable users to pass SOAP and/or REST parameters in any order? I can't quite understand why the order (as per the WSDL) is necessary since the input is name/value pairs. If there is a way to accept input in any order, please advise how. If not, a brief

Re: xsi:type

2010-02-11 Thread Rahul Rulz
Hi Users, can anyone help me out please... Thanks,Raghav.   --- On Thu, 2/11/10, Rahul Rulz ragul...@yahoo.com wrote: From: Rahul Rulz ragul...@yahoo.com Subject: xsi:type To: axis-user@ws.apache.org Date: Thursday, February 11, 2010, 11:03 AM Hi All, I am looking to include xsi:type in

Anyone know how to deserialize xml into java object?

2010-02-11 Thread Ivan Cheung
Hi, I have web service that I need to integrate with, the service is unable and slow. I am trying to mock it out (by building a simulator) so in case it is down, we can use the simulator and our dev is not affected. I have used wsdl2java to generate the client stub, I was able to serialized the

RE: xsi:type

2010-02-11 Thread Martin Gainty
we would need to see the schema instance namespace declaration such as schema xmlns:xsi=http://www.w3.org/2001/XMLSchema-instance... Martin Gainty __ Verzicht und Vertraulichkeitanmerkung/Note de déni et de confidentialité Diese Nachricht ist

RE: com.ctc.wstx.exc.WstxEOFException

2010-02-11 Thread Colin Sharples [DATACOM]
No, I'm pretty sure this is a problem in the generated client. When I used tcpmon, I couldn't get the error at all. I don't get the error when calling the web service from SoapUI, nor from the Eclipse Web Services Test explorer. I wrote a standalone Java program using the generated client stub

RE: com.ctc.wstx.exc.WstxEOFException

2010-02-11 Thread Martin Gainty
can you publish the wsdl and the accompanying xsds? Martin Gainty __ Verzicht und Vertraulichkeitanmerkung/Note de déni et de confidentialité Diese Nachricht ist vertraulich. Sollten Sie nicht der vorgesehene Empfaenger sein, so bitten wir

RE: xsi:type

2010-02-11 Thread Rahul Rulz
Hi Martin, Thanks for your reply.. basically I want to include the XSi:type in the responses made from my server.. This is the response I am getting from my server presently :  soapenv:Envelope xmlns:soapenv=http://schemas.xmlsoap.org/soap/envelope/; xmlns:xsd=http://www.w3.org/2001/XMLSchema;

RE: com.ctc.wstx.exc.WstxEOFException

2010-02-11 Thread Colin Sharples [DATACOM]
Not easily, as it is commercially confidential. It seems to have resolved itself now. I had renamed a field in one of the domain objects, but the schema in the WSDL was still referring to the old field name. I changed the schema to use the correct field name, and now the generated client

Re: Basic question on WSDL

2010-02-11 Thread Amila Suriarachchi
this[1] may help you. please see how to specify headers. thanks, Amila. [1] http://wso2.org/library/2935 On Fri, Feb 12, 2010 at 7:48 AM, Yashwanth Rajaram -X (yrajaram - Zensar at Cisco) yraja...@cisco.com wrote: Hi All: I want to expose a WebService that would take a single parameter.

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 and

RE : Need suggestions on Axis/c client stub

2010-02-10 Thread Olivier Mengué
Hi I'm a recent Axis2/C user. I don't know about Axis-C/C++. Ashok P wrote: 3) As per the documentation, axis-c supports ADB binding for client code generations and none option for raw xml in/out. Is ADB is efficient to consume non-axis web services? I don't know what is ADB binding. With

RE : Need suggestions on Axis/c client stub

2010-02-10 Thread Nadir Amra
Axis-C++ client-side is not broken or buggy. It is perfectly functional and in some cases much easier to use than axis2/C. Nadir Amra Olivier Mengué omen...@oxymel.com wrote on 02/10/2010 04:41:51 AM: [image removed] RE : Need suggestions on Axis/c client stub Olivier Mengué

AXIS2C: REST: HTTP_POST: Implementation of NULL response

2010-02-10 Thread Satish Bvs
Hi, For web service with REST implementation, HTTP POST operation, We wanted to implement a NULL response i.e. the actual HTTP OK response is interpreted as successful HTTP POST operation. Since every web service operation return and axiom_node_t

Re: RE : Need suggestions on Axis/c client stub

2010-02-10 Thread Ashok P
Thanks to all for suggestions and inputs. Any suggestions on point-1 - data type mapping? for example if you check typemap.dat in case of gsoap which gives us a easy way to map data types. I am planning to take a look on code generation source code. Will it work if I change for data types? I

RE: Location to call getCurrentMessageContext

2010-02-10 Thread Christian Schouten
Hi Deepal, Thanks, it sounds very logical and it is probably exactly what I need to first retrieve client, then context, then message. I am just wondering though how to retrieve the service client instance. I need to place my code in a JAR that is called automatically by ODE upon finding a

change EPR

2010-02-10 Thread Sandeep Khurana
I am creating simple pojo webservice like TemperatureConversion. I was able to make deploy it and generate wsdl from it. The problem is that I want to change the EPR / address from http://172.x.x.x:8080/MyWebservice/services/TemperatureConversion to

RE: Initializing Web Service (Server) before first request received

2010-02-10 Thread Oded Onn
Deepal, Can you please elaborate a bit more. I am not sure I quite understand what you mean. Thanks, Oded -Original Message- From: Deepal Jayasinghe [mailto:dee...@opensource.lk] Sent: Wednesday, February 10, 2010 00:58 To: axis-user@ws.apache.org Subject: Re: Initializing Web Service

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 the

RE: Initializing Web Service (Server) before first request received

2010-02-10 Thread Doughty, Michael
In your services.xml file, add 'scope= application' to the service element, as follows: service name=***your service name*** scope= application The service will then be deployable in application mode. Now a question to Deepal... will this actually load the implementation class immediately on

Re: change EPR

2010-02-10 Thread Charles Galpin
http://amilachinthaka.blogspot.com/2010/01/changing-axis2-application-path.html hth charles On Feb 10, 2010, at 4:16 AM, Sandeep Khurana wrote: I am creating simple pojo webservice like TemperatureConversion. I was able to make deploy it and generate wsdl from it. The problem is that I want

Re: Initializing Web Service (Server) before first request received

2010-02-10 Thread Charles Galpin
I'm not sure I ever fully understood this, even after reading the docs on the service lifecycle a few times. What I found was that the methods did not fire the same way during hot deployment as they do on startup so don't get fooled by that. The best I came up with was use application scope,

RE: change EPR

2010-02-10 Thread Sandeep Khurana
Thanks. That was very simple to follow and it woked. From: Charles Galpin [mailto:cgal...@lhsw.com] Sent: Wednesday, February 10, 2010 5:49 PM To: axis-user@ws.apache.org Subject: Re: change EPR

Problem while compiling proxies created by Axis 1.4

2010-02-10 Thread suraj.mundada
Hi, I am trying to create client proxies/stub from a WSDL using Axis 1.4 WSDL2Java utility. Stub is created properly but fails during compilation. Error I get is [javac] myclass.java:18: Object() in java.lang.Object cannot be applied to (java.lang.String) [javac]

Re: WSDL2Java throws IOException

2010-02-10 Thread Venkatesh Audinarayanan
After I renamed the namespace name to fix the issue, started getting an NPE in Axis parser code (with both 1.2 and 1.4): java.lang.NullPointerException at org.apache.axis.wsdl.toJava.JavaBeanHelperWriter.getAsFieldName(JavaB eanHelperWriter.java:435) at

Re: WS-Eventing

2010-02-10 Thread Yashvant chauhan
It is working fine we don't required to get message at Client.java ListenerService1.java is getting the published message On 1/10/10, Yashvant chauhan c.yashv...@gmail.com wrote: Hi Prabath, Can you please upload or mail the source code of following. 1) axis2-savan-event-sink 2)

Re: Initializing Web Service (Server) before first request received

2010-02-10 Thread KOUKI Fakhreddine
Hello, If you are using Tomcat , you can create an InitializerServlet Class that extend HttpServlet , you override the init() method and put into a call to your business logic. On the web.xml : servlet servlet-nameTheInitializerServlet/servlet-name

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

import xsd into wsdl2

2010-02-10 Thread satheeshsamiappan
Hi everyone, I have a wsdl2 file like given below: ?xml version=1.0 encoding=UTF-8? wsdl2:description xmlns:wsdl2=http://www.w3.org/ns/wsdl; xmlns:tns=http://services.rest.myproject.com; xmlns:wsoap=http://www.w3.org/ns/wsdl/soap; xmlns:wrpc=http://www.w3.org/ns/wsdl/rpc;

com.ctc.wstx.exc.WstxEOFException

2010-02-10 Thread Colin Sharples [DATACOM]
I have an Axis2 web service that was working fine, but in the last couple of days has started misbehaving. Every now and then, the client gets a com.ctc.wstx.exc.WstxEOFException when calling OperationClient.execute(). The exception detail says: Unexpected EOF in prolog at [row,col

Re: Location to call getCurrentMessageContext

2010-02-10 Thread Deepal Jayasinghe
I think you should ask that from ODE first, if they know how to access ServiceClient instances, then you know the rest. Deepal Christian Schouten wrote: Hi Deepal, Thanks, it sounds very logical and it is probably exactly what I need to first retrieve client, then context, then message. I am

Re: com.ctc.wstx.exc.WstxEOFException

2010-02-10 Thread Amila Suriarachchi
On Thu, Feb 11, 2010 at 2:26 AM, Colin Sharples [DATACOM] colin.sharp...@datacom.co.nz wrote: I have an Axis2 web service that was working fine, but in the last couple of days has started misbehaving. Every now and then, the client gets a *com.ctc.wstx.exc.WstxEOFException *when calling

xsi:type

2010-02-10 Thread Rahul Rulz
Hi All, I am looking to include xsi:type in the responses from my server for a ling time :( .. Have not done it till now..Could anyone pl. help me as to do it..I have created a service from scratch(not from WSDL generated java code) which uses message receivers and send the responses. I am

Need suggestions on Axis/c client stub

2010-02-09 Thread Ashok P
I want to clear my understandings about axis-c/c++. I got few answers in email archives and like to understand thoroughly. Newbie to Axis-c.. :) I apologize for any repeated questions. 1) Can I provide custom mappings for C/C++ data types for code generation tool? Wsdl2c/wsd2ws generates the

Re: Need suggestions on Axis/c client stub

2010-02-09 Thread paul . deadman
I cant provide an answer to all your questions, but for this question:- 2) My requirement is to generate the clients for non-axis web services like .net, JBOSS-WS, etc. So Is there any limitations for such clients? I believe all web services can easily consumed with axis/c client considering

Re: Need suggestions on Axis/c client stub

2010-02-09 Thread Nadir Amra
As far as the Axis-C++ client, it is recommended for production useas long as you build the client from the latest code in SVN. But ensure that it supports what you need supported, which is WSDL 1.1 and SOAP 1.1. Nadir Amra Ashok P ashvit...@gmail.com wrote on 02/09/2010 11:09:09 AM:

Re: Need suggestions on Axis/c client stub

2010-02-09 Thread Ashok P
Thanks Nadir and Paul for your quick response and valuable inputs.Now I have got confidence to go ahead... I got my sample clients working with axis/c and c++ on windows. I believe that I will get answers for my other questions also. Nadir Amra wrote: As far as the Axis-C++ client, it is

Re: [Axis2] - Error setting SOAP 1.1

2010-02-09 Thread Juan Felipe Alvarez Saldarriaga
Hey. What about if I force the client to be SOAP 1.1? this will change those namepsaces, right? Thanks for any help. On Mon, Feb 8, 2010 at 10:16 PM, Juan Felipe Alvarez Saldarriaga nebi...@gmail.com wrote: Hey Amila. Thanks for asking, yes, same libraries in both servers, I just copy

Initializing Web Service (Server) before first request received

2010-02-09 Thread Oded Onn
Hi all, I am deploying an AXIS2 web service (server side). My problem: The skeleton class (the one that performs all the business logic) is read for the first time only when the first request is received by the server. It means that the first response takes a really long time (up to 20

Re: [Axis2] - Error setting SOAP 1.1

2010-02-09 Thread Amila Suriarachchi
hi, as I see both of your request in the same name space. soapenv:Envelope xmlns:soapenv=http://schemas.xmlsoap.org/soap/envelope/; what is difference is the ws security header namespace. Please send this question to rampar-dev as well. thanks, Amila. On Tue, Feb 9, 2010 at 7:35 PM, Juan

Re: Initializing Web Service (Server) before first request received

2010-02-09 Thread sri ram
If you are using Tomcat as your webserver. then you can configureit in the web.xml . To initialize a servlet on start up add this in the web.xml load-on-startup1/load-on-startup.. -Sriram From: Oded Onn oded@mobixell.com To: axis-user@ws.apache.org

axis max sessions and how to kill a session!

2010-02-09 Thread Ajai Joy
Hello, 1. I would like to find a way to terminate the sessions triggered by a certain operation (e.g.by a logout), not by the inactivity timeout. How can this be achieved in a clean way? 2. Also is there a way to limit the number of max requests hitting the axis engine ? I do not

  1   2   3   4   5   6   7   8   9   10   >