Re: speed up build process

2008-02-21 Thread Mark Nüßler
Hi Lahiru, sry can't see the attachment, can you send it again ? mfg derMark Lahiru Gunathilake schrieb: On Tue, 2008-02-19 at 08:58 +0530, Lahiru Gunathilake wrote: Hi Mark, This is what i have done and i have attached the generated code and VS project. Simply run your script by giving one

Re: Memory leak in WSDL2C client code

2008-02-21 Thread Lahiru Gunathilake
Hi Simone, Could you please raise a Jira for that.I'll have a look in to that.We are doing fixes these days so haven't check with memory leaks.Hope to do it ASAP. Regs lahiru On Thu, 2008-02-21 at 17:53 +0100, Simone Bordin wrote: Hi, i'm using axis2c 1.2 and the axis2java nigthly build. With

transport sender value is NULL

2008-02-21 Thread Vivian Zhou
Hi All, I have been experimenting using the AXIS2/c library. I am trying to send an XML input and receive back an XML by making a http/soap calls as a client. I I have followed the examples (I think) but I am still getting some errors. The log file says something like the following:

Re: transport sender value is NULL

2008-02-21 Thread Dinesh Premalal
Hi Vivian, Vivian Zhou [EMAIL PROTECTED] writes: phase PostDispatch [Thu Feb 21 22:11:34 2008] [debug] ..\..\src\core\engine\phase.c(122) axis2_handler_t *context_handler added to the index 1 of the phase PostDispatch [Thu Feb 21 22:11:34 2008] [debug]

Re: configure AxisServlet

2008-02-21 Thread mathieu fabre
So, if I understand well, your solution is to set nothing about the repository and configuration file (xml) For the configuration file, it works, but for the repository, axisServlet will not find the repository WEB-INF by default?? 2008/2/20, Davanum Srinivas [EMAIL PROTECTED]: -BEGIN

Re: How to get the properties in context.xml in the server skeleton class

2008-02-21 Thread Simon Steinacker
This way it works: MessageContext ctx = MessageContext.getCurrentMessageContext(); ServletContext sr = (ServletContext) ctx.getProperty(transport.http.servletContext); System.out.println(xsltPath: + sr.getInitParameter(xsltPath)); regards Simon Suriya Simsuwat wrote: Thank Simon for

Re: configure AxisServlet

2008-02-21 Thread mathieu fabre
Oups, sorry, i make a mistake. axisServlet will find the WEB-INF repository by defaut, it's right. Thanks for your answer and thanks for your time, Mat 2008/2/21, mathieu fabre [EMAIL PROTECTED]: So, if I understand well, your solution is to set nothing about the repository and configuration

Re: How to get the properties in context.xml in the server skeleton class

2008-02-21 Thread Suriya Simsuwat
Thank you very very much, Simon. It works like a charm this time. ;) Simon Steinacker [EMAIL PROTECTED] wrote: This way it works: MessageContext ctx = MessageContext.getCurrentMessageContext(); ServletContext sr = (ServletContext) ctx.getProperty(transport.http.servletContext);

Re: [Axis2] Deploying multiple services under single web app (single war file)

2008-02-21 Thread Antonio Manuel Muñiz Martín
Yes, it is. You can deploy each service independently in axis2 container. You only have to divide your WSDL in N WSDL´s and generate the aar files for each. Deploy the aar files in axis container, and you will have N web services. Each service may have its own axis2.xml and services.xml, look at

Multibyte character used in service name

2008-02-21 Thread Milan Kuchtiak
Hi, I used the C( character in services.xml for service:name attribute : ?xml version=1.0 encoding=UTF-8? service name=C(Service scope=application descriptionC(Service service/description messageReceivers messageReceiver mep=http://www.w3.org/2004/08/wsdl/in-only;

How to perform REST requests in a Service?

2008-02-21 Thread Moley Harey
Hi, I have implemented an Axis2 web service following the Axis2 Tutorials and using Axis Data Binding, I have implemented a client that test the SOAP over HTTP requests/responses. My question is what should I do to support not only SOAP but REST requests? I have seen in my axis2.xml file some

Java EE 5 and Axis2

2008-02-21 Thread Milan Kuchtiak
Hi, I am new in Axis2 and I have a question. Is there any recommended way how to use web resources (e.g. DataSource) for web services ? E.g. in Java EE 5 there is a nice way to inject a Data Source : private @Resource DataSource catalogDS; Thanks for any response. Milan

Re: Example policy file needed

2008-02-21 Thread Nandana Mihindukulasooriya
Hi Simon, Please take a look at samples come with the Apache Rampart distribution. They contain policies that defines Sample 01 - Username Token authentication Sample 05 - SAML token thanks, nandana [1] -

Re: ADB Binding error - Probably BUG

2008-02-21 Thread Amila Suriarachchi
What is the Axis2 version you use? if you get this error with a nightly build please log a jira. thanks, Amila. 2008/2/20 lucky [EMAIL PROTECTED]: Hi, We are developing a Axis2 Top-Down WebService and while invoking WS we are getting following exception at client side - Exception in

Re: Re: Policies in services.xml

2008-02-21 Thread Amila Suriarachchi
you have to specify them in service.xml file On Mon, Feb 18, 2008 at 4:39 PM, Christian Mielke [EMAIL PROTECTED] wrote: OK thanks for your reply, but RAMPART needs the policy in the services.xml, or not? Or is there another way to specify the policy for RAMPART and not in the services.xml?

Re: How to perform REST requests in a Service?

2008-02-21 Thread Charitha Kankanamge
Hi Moley, If I understood your question correctly, you don't have anything to configure in your axis2.xml or service implementation class in order to get the REST support. Suppose your service is Sampleservice and it has one operation called sayHello(). Then you can invoke your service in

Re: How to perform REST requests in a Service?

2008-02-21 Thread keith chapman
Axis2 by default supports both REST and SOAP unless u explicitly turn it off. Hence the default config makes all service can be accessed via REST. e.g the version can be accessed at http://localhost:8080/axis2/services/version/getVersion Thanks, Keith. On Thu, Feb 21, 2008 at 3:23 PM, Moley

Re: Badly formed XML response with array of complex types

2008-02-21 Thread GDavidson
Hi Everybody I am getting the same problem even when the return object only has an array of primitives Response message from web service is; ?xml version=1.0 encoding=utf-16? soapenv:Envelope xmlns:soapenv=http://schemas.xmlsoap.org/soap/envelope/; xmlns:xsd=http://www.w3.org/2001/XMLSchema;

Re: axis2 status of rpc encoding

2008-02-21 Thread John Langley
Thank you for your reply Martin, I'm digging into the problem more now. The offending service is defined by some wsdl that is complex enough to potentially obscure the problem. I will try and recreate the problem with a simple example and forward on the results as I get them. Thanks again for

External Schemas in WSDL

2008-02-21 Thread Kahler, Jason J (US SSA)
Is this still broken? Is there really no way for me to run the Maven aar plugin to build an archive that Has a WSDL with external schemas ? I try and everything builds, but I cannot get the WSDL back from my service. I don't believe supplying the full path to the schemas is possible (they

Re: [Axis2][Savan] Is there WS Eventing for Axis2/Java

2008-02-21 Thread Leon Searl
Hi Samir, No we are getting into an area that I am not very familiar with. I saw the same behavior with the savan sample. I turned on a whole bunch of debugging and found out that the publication message within the listener service was getting through most of the phases but seemed to be getting

ConfigurationContext and servletContext

2008-02-21 Thread mathieu fabre
Hi, I work on a webapp and I write my own transport (transportListener and transportSender) I use an axisServlet configured with axis2.xml. i need to obtain the servlet context during the configuration of my transport (init() method) Is it possible to obtain the servlet context by using

Objects created from Axis - modifyied in another class

2008-02-21 Thread Mat
I am creating an API layer over the Axis generated classes - one of the methods created off the stub is 'getAlertInterfaces' which returns 'AlertInterface[]'. When I try to pass the 'AlertInterface' array that was returned form 'getAlertIntefaces' I get the following exception. What I am trying

Nightly Rampart Build?

2008-02-21 Thread Simon Nunn
Is there a nightly rampart build available. I see the Axis2 nightlys at: http://people.apache.org/dist/axis2/nightly/, but I haven't been able to find anything pointing to a new rampart nightly build. -Simon

Problem accessing policy via external URI

2008-02-21 Thread dmike
I would like to store my policy information in a separate file and reference it from within WSDL via wsp:PolicyReference/@URI attribute. This does not seem to work for me. When I embed the policy details within the WSDL and then reference the policy internally (e.g. wsp:PolicyReference

RE: Badly formed XML response with array of complex types

2008-02-21 Thread Alick Buckley
Hi Gordon, This type of problem has been posted before, it was quite some time ago, you could search Axis mail list. You could look at upgrading from Axis 1.3 to Axis 1.4. I had no problems when upgrading from Axis 1.3 to Axis 1.4. I use Axis 1.4 and have no problems with sending and

Maven2 project

2008-02-21 Thread Lukasz Lenart
Hi, I want to setup maven2 project with axis2, but I can't find any example. What I want to achieve, is to build server-side classes from given WSDLs, implement the skeletons and build aar archive and maybe, deploy them to given server. Could you someone share with me the pom.xml, how it should

axis2 error on Sun app server 8.1

2008-02-21 Thread wxtech
Hi, I tried to deploy axis2 1.3 sample web service StockQuoteService on SunOne app server 8.1, and I keep getting errors when trying using http (and same error using Java client): http://localhost:8080/axis2/services/StockQuoteService/getPrice?symbo... Response: soapenv:Reason soapenv:Text

Re: Nightly Rampart Build?

2008-02-21 Thread Nandana Mihindukulasooriya
Hi Simon, Is there a nightly rampart build available. http://people.apache.org/repo/m2-snapshot-repository/org/apache/rampart/ regards, /nandana - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail:

Re: ConfigurationContext and servletContext

2008-02-21 Thread Deepal jayasinghe
mathieu fabre wrote: Hi, I work on a webapp and I write my own transport (transportListener and transportSender) I use an axisServlet configured with axis2.xml. i need to obtain the servlet context during the configuration of my transport (init() method) Is it possible to obtain the

SCT

2008-02-21 Thread Hardev Sian
I know that rahas has been integrated into rampart but I was interested at looking at this example : http://svn.apache.org/repos/asf/webservices/axis2/trunk/java/modules/integration/test/org/apache/axis2/security/rahas/RahasScenario3Test.java which talks about using an acquired

Re: axis2 status of rpc encoding

2008-02-21 Thread Amila Suriarachchi
I started adding rpc/encoding some times ago and there are some suggestions for that. I have to finish it. The current status is not completed. Most probably this will available with Axis2 1.4 release. Please create a jira with your wsdl. thanks, Amila. On Thu, Feb 21, 2008 at 6:45 PM, John

Re: WSDL parser

2008-02-21 Thread Demetris G
Hi all, does anyone know of a piece of code similar to the one below that can read/parse a local WSDL file serialized in a string rather than a remote WSDL given by a URI? Thanks Sukma Agung Verdianto wrote: Hi Demetris, You can try to use wsdl4j

Re: Axis2 changes the content of my static WSDL

2008-02-21 Thread Guy Rouillier
Hello from an Axis2 newbie. I joined too late to reply to the subject thread, which addresses getting Axis2 to report the original WSDL. Here is what Upul Godage said there on 2008-02-05: There is another parameter. modifyUserWSDLPortAddress Try adding this parameter also with the value

Re: WSDL parser

2008-02-21 Thread Sukma Agung Verdianto
Hi Demetris, To read a local file you could simply use file:///path/to/wsdl/file.wsdl as readWSDL argument - reader.readWSDL(file:///path/to/your/wsdl);, Or if you have a WSDL serialized in String, you could use reader.readWSDL( null, new InputSource(new StringReader(wsdlString))); Regards, Sukma

Re: WSDL parser

2008-02-21 Thread Demetris G
Hey Sukma, thanks for the response - I oringally went with the second option but I was getting an exception on the StringReader. I think I know what the problem is - at least you verified for me that I am on the right path. I appreciate it. Many regards once again Sukma Agung Verdianto

Topics for discussion at Microsoft re: Axis interop with .NET, Windows

2008-02-21 Thread Bjorn Townsend
(crossposted on the user and dev lists) I'm heading to Microsoft next week along with a number of other Apache folks to meet with them about improving compatibility between Apache projects and Windows Server 2008. I'd like to get input from the community as far as what people would like