Re: Question about exposing a database as a web service...

2009-03-05 Thread sumedha rubasinghe
This link[1] contains a collection of HOWTOs on WSO2 Data Services solution. /sumedha [1] http://wso2.org/library/3183 On Thu, Mar 5, 2009 at 10:12 PM, keith chapman keithgchap...@gmail.com wrote: Hi, Have you looked at the WSO2 DataServices Solution? [1]. It is a product thats built on

Re: java.lang.ClassCastException: com.ctc.wstx.stax.WstxInputFactory

2009-01-15 Thread sumedha rubasinghe
What is the version of Jboss? My gut feeling is this particular version of Jboss is having a different Stax implementation. /sumedha On Thu, Jan 15, 2009 at 2:13 PM, Appasamy Thirugnana athirugn...@sapient.com wrote: Application server .. JBoss -Original Message- From: Paul

Re: java.lang.ClassCastException: com.ctc.wstx.stax.WstxInputFactory

2009-01-15 Thread sumedha rubasinghe
Tested with Jboss 4.0.2. It works without any error. /sumedha On Thu, Jan 15, 2009 at 2:49 PM, Appasamy Thirugnana athirugn...@sapient.com wrote: Jboss 4.0.5 -Original Message- From: sumedha rubasinghe [mailto: Sent: Thursday, January 15, 2009 14:44 To: axis-user@ws.apache.org

Re: MDB and Axis2

2008-08-05 Thread sumedha rubasinghe
Hi, Unless you really need the MDB, I do not see any advantage of doing so. You can easily listen to a topic using Axis2's JMS transport [1]. Is there a specific reason / application level constraint for you to consider MDB to listen to the topic? /sumedha [1]

Re: Axis with XSLT

2008-07-29 Thread sumedha rubasinghe
Hi, Data Services is a mechanism to expose relational database objects as web services. It will return data in your database object (eg. table) in XML format. Checkout following tutorial @ http://wso2.org/library/2617 . A collection of such tutorials can be found @ http://wso2.org/library/3183 .

Re: [Axis2] Initialization

2008-07-29 Thread sumedha rubasinghe
Following example might be of help. http://wso2.org/library/333 And you can find an example on latest axis2 distribution too. Inside axis2-1.4/samples/servicelifecycle folder. README.txt located there is a good starting point. /sumedha On Tue, Jul 29, 2008 at 10:47 PM, Sameera Jayasoma

Re: Axis1.4 vs Axis2-1.4

2008-07-11 Thread sumedha rubasinghe
Hi Thamizhannal, Visit http://ws.apache.org/axis2/ read the section under topic Why Apache Axis2:. In a nutshell, axis2-1.x is a major re-write of axis-1.x (note the missing '2') with a new architecture. Latest release is axis2-1.4 (http://ws.apache.org/axis2/1_4/contents.html). Since your

Re: printing request

2008-07-02 Thread sumedha rubasinghe
A tutorial on TCPMon can be found here[2]. /sumedha [2] http://ws.apache.org/commons/tcpmon/tcpmontutorial.html On Wed, Jul 2, 2008 at 1:04 PM, Charitha Kankanamge [EMAIL PROTECTED] wrote: Hi, You can send your request through Apache tcpmon[1] and view the message flow. regards Charitha

Re: Axis2 1.3 to Axis2 1.4

2008-06-27 Thread sumedha rubasinghe
Well... then how about your system classpath? Open up a new command window and check what jars are in your classpath. /sumedha rubasinghe a écrit : Hi, I tested axis2-1.4 war with java version 1.5.0_14 Tomcat 6.0.16 .o It works fine. So this must be due to an additional jar file in your

Re: Axis2 return name

2008-06-26 Thread sumedha rubasinghe
AFAIK annotations is the only option for this. (i.e if your going through axis2). But you have the option of transforming the results from web service before it reaching your C program. For example you can transform following response, ns:queryResponse xmlns:ns=http://foo.bar; return

Re: Axis2 1.3 to Axis2 1.4

2008-06-26 Thread sumedha rubasinghe
Hi, Do you have XmlSchema-1.4.2.jar in your classpath? /sumedha On Thu, Jun 26, 2008 at 5:46 PM, Fabien Couvert [EMAIL PROTECTED] wrote: Hi all, I try to upgrade Axis2 to 1.4 version but I get this exception when I try to createConfigurationContextFromFileSystem : Exception in thread main

Re: difference b/w bean mapping using SOAPBody

2008-03-15 Thread Sumedha Rubasinghe
Seetha Rama Krishna wrote: Hi, i wanted to know how excatly the difference b/w calling a webservice using AXIS and SAAJ. Is there any extra features provided by SAAJ, apart from attachements. Hi Seetha, No, there aren't any extra features as such. It provides an alternative approach

Re: [AXIS2] ClassPath problems in JBoss

2007-09-26 Thread sumedha rubasinghe
Hi, The problem here is both Jboss Axis have their own SAAJ Implementation. What is the version of Jboss Axis2 your using? Do you intend to run other applications on this server as well? You do not need to move several jars.The classes you need are located inside axis2-saaj-version.jar.

Re: [Axis2] Problem Installing from Standard Binary Distribution

2007-07-31 Thread sumedha rubasinghe
Hi AJ, Could you tell me what is the axis2 version your using? I just tried this using Axis2 1.3-RC2 available from http://ws.apache.org/axis2/download.cgi I could not generate the scenario your experiencing. Please provide us more information on your environment. /sumedha AJ Coon wrote:

Re: [Axis2] Problem Installing from Standard Binary Distribution

2007-07-31 Thread sumedha rubasinghe
] wrote: In that case its better if you use the 1.3-RC2 release as you are new to Axis2. Thanks, Keith. On 7/31/07, *sumedha rubasinghe* [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] wrote: Hi AJ, Could you tell me what is the axis2 version your using

Re: Axis beginner2

2007-05-28 Thread sumedha rubasinghe
Hi, Sipungora wrote: Nobody want me to answer. I replied to your previous mail, inquiring the version of Axis tomcat version your using. OK I ask it in other words. What a versions of Tomcat, Axis and JSDK schould I take in order to be assure, that their setup is without much ado? Use

Re: Axis beginner

2007-05-27 Thread sumedha rubasinghe
Hi, What is the version of Tomcat Axis your using? Sipungora wrote: I have only newly deal with axis. And I have a problem at the installation. I have copied xercesImpl.jar and all other jar-files for XML Parser in TOMCAT\webapps\axis\WEB-INF\lib, but happyaxis.jsp shows me in Examining

Re: maven plugin for generating mar files

2007-05-18 Thread sumedha rubasinghe
Yes. There is... What you need to have in pom.xml is something similar to following... plugin groupIdorg.apache.axis2/groupId artifactIdaxis2-mar-maven-plugin/artifactId versionSNAPSHOT/version extensionstrue/extensions

Re: J2ME Client

2007-04-27 Thread sumedha rubasinghe
Hi Roberto, Accessing web service from J2ME requires separate client library. Usual Axis client library is too heavy for this.. /sumedha Roberto wrote: Does anybody knows if there is something that I should pay special attention when I use a J2ME application to get a web service installed on

[Axis2] Jibx version for build

2007-03-18 Thread sumedha rubasinghe
Hi devs, The value for jibx version in etc/project.properties is 1.1.4-SNAPSHOT. But with this value, the maven1 Hobuild stops giving following error. The build cannot continue because of the following unsatisfied dependencies: jibx-bind-1.1.4-SNAPSHOT.jar jibx-run-1.1.4-SNAPSHOT.jar I tried

Re: SimpleAxisServer on axis2

2007-03-13 Thread sumedha rubasinghe
public class EmbeddSimpleAxisServer { public static void main(String[] args) { String[] args2 = new String[]{-repo,/home/abc/axis2-SNAPSHOT/repository}; try { SimpleAxis2Server.main(args2); } catch (Exception e) { e.printStackTrace(); } }

Re: SOAP Attachment not working

2007-03-11 Thread sumedha rubasinghe
Hi, I tried out the scenario using service client you provided. With the latest source from axis2 trunk axiom I was able to run the program without any complains. But I had to do following changes to your code. Client: // Name bn = soapFactory.createName(getTermSheetFile, ns1,

Re: Axis2 deploy on Tomcat

2007-03-05 Thread sumedha rubasinghe
Hi Antonio, Are you referring to the message The Apache Tomcat Native library which allows optimal performance in production environments was not found on the java.library.path.. as the problem?? If so, this is not an error. This tells you that Apache Portable Runtime is not available in

Re: [AXIS2] SOAPMessageImp

2007-03-02 Thread sumedha rubasinghe
Lorenzo, SAAJ can be used to create a SOAP message send this message to a web service endpoint. You need to have a code similar to following in your client end. (which I believe you already have). |SOAPConnectionFactory soapConnFactory = SOAPConnectionFactory.newInstance(); SOAPConnection

Re: [AXIS2] MessageContext to SOAPMessage

2007-03-01 Thread sumedha rubasinghe
Hi Lorenzo; Go through the example located @ axis2-home/samples/soapwithattachments It demonstrates how to use SwA to send attachments. /sumedha Lorenzo wrote: Hi, i have a problem... I have a org.apache.axis2.context.MessageContext and to work on attachments i should use the SAAJ api, but

Re: Help describing fault

2007-02-05 Thread sumedha rubasinghe
Hi Javier, I am not quite sure what you meant by ' describing the following two fault messages with WSDL + SOAP1.1'. But what I gathered from the replies you got is, 1. You have called a web service ( possibly an authentication service) with some credentials 2. For this request you got a

[Axis2] Re: Proxy setting when using AXIS2's SAAJ APIs

2007-01-29 Thread sumedha rubasinghe
Hi yogen; I think this has nothing to do with SAAJ. It is just a matter of making you java application (which accesses network resources) to be able to communicate via network. i.e. by setting System.setProperty( https.proxyHost, host); System.setProperty( https.proxyPort, port); in your

Re: Debugging Axis2 in Tomcat

2007-01-24 Thread sumedha rubasinghe
Hi; Following article [1] provides step-by-step guide on how to debug a web service using either eclipse or idea. [1] https://www.wso2.org/library/225 /sumedha Ho, Wen Yue wrote: Hi, Any pointers on how to debug Axis2 WebService Application in Tomcat? Sysdeo turns out to be not working

Re: General Axis questions

2006-12-12 Thread sumedha rubasinghe
Hi Ernie; Jboss has seperate web service implementation it depends on the Application server version too. Jboss 3.2.x had a one called Jboss.NET versions bellow 4.0.4 used an implementation called JbossWS4EE. Both of these used modified version of Axis. Latest Jboss versions (above

Re: [Axis2 v1.1]

2006-12-12 Thread sumedha rubasinghe
Hi Rodrigo; Only errors.properties is avaibale in the binary this is not a bug. If you want to get error messages localized to a locale of you choice, you need to add a message file with the format errors_LOCALE.properties to the classpath. If a message bundle is not available for the