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 using

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 calli

Re: Interoperability of Axis2

2010-02-10 Thread Amila Suriarachchi
On Wed, Feb 10, 2010 at 9:31 PM, Sandeep Khurana < sandeep_khur...@persistent.co.in> wrote: > 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 >

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

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 {unknown-sourc

import xsd into wsdl2

2010-02-10 Thread satheeshsamiappan
Hi everyone, I have a wsdl2 file like given below: 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"; xmlns:ns1="http://org.apache.axis2/xsd"; xmns:dc="http

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 is

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 : TheInitializerServlet package.InitializerServlet 100 So the servlet will be loaded at s

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 wrote: > Hi Prabath, > > Can you please upload or mail the source code of following. > > 1) axis2-savan-event-sink > 2) axis2-savan-client > 3) ax

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 org.apache.axis.wsdl.toJava.Jav

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] super(_v

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 http://amilachinthaka.blogspot.com/2010/01/changing-axis2-application

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

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 wa

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: The service will then be deployable in application mode. Now a question to Deepal... will this actually load the implementation class immediately on deployment and thus cause all static initialization

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 serv

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

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 http://172.x.x.x:8080/MyWebservice/Temperature

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 referen