RE: ServiceClient behind an Axis Service

2011-07-08 Thread Christophe Noel
Dear all, I solved my Axis problem. The listening endpoint automatically created by Axis was not correct. When using a ServiceClient (itself behind an Axis Service), the reply-to endpoint should point to the application (which manage the ServiceClient) and a servlet-mapping should map the

Attaching huge attachments in axis2

2011-07-08 Thread Bhat B, Niranjan (NSN - IN/Bangalore)
Hi All, Recently I had a use case of attaching a huge attachment file(around 500 MB) in the request to a webservice. But however, when I tried to do this I see out of memory errors in application logs. Can you please let me know the efficient way of attaching huge attachment files in the reque

Error LocalTransportSender cannot be cast to TransportSender

2011-07-08 Thread Pedro Oliveira
Hi, I am trying to load an axis2.xml and a test.aar that is inside a jar. axis2ConfFile = getClass().getResource( BUNDLE_AXIS2_CONFIGURATION_RESOURCE); axis2Repo = getClass().getClassLoader().getResource(BUNDLE_AXIS2_REPO_PATH); ConfigurationContext context = ConfigurationContextFactory.createC

Problem with wsdl2java generating duplicate classes

2011-07-08 Thread Wallace Dennis Jr .
Hello, I am trying to do something that seems like it should be pretty straightforward, but when I generate code using wsdl2java, I end up with multiple versions of the same classes. Using the example WSDL below, I end up with both a GetClientInfo.java and a GetClientInfo_type0.java class that

REST JSON example - Please spend fee minutes

2011-07-08 Thread Mahesh kumar
Hi Im convenient with axis2 and its features were amazing. Comparing to jersey which supports only REST, axis2 can operate as SOAP, REST, supports JMS... Currently REST+JSON is getting popular. But REST+JSON sample is not available in axis2. I tried to implement my service using REST+JSON but onl

Suppress namespace prefix in SOAP request using JiBX

2011-07-08 Thread Ahmad Siddiqi
Hi, I am using Axis2 1.6.0 with JiBX 1.2.3. I have a web service client that sends out SOAP messages. I need to remove the namespace prefixes from those messages. So far I have tried two approaches: 1. Using the -sp option, which doesn't work. So, probably it's meant for ADB only. 2. Setting de

Re: Attaching huge attachments in axis2

2011-07-08 Thread Jorge Medina
Make sure you stream the file. I use SpringWS on the server side and Axis2 in the client side for downloading files. In the server side, I spawn a new thread to write the attachment portion using PipedInputStream/PipedOutputStream. To do an upload, I would do the same. Spawn a new thread to read

Re: Attaching huge attachments in axis2

2011-07-08 Thread Sanjiva Weerawarana
Have you tried with MTOM? Axis2 should be default stream it out to disk and hence should not go OOM. Sanjiva. On Fri, Jul 8, 2011 at 10:31 AM, Bhat B, Niranjan (NSN - IN/Bangalore) < [email protected]> wrote: > > Hi All, > > Recently I had a use case of attaching a huge attachment file(aro