Need Startup links on SOAP with attachments in AXIS2

2009-10-15 Thread Appasamy Thirugnana
Hi, Can somebody provide startup links/tutorial to start with SOAP with attachments in AXIS2. Thanks, Appasamy

Re: Need Startup links on SOAP with attachments in AXIS2

2009-10-15 Thread Chinmoy Chakraborty
Try links [1] [2]. [1] https://svn.apache.org/repos/asf/webservices/axis2/site/1_2/mtom-guide.html [2] http://wso2.org/library/1148 Chinmoy On Thu, Oct 15, 2009 at 12:13 PM, Appasamy Thirugnana athirugn...@sapient.com wrote: Hi, Can somebody provide startup links/tutorial to start

Axis2 with Rampart: namespace declarations getting removed

2009-10-14 Thread Rajan Gupta
Hi, I am using rampart 1.4 with Axis2 1.4.1. While some of the calls are working fine, most of the calls are failing when I engage rampart. This is because the soap message gets changed after I enabled rampart. See the example below: Before enabling rampart- userCredentials xmlns:ns8=http

AW: Using Axis2 with Log4J

2009-10-14 Thread Grimm, Markus
22:29 An: axis-user@ws.apache.org Betreff: Using Axis2 with Log4J Hi guys, I have developed a ws and it's working pretty fine. But I'm not able to log my application using log4j. Can someone tell me what exactly is necessary for me to use it? What I've already done is: I created

RES: Using Axis2 with Log4J

2009-10-14 Thread Guilherme Fré
Hi Markus, Actually, now it's working, but not the way I want it. I have put the log4j.xml file into the folder ..\Tomcat 6.0\webapps\axis2\WEB-INF\classes. It worked fine, but all the axis web application is being logged using this configuration file. I'd like to know if there is a folder

AW: Using Axis2 with Log4J

2009-10-14 Thread Grimm, Markus
-Ursprüngliche Nachricht- Von: Guilherme Fré [mailto:guilherme@mowa.com.br] Gesendet: Mittwoch, 14. Oktober 2009 14:49 An: axis-user@ws.apache.org Betreff: RES: Using Axis2 with Log4J Hi Markus, Actually, now it's working, but not the way I want it. I have put the log4j.xml file

Implementing Axis2 Configuration

2009-10-14 Thread Florin Bejinaru
, or whether it is best to use Axis2 properties and contexts. Personally I would go for the singleton implementation option, but I am wondering whether my service will get loaded with security restrictions that may affect either service operation (not being able to access the singleton -- not likely

Re: Implementing Axis2 Configuration

2009-10-14 Thread Deepal Jayasinghe
Florin, In Axis2 there is something called ServiceLifeCycle class, what thats mean is that class initializes only onces. So you can use the class to do your works. And you can specify the root directory either in axis2.xml or services.xml file. Thanks, Deepal I am implementing a web service

Problems using Axis2/c in Windows

2009-10-13 Thread Pete Maclean
I am attempting to use Axis2/c 1.6.0 to generate C client stubs in Windows with the -d adb option for use with the Microsoft C compiler and am facing three problems. First I had trouble actually generating the stubs using the WSDL2C.bat file supplied in the package. I got past this obstacle

Axis2 Error | Unable to determine object id

2009-10-13 Thread Appasamy Thirugnana
Can anyone please help in resolving the error which I get when I send a WS request. Caused by: org.apache.axis2.AxisFault: Unable to determine object id from call: is the method element namespaced? at org.apache.axis2.util.Utils.getInboundFaultFromMessageContext(Utils.java:517)

Axis2- creating Axis24567.att files under /var/tmp folder on unix

2009-10-13 Thread Ashish Kulkarni
HiDoes anyone know why Axis2 creates these Axis2XXX.att files under /var/tmp folder, i have some web services developed using Axis 2 deployed on weblogic which is installed on unix server? How do i stop them or redirect them to a different folder -- Ashish www.ayurwellness.com

Axis2 1.6 Release Date??

2009-10-13 Thread Nirav Shah
Hi, Can anyone tell me, when is the Axis2 2.1.6 release scheduled ? I would greatly appreciate a response.. Regards, Nirav

Using Axis2 with Log4J

2009-10-13 Thread Guilherme Fré
Hi guys, I have developed a ws and it’s working pretty fine. But I’m not able to log my application using log4j. Can someone tell me what exactly is necessary for me to use it? What I’ve already done is: I created a log4j.xml and put it into the properties folder of my application.

Axis2 1.5 and NIO

2009-10-12 Thread Björn Krüger
Hi, i am trying to enable nio http transport using axis2 version 1.5. Is NIO supported by Axis2 Version 1.5 ? Do i need the httpCore project to use the NIO transport? Does a documentation exist how to configure the NIO transport in Axis2 Version 1.5? Which NIO version should i use? A lot

[Axis2] attribute name in xs:element

2009-10-09 Thread David
Hi, I deploy my web service with Axis2 and weblogic 10 and I have a question about parameter name in wsdl... Why are they specified param0 for the name? For example : xs:element minOccurs=0 name=param0 nillable=true type=ns1:DonneesWS/ instead of xs:element minOccurs=0 name=donnees

[Axis2] Pb with xs:element name?

2009-10-09 Thread Didav Didav
Hi, I deploy my web service with Axis2-1.3 and weblogic 10 and I have a question about parameter name in wsdl... Why are they specified param0 for the name of the tag xs:element? For example : xs:element minOccurs=0 name=param0 nillable=true type=ns1:DonneesWS/ instead of xs:element

Re : [Axis2] Pb with xs:element name?

2009-10-09 Thread David
Okthe answer is to compile the procjet in debug to have the attribute name donnee in the class file De : Didav Didav dida...@hotmail.fr À : axis-user@ws.apache.org Envoyé le : Ven 9 Octobre 2009, 14 h 41 min 17 s Objet : [Axis2] Pb with xs:element

RE: [Axis2] Pb with xs:element name?

2009-10-09 Thread David Hesson
Is that a POJO service or what? And what JDK are you using. From: Didav Didav [mailto:dida...@hotmail.fr] Sent: Friday, October 09, 2009 8:41 AM To: axis-user@ws.apache.org Subject: [Axis2] Pb with xs:element name? Hi, I deploy my web service

Re : [Axis2] Pb with xs:element name?

2009-10-09 Thread David
Yes POJO Service. I m using JDK 1.5 De : David Hesson dhes...@rjlg.com À : axis-user@ws.apache.org Envoyé le : Ven 9 Octobre 2009, 17 h 41 min 43 s Objet : RE: [Axis2] Pb with xs:element name? Is that a POJO service or what? And what JDK are you using

RE: Re : [Axis2] Pb with xs:element name?

2009-10-09 Thread David Hesson
Can I please see the signature of the POJO method? I'm not sure if it's related to having a complex object as the input argument, or maybe a property needs set in the Axis2 config. From: David [mailto:tida...@yahoo.fr] Sent: Friday, October 09, 2009 11:51

Re: [Axis2] AbstractMethodError in simple Rampart client

2009-10-09 Thread David Dearing
David Dearing wrote: I have created a simple Axis2 echo service and client and am now trying to add Rampart security, starting with a simple UsernameToken and plain text Password. The secured service is running and it rejects client calls that are missing the required SOAP header. I set

Re: Consume XML using Axis2 without creating Java objects

2009-10-07 Thread Amila Suriarachchi
XML be consumed using using Axis 2? I may want to apply XSLT on the XML. But I have no need (nor have any desire) to create any Java object. Following are my questions: 1. What do I have to do to just consume the incoming XML? Please explain the steps needed for doing so using Axis2. In other

RE: axis wsdl not working with axis2

2009-10-06 Thread Bartolomeo Nicolotti
Hello can some one help about this? Could someone generate a service with axis that takes a string and returns a structure of Class retVal{ String cod String err String num } and try to create a client with axis2? Many thanks Best regards Il giorno ven, 02/10/2009 alle 16.28 +0200

Consume XML using Axis2 without creating Java objects

2009-10-06 Thread mule_user
on the XML. But I have no need (nor have any desire) to create any Java object. Following are my questions: 1. What do I have to do to just consume the incoming XML? Please explain the steps needed for doing so using Axis2. In other words, I have no need (nor any desire) to convert the XML

Re: hibernate and axis2

2009-10-06 Thread TomazM
to add the following parameter to the service: parameter name=ServiceTCCL locked=falsecomposite/parameter So where to put Hibernate persistance.xml in axis2 dir structure per one service? Regards, Tomaz Andreas Right. With only one end user aar and without the OP showing a need

Re: hibernate and axis2

2009-10-06 Thread robert lazarski
work directly in an aar without some extra effort. It should be enough to add the following parameter to the service: parameter name=ServiceTCCL locked=falsecomposite/parameter So where to put Hibernate persistance.xml in axis2 dir structure per one service? Regards, Tomaz For just

Re: Consume XML using Axis2 without creating Java objects

2009-10-06 Thread Sagara Gunathunga
method. please refer this user guide [1] [1] - http://ws.apache.org/axis2/1_5/quickstartguide.html#axiom Thanks, On Tue, Oct 6, 2009 at 7:27 PM, mule_user s...@aol.com wrote: Please advise what are my choices for the situation below: I receive XML as the input. I have no need (nor, have any

Re: hibernate and axis2

2009-10-06 Thread Andreas Veithen
work directly in an aar without some extra effort. It should be enough to add the following parameter to the service: parameter name=ServiceTCCL locked=falsecomposite/parameter So where to put Hibernate persistance.xml in axis2 dir structure per one service? Regards, Tomaz In the META-INF

axis2 1.5 eclipse codegen task

2009-10-05 Thread gerhard presser
hi all, I'm trying to install the new axis2 codegen eclipse plugin. because I didn't find the plugin on the download site, I downloaded the axis2 sources and built the plugin manually - but something seems to be wrong with the assembly descriptor - my lib folder contains e.g. 'axis2

Re: Compilation Failure in Axis2 trunk

2009-10-03 Thread Andreas Veithen
Looks like the Axiom snapshots on people.apache.org are outdated and don't include the change in r819034. You will have to build Axiom first. Andreas On Mon, Sep 28, 2009 at 11:07, Chamara Silva chamarasi...@gmail.com wrote: Hi,     I got compilation failure during the building of Axis2 trunk

Axis2/C and mod_gzip

2009-10-02 Thread Sam Carleton
I am wondering, my Axis2/C server returns some large data sets to the .Net client. To make development easier, the WSDL element names are a bit long and verbose, but that adds useless size to an already large dataset. Is it possible to use something like mod_gzip to compress the results

Re: Axis2/C and mod_gzip

2009-10-02 Thread Murphey McCloy
, but the code fixes for that have been accepted, I believe, and should also be relatively easy, if needed. On Oct 2, 2009, at 7:11 AM, Sam Carleton scarle...@miltonstreet.com wrote: I am wondering, my Axis2/C server returns some large data sets to the .Net client. To make development easier

axis wsdl not working with axis2

2009-10-02 Thread Bartolomeo Nicolotti
Hello, we've generated a webservice and related attached wsdl with axis(not 2) Eclipse 3.2.2 plugin. The web service is receiving one string and returning 3 strings, very simple. Then we've used axis2 wsdl2java to generate the client with: wsdl2java.sh --noBuildXML -S ../../JavaSource -ns2p

RE: axis wsdl not working with axis2

2009-10-02 Thread Schalk
] Sent: 02 October 2009 03:15 PM To: axis-user@ws.apache.org Cc: Marco Damilano; Livio Costamagna Subject: axis wsdl not working with axis2 Hello, we've generated a webservice and related attached wsdl with axis(not 2) Eclipse 3.2.2 plugin. The web service is receiving one string and returning 3

RE: axis wsdl not working with axis2

2009-10-02 Thread Bartolomeo Nicolotti
Hello, I don't think that it's an axis2 problem, as I've said and also with doc-literal, doc-wrapped, rpc-encoded servers. We've tried also with ASP.net and we got the same behaviour. so also ASP.net seems to have the same problem with this wsdl. The problem seems the wsdl generated by axis

Can Axis2 app be deployed the same way as Axis1? Put all jars in WEB-INF/lib, create EAR, deploy using admin console of App Server of choice

2009-10-02 Thread mule_user
Can an Axis2 (version 1.5) application be deployed in the same way as an Axis 1 application? In Axis1, I can put the jar files in WEB-INF/lib folder of my project (e.g. MyProject), create an EAR file (e.g. MyProj.ear) and deploy this EAR file in the Application Server of my choice (e.g

Re: Can Axis2 app be deployed the same way as Axis1? Put all jars in WEB-INF/lib, create EAR, deploy using admin console of App Server of choice

2009-10-02 Thread Greg Logan
mule_user wrote: My question: Is the above approach possible in Axis 2? Meaning, can I put the jar files from Axis2 in WEB-INF/lib folder of my project (e.g. MyProj) , create an EAR file (e.g. MyProj.ear) and deploy that EAR file using the Admin console of the application server (e.g., WebSphere

Axis2 - Can I deploy EAR, WAR, JAR using my app server's admin console, Message service support in Axis2

2009-10-01 Thread mule_user
I am using Axis2 version 1.5. I am new to this. I have successfully created a JAR file, renamed it as AAR, deployed it using Axis2 Admin console and successfully called the web service from a client. The enpoint is like: http://localhost:9081/axis2/services/CalculatorService where services

Re: Axis2 - Can I deploy EAR, WAR, JAR using my app server's admin console, Message service support in Axis2

2009-10-01 Thread amardeep singh khera
Hi I think this link will be handy for u. http://www.devx.com/Java/Article/33839 Thanks Amardeep On Thu, Oct 1, 2009 at 11:59 PM, mule_user s...@aol.com wrote: I am using Axis2 version 1.5. I am new to this. I have successfully created a JAR file, renamed it as AAR, deployed it using

Re: Axis2 - Can I deploy EAR, WAR, JAR using my app server's admin console, Message service support in Axis2

2009-10-01 Thread Amila Suriarachchi
On Thu, Oct 1, 2009 at 11:59 PM, mule_user s...@aol.com wrote: I am using Axis2 version 1.5. I am new to this. I have successfully created a JAR file, renamed it as AAR, deployed it using Axis2 Admin console and successfully called the web service from a client. The enpoint is like: http

Re: Axis2 (1.5) - java2wsdl throws error JAVA_HOME environment variable is not defined correctly

2009-09-30 Thread Sebastian Schneider
JAVA_HOME should point to the home directory of your JDK-installation: In my case, for example JAVA_HOME is set to C:\Programme\Java\jdk1.6.0_16

Re: AXIS2 Client beginner... Exception converting to string.

2009-09-30 Thread lyall
.wsdl.WSDLConstants.MESSAGE_LABEL_IN_VALUE); org.apache.axiom.soap.SOAPEnvelope _returnEnv = _returnMessageContext.getEnvelope(); return _returnEnv; } catch (org.apache.axis2.AxisFault f) { ...snip... } -- View this message in context: http://www.nabble.com/AXIS2-Client-beginner

Re: hibernate and axis2

2009-09-30 Thread robert lazarski
On Tue, Sep 29, 2009 at 10:48 PM, Tony Ennis tony.en...@insightbb.com wrote: Ahhh.  Slowly the light comes on. So, you're saying a minimal aar file, and then a separately constructed war that gets embedded into an Axis2 directory that's in the classpath.  I wasn't aware you could plop a war

Re: hibernate and axis2

2009-09-30 Thread Andreas Veithen
I suggest you don't put all these jar's in the aar, put them in WEB-INF/lib . hibernate uses the TCCL and that won't work directly in an aar without some extra effort. It should be enough to add the following parameter to the service: parameter name=ServiceTCCL locked=falsecomposite/parameter

Re: hibernate and axis2

2009-09-30 Thread robert lazarski
parameter to the service: parameter name=ServiceTCCL locked=falsecomposite/parameter Andreas Right. With only one end user aar and without the OP showing a need to have a hibernate session isolated to axis2, however, its probably overkill. Its possible to do spring and/or hibernate per aar, I

Re: hibernate and axis2

2009-09-30 Thread ANTHONY ENNIS
to generate Long instead of long, or tell hibernate that long types are built-in. Oddly, Persistence.createEntityManagerFactory works if I run locally (ie not as a web service.) Regarding Robert's comment, I have no need for a session to isolated to axis2, but that's going to be the effect.  The user

Re: RE: hibernate and axis2

2009-09-30 Thread ANTHONY ENNIS
, September 30, 2009 13:14 Subject: RE: hibernate and axis2 To: tony.en...@insightbb.com java.lang.Long is a java class here is an example (apparently this scooter can exceed warp1) import javax.persistence.Entity; import javax.persistence.Id; /*** @author Emmanuel Bernard */ @Entity public

Re: hibernate and axis2

2009-09-30 Thread robert lazarski
, which amuses me somehow: snip Regarding Robert's comment, I have no need for a session to isolated to axis2, but that's going to be the effect.  The user will lob a text file at my web service, and my web service will make some response.  That's the entire activity.  Usage volume

Re: hibernate and axis2

2009-09-30 Thread ANTHONY ENNIS
Thanks. I was about 5 minutes from starting to cry like a small girl! - Original Message - From: robert lazarski robertlazar...@gmail.com Date: Wednesday, September 30, 2009 13:56 Subject: Re: hibernate and axis2 To: axis-user@ws.apache.org On Wed, Sep 30, 2009 at 1:41 PM, ANTHONY ENNIS

Re: hibernate and axis2

2009-09-30 Thread ANTHONY ENNIS
...And suddenly, the application works stem to stern. Thank you all! - Original Message - From: robert lazarski robertlazar...@gmail.com Date: Wednesday, September 30, 2009 13:56 Subject: Re: hibernate and axis2 To: axis-user@ws.apache.org Kool, glad to hear you're making some

Axis2 (1.5) - AxisFault: Transport error: 404 Error

2009-09-30 Thread mule_user
I am a newbie to Axis2. I am using the example under: I created a web application and deployed that application in the webserber (WebSphere test server 6.1 in this cases that comes with RAD 7.5). I can see my web page as: http://localhost:9081/MyAxis2/index.html However, I do not see any

Re: Axis2 (1.5) - AxisFault: Transport error: 404 Error

2009-09-30 Thread Amila Suriarachchi
On Thu, Oct 1, 2009 at 3:06 AM, mule_user s...@aol.com wrote: I am a newbie to Axis2. I am using the example under: I created a web application and deployed that application in the webserber (WebSphere test server 6.1 in this cases that comes with RAD 7.5). I can see my web page as: http

Re: Axis2 wsdl2java jibx: No mapping defined for element

2009-09-29 Thread don t
Chaudhuri-2 wrote: Hello, Mentioned an incorrect subject line in my earlier mail. My applogies. I am trying to integrate axis2 1.5 with jibx 1.2.1. I am not sure that is a problem with axis2 or jibx. I have the wsdl file and the schema with me. I have used the jibx

Axis2 (1.5) - java2wsdl throws error JAVA_HOME environment variable is not defined correctly

2009-09-29 Thread mule_user
Under Control panel-System, I have defined JAVA_HOME as an environment variable as: C:\PROGRA~1\Rational\Common\java\jre\bin\java.exe I have JAVA_HOME defined as shown below: C:\Download\Axis2\axis2-1.5\binecho %JAVA_HOME% C:\PROGRA~1\Rational\Common\java\jre\bin\java.exe For testing purposes

Re: Axis2 (1.5) - java2wsdl throws error JAVA_HOME environment variable is not defined correctly

2009-09-29 Thread mule_user
below: C:\Download\Axis2\axis2-1.5\binecho %JAVA_HOME% C:\PROGRA~1\Rational\Common\java\jre\bin\java.exe For testing purposes, I copied Driver.class in directory C:\Download\Axis2\axis2-1.5\bin and I can successfully run the command below: C:\Download\Axis2\axis2-1.5\binjava Driver hello

hibernate and axis2

2009-09-29 Thread ANTHONY ENNIS
it then all those jars should be on the classpath.  I'm not too sure about the META-INF folder however. I tried copying the persistence.xml file into axis2/WEB-INF/classes, axis2/WEB-INF/lib, and axis2/WEB-INF/conf.  Nothing changes. I also tried putting the persistence.xml file into the root and under

Re: hibernate and axis2

2009-09-29 Thread robert lazarski
On Tue, Sep 29, 2009 at 6:34 PM, ANTHONY ENNIS tony.en...@insightbb.com wrote: I'm at wit's end.  Now the situation is that I can connect to the database using my persistence.xml settings when I run from my IDE (intellij.) Previously, I was using a properties file.  So that is a small amount of

Re: hibernate and axis2

2009-09-29 Thread Tony Ennis
Ahhh. Slowly the light comes on. So, you're saying a minimal aar file, and then a separately constructed war that gets embedded into an Axis2 directory that's in the classpath. I wasn't aware you could plop a war file in there indiscriminately - I thought they were only for deployed

Compilation Failure in Axis2 trunk

2009-09-28 Thread Chamara Silva
Hi, I got compilation failure during the building of Axis2 trunk. [INFO] [ERROR] BUILD FAILURE [INFO] [INFO] Compilation failure /mnt/var/builder

hibernate and axis2

2009-09-28 Thread ANTHONY ENNIS
Thanks for the replies.  I'm at work now and don't have access to the postings sent earlier. I created a new jar that included my classes and the persistence.xml file. I placed it in my lib directory.  No difference. I'm working in part off code/requirements I didn't write.  One wrinkle is

Re: SOAP Encoding in axis2

2009-09-24 Thread Mauro Molinari
Sanjay Gupta ha scritto: Hi, Is there any workaround? The problem I have is that I need to consume these services in a grails app that is already using axis2 to expose part of it as services and also consuming axis2 services. I don't think axis1 can co-exist with axis2 in the same app. Sanjay

Re: access to SOAP Body Element (Axis2 API)

2009-09-24 Thread Asma Maalej
Hello thank you for your reply but I already tried it, as follows: SOAPBody sb = soapenv.getBody(); OMElement soapb = (OMElement) sb.getFirstElement(); but this time, I get the following exception : [INFO] OMException in getSOAPBuilder

AXIS2 1.5 - is it compatible to run in WAS 6.1(Servlet 2.4, JSP 2.0 etc.)

2009-09-24 Thread mule_user
Is Axis2 any version of jar e.g. version 1.5 compatible to run in WebSphere 6.1 server? Any experience with that? -- View this message in context: http://www.nabble.com/AXIS2-1.5---is-it-compatible-to-run-in-WAS-6.1%28Servlet-2.4%2C-JSP-2.0-etc.%29-tp25589660p25589660.html Sent from the Axis

Axis2 wsdl2java jibx: No mapping defined for element

2009-09-24 Thread Anshuk Pal Chaudhuri
Hello, Mentioned an incorrect subject line in my earlier mail. My applogies. I am trying to integrate axis2 1.5 with jibx 1.2.1. I am not sure that is a problem with axis2 or jibx. I have the wsdl file and the schema with me. I have used the jibx org.jibx.schema.codegen.CodeGen to generate

Re: access to SOAP Body Element (Axis2 API)

2009-09-24 Thread Amila Suriarachchi
On Thu, Sep 24, 2009 at 9:33 PM, Asma Maalej amaa...@laas.fr wrote: Hello thank you for your reply but I already tried it, as follows: SOAPBody sb = soapenv.getBody(); OMElement soapb = (OMElement) sb.getFirstElement(); but this time, I get the following exception :

Architecture to replace axis2.xml and services.xml

2009-09-23 Thread Sam Carleton
I am using Axis2/C in an kiosk application. So my customer is the admin of the system and their customers the user of the system. The security is designed to limit my customer, the effective admin of the system from enabling features no purchased. If the architecture of Axis2/C allows it, I

access to SOAP Body Element (Axis2 API)

2009-09-23 Thread Asma Maalej
Hello Using Axis2.1.4.1, and in order to recover methods name of a web service within a handler code, I tried to access to the SOAP message and extract it from the SOAPBody. Then, I tried to use SOAPBodyElement Class as shown below : * SOAPEnvelope soapenv = messageContext.getEnvelope();

RE: SOAP Encoding in axis2

2009-09-23 Thread Sanjay Gupta
Hi, Is there any workaround? The problem I have is that I need to consume these services in a grails app that is already using axis2 to expose part of it as services and also consuming axis2 services. I don't think axis1 can co-exist with axis2 in the same app. Sanjay -Original Message

How can I force namespace declarations in the envelope? (Axis2 1.4.1 / XMLbeans 2.3 / Java 1.4.2)

2009-09-22 Thread Christian Gosch
Hi, by default, Axis2 seems to put namespace declarations like 'xmlns:ns=http://my.namespace.com/this/one/is/it;' at the latest / deepest point in the XML possible, which seems to be perfectly in line with W3C requirements. My SOAP client has to talk to the Web Service via a XML security

Cannot compile AXIS2/C samples

2009-09-22 Thread madmaze
Cannot compile AXIS2/C samples I keep getting tons of errors like these: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token any suggestions? what am i doing wrong.. -- View this message in context: http://www.nabble.com/Cannot-compile-AXIS2-C-samples-tp25530787p25530787

RE: How can I force namespace declarations in the envelope? (Axis2 1.4.1 / XMLbeans 2.3 / Java 1.4.2)

2009-09-22 Thread Christian Gosch
Finally I found a solution by deep and rigorous web search... http://stackoverflow.com/questions/74960/how-do-i-add-a-namespace-reference-to-a-soap-response-with-apache-axis2-and-wsdl2 explains how to do it. BUT: The result is not that nice. To be honest: I forgot to mention that I

[AXIS2] A question on axis2-wsdl2code-maven-plugin

2009-09-22 Thread Indrit Selimi
Dear all, I'm using the maven plugin of axis2. As a maven plugin I thought that giving an output directory of outputDirectorysrc/main/java/outputDirectory(or better nothing at all) and the right package name I could find the generated sources on my package, but I'm seeing that the plugin

Axis2 useOriginalwsdl not embedding imported schemas

2009-09-22 Thread karlovitz
For some reason when I set useOriginalwsdl = false and access the wsdl via services/MyService?wsdl it is returning the wsdl with the imports still listed. Does anyone know a way to utilize Axis to embed these xsd's. Thanks -- View this message in context: http://www.nabble.com/Axis2

Re: [AXIS2] A question on axis2-wsdl2code-maven-plugin

2009-09-22 Thread Andreas Veithen
In a Maven build you should never let a plugin output generated code into src/main/java, but instead into a temporary directory under target (so that it will be removed by mvn clean). In that case it doesn't matter that axis2-wsdl2code-maven-plugin places the code in a subdirectory called src

Re: Axis2 and .Net Interoperability for MTOM

2009-09-22 Thread Nirav Shah
Can anyone help here? Thanks, Nirav On Mon, Sep 21, 2009 at 9:52 AM, Nirav Shah snirav.s...@gmail.com wrote: Hi, Can anyone tell me is Axis2 MTOM completely Interoperable with .Net ? I am trying to build a service using Axis2 and will have a .Net Client probably..Any inputs or suggestions

AXIS2 Client beginner... Exception converting to string.

2009-09-22 Thread lyall
I have created an AXIS2 1.5 client using a WSDL as a starting point. My client wants to access the entire SOAP message, not the body, so I hacked the Stub.java code as shown further down... What I am trying to do is simply convert the SOAP Envelope into a string so I can look at it (and do

Re: securing client request with name and password in axis2

2009-09-21 Thread Prabath Siriwardena
using axis2 as webservice server.I want to securing client request with name and password.Only user name and password correct ,the client request can be processed;else The request will be refused.Is there existing module or handler can do this?

Re: securing client request with name and password in axis2

2009-09-21 Thread jonah
Thanks Prabath.I read the article.Through my understanding,the client must be use client,But in my system,the client may be written in C# or other language.Would you like to explain it for me?Thank you. By the way,Some articles shows that in axis2 we can define user and user password

Re: SOAP Encoding in axis2

2009-09-21 Thread Mauro Molinari
Sanjay Gupta ha scritto: Hi, I tried consuming a web service with SOAP encoding in axis2 and found out that axis2 doesn't support it. Are there any workaround? We originally used. Part of that app we have upgraded to axis2 and we are using axis2 for all the new stuff. I really don't want to go

Axis2 and .Net Interoperability for MTOM

2009-09-21 Thread Nirav Shah
Hi, Can anyone tell me is Axis2 MTOM completely Interoperable with .Net ? I am trying to build a service using Axis2 and will have a .Net Client probably..Any inputs or suggestions would be greatly appreciated.. Regards, Nirav

Re: securing client request with name and password in axis2

2009-09-20 Thread jonah
using axis2 as webservice server.I want to securing client request with name and password.Only user name and password correct ,the client request can be processed;else The request will be refused.Is there existing module or handler can do this?

SOAP Encoding in axis2

2009-09-20 Thread Sanjay Gupta
Hi, I tried consuming a web service with SOAP encoding in axis2 and found out that axis2 doesn't support it. Are there any workaround? We originally used. Part of that app we have upgraded to axis2 and we are using axis2 for all the new stuff. I really don't want to go back to axis1. Sanjay

Re: securing axis2

2009-09-18 Thread Amila Suriarachchi
On Wed, Sep 16, 2009 at 3:05 AM, Chris Snow sno...@snowconsulting.co.ukwrote: Is there any documentation on how to secure an axis2 installation. do you mean the files in the installation folder (eg. axis2.xml) or requests coming to server. for former case AFAIK the only solution is to protect

Re: xs:date issues in axis2-1.5

2009-09-18 Thread Asen
I am using axis2-1.5. I did not experience this error with 1.4.1 version even though I found this issue AXIS2-4447. This is my incoming object(pojo) using java.util.Date import java.util.Date; /** * Test pojo with xs:data * @author asen */ public class PojoIn implements PojoI { private

Re: xs:date issues in axis2-1.5

2009-09-18 Thread Asen
Here is how I am setting the date from the client: Calendar calendar = Calendar.getInstance(); calendar.clear(); calendar.set(2009,8,16); java.util.Date date = calendar.getTime(); On Fri, Sep 18, 2009 at 9:08 AM, Asen asen.m.ase...@gmail.com wrote: I am using axis2-1.5. I did not experience

Re: imcompatible issue between axis2 and weblogic 10

2009-09-18 Thread Nirav Shah
Hi, I am using Axis 2.1.5 which has axiom 1.2.8 on weblogic 9.2 and i still get a similar error.. java.lang.ClassCastException: com.ctc.wstx.stax.WstxInputFactory at javax.xml.stream.XMLInputFactory.newInstance(XMLInputFactory.java:136) at

RE: imcompatible issue between axis2 and weblogic 10

2009-09-18 Thread Hu, Mary - ITG
Try to use Weblogic native StAX parser. _ From: Nirav Shah [mailto:snirav.s...@gmail.com] Sent: Friday, September 18, 2009 5:01 PM To: axis-user@ws.apache.org Subject: Re: imcompatible issue between axis2 and weblogic 10 Hi, I am using Axis 2.1.5 which has axiom 1.2.8 on weblogic

Re: imcompatible issue between axis2 and weblogic 10

2009-09-18 Thread Nirav Shah
[mailto:snirav.s...@gmail.com] *Sent:* Friday, September 18, 2009 5:01 PM *To:* axis-user@ws.apache.org *Subject:* Re: imcompatible issue between axis2 and weblogic 10 Hi, I am using Axis 2.1.5 which has axiom 1.2.8 on weblogic 9.2 and i still get a similar error.. java.lang.ClassCastException

RE: imcompatible issue between axis2 and weblogic 10

2009-09-18 Thread Hu, Mary - ITG
Just remove Woodstock stax parser from application classpath. _ From: Nirav Shah [mailto:snirav.s...@gmail.com] Sent: Friday, September 18, 2009 5:18 PM To: axis-user@ws.apache.org Subject: Re: imcompatible issue between axis2 and weblogic 10 Hi Mary, And how do i configure

securing client request with name and password in axis2

2009-09-18 Thread jonah
Hi,all: I am using axis2 as webservice server.I want to securing client request with name and password.Only user name and password correct ,the client request can be processed;else The request will be refused.Is there existing module or handler can do this?

Re: securing client request with name and password in axis2

2009-09-18 Thread Prabath Siriwardena
Please have a look at [1]. Thanks regards. -Prabath [1]: http://blog.rampartfaq.com/2009/08/how-to-secure-web-service-with_18.html jonah wrote: Hi,all: I am using axis2 as webservice server.I want to securing client request with name and password.Only user name and password correct

Re: Axis2 timeouts configuration

2009-09-17 Thread Amila Suriarachchi
? In the Skeleton one? Also, is possible to configure the timeout in the server side using the axsi2.xml paremeter ConfigContextTimeoutInterval? The default value for Axis2 web services timeout is 60 seconds, isn't it? thank you, Mh 2009/9/16 Chinmoy Chakraborty cch...@gmail.com what exception

Forcing I/O streams in an axis2 client

2009-09-17 Thread Christophe Dehlinger
Hello, I am trying to write an Axis2 client for a SOAP service that can be reached through a SSH channel created by Maverick SSH. In practice, this means sending and reading SOAP/HTTP messages on an OutputStream/InputStream pair created by Maverick. What is the best way to have Axis2 use

Re: Forcing I/O streams in an axis2 client

2009-09-17 Thread Amila Suriarachchi
On Thu, Sep 17, 2009 at 12:54 PM, Christophe Dehlinger christophedehlin...@gmail.com wrote: Hello, I am trying to write an Axis2 client for a SOAP service that can be reached through a SSH channel created by Maverick SSH. In practice, this means sending and reading SOAP/HTTP messages

xs:date issues in axis2-1.5

2009-09-17 Thread Asen
Hi there, I am getting error on xs:date manipulations at the server side. Does anyone know any solution to this problem? Exception in thread main org.apache.axis2.AxisFault: date string can not be less than 19 charactors at

Re: securing axis2

2009-09-17 Thread Srinath Perera
You have two choices , https, (http://ws.apache.org/axis2/1_5/http-transport.html#httpsupport) and Message level security (WS-Secuirty see Rampart) . http://ws.apache.org/rampart/ http://www.ibm.com/developerworks/java/library/j-jws4/ --Srinath On Wed, Sep 16, 2009 at 3:05 AM, Chris Snow sno

Re: xs:date issues in axis2-1.5

2009-09-17 Thread Amila Suriarachchi
. how your service is written? what is the Axis2 version you use? thanks, Amila. -- Amila Suriarachchi WSO2 Inc. blog: http://amilachinthaka.blogspot.com/

Axis2 timeouts configuration

2009-09-16 Thread Moley Harey
Hi folks! I have implemented an Axis2 web service to retrieve some publication data stored remotely in a web server. I have done some tests and everything runs well but I have noticed that if I do several consecutive calls to the web service I receive Timeouts responses in the client side and I

Re: Axis2 timeouts configuration

2009-09-16 Thread Chinmoy Chakraborty
what exception you are getting? can you share your log? yes you can configure timeout in the client side..like options.setTimeOutInMilliSeconds(60); On Wed, Sep 16, 2009 at 2:12 PM, Moley Harey moleyha...@gmail.com wrote: Hi folks! I have implemented an Axis2 web service to retrieve some

Re: Axis2 timeouts configuration

2009-09-16 Thread Moley Harey
? In the Skeleton one? Also, is possible to configure the timeout in the server side using the axsi2.xml paremeter ConfigContextTimeoutInterval? The default value for Axis2 web services timeout is 60 seconds, isn't it? thank you, Mh 2009/9/16 Chinmoy Chakraborty cch...@gmail.com what

<    1   2   3   4   5   6   7   8   9   10   >