Betr.: Obtain the SOAP envelope as DOM document or String

2008-11-03 Thread Arien Kock
> I'm writing some code to produce xml files that contain the XML SOAPenvelope. > ... > Is there a bit of the API that I can hook into so that I can do this? You can create a handler and add it to a desired Phase in the axis2.xml Using the calling getEnvelope().toString() on the MessageContext wi

Re: Obtain the SOAP envelope as DOM document or String

2008-11-03 Thread Amila Suriarachchi
use toString method. thanks, Amila. On Tue, Nov 4, 2008 at 6:42 AM, Matt Friedman <[EMAIL PROTECTED]>wrote: > I'm writing some code to produce xml files that contain the XML SOAP > envelope. > > I'm doing this because I'm creating random search requests for part of > our testing/benchmarking etc

Re: [AXIS2] Problem with HTTPS transport

2008-11-03 Thread Sagara Gunathunga
HI, Is there any way to expose a Endpoint binding with HTTPS only using AXIS2 ..? something like https://host:port/web/services/PayfoneService.PayfoneServiceHttpsEndpoint Thanks , On Mon, Nov 3, 2008 at 5:53 PM, Sagara Gunathunga < [EMAIL PROTECTED]> wrote: > > Hi, > We use Axis2-1.4 within

Re: about receive different types of attachment

2008-11-03 Thread th
i changed the axis to 1.4, and the problem was sovled,but another problem occrus.that is ,use axis 1.4 to send request soap message with a 10M attachment to a .net services ,there was a exception,as follow: WstxEOFException: Unexpected EOF in prolog error i wonder if the problem is happen in .net

Obtain the SOAP envelope as DOM document or String

2008-11-03 Thread Matt Friedman
I'm writing some code to produce xml files that contain the XML SOAP envelope. I'm doing this because I'm creating random search requests for part of our testing/benchmarking etc... I can create the client stub, configure it, and execute the search request, but I need to grab the SOAP envelope so

Necessary libraries for running Axis2 integrated with another webapp running under Tomcat?

2008-11-03 Thread Andrew Thorburn
I've got Axis2 running as part of another WebApp, which is in turn being run under Tomcat 5.5, and I'm wondering if anyone has a list of the absolute minimum set of libraries necessary for it to run without getting 'ClassNotFound' errors or similar. In order to get it working, I just grabbed all th

[Axis2] WSDL2Java ignores wsdl:documentation tag

2008-11-03 Thread Leif Olson
Hi, We would like to add comments that appear as javadoc comments in the source generated when we run WSDL2Java on our wsdl file. Currently, the only javadoc comments that appear are auto generated. Any wsdl:documentation tagged comments I add to our axis2 wsdl file do not appear in the genera

RE: XMLBeans customization parameters in Maven

2008-11-03 Thread Benjamin.Shrom
Can you be more specific? From: Amila Suriarachchi [mailto:[EMAIL PROTECTED] Sent: Friday, October 31, 2008 7:31 AM To: axis-user@ws.apache.org Subject: Re: XMLBeans customization parameters in Maven you can use xc (ie. -Exc) option to specify the xmlbeans config file with wsdl2java command line

Axis2 communication between web services

2008-11-03 Thread erlloyd
Hi everyone, I'm new to Axis2, and I'm wondering about something I'm seeing when I call one web service from another. I have two web services for a school project, one a 'SensorService' and one a 'SchoolService'. When I call method 'a()' on SensorService, it in turn calls method 'b()' on the Sch

about receive different types of attachment

2008-11-03 Thread th
hi, i'm using axis 1.3 to deploy a service to get request soap message with attachment using mtom,but i found the service can only receive .txt file.if receive another type file,for example test.rar which is 2M ,the attachment is in SOAP message,but when i get the attachment from a element that

Re: GZIP Response not work on Axis2

2008-11-03 Thread juliocest
Hi, Yes. I edited server.xml in order to enable compression. Don't work yet. I need discover the problem. Thanks. Julio dims wrote: > > did you edit tomcat server.xml? > http://www.cubicleman.com/2007/04/06/enabling-gzip-compression-with-tomcat-and-flex/ > > thanks, > dims > > On Mon, Nov

Which client for Axis2

2008-11-03 Thread ibrahim demir
Hi All.; I have a question. Now I want to call some web services that will be published from a .NET side and will be based on WCF. So for not having so much trouble which axis2 client type I must use. Do you prefer RPCServiceClient or something diffrent. there wont be much non-primitive data

Intercepting HTTP status code in Transport

2008-11-03 Thread Arien Kock
Hi mailinglist, When my ws client has trouble connecting to the service due to errors at the transport level, I'd like for there to be a way to detect HTTP status codes. Right now all I can do is catch an AxisFault that gets thrown when StAXSOAPModelBuilder stumbles on something it can't parse cor

Re: GZIP Response not work on Axis2

2008-11-03 Thread Davanum Srinivas
did you edit tomcat server.xml? http://www.cubicleman.com/2007/04/06/enabling-gzip-compression-with-tomcat-and-flex/ thanks, dims On Mon, Nov 3, 2008 at 10:20 AM, juliocest <[EMAIL PROTECTED]> wrote: > > Hi everybody! > > I made an application that send attachments on soap message using SWA and >

GZIP Response not work on Axis2

2008-11-03 Thread juliocest
Hi everybody! I made an application that send attachments on soap message using SWA and MTOM. The client and server works properly. Now, I am trying to use GZIP in order to compress/decompress SOAP messages. My Service code: public OMElement downloadFileSWA(OMElement element) throws Exc

axis2 wsdl2java problem

2008-11-03 Thread varala
Hi, I am trying to build stubs for the given hi5 wsdl using the following : wsdl2java -uri http://api.hi5.com/ns6.wsdl -o hicnd but i am unable to create it because of the following exception: Retrieving document at 'http://api.hi5.com/ns6.wsdl'. Retrieving schema at 'hi5.xsd', relative to

Re: axis2 - eclipse web service wizard error

2008-11-03 Thread Lahiru Sandakith Gallege
Hi Yoav, This is surely due to a issue .. I would be very happy if you can log an issue either on Apache Axis2[1] under tools or Eclipse WTP[2] under web services or both. Please mention the version combinations that you are using on this scenario. (Axis2 version, Eclipse WTP version etc.. ) on

[AXIS2] Problem with HTTPS transport

2008-11-03 Thread Sagara Gunathunga
Hi, We use Axis2-1.4 within a Spring application , and we have a requirement to expose web service only for HTTPS transport. So I did the following procedure . 1.) Enable the in axis2.xml file . (Initially I got an error but once I add HttpCore and HttpCore -nio as Maven dependencies it solved.)

Re: axis2: TemporaryTemplate not found

2008-11-03 Thread Asankha
Hi Shen > unluckily , still got the error of "temporary queue can not be created for > response". > ... > weblogic.jms.common.JMSException: TemporaryTemplate not found. > Please make sure that you have configured a TemporaryTemplate for your > JMSServer(s). > ... > > Although I created a Temporar

axis2: TemporaryTemplate not found

2008-11-03 Thread Shen, Chunxia
Hi all, my project is built on axis2 , with weblogic jms as transport . weblogic version 8.1 jdk version 1.4 axis2 version 2.1.4 I have changed the axis2.xml to suit for jms transport both on client and server. unluckily , still got the error of "temporary queue can not be created for respon

Issue in WSDL2Java Generation

2008-11-03 Thread Meenakshisundaram, Pattabiraman
Hi, I have problem in using the generated stub as I am getting compilation error (param0 not defined) as shown below. I also understand that many others have asked but I could not see any solution. // add the children only if the parameter is not null

axis2 - eclipse web service wizard error

2008-11-03 Thread Yoav Naveh
Hello, When I use the eclipse (GUI) wizard to generate code from my wsdl file (right clicking on the wsdl file, choosing Web Services and then Generate Java bean Skeleton) when I press the next button and get to the Axis2 Web Service Skeleton Java Bean Configuration screen the service name, port n