Re: Exception in Axis2 Client when reading Attachment

2008-02-06 Thread Christoph Ludwig
Hi, On Wed, Feb 06, 2008 at 06:13:49PM -0500, Kiran Sriram wrote: > Hello, I am getting this exception when trying to read an attachment in Axis2 > client. > org.apache.axiom.om.OMException: javax.mail.MessagingException: Error in > input stream; > nested exception is: > java.io.IOException: A

webmethod parameter is object with btyte array problem

2008-02-06 Thread Kallai Kornel
Im consuming a webservice from .net framework, the webservice is based on tomcat 5.5 + axis. We have a problem with a webmethod: Response webmethod(Request); The Request class has 50 property and one of them is a big byte array. If the byte array property is one of the firsts at the serialization

Merging Axis and Tomcat applications in the same directory?

2008-02-06 Thread bisoa
Will it be possible to merge Axis and Tomcat applications serve at the same directory? Say merge servlets/jsps into Axis directory, or vice versa. Having separate paths create a number of problems in common resource management! Regards. -- View this message in context: http://www.nabble.com/Me

Re: Memory foorprints

2008-02-06 Thread Demetris G
Does anyone know which classes in Axis 1.4 are used to start Axis in standalone mode? Axis 2 has the .bat and .sh scripts for this but Axis 1.4 does not so I will have to start it manually ; AxisServer is the one? Thanks much Demetris G wrote: Hey all, I asked this one before but eithe

Port Count on the consumer

2008-02-06 Thread h b
Hello, there is a web service I'd like to consume from my web application. I have a stub generated from wsdl2java (that works great). My servlet is stateless, so now I'm worried about all the stubs I'd be creating and deleting and what that means to my web app. I think of ways around it, but firs

Re: [axis2] SimpleHTTPServer as transport listener causes too many connections to stay in TIME_WAIT state

2008-02-06 Thread Martin Gainty
In Synapse Did you look at configuring MaximumConcurrentAccess in /policy/throttle_policy.xml 10 M-- - Original Message - From: "Michele Mazzucco" <[EMAIL PROTECTED]> To: Sent: Wednesday, February 06, 2008 5:20 PM Subject: Re: [axis2] SimpleHTTPServer as transport listener causes too many

Exception in Axis2 Client when reading Attachment

2008-02-06 Thread Kiran Sriram
Hello, I am getting this exception when trying to read an attachment in Axis2 client. org.apache.axiom.om.OMException: javax.mail.MessagingException: Error in input stream; nested exception is: java.io.IOException: Attempted read on closed stream. at org.apache.axiom.attachments.Attachments.getP

Re: WebSphere 6.1 security and Axis2

2008-02-06 Thread Chris Rose
Tony Dean wrote: First for webservices you don't want to use basic authentication... you want to use ws-security standard. And I experienced the same frustration that you are having... how do you integrate axis2 security into the containers security sandbox... as far as I can tell you can't

Re: [axis2] SimpleHTTPServer as transport listener causes too many connections to stay in TIME_WAIT state

2008-02-06 Thread Michele Mazzucco
Martin, I meant the parameters of http core, since the synapse (or axis2) NIO listener uses it. Michele On 6 Feb 2008, at 20:58, Martin Gainty wrote: with regards to the last question.. I would take a look at increasing the maxThreads parameter on the NIOConnector e.g protocol="org.apach

RE: WebSphere 6.1 security and Axis2

2008-02-06 Thread Tony Dean
First for webservices you don't want to use basic authentication... you want to use ws-security standard. And I experienced the same frustration that you are having... how do you integrate axis2 security into the containers security sandbox... as far as I can tell you can't. It appears that on

WebSphere 6.1 security and Axis2

2008-02-06 Thread Chris Rose
I am trying to deploy axis2 on WebSphere Application Server 6.1 in an enterprise application that contains additional EJB jars. I am able to invoke the web services with no difficulty (I can set breakpoints inside their implementations and see logging from our service implementation) so -- for

Memory foorprints

2008-02-06 Thread Demetris G
Hey all, I asked this one before but either no one knows or it is not a priority about Axis's memory requirements. Does anyone know of a good analysis on the mem footprints that Axis (1.X or 2) has? Thanks - To unsubscri

Re: [axis2] SimpleHTTPServer as transport listener causes too many connections to stay in TIME_WAIT state

2008-02-06 Thread Martin Gainty
with regards to the last question.. I would take a look at increasing the maxThreads parameter on the NIOConnector e.g M-- - Original Message - From: "Michele Mazzucco" <[EMAIL PROTECTED]> To: Sent: Wednesday, February 06, 2008 12:37 PM Subject: Re: [axis2] SimpleHTTPServer as transpor

Re: [axis2] how to deal with read time out?

2008-02-06 Thread Michele Mazzucco
I forgot to mention that the MEP is in-out and I've enabled the use of a separate channel for the response (I guess it applies even if the sender used the NIO sender, doesn't it?) Michele On 6 Feb 2008, at 17:53, Michele Mazzucco wrote: how can I deal with read time out? -

[axis2] how to deal with read time out?

2008-02-06 Thread Michele Mazzucco
Hello everybody, how can I deal with read time out? One of my servers logged the following exception on the out fault phase. Is there any way to get the original destination and create a brand new MEP? xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"; xmlns:wsa="http://www.w3.or

Re: [axis2] SimpleHTTPServer as transport listener causes too many connections to stay in TIME_WAIT state

2008-02-06 Thread Michele Mazzucco
On 6 Feb 2008, at 16:50, Asankha C. Perera wrote: Michele Not if you are using the NIO listener on the server side and sending requests on the NIO listeners' port.. No, calls were made to the tomcat port. I don't understand what you are trying to achieve here.. if you are using the o.a.sy

Re: [axis2] SimpleHTTPServer as transport listener causes too many connections to stay in TIME_WAIT state

2008-02-06 Thread Asankha C. Perera
Michele Not if you are using the NIO listener on the server side and sending requests on the NIO listeners' port.. No, calls were made to the tomcat port. I don't understand what you are trying to achieve here.. if you are using the o.a.synapse NIO based transports to get over the TIME_WAIT p

RE: setMessageListener not permitted in Websphere

2008-02-06 Thread Marrows, George A (GE Infra, Energy)
Cathal said: > We are currently deploying axis2 in Websphere 6.1. We wish to use the jms > transport. However axis2 fails to start because it uses forbidden api's. I don't have an answer, but I am very interested in hearing about how best to do this - I posted a similar query on 30 Jan. > Init

Re: Axis & Tomcat on a server which requires proxy setting

2008-02-06 Thread Elisei Rotaru
Hi Martin, The wsdl can be found at http://eutils.ncbi.nlm.nih.gov/entrez/eutils/soap/eutils.wsdl* *The accompanying xsd files are downloaded automatically by wsdl2java when running from the relative location. The only instructions i found on how to build a client is the official: http://web.nc

setMessageListener not permitted in Websphere

2008-02-06 Thread callagc4
Hi, We are currently deploying axis2 in Websphere 6.1. We wish to use the jms transport. However axis2 fails to start because it uses forbidden api's. On startup axis2's JMSConnectionFactory class calls the listenOnDestination(String destinationJndi) method. Here it creates a MessageConsumer a

Re: SAML with Axis2

2008-02-06 Thread Nandana Mihindukulasooriya
Hi Nuria, I'm new in SAML with Axis2. I need using it in my web application so I would > like to know if it's possible to implement it thought WSS4J without rampart > module. > IFAIK, Rahas module handles trust related stuff in Rampart. So I don't think you will be able do this only with WSS4J.

SAML with Axis2

2008-02-06 Thread Nuria Rodríguez García
Hi, I'm new in SAML with Axis2. I need using it in my web application so I would like to know if it's possible to implement it thought WSS4J without rampart module. If it is not possible is there some explanation about the rampart sample05? I can't find the rampart-trust.mar module. Thanks, Nuria

Re: Axis & Tomcat on a server which requires proxy settings

2008-02-06 Thread Elisei Rotaru
Hello again, The Pubmed Website has hidden very well the last Version of their service with the such less support as they could give. *Known issues* Axis 2.x still is not able to generate correct code for eUtils WSDL. The recommended version of Axis for Java is 1.4. Therefore it is a problem of

Re: Axis & Tomcat on a server which requires proxy settings

2008-02-06 Thread Elisei Rotaru
Hi again, I have now tried to generate axis2 cliend code from the Pubmed WSDL and i get the following error: Caused by: org.apache.axis2.schema.SchemaCompilationException: The referenced element '{http://www.ncbi.nlm.nih.gov/soap/eutils/efetch}PMID' was not found! Can anyone explain what that er

Re: Extending axis2 client stub without modifying it

2008-02-06 Thread mgainty
The short answer is yes as you want to concentrate on deploying only the minimal set of classes and configurations possible Presuming you have axis-2.1.3..take a look at jax-ws-calculator-1.3.aar which contains: the basic serviceStub Response wsdl build environments of pom build.xml Bon Chance, Ma

Exclude some attributes from a web-service result bean

2008-02-06 Thread developer newsletter
Sorry if this is a duplicate now, but I did send this before I confirmed my mailing list participation and I am unsure wheter this was delivered. Subject: Exclude some attributes from a web-service result bean To: axis-user@ws.apache.org Hi, I have a running webservice that uses a business object

Re: Extending axis2 client stub without modifying it

2008-02-06 Thread ataud
I respond to myself :-) ... I found a solution that is interesting to share In spite of modifying code in client stub in order to extend it, it is suffisent to add in the classpath a jar file containing the followings: - org/apache/axis2/deployment/axis2_default.xml (parametrized by the needed co

Re: Size of Message

2008-02-06 Thread Suran Jayathilaka
h b wrote: > Hello, Is there a way I can measure the size of the message that gets > on the wire? I want to figure out how much pressure I'm gonna be > putting on the network. > > Thanks Try using tcpmon. It gives you the content length of the message. Suran. --

Exclude some attributes from a web-service result bean

2008-02-06 Thread developer newsletter
Hi, I have a running webservice that uses a business object class as return value. Now I have to add some attributes to this business class. I would like to do this without affecting the webservice because this would cause changes on the caller side of the webservice. Is there a way to exclude so

Extending axis2 client stub without modifying it

2008-02-06 Thread ataud
I have an existing client stub generated with Axis2 WSDL2Java. Is it possible to extends it only by adding in class path a jar file that contains: - axis2.xml - classes that extend the stub In axis1.x it is possible, but in axis2 it seams to be not , can some one confirm ? -- View this message

Java Axis Client for a .NET Windows Integrated Security protected web service

2008-02-06 Thread Asaf Lahav
Hello everybody, I'm trying to build a.NET Windows Integrated Security protected web service axis based client. I followed the instructions on the following link: http://people.etango.com/~markm/archives/2005/11/21/using_apache_axis_with_i ntegrated_windows_security.html And I'm still unable

Re: externalMapping to reuse types

2008-02-06 Thread Alistair Edwardes
Just as a follow up for anyone else interested in this topic. I was able to achieve what I wanted using a combination of approaches. First was to compile my application schemas into xmlbeans using the xmlbeans maven plugin instead of axis2. Compiling these with the pre-existing model (gml) xmlb