Access XML Header/Body element in handlers

2010-06-08 Thread Prateek Asthana
I have read the logging handler example which shows the MessageContext.getEnvelope() method. I would like to take this step further and see the handlers be able to parse the header ( or for that matter body) XML message and take appropriate actions. Can someone suggest how I can parse this XML me

RE: InOnly client code?

2010-06-08 Thread William Walsh
Hi Deepal, That runs if I change the end point port to match 6060. But, where should I look for the output "I am here" to show up? I can see the SOAP message in TCPMON; but, don't know if the request gets to the server. But since I'm doing this on WebSphere with EJB code I'm not sure how mu

Re: Does the service client caches attachments by default ?

2010-06-08 Thread Jorge Medina
I think I found the tickets related to my question in the JIRA system: https://issues.apache.org/jira/browse/WSCOMMONS-433 https://issues.apache.org/jira/browse/AXIS2-3872 I'll try with Axis2 1.6-snapshot and let you know. -Jorge On Tue, Jun 8, 2010 at 10:05 AM, Jorge Medina wrote: > Is that

Re: Loading a Custom Deployer

2010-06-08 Thread Jan Sinschek
On 6/8/2010 3:06 PM, Deepal Jayasinghe wrote: Are you using any kind of Application server or just Axis2 ? If you are using any kind of IDE, then you need to add your jar in to the project. If you are using any kind of application server like (Tomcat), then you need to put your jar into webapps/

Re: Does the service client caches attachments by default ?

2010-06-08 Thread Jorge Medina
Is that the nightly build? I could try, but what is the expected behavior ? Since the service generated stub is defined as "synchronous", Is the beaviour I am seeing expected ? does an Axis2 client caches all the attachment before returning? On Mon, Jun 7, 2010 at 6:48 PM, Andreas Veithen wrot

Re: REST and Content Type

2010-06-08 Thread nch
Just JSON? Isn't is possible to use arbitrary/plain text? Many thanks in advance. --- El mar, 8/6/10, Deepal Jayasinghe escribió: > De: Deepal Jayasinghe > Asunto: Re: REST and Content Type > Para: [email protected] > Fecha: martes, 8 de junio, 2010 14:28 > Axis2 support JSON. >

RE: Returning method returns xml that is not valid

2010-06-08 Thread Christian Gosch
Are you able to contact other people who might have had success in connecting to this service and using this method, maybe through support personnel or a forum of the service provider? What about manually changing the WSDL to make it match what is really happening (and then regenerate the code)

Re: Loading a Custom Deployer

2010-06-08 Thread Deepal Jayasinghe
Are you using any kind of Application server or just Axis2 ? If you are using any kind of IDE, then you need to add your jar in to the project. If you are using any kind of application server like (Tomcat), then you need to put your jar into webapps/axis2/WEB-INF/lib On Tue, Jun 8, 2010 at 8:48 A

Re: Loading a Custom Deployer

2010-06-08 Thread Jan Sinschek
hi, thanks for not losing interest. On 6/7/2010 2:31 PM, Deepal Jayasinghe wrote: What is "C:\Users\CSinschek" ? that is just the directory the shell comes up with, and it doesn't matter the classpath looks definitely ok to me C:\>echo %CLASSPATH% >>.;C:\Me\Apps\aspectj1.6\lib\aspectjrt.jar

Re: REST and Content Type

2010-06-08 Thread Deepal Jayasinghe
Axis2 support JSON. Deepal On Tue, Jun 8, 2010 at 7:45 AM, nch wrote: > Hi, there. > I'd like to know whether Axis2 REST web services support content types other > than XML (JSON, plain text, ...). > > Kind regards. > > > > > -

Returning method returns xml that is not valid

2010-06-08 Thread Thorsten Scherler
Hi all, I am integrating a 3rd party webservice over which I have no control. I used wdsl2java to create my client and I can connect to the service fine. However there is one method that returns a soap env that is not valid against the wdsl I created the client against. I have asked to generate t

REST and Content Type

2010-06-08 Thread nch
Hi, there. I'd like to know whether Axis2 REST web services support content types other than XML (JSON, plain text, ...). Kind regards. - To unsubscribe, e-mail: [email protected] For additional commands,

Error org.apache.axis2.AxisFault: SOAP header missing

2010-06-08 Thread mfiabane
I am writing a java client to consume a web service that I have no control of. The web service requires a sign message. I have configured Rampart to sign the message with file polocy.xml(as example n.2 of Rampart example) I have the callback handler working correctly. If I submit just the SOAP me