Re: Axis using more than 256MB for a 9MB file

2006-09-15 Thread Thilina Gunarathne

Try Axis2 with File Caching Switched On.. We have tested Axis2 with
files ~1GB without much hassel.

IIRC Axis1.x too has the file caching option..

~Thilina

On 9/15/06, Neil Aggarwal <[EMAIL PROTECTED]> wrote:

Hello:

Does Axis2 solve these problems?

Thanks,
Neil


--
Neil Aggarwal, (214)986-3533, www.JAMMConsulting.com
FREE! Eliminate junk email and reclaim your inbox.
Visit http://www.spammilter.com for details.

> -Original Message-
> From: Neil Aggarwal [mailto:[EMAIL PROTECTED]
> Sent: Wednesday, September 13, 2006 4:43 PM
> To: axis-user@ws.apache.org
> Subject: Axis using more than 256MB for a 9MB file
>
> Hello:
>
> I have a web service deployed using Axis 1.4
>
> In that service, I have a method that accepts a
> String containing an XML document.
>
> When I try to upload a 9MB XML file into my service,
> Axis seems to be taking up a HUGE amount of memory.
>
> If I set the JVM to 256MB of heap, it runs out of
> memory and throws an OutOfMemoryException.
>
> If I set the JVM to 512MB of heap, I get the file
> just fine.
>
> The problem occurs *before* my web service method
> is even invoked.
>
> The service is running on Tomcat on Windows.
>
> Any ideas why Axis would consume so much memory?
>
> Thanks,
>   Neil
>
>
> --
> Neil Aggarwal, (214)986-3533, www.JAMMConsulting.com
> FREE! Eliminate junk email and reclaim your inbox.
> Visit http://www.spammilter.com for details.
>
>
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]





--
"May the SourcE be with u"
http://webservices.apache.org/~thilina/
http://thilinag.blogspot.com/
http://www.bloglines.com/blog/Thilina

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



[ANN] Apache AXIOM 1.1 Released

2006-09-15 Thread Eran Chinthaka
http://ws.apache.org/commons/axiom

we are proud to announce the release of Version 1.1 of Apache AXIOM!
(Download : http://ws.apache.org/commons/axiom/download.cgi )

Apache AXIOM is a StAX-based, XML Infoset compliant object model which
supports on-demand building  of the object tree. It supports a novel
"pull-through" model which allows one to turn off the tree  building and
directly access the underlying pull event stream. It also has built-in
support for XML  Optimized Packaging (XOP) and MTOM, the combination of
which allows XML to carry binary data  efficiently and in a transparent
manner. The combination of these results in a easy to use API with a
very  high performant architecture!

Key Features


* Full XML Infoset compliant XML object model
* StAX based builders with on-demand building and pull-through
* XOP/MTOM support offering direct binary support
* Convenient SOAP Infoset API on top of AXIOM
* Two implementations included:
  o Linked list based implementation
  o W3C DOM supporting implementation
* High performant

What's New in This Release
==

* Improved XML serialization
* DOM Hash implementation
* Improved MTOM handling
* Improved tree handling with multiple partial built elements
* Numerous bug fixes

If you like to contribute to AXIOM please help us to shape AXIOM. Any
contribution in the form of coding, testing, submitting improvements to
the documentation, and reporting bugs are always welcome.

Project Mailing List : commons-dev@ws.apache.org

Thanks for your interest in Apache AXIOM!


-The Apache AXIOM Development Team





signature.asc
Description: OpenPGP digital signature


RE: Axis 2 and TCP/IP Monitor

2006-09-15 Thread Arno Leist
Oh I found the problem. My local firewall blocked the call, I must have
changed the rules at some point in time :(. Thanks for the reply.


Cheers,
Arno

> -Original Message-
> From: Ajith Ranabahu [mailto:[EMAIL PROTECTED] 
> Sent: Saturday, September 16, 2006 5:50 AM
> To: axis-user@ws.apache.org
> Subject: Re: Axis 2 and TCP/IP Monitor
> 
> Hmmm..
> Strange !  The "parser already accessed" message means that 
> the system tried to serialize with consuming *twice*. It can 
> be that due to some communication error the system tries 
> serializing the message again ?
> Can you make sure your tcpmon settings are indeed right by 
> some other means - say pointing the browser to the listen 
> port and monitoring what shows up in tcpmon ?
> 
> Ajith
> 
> On 9/16/06, Arno Leist <[EMAIL PROTECTED]> wrote:
> > Hello all,
> >
> > I have a problem with Axis 2 and the Eclipse TCP/IP Monitor 
> or tcpmon.
> > Whenever I try to route my SOAP messages through one of these 
> > monitoring tools I get an AxisFault "Parser already accessed!". 
> > Everything works fine when I send the SOAP message directly 
> to the WS 
> > (which is running on the local machine). The monitor receives the 
> > outgoing message but can't connect to the WS. I am pretty 
> sure that I 
> > am doing nothing else than what I did with Axis 1 in other 
> projects. 
> > The SOAP message is sent over a synchronious transport 
> connection. Any suggestions?
> >
> >
> > Thanks,
> > Arno
> >
> >
> > 
> -
> > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > For additional commands, e-mail: [EMAIL PROTECTED]
> >
> >
> 
> 
> --
> Ajith Ranabahu
> 
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: Axis 2 and TCP/IP Monitor

2006-09-15 Thread Ajith Ranabahu

Hmmm..
Strange !  The "parser already accessed" message means that the system
tried to serialize with consuming *twice*. It can be that due to some
communication error the system tries serializing the message again ?
Can you make sure your tcpmon settings are indeed right by some other
means - say pointing the browser to the listen port and monitoring
what shows up in tcpmon ?

Ajith

On 9/16/06, Arno Leist <[EMAIL PROTECTED]> wrote:

Hello all,

I have a problem with Axis 2 and the Eclipse TCP/IP Monitor or tcpmon.
Whenever I try to route my SOAP messages through one of these monitoring tools
I get an AxisFault "Parser already accessed!". Everything works fine when I
send the SOAP message directly to the WS (which is running on the local
machine). The monitor receives the outgoing message but can't connect to the
WS. I am pretty sure that I am doing nothing else than what I did with Axis 1
in other projects. The SOAP message is sent over a synchronious transport
connection. Any suggestions?


Thanks,
Arno


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]





--
Ajith Ranabahu

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Axis 2 and TCP/IP Monitor

2006-09-15 Thread Arno Leist
Hello all,

I have a problem with Axis 2 and the Eclipse TCP/IP Monitor or tcpmon. 
Whenever I try to route my SOAP messages through one of these monitoring tools 
I get an AxisFault "Parser already accessed!". Everything works fine when I 
send the SOAP message directly to the WS (which is running on the local 
machine). The monitor receives the outgoing message but can't connect to the 
WS. I am pretty sure that I am doing nothing else than what I did with Axis 1 
in other projects. The SOAP message is sent over a synchronious transport 
connection. Any suggestions?


Thanks,
Arno


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: Axis 1.3 and Cator

2006-09-15 Thread Anne Thomas Manes

Googling "axis castor" yielded these results:

http://www-128.ibm.com/developerworks/webservices/library/ws-castor/
http://mail-archives.apache.org/mod_mbox/ws-axis-user/200505.mbox/[EMAIL 
PROTECTED]
http://www.sosnoski.com/presents/cleansoap/axis.html

Anne

On 9/14/06, [EMAIL PROTECTED]
<[EMAIL PROTECTED]> wrote:





Hi User-Group,



I am using Axis 1.3 and trying to use Castor as the binding tool. I have got
it to work with some unpleasant work around. I was wondering if anybody in
this group has tried this before.



Another question regarding the schema validation, does Axis 1.3 support
schema validation?



Would appreciate your inputs



Cheers

Rishi






 This message is intended for the addressee or its representative only.
 Any form of unauthorized use, publication, reproduction, copying or
 disclosure of the content of this e-mail is not permitted. If you are
 not the intended recipient of this e-mail message and its contents,
 please notify the sender immediately and delete this message and
 all its attachments subsequently.



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: Axis adding namespace to the soapbody elements

2006-09-15 Thread Anne Thomas Manes

Why does it fail? The two messages are semantically equivalent.

Anne

On 9/13/06, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:

Hello all,

I appreciate if someone can help me on this and my apologies if it's
been asked and answered before.

I was wondering why Axis is adding a namespace to the elements in the
soap body.

The soapbody element is created from a Document created by JAXB. I
believe since elementFromDefault="qualified" is set in the schema, JAXB
adds the default namespace (the same as target namespace) to the
element. But then later, Call.invoke(SOAPBodyElement[]) adds another
namespace.

Example:

Before calling Call.invoke(SOAPBodyElement[]):
==

http://www.osg.ca/Repair";>
2006-07-22T03:13:34.000Z
...



What Call.invoke(SOAPBodyElement[]) is sending to the endpoint
==

http://www.osg.ca/Repair";
xmlns="http://www.osg.ca/Repair";>
2006-07-22T03:13:34.000Z
...




The fact is it passes our schema validation but fails at the endpoint.

Thanks,
Seyed Bostandoustnik

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: Axis2 import xsd into WSDL and generator WSDL2Java

2006-09-15 Thread Anne Thomas Manes

To clarify, You may not use  to import an XSD file. You
must use . It would look like this:

http://com/nuance/pws/middleware/beans/calculator";
   .
   
xmlns:tns1="http://com/nuance/pws/middleware/beans/calculator/schemas";
   
   
  http://com/nuance/pws/middleware/beans/calculator";
  xmlns:xsd="http://www.w3.org/2000/10/XMLSchema";>
  http://com/nuance/pws/middleware/beans/calculator/schemas";
schemaLocation="http://com/nuance/pws/middleware/beans/calculator/Calculator_new.xsd"/>
   
   
   
   

  

Anne

On 9/15/06, Spies, Brennan <[EMAIL PROTECTED]> wrote:

Are you using the  inside the  section of your WSDL (i.e., is
it the xsd:import rather than the wsdl:import)?

-Original Message-
From: Sergey GMAIL [mailto:[EMAIL PROTECTED]
Sent: Friday, September 15, 2006 7:07 AM
To: axis-user@ws.apache.org
Subject: Axis2 import xsd into WSDL and generator WSDL2Java

Hello, axis-user.
I have a problem, as correctly to import *.xsd chart in WSDL and then
correctly using a WSDL2Java generate code ?
My code:
WSDL:

http://com/nuance/pws/middleware/beans/calculator";
 .

xmlns:tns1="http://com/nuance/pws/middleware/beans/calculator/schemas";
 
http://com/nuance/pws/middleware/beans/calculator/schemas";

location="http://com/nuance/pws/middleware/beans/calculator/Calculator_new.xs
d"/>
 
 
 
  


XSD:

http://com/nuance/pws/middleware/beans/calculator/schemas";
   xmlns="http://www.w3.org/2000/10/XMLSchema";>

 








 ...

 doesn't work  :(

 How do correct wsdl?

 Thanks.
--
WBR,
 Sergey  mailto:[EMAIL PROTECTED]


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: wsdl2java completes, but the resulting code is not matching the wsdl

2006-09-15 Thread Anne Thomas Manes

Axis2 does not support SOAP Encoding, so, yes, this simple WSDL is
enough to break Axis2.

Anne

On 9/15/06, STEINER Stephan <[EMAIL PROTECTED]> wrote:





I'm afraid my first attempt in using axis2 has been somewhat less than
successful. I created the client side stub from the attached WSDL file and
started coding.



When I got to the point where I make the request and get a
SearchDirectoryResponse object back, I'd then try to get the employees
array.. but it just ain't there. Looking at the stub sources, there's no
such thing as an employee class.. the 4 classes for the message exchange
that are being created are SearchDirectory, _searchDirectoryInput,
SearchDirectoryResponse and _searchDirectoryOutput, but nothing about
employees, neither for the input nor the output (according to the WSDL, the
SearchDirectoryRequest should have 3 string parameters.. and they are
nowhere to be found).



Am I missing something or is that simple WSDL enough to break axis?



Regards

Stephan
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]





-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: [Axis2] User Guide's Writing Web Services by Code Generating Skeleton

2006-09-15 Thread Michael Larkin
Dear Robert,

Thank you for referring me to the ant tutorial. It was very helpful!

I would be grateful if you could answer two questions.

First Question: Why wouldn't the userguide example's ant build file (which
appears after running WSDL2Java with the parameters specified in the User
Guide) successfully build the project - without modification?

Second Question: Is the userguide example not supposed to be built using the
created ant build file?

Thanks again!

Regards,

Michael

-Original Message-
From: robert lazarski [mailto:[EMAIL PROTECTED] 
Sent: Friday, September 15, 2006 4:28 PM
To: axis-user@ws.apache.org
Subject: Re: [Axis2] User Guide's Writing Web Services by Code Generating
Skeleton

Try following the wsdl2java ant tutorial:

http://ws.apache.org/axis2/tools/1_0/CodegenToolReference.html#invoking

Robert

On 9/15/06, Michael Larkin <[EMAIL PROTECTED]> wrote:
> Dear Axis2 User Community,
>
> I am having difficulty building the first (userguide) example in the Axis2
> User Guide in the section entitled Writing Web Services by Code Generating
> Skeleton under Packaging.
>
> Although I am able to build create the skeleton files using WSWDL2Java, I
> (apparently - or, perhaps, obviously) do not know how to successfully
> compile the source. The documentation states:
>
> "Copy the [schemaorg_apache_xmlbeans directory] to your path; compile the
> skeleton and supporting classes."
>
> Would it be possible to obtain more specific instructions?
>
> Please note that I ran ant using the build.xml without success. I passed
the
> pre.compile.test step but failed in the src.compile step with "package
> org.apache." does not exits where  includes
> receivers, context, xmlbeans, axiom, etc.
>
> I apologize for the naïve question and thank you, in advance, for your
> assistance.
>
> (Incidentally, I would be happy to provide additional detail (if
necessary)
> to any documentation associated with an example that I am successfully
able
> to complete - undoubtedly with some assistance from the user community.
> Please let me know if there is any interest.)
>
> Again, thanks!
>
> Regards,
>
> Michael
>
>
>
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]





-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: [Axis2] Axis1 a better choice?

2006-09-15 Thread Ajith Ranabahu

Hi,
Well I guess most of  the testing of Axis2.war happened in Tomcat
5.0.xx. it should be fairly stable :)

Ajith

On 9/15/06, Frank Zhou <[EMAIL PROTECTED]> wrote:

Hi All,

I have a similar question. Does anyboby know if AXIS2
works with TOMCAT 5.0.28? Any known issues?

Thanks much.

Frank

__
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around
http://mail.yahoo.com

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]





--
Ajith Ranabahu

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: [Axis2] Axis1 a better choice?

2006-09-15 Thread Davanum Srinivas

Please use nightly it works for me.

-- dims

On 9/15/06, Frank Zhou <[EMAIL PROTECTED]> wrote:

Hi All,

I have a similar question. Does anyboby know if AXIS2
works with TOMCAT 5.0.28? Any known issues?

Thanks much.

Frank

__
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around
http://mail.yahoo.com

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]





--
Davanum Srinivas : http://www.wso2.net (Oxygen for Web Service Developers)

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: [Axis2] Axis1 a better choice?

2006-09-15 Thread Frank Zhou
Hi All, 

I have a similar question. Does anyboby know if AXIS2
works with TOMCAT 5.0.28? Any known issues?

Thanks much.

Frank

__
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: [Axis2] User Guide's Writing Web Services by Code Generating Skeleton

2006-09-15 Thread robert lazarski

Try following the wsdl2java ant tutorial:

http://ws.apache.org/axis2/tools/1_0/CodegenToolReference.html#invoking

Robert

On 9/15/06, Michael Larkin <[EMAIL PROTECTED]> wrote:

Dear Axis2 User Community,

I am having difficulty building the first (userguide) example in the Axis2
User Guide in the section entitled Writing Web Services by Code Generating
Skeleton under Packaging.

Although I am able to build create the skeleton files using WSWDL2Java, I
(apparently - or, perhaps, obviously) do not know how to successfully
compile the source. The documentation states:

"Copy the [schemaorg_apache_xmlbeans directory] to your path; compile the
skeleton and supporting classes."

Would it be possible to obtain more specific instructions?

Please note that I ran ant using the build.xml without success. I passed the
pre.compile.test step but failed in the src.compile step with "package
org.apache." does not exits where  includes
receivers, context, xmlbeans, axiom, etc.

I apologize for the naïve question and thank you, in advance, for your
assistance.

(Incidentally, I would be happy to provide additional detail (if necessary)
to any documentation associated with an example that I am successfully able
to complete - undoubtedly with some assistance from the user community.
Please let me know if there is any interest.)

Again, thanks!

Regards,

Michael



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: How to use wsdl2java for multiple services or multiple ports

2006-09-15 Thread Gul Onural

I checked the JIRA for that and it is marked as minor. Is there a
workaround for this issue or
there is no way to use the wsdl2java for wsdl files with multiple
services or multiple portTypes ? What is the recommeded way/workaround ?


Thanks,

Gul


-Original Message-
From: Davanum Srinivas [mailto:[EMAIL PROTECTED] 
Sent: Friday, September 15, 2006 4:07 PM
To: axis-user@ws.apache.org
Subject: Re: How to use wsdl2java for multiple services or multiple
ports

That one is still open:
http://issues.apache.org/jira/browse/AXIS2-352

-- dims

On 9/15/06, Gul Onural <[EMAIL PROTECTED]> wrote:
>
>
>
>
> A colleague in this e-mail group pointed out a "resolved" JIRA about 
> support for wsdl files with multiple portTypes or multiple services.
>
> However nightly wsdl2java don't have an option to generated code for
"all"
> the portTypes.
>
> How should I use the wsdl2java to generate code for wsdl files with 
> multiple portTypes or multiple services ?
>
> Thanks,
>
> Gul


--
Davanum Srinivas : http://www.wso2.net (Oxygen for Web Service
Developers)

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



[Axis2] getting the security principal for x509 authentication profile

2006-09-15 Thread Anamitra . Bhattacharyya

Hi
I have gone through the ws02 article [http://www.wso2.net/kb/169] whcich
explains how to get a security principal for a UserNametoken scenario. Just
wondering would the same thing hold for x509 based authentication profile
too?
 If thats the case then I am assuming the service code can be
independenpent of the authentication profile the user configures for the
service - as I can allways use that api to get the security principal.To
the best of my knowledge this how a j2ee authentication will work and the
programmer uses only context.getPrincipal() to get the principal.
Can anyone pls let me know if that sample [http://www.wso2.net/kb/169] will
work for x509 too.
thanks
Anamitra


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



getting the security principal for x509 authentication profile

2006-09-15 Thread Anamitra . Bhattacharyya

Hi
I have gone through the ws02 article [http://www.wso2.net/kb/169] whcich
explains how to get a security principal for a UserNametoken scenario. Just
wondering would the same thing hold for x509 based authentication profile
too?
 If thats the case then I am assuming the service code can be
independenpent of the authentication profile the user configures for the
service - as I can allways use that api to get the security principal.To
the best of my knowledge this how a j2ee authentication will work and the
programmer uses only context.getPrincipal() to get the principal.
Can anyone pls let me know if that sample [http://www.wso2.net/kb/169] will
work for x509 too.
thanks
Anamitra


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: How to use wsdl2java for multiple services or multiple ports

2006-09-15 Thread Davanum Srinivas

That one is still open:
http://issues.apache.org/jira/browse/AXIS2-352

-- dims

On 9/15/06, Gul Onural <[EMAIL PROTECTED]> wrote:





A colleague in this e-mail group pointed out a "resolved" JIRA about support
for wsdl files with multiple portTypes or multiple services.

However nightly wsdl2java don't have an option to generated code for "all"
the portTypes.

How should I use the wsdl2java to generate code for wsdl files with multiple
portTypes or multiple services ?

Thanks,

Gul



--
Davanum Srinivas : http://www.wso2.net (Oxygen for Web Service Developers)

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



How to use wsdl2java for multiple services or multiple ports

2006-09-15 Thread Gul Onural
Title: How to use wsdl2java for multiple services or multiple ports 







A colleague in this e-mail group pointed out a "resolved" JIRA about support for wsdl files with multiple portTypes or multiple services.

However nightly wsdl2java don't have an option to generated code for "all" the portTypes. 


How should I use the wsdl2java to generate code for wsdl files with multiple portTypes or multiple services ?


Thanks,


Gul





RE: [AXIS2] Calling SOAP version on WebSphere works with Release1; Possible bug in nightilies

2006-09-15 Thread VanKooten, Derek
I wont be able to try it out till Monday when I get back to work.
I'll try it out then.
Thanks.

-Original Message-
From: Davanum Srinivas [mailto:[EMAIL PROTECTED] 
Sent: Friday, September 15, 2006 3:01 PM
To: axis-user@ws.apache.org
Subject: Re: [AXIS2] Calling SOAP version on WebSphere works with
Release1; Possible bug in nightilies

Nevermind. Fixed. Please pick up a nightly in another hour or so.

On 9/15/06, Davanum Srinivas <[EMAIL PROTECTED]> wrote:
> Please log a bug report in JIRA.
>
> thanks,
> dims
>
> On 9/15/06, VanKooten, Derek <[EMAIL PROTECTED]> wrote:
> > Ok, its working in websphere 6 now with this build.
> > I'm able to call my service again.
> > Thanks! :)
> >
> > Btw, I was also finally able to get the "eager inintialization" to
work
> > as well.
> >
> > Seems like the actual method signature to use for the init or
startup
> > methods were not the same as what I read in the forums or in the
JIRA.
> >
> > When I implemented the Service interface and used those methods it
> > worked correctly.
> >
> >   public void startUp(ConfigurationContext configurationContext,
> > AxisService axisService);
> >   public void init(ServiceContext serviceContext);
> >
> > and I had to put the "load-on-startup" parameter into the
services.xml.
> > true
> >
> > I am now getting another error when I try
> >
> >
http://localhost:9080/PersonalizationEngine/services/PersonalizationServ
> > ices?wsdl
> >
> > I get this:
> >
> > Error page exception
> > The server cannot use the error page specified for your application
to
> > handle the Original Exception printed below. Please see the Error
Page
> > Exception below for a description of the problem with the specified
> > error page.
> >
> >
> > Original Exception:
> > Error Message: String index out of range: 14
> > Error Code: 500
> > Target Servlet: AxisServlet
> > Error Stack:
> > java.lang.StringIndexOutOfBoundsException: String index out of
range: 14
> >
> >  at java.lang.String.substring(String.java(Compiled Code))
> >  at
> >
org.apache.axis2.transport.http.ListingAgent.extractHostAndPort(ListingA
> > gent.java:126)
> >  at
> >
org.apache.axis2.transport.http.ListingAgent.processListService(ListingA
> > gent.java:166)
> >  at
> >
org.apache.axis2.transport.http.AxisServlet.doGet(AxisServlet.java:165)
> >  at javax.servlet.http.HttpServlet.service(HttpServlet.java:743)
> >  at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
> >  at
> >
com.ibm.ws.webcontainer.servlet.ServletWrapper.service(ServletWrapper.ja
> > va:1282)
> >  at
> >
com.ibm.ws.webcontainer.servlet.ServletWrapper.handleRequest(ServletWrap
> > per.java:673)
> >  at
> >
com.ibm.ws.webcontainer.servlet.CacheServletWrapper.handleRequest(CacheS
> > ervletWrapper.java:89)
> >  at
> >
com.ibm.ws.webcontainer.WebContainer.handleRequest(WebContainer.java:187
> > 8)
> >  at
> >
com.ibm.ws.webcontainer.channel.WCChannelLink.ready(WCChannelLink.java:8
> > 4)
> >  at
> >
com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleDiscriminatio
> > n(HttpInboundLink.java:472)
> >  at
> >
com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleNewInformatio
> > n(HttpInboundLink.java:411)
> >  at
> >
com.ibm.ws.http.channel.inbound.impl.HttpICLReadCallback.complete(HttpIC
> > LReadCallback.java:101)
> >  at
> >
com.ibm.ws.tcp.channel.impl.WorkQueueManager.requestComplete(WorkQueueMa
> > nager.java:566)
> >  at
> >
com.ibm.ws.tcp.channel.impl.WorkQueueManager.attemptIO(WorkQueueManager.
> > java:619)
> >  at
> >
com.ibm.ws.tcp.channel.impl.WorkQueueManager.workerRun(WorkQueueManager.
> > java:952)
> >  at
> >
com.ibm.ws.tcp.channel.impl.WorkQueueManager$Worker.run(WorkQueueManager
> > .java:1039)
> >  at com.ibm.ws.util.ThreadPool$Worker.run(ThreadPool.java:1462)
> >
> >
> >
> >
> > Error Page Exception:
> > Error Message: SRVE0199E: OutputStream already obtained
> > Error Code: 0
> > Target Servlet: null
> > Error Stack:
> > java.lang.IllegalStateException: SRVE0199E: OutputStream already
> > obtained
> >  at
> >
com.ibm.ws.webcontainer.srt.SRTServletResponse.getWriter(SRTServletRespo
> > nse.java:467)
> >  at
> >
org.apache.jasper.runtime.JspWriterImpl.initOut(JspWriterImpl.java:170)
> >  at
> >
org.apache.jasper.runtime.JspWriterImpl.flushBuffer(JspWriterImpl.java:1
> > 63)
> >  at
> >
org.apache.jasper.runtime.PageContextImpl.release(PageContextImpl.java:2
> > 17)
> >  at
> >
org.apache.jasper.runtime.JspFactoryImpl.internalReleasePageContext(JspF
> > actoryImpl.java:149)
> >  at
> >
org.apache.jasper.runtime.JspFactoryImpl.releasePageContext(JspFactoryIm
> > pl.java:117)
> >  at com.ibm._jsp._error500._jspService(_error500.java:79)
> >  at
com.ibm.ws.jsp.runtime.HttpJspBase.service(HttpJspBase.java:88)
> >  at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
> >  at
> >
com.ibm.ws.webcontainer.servlet.ServletWrapper.service(ServletWrapper.ja
> > va

Auto generated Skeleton class

2006-09-15 Thread Vyacheslav Yakovenko
Hi All!I'm trying to use Axis2 last weeks and found some problems that I hope you can help me to resolve.wsdl2java generating a lot of classes that no needs to modify, but there is 4 classes that you must use directly. One of them so called AutoGeneratedSkeleton class. If you have a stable wsdl, there are no problems with it, but lets imagine the situation when wsdl will be changed some times per day!? It'll be a nightmare to repeat all code from version to version even with good merge tool. I see three choices in such a case: 
intellectual generator like in Abator (iBatis) , which shall not abuse any line of your code and simply add new one;manually merged code;Using the Generation Gap pattern, for example: MySkeleton extends AutoGeneratedSkeleton. 
 In last case I want to have an opportunity to extend Skeleton and made all my changes only in this class, but how  can I say to Axis to use MySkeleton instead of AutoGeneratedSkeleton? What is the question ;) 
Thanks,Vaclav-- Vaclav_Sun Certified Programmer for Java 2 PlatformgTalk: [EMAIL PROTECTED]
cv: http://www.vaclav.kiev.ua/cvhttp://www.vaclav.kiev.uahttp://www.wtg.kiev.uaicq: 196335325 


Re: wsdl2java completes, but the resulting code is not matching the wsdl

2006-09-15 Thread Davanum Srinivas

Oh. Please use the nightly build.

-- dims


On 9/15/06, Davanum Srinivas <[EMAIL PROTECTED]> wrote:

Stephan,

run with "-g" it's not there because you are not using it in any of
the methods. throw in a "-u" option as well so that you can look at
the individual classes in an unpacked fashion.

-- dims

On 9/15/06, STEINER Stephan <[EMAIL PROTECTED]> wrote:
>
>
>
>
> I'm afraid my first attempt in using axis2 has been somewhat less than
> successful. I created the client side stub from the attached WSDL file and
> started coding.
>
>
>
> When I got to the point where I make the request and get a
> SearchDirectoryResponse object back, I'd then try to get the employees
> array.. but it just ain't there. Looking at the stub sources, there's no
> such thing as an employee class.. the 4 classes for the message exchange
> that are being created are SearchDirectory, _searchDirectoryInput,
> SearchDirectoryResponse and _searchDirectoryOutput, but nothing about
> employees, neither for the input nor the output (according to the WSDL, the
> SearchDirectoryRequest should have 3 string parameters.. and they are
> nowhere to be found).
>
>
>
> Am I missing something or is that simple WSDL enough to break axis?
>
>
>
> Regards
>
> Stephan
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>
>


--
Davanum Srinivas : http://www.wso2.net (Oxygen for Web Service Developers)




--
Davanum Srinivas : http://www.wso2.net (Oxygen for Web Service Developers)

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: wsdl2java completes, but the resulting code is not matching the wsdl

2006-09-15 Thread Davanum Srinivas

Stephan,

run with "-g" it's not there because you are not using it in any of
the methods. throw in a "-u" option as well so that you can look at
the individual classes in an unpacked fashion.

-- dims

On 9/15/06, STEINER Stephan <[EMAIL PROTECTED]> wrote:





I'm afraid my first attempt in using axis2 has been somewhat less than
successful. I created the client side stub from the attached WSDL file and
started coding.



When I got to the point where I make the request and get a
SearchDirectoryResponse object back, I'd then try to get the employees
array.. but it just ain't there. Looking at the stub sources, there's no
such thing as an employee class.. the 4 classes for the message exchange
that are being created are SearchDirectory, _searchDirectoryInput,
SearchDirectoryResponse and _searchDirectoryOutput, but nothing about
employees, neither for the input nor the output (according to the WSDL, the
SearchDirectoryRequest should have 3 string parameters.. and they are
nowhere to be found).



Am I missing something or is that simple WSDL enough to break axis?



Regards

Stephan
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]






--
Davanum Srinivas : http://www.wso2.net (Oxygen for Web Service Developers)

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: [Axis2] jar conflicts

2006-09-15 Thread Davanum Srinivas

Please run javap to look at the signatures and let us know which jar
has the bad QName.

javap -classpath woden-SNAPSHOT.jar -public javax.xml.namespace.QName

thanks,
dims

On 9/14/06, Jesse Vitrone <[EMAIL PROTECTED]> wrote:

I'm getting the following error when I run -

java.lang.NoSuchMethodError: 
javax.xml.namespace.QName.(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)V
at 
com.starwood.valhalla.booking.BookingServiceStub$CreateBooking.(BookingServiceStub.java:19569)


From what I see online, this happens when there are conflicts in the jars and 
it's loading the wrong javax.xml.namespace.QName .

I looked in the jars in our app (a lot of them) and I see QName in all these 
jars:
jaxrpc.jar
jaxb-api.jar
woden-SNAPSHOT.jar
stax-api-1.0.1.jar

If we use jaxb for other stuff in our app, does this mean I'm going to get 
screwed and not be able to use Axis2?

Is there a way, even programatically, to for this instance of this class to use 
the right jar?

Thanks in advance.






-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]





--
Davanum Srinivas : http://www.wso2.net (Oxygen for Web Service Developers)

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: Sept. 15 nightly build axis2.war and tomcat conflict ?

2006-09-15 Thread Gul Onural

I have opened a JIRA with key AXIS2-1172.


Gul

-Original Message-
From: Davanum Srinivas [mailto:[EMAIL PROTECTED] 
Sent: Friday, September 15, 2006 2:34 PM
To: axis-user@ws.apache.org
Subject: Re: Sept. 15 nightly build axis2.war and tomcat conflict ?

Gul,

i saw another report of the same problem. will check. Please open a JIRA
bug.

thanks,
dims

On 9/15/06, Gul Onural <[EMAIL PROTECTED]> wrote:
>
>
> The axis2.xml  on my machine is the one coming with the axis2.war from
Sept.
> 15 nightly build.
>
> I haven't modified it. Here is the list :
>
>
>
>  class="org.apache.axis2.transport.http.SimpleHTTPServer">
>
> 6060
>
> 
>
>
>
> 
>
>
> class="org.apache.axis2.transport.tcp.TCPServer">
>
>
>
> 6060
>
> 
>
>  
>  From: Martin Gainty [mailto:[EMAIL PROTECTED]
> Sent: Friday, September 15, 2006 12:26 PM
> To: axis-user@ws.apache.org
> Subject: Re: Sept. 15 nightly build axis2.war and tomcat conflict ?
>
>
>
> can you list your transportReceivers in your axis2.xml
> M-
> *
> This email message and any files transmitted with it contain 
> confidential information intended only for the person(s) to whom this 
> email message is addressed.  If you have received this email message 
> in error, please notify the sender immediately by telephone or email 
> and destroy the original message without making a copy.  Thank you.
>
>
>
>
> - Original Message -
> From: Gul Onural
> To: axis-user@ws.apache.org
> Sent: Friday, September 15, 2006 11:16 AM
> Subject: Sept. 15 nightly build axis2.war and tomcat conflict ?
>
>
>
>
> Hi,
>
> I just downloaded the axis2.war from axis2 nightly builds and trying 
> to use it with Tomcat 5.5.17 (release version).
> I connected
> http://localhost:8080/axis2/services/listServices and I am getting the

> following exception when I click on the "version" service. This didn't

> happened with yesterday's nightly build of the axis2.
>
> Did anyone see this problem before ?
>
> Gul
>
> type Exception report
> message
> description The server encountered an internal error () that prevented

> it from fulfilling this request.
> exception
> java.lang.StringIndexOutOfBoundsException: String index out of range: 
> 14
> java.lang.String.substring(String.java:1765)
>
> org.apache.axis2.transport.http.ListingAgent.extractHostAndPort(Listin
> gAgent.java:126)
>
> org.apache.axis2.transport.http.ListingAgent.processListService(Listin
> gAgent.java:166)
>
> org.apache.axis2.transport.http.AxisServlet.doGet(AxisServlet.java:165
> )
>
> javax.servlet.http.HttpServlet.service(HttpServlet.java:689)
>
> javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
> note The full stack trace of the root cause is available in the Apache
> Tomcat/5.5.17 logs.
>


--
Davanum Srinivas : http://www.wso2.net (Oxygen for Web Service
Developers)

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: compiling latest axiom src and integrate into axis2

2006-09-15 Thread Davanum Srinivas

You did not fill in the code inside Axis2SampleDocLitServiceSkeleton.java

-- dims

On 9/15/06, Felix Sprick <[EMAIL PROTECTED]> wrote:

Thanks! I got rid of the error message when using the nightly build version.
However, there is another error message now when running the axis2 example
Axis2SampleDocLitService:

http://schemas.xmlsoap.org/soap/envelope/";>
   
   
  
 soapenv:Client
 null; nested exception is:
java.lang.UnsupportedOperationException
 
org.apache.axis2.AxisFault: null; nested exception
is:
java.lang.UnsupportedOperationException
at org.apache.axis2.AxisFault.makeFault(AxisFault.java:318)
at
org.apache.axis2.userguide.Axis2SampleDocLitServiceMessageReceiverInOut.invo
keBusinessLogic(Axis2SampleDocLitServiceMessageReceiverInOut.java:104)
at
org.apache.axis2.receivers.AbstractInOutSyncMessageReceiver.receive(Abstract
InOutSyncMessageReceiver.java:39)
at org.apache.axis2.engine.AxisEngine.receive(AxisEngine.java:497)
at
org.apache.axis2.transport.http.HTTPTransportUtils.processHTTPPostRequest(HT
TPTransportUtils.java:324)
at
org.apache.axis2.transport.http.AxisServlet.doPost(AxisServlet.java:230)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:709)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Application
FilterChain.java:252)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterCh
ain.java:173)
at
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.ja
va:213)
at
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.ja
va:178)
at
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126
)
at
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105
)
at
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java
:107)
at
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
at
org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:869)
at
org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processC
onnection(Http11BaseProtocol.java:664)
at
org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.jav
a:527)
at
org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWo
rkerThread.java:80)
at
org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.jav
a:684)
at java.lang.Thread.run(Thread.java:595)
Caused by: java.lang.UnsupportedOperationException
at
org.apache.axis2.userguide.Axis2SampleDocLitServiceSkeleton.echoStringArray(
Axis2SampleDocLitServiceSkeleton.java:28)
at
org.apache.axis2.userguide.Axis2SampleDocLitServiceMessageReceiverInOut.invo
keBusinessLogic(Axis2SampleDocLitServiceMessageReceiverInOut.java:50)
... 20 more
 
  
   


Thanks for your help!
Felix


-Ursprungligt meddelande-
Från: Eran Chinthaka [mailto:[EMAIL PROTECTED]
Skickat: den 14 september 2006 18:47
Till: axis-user@ws.apache.org
Ämne: Re: compiling latest axiom src and integrate into axis2

Use Axis2 nightly builds from http://people.apache.org/dist/axis2/nightly/.

It has all the latest axiom jars as well.

-- Chinthaka

Felix Sprick wrote:
>
>
> Hi all,
>
>
>
> I encountered an error when running a web-service that has been built
> with axis2. There error message is caused by a bug in the axiom lib, as
> I can see at
>
http://issues.apache.org/jira/browse/AXIS2-919?page=comments#action_12428991
.
> I am trying now to compile the latest axiom version and integrate it
> into the axis2 libraries, and I am wondering what's the best way to do
> that. Simply building a new axiom-impl and axiom.api jar from the latest
> svn and place it into the axis2/lib folder did not work, I got error
> messages when accessing the axis2 web interface
> (http://localhost:8080/axis2/services/listServices) …
>
>
>
> Does anybody know a way to do that?
>
>
>
> Thanks a lot,
>
> Felix
>
>
>




-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]





--
Davanum Srinivas : http://www.wso2.net (Oxygen for Web Service Developers)

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: [AXIS2] Calling SOAP version on WebSphere works with Release1; Possible bug in nightilies

2006-09-15 Thread Davanum Srinivas

Nevermind. Fixed. Please pick up a nightly in another hour or so.

On 9/15/06, Davanum Srinivas <[EMAIL PROTECTED]> wrote:

Please log a bug report in JIRA.

thanks,
dims

On 9/15/06, VanKooten, Derek <[EMAIL PROTECTED]> wrote:
> Ok, its working in websphere 6 now with this build.
> I'm able to call my service again.
> Thanks! :)
>
> Btw, I was also finally able to get the "eager inintialization" to work
> as well.
>
> Seems like the actual method signature to use for the init or startup
> methods were not the same as what I read in the forums or in the JIRA.
>
> When I implemented the Service interface and used those methods it
> worked correctly.
>
>   public void startUp(ConfigurationContext configurationContext,
> AxisService axisService);
>   public void init(ServiceContext serviceContext);
>
> and I had to put the "load-on-startup" parameter into the services.xml.
> true
>
> I am now getting another error when I try
>
> http://localhost:9080/PersonalizationEngine/services/PersonalizationServ
> ices?wsdl
>
> I get this:
>
> Error page exception
> The server cannot use the error page specified for your application to
> handle the Original Exception printed below. Please see the Error Page
> Exception below for a description of the problem with the specified
> error page.
>
>
> Original Exception:
> Error Message: String index out of range: 14
> Error Code: 500
> Target Servlet: AxisServlet
> Error Stack:
> java.lang.StringIndexOutOfBoundsException: String index out of range: 14
>
>  at java.lang.String.substring(String.java(Compiled Code))
>  at
> org.apache.axis2.transport.http.ListingAgent.extractHostAndPort(ListingA
> gent.java:126)
>  at
> org.apache.axis2.transport.http.ListingAgent.processListService(ListingA
> gent.java:166)
>  at
> org.apache.axis2.transport.http.AxisServlet.doGet(AxisServlet.java:165)
>  at javax.servlet.http.HttpServlet.service(HttpServlet.java:743)
>  at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
>  at
> com.ibm.ws.webcontainer.servlet.ServletWrapper.service(ServletWrapper.ja
> va:1282)
>  at
> com.ibm.ws.webcontainer.servlet.ServletWrapper.handleRequest(ServletWrap
> per.java:673)
>  at
> com.ibm.ws.webcontainer.servlet.CacheServletWrapper.handleRequest(CacheS
> ervletWrapper.java:89)
>  at
> com.ibm.ws.webcontainer.WebContainer.handleRequest(WebContainer.java:187
> 8)
>  at
> com.ibm.ws.webcontainer.channel.WCChannelLink.ready(WCChannelLink.java:8
> 4)
>  at
> com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleDiscriminatio
> n(HttpInboundLink.java:472)
>  at
> com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleNewInformatio
> n(HttpInboundLink.java:411)
>  at
> com.ibm.ws.http.channel.inbound.impl.HttpICLReadCallback.complete(HttpIC
> LReadCallback.java:101)
>  at
> com.ibm.ws.tcp.channel.impl.WorkQueueManager.requestComplete(WorkQueueMa
> nager.java:566)
>  at
> com.ibm.ws.tcp.channel.impl.WorkQueueManager.attemptIO(WorkQueueManager.
> java:619)
>  at
> com.ibm.ws.tcp.channel.impl.WorkQueueManager.workerRun(WorkQueueManager.
> java:952)
>  at
> com.ibm.ws.tcp.channel.impl.WorkQueueManager$Worker.run(WorkQueueManager
> .java:1039)
>  at com.ibm.ws.util.ThreadPool$Worker.run(ThreadPool.java:1462)
>
>
>
>
> Error Page Exception:
> Error Message: SRVE0199E: OutputStream already obtained
> Error Code: 0
> Target Servlet: null
> Error Stack:
> java.lang.IllegalStateException: SRVE0199E: OutputStream already
> obtained
>  at
> com.ibm.ws.webcontainer.srt.SRTServletResponse.getWriter(SRTServletRespo
> nse.java:467)
>  at
> org.apache.jasper.runtime.JspWriterImpl.initOut(JspWriterImpl.java:170)
>  at
> org.apache.jasper.runtime.JspWriterImpl.flushBuffer(JspWriterImpl.java:1
> 63)
>  at
> org.apache.jasper.runtime.PageContextImpl.release(PageContextImpl.java:2
> 17)
>  at
> org.apache.jasper.runtime.JspFactoryImpl.internalReleasePageContext(JspF
> actoryImpl.java:149)
>  at
> org.apache.jasper.runtime.JspFactoryImpl.releasePageContext(JspFactoryIm
> pl.java:117)
>  at com.ibm._jsp._error500._jspService(_error500.java:79)
>  at com.ibm.ws.jsp.runtime.HttpJspBase.service(HttpJspBase.java:88)
>  at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
>  at
> com.ibm.ws.webcontainer.servlet.ServletWrapper.service(ServletWrapper.ja
> va:1282)
>  at
> com.ibm.ws.webcontainer.servlet.ServletWrapper.handleRequest(ServletWrap
> per.java:673)
>  at
> com.ibm.wsspi.webcontainer.servlet.GenericServletWrapper.handleRequest(G
> enericServletWrapper.java:117)
>  at
> com.ibm.ws.jsp.webcontainerext.JSPExtensionServletWrapper.handleRequest(
> JSPExtensionServletWrapper.java:178)
>  at
> com.ibm.ws.webcontainer.webapp.WebAppRequestDispatcher.include(WebAppReq
> uestDispatcher.java:544)
>  at
> com.ibm.ws.webcontainer.webapp.WebApp.sendError(WebApp.java:2577)
>  at
> com.ibm.ws.webcontainer.servlet.CacheServletWrapp

Re: Sept. 15 nightly build axis2.war and tomcat conflict ?

2006-09-15 Thread Davanum Srinivas

Fixed. Please pick up a nightly in another hour or so.

-- dims

On 9/15/06, Davanum Srinivas <[EMAIL PROTECTED]> wrote:

Gul,

i saw another report of the same problem. will check. Please open a JIRA bug.

thanks,
dims

On 9/15/06, Gul Onural <[EMAIL PROTECTED]> wrote:
>
>
> The axis2.xml  on my machine is the one coming with the axis2.war from Sept.
> 15 nightly build.
>
> I haven't modified it. Here is the list :
>
>
>
>  class="org.apache.axis2.transport.http.SimpleHTTPServer">
>
> 6060
>
> 
>
>
>
> 
>
>
> class="org.apache.axis2.transport.tcp.TCPServer">
>
>
>
> 6060
>
> 
>
>  
>  From: Martin Gainty [mailto:[EMAIL PROTECTED]
> Sent: Friday, September 15, 2006 12:26 PM
> To: axis-user@ws.apache.org
> Subject: Re: Sept. 15 nightly build axis2.war and tomcat conflict ?
>
>
>
> can you list your transportReceivers in your axis2.xml
> M-
> *
> This email message and any files transmitted with it contain confidential
> information intended only for the person(s) to whom this email message is
> addressed.  If you have received this email message in error, please notify
> the sender immediately by telephone or email and destroy the original
> message without making a copy.  Thank you.
>
>
>
>
> - Original Message -
> From: Gul Onural
> To: axis-user@ws.apache.org
> Sent: Friday, September 15, 2006 11:16 AM
> Subject: Sept. 15 nightly build axis2.war and tomcat conflict ?
>
>
>
>
> Hi,
>
> I just downloaded the axis2.war from axis2 nightly builds and trying to use
> it with Tomcat 5.5.17 (release version).
> I connected
> http://localhost:8080/axis2/services/listServices and I am
> getting the following exception when I click on
> the "version" service. This didn't happened with yesterday's nightly build
> of the axis2.
>
> Did anyone see this problem before ?
>
> Gul
>
> type Exception report
> message
> description The server encountered an internal error () that prevented it
> from fulfilling this request.
> exception
> java.lang.StringIndexOutOfBoundsException: String index out
> of range: 14
> java.lang.String.substring(String.java:1765)
>
> 
org.apache.axis2.transport.http.ListingAgent.extractHostAndPort(ListingAgent.java:126)
>
> 
org.apache.axis2.transport.http.ListingAgent.processListService(ListingAgent.java:166)
>
> org.apache.axis2.transport.http.AxisServlet.doGet(AxisServlet.java:165)
>
> javax.servlet.http.HttpServlet.service(HttpServlet.java:689)
>
> javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
> note The full stack trace of the root cause is available in the Apache
> Tomcat/5.5.17 logs.
>


--
Davanum Srinivas : http://www.wso2.net (Oxygen for Web Service Developers)




--
Davanum Srinivas : http://www.wso2.net (Oxygen for Web Service Developers)

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: Large PDFs and Memory Usage

2006-09-15 Thread Davanum Srinivas

Yes, Axis2 will solve the memory spike issues.

-- dims

On 9/15/06, Aoife Kavanagh (Ext. 987) <[EMAIL PROTECTED]> wrote:

Investigating an upgrade to Axis2 is an option but I would only want to go
that route if I know for sure it will fix the problem as based on work done
by one of my colleagues I know that there are alot of changes between Axis
1.x and Axis 2 and so this upgrading will result in the need for alot of
other changes.

Thanks,
Aoife

-Original Message-
From: Neil Aggarwal [mailto:[EMAIL PROTECTED]
Sent: 15 September 2006 15:33
To: axis-user@ws.apache.org
Subject: RE: Large PDFs and Memory Usage


Hello:

Does Axis2 fix the large memory usage issues with Axis 1?

Thanks,
Neil


--
Neil Aggarwal, (214)986-3533, www.JAMMConsulting.com
FREE! Eliminate junk email and reclaim your inbox.
Visit http://www.spammilter.com for details.

> -Original Message-
> From: Aoife Kavanagh (Ext. 987) [mailto:[EMAIL PROTECTED]
> Sent: Friday, September 15, 2006 8:23 AM
> To: 'axis-user@ws.apache.org'
> Subject: Large PDFs and Memory Usage
>
> Hi,
>
> We have a service running where the reutrn value from the
> service invocation
> is sent as String using SOAP over JMS.  We are encountering
> problems with
> memory consumption when that String is large, eg 1M or
> greater.  It is not a
> case of just increasing heap size, it is just that the amount
> of memory
> being used is can be anything from 1.3GB to 2.7GB.   We've
> used hprof to
> determine that the majority of this memory usage is occurring
> in the Axis
> (1.3)/Xerces code.
>
> I'm looking to see if there is anything that we can do to try
> to reduce
> this.  One thought is to return the data using xsd:base64Binary  or
> xsd:hexBinary but it seems that the encoding data in to base64Binary
> consumes memory and can cause trouble at the receiving end
> with the XML
> parser, so I'm not sure if it is worth proceeding down this route.
>
> Another thought is to send the data as MIME attachment (of
> which I honestly
> don't know much) but it's not clear to me, based on some
> initial mailing
> searches, if this approach will work any better, or if it even works
> properly in Axis 1.3.
>
> >From what I can see in the lists plenty of people have
> experienced this
> memory spike problem and I'm just wondering if there are any
> clear solutions
> out there.
>
> Thanks,
> Aoife
>
> __
> The information contained in this e-mail is confidential, may
> be privileged and is intended
> only for the user of the recipient named above. If you are
> not the intended recipient or a
> representative of the intended recipient, you have received
> this e-mail in error and must
> not copy, use or disclose the contents of this e-mail to
> anybody else.
>
> If you have received this e-mail in error, please notify the
> sender immediately by return
> e-mail and permanently delete the copy you received.  This
> e-mail has been swept for
> computer viruses. However, you should carry out your own
> virus checks.
> Registered in Ireland, No. 205721.  http://www.FINEOS.com
> __
>
>
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]





--
Davanum Srinivas : http://www.wso2.net (Oxygen for Web Service Developers)

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: Sept. 15 nightly build axis2.war and tomcat conflict ?

2006-09-15 Thread Davanum Srinivas

Gul,

i saw another report of the same problem. will check. Please open a JIRA bug.

thanks,
dims

On 9/15/06, Gul Onural <[EMAIL PROTECTED]> wrote:



The axis2.xml  on my machine is the one coming with the axis2.war from Sept.
15 nightly build.

I haven't modified it. Here is the list :





6060









6060



 
 From: Martin Gainty [mailto:[EMAIL PROTECTED]
Sent: Friday, September 15, 2006 12:26 PM
To: axis-user@ws.apache.org
Subject: Re: Sept. 15 nightly build axis2.war and tomcat conflict ?



can you list your transportReceivers in your axis2.xml
M-
*
This email message and any files transmitted with it contain confidential
information intended only for the person(s) to whom this email message is
addressed.  If you have received this email message in error, please notify
the sender immediately by telephone or email and destroy the original
message without making a copy.  Thank you.




- Original Message -
From: Gul Onural
To: axis-user@ws.apache.org
Sent: Friday, September 15, 2006 11:16 AM
Subject: Sept. 15 nightly build axis2.war and tomcat conflict ?




Hi,

I just downloaded the axis2.war from axis2 nightly builds and trying to use
it with Tomcat 5.5.17 (release version).
I connected
http://localhost:8080/axis2/services/listServices and I am
getting the following exception when I click on
the "version" service. This didn't happened with yesterday's nightly build
of the axis2.

Did anyone see this problem before ?

Gul

type Exception report
message
description The server encountered an internal error () that prevented it
from fulfilling this request.
exception
java.lang.StringIndexOutOfBoundsException: String index out
of range: 14
java.lang.String.substring(String.java:1765)

org.apache.axis2.transport.http.ListingAgent.extractHostAndPort(ListingAgent.java:126)

org.apache.axis2.transport.http.ListingAgent.processListService(ListingAgent.java:166)

org.apache.axis2.transport.http.AxisServlet.doGet(AxisServlet.java:165)

javax.servlet.http.HttpServlet.service(HttpServlet.java:689)

javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
note The full stack trace of the root cause is available in the Apache
Tomcat/5.5.17 logs.




--
Davanum Srinivas : http://www.wso2.net (Oxygen for Web Service Developers)

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: [AXIS2] Calling SOAP version on WebSphere works with Release1; Possible bug in nightilies

2006-09-15 Thread Davanum Srinivas

Please log a bug report in JIRA.

thanks,
dims

On 9/15/06, VanKooten, Derek <[EMAIL PROTECTED]> wrote:

Ok, its working in websphere 6 now with this build.
I'm able to call my service again.
Thanks! :)

Btw, I was also finally able to get the "eager inintialization" to work
as well.

Seems like the actual method signature to use for the init or startup
methods were not the same as what I read in the forums or in the JIRA.

When I implemented the Service interface and used those methods it
worked correctly.

  public void startUp(ConfigurationContext configurationContext,
AxisService axisService);
  public void init(ServiceContext serviceContext);

and I had to put the "load-on-startup" parameter into the services.xml.
true

I am now getting another error when I try

http://localhost:9080/PersonalizationEngine/services/PersonalizationServ
ices?wsdl

I get this:

Error page exception
The server cannot use the error page specified for your application to
handle the Original Exception printed below. Please see the Error Page
Exception below for a description of the problem with the specified
error page.


Original Exception:
Error Message: String index out of range: 14
Error Code: 500
Target Servlet: AxisServlet
Error Stack:
java.lang.StringIndexOutOfBoundsException: String index out of range: 14

 at java.lang.String.substring(String.java(Compiled Code))
 at
org.apache.axis2.transport.http.ListingAgent.extractHostAndPort(ListingA
gent.java:126)
 at
org.apache.axis2.transport.http.ListingAgent.processListService(ListingA
gent.java:166)
 at
org.apache.axis2.transport.http.AxisServlet.doGet(AxisServlet.java:165)
 at javax.servlet.http.HttpServlet.service(HttpServlet.java:743)
 at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
 at
com.ibm.ws.webcontainer.servlet.ServletWrapper.service(ServletWrapper.ja
va:1282)
 at
com.ibm.ws.webcontainer.servlet.ServletWrapper.handleRequest(ServletWrap
per.java:673)
 at
com.ibm.ws.webcontainer.servlet.CacheServletWrapper.handleRequest(CacheS
ervletWrapper.java:89)
 at
com.ibm.ws.webcontainer.WebContainer.handleRequest(WebContainer.java:187
8)
 at
com.ibm.ws.webcontainer.channel.WCChannelLink.ready(WCChannelLink.java:8
4)
 at
com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleDiscriminatio
n(HttpInboundLink.java:472)
 at
com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleNewInformatio
n(HttpInboundLink.java:411)
 at
com.ibm.ws.http.channel.inbound.impl.HttpICLReadCallback.complete(HttpIC
LReadCallback.java:101)
 at
com.ibm.ws.tcp.channel.impl.WorkQueueManager.requestComplete(WorkQueueMa
nager.java:566)
 at
com.ibm.ws.tcp.channel.impl.WorkQueueManager.attemptIO(WorkQueueManager.
java:619)
 at
com.ibm.ws.tcp.channel.impl.WorkQueueManager.workerRun(WorkQueueManager.
java:952)
 at
com.ibm.ws.tcp.channel.impl.WorkQueueManager$Worker.run(WorkQueueManager
.java:1039)
 at com.ibm.ws.util.ThreadPool$Worker.run(ThreadPool.java:1462)




Error Page Exception:
Error Message: SRVE0199E: OutputStream already obtained
Error Code: 0
Target Servlet: null
Error Stack:
java.lang.IllegalStateException: SRVE0199E: OutputStream already
obtained
 at
com.ibm.ws.webcontainer.srt.SRTServletResponse.getWriter(SRTServletRespo
nse.java:467)
 at
org.apache.jasper.runtime.JspWriterImpl.initOut(JspWriterImpl.java:170)
 at
org.apache.jasper.runtime.JspWriterImpl.flushBuffer(JspWriterImpl.java:1
63)
 at
org.apache.jasper.runtime.PageContextImpl.release(PageContextImpl.java:2
17)
 at
org.apache.jasper.runtime.JspFactoryImpl.internalReleasePageContext(JspF
actoryImpl.java:149)
 at
org.apache.jasper.runtime.JspFactoryImpl.releasePageContext(JspFactoryIm
pl.java:117)
 at com.ibm._jsp._error500._jspService(_error500.java:79)
 at com.ibm.ws.jsp.runtime.HttpJspBase.service(HttpJspBase.java:88)
 at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
 at
com.ibm.ws.webcontainer.servlet.ServletWrapper.service(ServletWrapper.ja
va:1282)
 at
com.ibm.ws.webcontainer.servlet.ServletWrapper.handleRequest(ServletWrap
per.java:673)
 at
com.ibm.wsspi.webcontainer.servlet.GenericServletWrapper.handleRequest(G
enericServletWrapper.java:117)
 at
com.ibm.ws.jsp.webcontainerext.JSPExtensionServletWrapper.handleRequest(
JSPExtensionServletWrapper.java:178)
 at
com.ibm.ws.webcontainer.webapp.WebAppRequestDispatcher.include(WebAppReq
uestDispatcher.java:544)
 at
com.ibm.ws.webcontainer.webapp.WebApp.sendError(WebApp.java:2577)
 at
com.ibm.ws.webcontainer.servlet.CacheServletWrapper.handleRequest(CacheS
ervletWrapper.java:110)
 at
com.ibm.ws.webcontainer.WebContainer.handleRequest(WebContainer.java:187
8)
 at
com.ibm.ws.webcontainer.channel.WCChannelLink.ready(WCChannelLink.java:8
4)
 at
com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleDiscriminatio
n(HttpInboundLink.java:472)
 at
com.ibm.ws.http.channel.inbound.impl.HttpInboundLink

Re: Serialization problem

2006-09-15 Thread Tonio Caputo

Thanks a lot, DOZER looks good.

I'm also evaluating XFIRE, it seems more tidy when working with POJOS.

Thanks a lot again
tonio

On 9/14/06, Bell, Douglas <[EMAIL PROTECTED]> wrote:

The short answer is, no. If you search my previous posts you'll find a
discussion about why (I had the same issue you're having).

I worked around it by creating a interface for my domain objects with
the fields I don't want exposed missing, I then map my concrete domain
objects <-> DTOs by using Dozer (a bean mapper). It's hacky but it works
for what I am doing.

It still doesn't solve the core issue I have with this. Which is, for
example, if you have an Account object and only want to expose a
getAccountBalance to the user, AXIS will map setAccountBalance and
expose this to the user even if you have setAccountBalanace marked
private on your object.

- Doug




-Original Message-
From: Tonio Caputo [mailto:[EMAIL PROTECTED]
Sent: Thursday, September 14, 2006 3:13 PM
To: axis-user@ws.apache.org
Subject: Re: Serialization problem

Thanks Doug,

  Now the question:
Is there a way to make Axis ignore attributes that are not public, and
don't have getter and setter methods ?



  Just to know (I couldn't find anyting important in the WEB) axis 1.4
is not able to serializae correctly java 5 generics collection ?

On 9/14/06, Bell, Douglas <[EMAIL PROTECTED]> wrote:
> Hi Tonio,
>
> Since HibernatePerson is a member of Person it will attempted to
> serialize it. Take a look in your wsdd and you should see a mapping
> for HibernatePerson.
>
> The mapper simply looks at the fields and generates getters and
> setters for each of them no matter what you have them marked or how
> you have implemented them in the bean itself.
>
> - Doug
>
>
> -Original Message-
> From: Tonio Caputo [mailto:[EMAIL PROTECTED]
> Sent: Thursday, September 14, 2006 2:35 PM
> To: axis-user@ws.apache.org
> Subject: Serialization problem
>
> Hi everybody,
>
> I'm using eclipse 3.2, WebTools 1.5, Apache axis 1.4.
>
> I'm generating the web-service, begining with a POJO, using Document
> literal (NOT WRAPPED, it generates wrong wsdd)
>
> When I run the test (soapui) I get a StackOverflowException, (I will
> not send you the stack, it's to big)
>
> My troubles:
>* When transforming Person to XML axis tries to
>   transform HibernatePerson, why ?
>
> My Service class looks something like this
>
> PersonService {
>  Person getPersonById(id) {
>  // Obtain HibernatePerson from EJB
>
>  }
> }
>
> My Business Classes look something like this
>
> // Delegate for HibernatePerson to
> // map Generics Collection
> Person {
>
>   private transient HibernatePerson _hp;
>
>   Person() {}
>   protected Person(HibernatePerson) {
>  _hp = new HIbernatePerson();
>   }
>
>   String getName() { return _hp.getName(); }
>   void setName(String s) { return _hp.setName(s);   }
>
>   Emails[] getEmails() {
>  // Transform _hp Set to Emails[]
>   }
>
>   void setEmails(Emails[] emails) {
>   // put Emails[] in _hp Set
>   }
> }
>
> Email {
> String getEmailAddr();
> void setEmailAddr(String addr);
> }
>
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>
>
>
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: [AXIS2] Calling SOAP version on WebSphere works with Release1; Possible bug in nightilies

2006-09-15 Thread VanKooten, Derek
Ok, its working in websphere 6 now with this build.
I'm able to call my service again. 
Thanks! :)

Btw, I was also finally able to get the "eager inintialization" to work
as well.

Seems like the actual method signature to use for the init or startup
methods were not the same as what I read in the forums or in the JIRA.

When I implemented the Service interface and used those methods it
worked correctly.

  public void startUp(ConfigurationContext configurationContext,
AxisService axisService);
  public void init(ServiceContext serviceContext);

and I had to put the "load-on-startup" parameter into the services.xml.
true

I am now getting another error when I try 

http://localhost:9080/PersonalizationEngine/services/PersonalizationServ
ices?wsdl

I get this:

Error page exception
The server cannot use the error page specified for your application to
handle the Original Exception printed below. Please see the Error Page
Exception below for a description of the problem with the specified
error page.


Original Exception: 
Error Message: String index out of range: 14
Error Code: 500
Target Servlet: AxisServlet
Error Stack: 
java.lang.StringIndexOutOfBoundsException: String index out of range: 14

 at java.lang.String.substring(String.java(Compiled Code)) 
 at
org.apache.axis2.transport.http.ListingAgent.extractHostAndPort(ListingA
gent.java:126) 
 at
org.apache.axis2.transport.http.ListingAgent.processListService(ListingA
gent.java:166) 
 at
org.apache.axis2.transport.http.AxisServlet.doGet(AxisServlet.java:165) 
 at javax.servlet.http.HttpServlet.service(HttpServlet.java:743) 
 at javax.servlet.http.HttpServlet.service(HttpServlet.java:856) 
 at
com.ibm.ws.webcontainer.servlet.ServletWrapper.service(ServletWrapper.ja
va:1282) 
 at
com.ibm.ws.webcontainer.servlet.ServletWrapper.handleRequest(ServletWrap
per.java:673) 
 at
com.ibm.ws.webcontainer.servlet.CacheServletWrapper.handleRequest(CacheS
ervletWrapper.java:89) 
 at
com.ibm.ws.webcontainer.WebContainer.handleRequest(WebContainer.java:187
8) 
 at
com.ibm.ws.webcontainer.channel.WCChannelLink.ready(WCChannelLink.java:8
4) 
 at
com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleDiscriminatio
n(HttpInboundLink.java:472) 
 at
com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleNewInformatio
n(HttpInboundLink.java:411) 
 at
com.ibm.ws.http.channel.inbound.impl.HttpICLReadCallback.complete(HttpIC
LReadCallback.java:101) 
 at
com.ibm.ws.tcp.channel.impl.WorkQueueManager.requestComplete(WorkQueueMa
nager.java:566) 
 at
com.ibm.ws.tcp.channel.impl.WorkQueueManager.attemptIO(WorkQueueManager.
java:619) 
 at
com.ibm.ws.tcp.channel.impl.WorkQueueManager.workerRun(WorkQueueManager.
java:952) 
 at
com.ibm.ws.tcp.channel.impl.WorkQueueManager$Worker.run(WorkQueueManager
.java:1039) 
 at com.ibm.ws.util.ThreadPool$Worker.run(ThreadPool.java:1462) 
 



Error Page Exception: 
Error Message: SRVE0199E: OutputStream already obtained
Error Code: 0
Target Servlet: null
Error Stack: 
java.lang.IllegalStateException: SRVE0199E: OutputStream already
obtained 
 at
com.ibm.ws.webcontainer.srt.SRTServletResponse.getWriter(SRTServletRespo
nse.java:467) 
 at
org.apache.jasper.runtime.JspWriterImpl.initOut(JspWriterImpl.java:170) 
 at
org.apache.jasper.runtime.JspWriterImpl.flushBuffer(JspWriterImpl.java:1
63) 
 at
org.apache.jasper.runtime.PageContextImpl.release(PageContextImpl.java:2
17) 
 at
org.apache.jasper.runtime.JspFactoryImpl.internalReleasePageContext(JspF
actoryImpl.java:149) 
 at
org.apache.jasper.runtime.JspFactoryImpl.releasePageContext(JspFactoryIm
pl.java:117) 
 at com.ibm._jsp._error500._jspService(_error500.java:79) 
 at com.ibm.ws.jsp.runtime.HttpJspBase.service(HttpJspBase.java:88) 
 at javax.servlet.http.HttpServlet.service(HttpServlet.java:856) 
 at
com.ibm.ws.webcontainer.servlet.ServletWrapper.service(ServletWrapper.ja
va:1282) 
 at
com.ibm.ws.webcontainer.servlet.ServletWrapper.handleRequest(ServletWrap
per.java:673) 
 at
com.ibm.wsspi.webcontainer.servlet.GenericServletWrapper.handleRequest(G
enericServletWrapper.java:117) 
 at
com.ibm.ws.jsp.webcontainerext.JSPExtensionServletWrapper.handleRequest(
JSPExtensionServletWrapper.java:178) 
 at
com.ibm.ws.webcontainer.webapp.WebAppRequestDispatcher.include(WebAppReq
uestDispatcher.java:544) 
 at
com.ibm.ws.webcontainer.webapp.WebApp.sendError(WebApp.java:2577) 
 at
com.ibm.ws.webcontainer.servlet.CacheServletWrapper.handleRequest(CacheS
ervletWrapper.java:110) 
 at
com.ibm.ws.webcontainer.WebContainer.handleRequest(WebContainer.java:187
8) 
 at
com.ibm.ws.webcontainer.channel.WCChannelLink.ready(WCChannelLink.java:8
4) 
 at
com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleDiscriminatio
n(HttpInboundLink.java:472) 
 at
com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleNewInformatio
n(HttpInboundLink.java:411) 
 a

[Axis2] User Guide's Writing Web Services by Code Generating Skeleton

2006-09-15 Thread Michael Larkin
Dear Axis2 User Community,

I am having difficulty building the first (userguide) example in the Axis2
User Guide in the section entitled Writing Web Services by Code Generating
Skeleton under Packaging.

Although I am able to build create the skeleton files using WSWDL2Java, I
(apparently - or, perhaps, obviously) do not know how to successfully
compile the source. The documentation states:

"Copy the [schemaorg_apache_xmlbeans directory] to your path; compile the
skeleton and supporting classes."

Would it be possible to obtain more specific instructions?

Please note that I ran ant using the build.xml without success. I passed the
pre.compile.test step but failed in the src.compile step with “package
org.apache.” does not exits where  includes
receivers, context, xmlbeans, axiom, etc.

I apologize for the naïve question and thank you, in advance, for your
assistance.

(Incidentally, I would be happy to provide additional detail (if necessary)
to any documentation associated with an example that I am successfully able
to complete - undoubtedly with some assistance from the user community.
Please let me know if there is any interest.)

Again, thanks!

Regards,

Michael



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: WSDL2Java does not generate WSDD files!

2006-09-15 Thread Nirmit Desai
Roberto,

with Axis2, the function of wsdd was replaced by a much simpler
services.xml in folder resources (generated by WSDL2Java).. Please go
through the Axis2 userguide.

I typically do contract-first (starting from WSDL) approach and use -ss -sd
-t -g switches for code generation and it works great.

log4j warnings appear in almost everything you do with Axis2 1.0. Please
use the latest nightly to avoid this and many other problems.

-Nirmit




   
 "Roberto Flores"  
 <[EMAIL PROTECTED] 
 il.com>To 
   axis-user@ws.apache.org, "Sergey
 09/15/2006 01:29  GMAIL" <[EMAIL PROTECTED]>
 PM cc 
   
   Subject 
 Please respond to Re: WSDL2Java does not generate 
 [EMAIL PROTECTED] WSDD files! 
  he.org   
   
   
   
   
   




Hello, I used the version in the Axis2 base distribution version 1.0, which
I downloaded from the official page here:

http://ws.apache.org/axis2/tools/index.html

the file name is: axis2-std-1.0-bin.zip

2006/9/15, Sergey GMAIL <[EMAIL PROTECTED]>:
  Hello, Roberto.





  What version of the Axis do you use?





   
 >  I can succesfully generate the classes but no wsdd appears (which is   
what I actually want). 
   
   
   
   
   
I did specify --server-side and -ss.   
   
   
   
   
   
There is a weird warning about not log4j being found though, could 
this be the cause? also, everyone says the -s switch activates server  
side code generation (and thus, the wsdd making) but in my version of  
wsdl2java ( 1.0) the -s switch activates synchronous code generation   
instead.   
   
   
   
   
   
There is also a wsdl2Code.bat in the download but it didn't generate   
it either. 
   
   
   
   
   
Am I using the right program? missing an option? is there any other
tool to make a wsdd file from a wsdl?  
   
   
   
   
   
please help. 

Re: WSDL2Java does not generate WSDD files!

2006-09-15 Thread Roberto Flores
(appending to last response: using Axis2)2006/9/16, Roberto Flores <[EMAIL PROTECTED]>:
Hello, I used the version in the Axis2 base distribution version 1.0, which I downloaded from the official page here:
http://ws.apache.org/axis2/tools/index.html
the file name is: axis2-std-1.0-bin.zip2006/9/15, Sergey GMAIL <
[EMAIL PROTECTED]>:








Hello, Roberto.

What version of the Axis do you use? 




>


I can succesfully generate the classes but no wsdd appears (which is what I actually want).

I did specify --server-side and -ss.

There is a weird warning about not log4j being found though, could this be the cause? also, everyone says the -s switch activates server side code generation (and thus, the wsdd making) but in my version of wsdl2java ( 
1.0) the -s switch activates synchronous code generation instead.

There is also a wsdl2Code.bat in the download but it didn't generate it either.

Am I using the right program? missing an option? is there any other tool to make a wsdd file from a wsdl? 

please help.






-- 
WBR,
 Sergey                          mailto:[EMAIL PROTECTED]




-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]






Re: WSDL2Java does not generate WSDD files!

2006-09-15 Thread Roberto Flores
Hello, I used the version in the Axis2 base distribution version 1.0, which I downloaded from the official page here:http://ws.apache.org/axis2/tools/index.html
the file name is: axis2-std-1.0-bin.zip2006/9/15, Sergey GMAIL <[EMAIL PROTECTED]>:








Hello, Roberto.

What version of the Axis do you use? 




>


I can succesfully generate the classes but no wsdd appears (which is what I actually want).

I did specify --server-side and -ss.

There is a weird warning about not log4j being found though, could this be the cause? also, everyone says the -s switch activates server side code generation (and thus, the wsdd making) but in my version of wsdl2java ( 
1.0) the -s switch activates synchronous code generation instead.

There is also a wsdl2Code.bat in the download but it didn't generate it either.

Am I using the right program? missing an option? is there any other tool to make a wsdd file from a wsdl? 

please help.






-- 
WBR,
 Sergey                          mailto:[EMAIL PROTECTED]




-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




RE: Sept. 15 nightly build axis2.war and tomcat conflict ?

2006-09-15 Thread Gul Onural
Title: Sept. 15 nightly build axis2.war and tomcat conflict ?



The axis2.xml  on my machine is the one 
coming with the axis2.war from Sept. 15 nightly build.
I haven't modified it. Here is the list 
:
 


6060parameter>
transportReceiver>


6060parameter>
transportReceiver>


From: Martin Gainty [mailto:[EMAIL PROTECTED] 
Sent: Friday, September 15, 2006 12:26 PMTo: 
axis-user@ws.apache.orgSubject: Re: Sept. 15 nightly build axis2.war 
and tomcat conflict ?

can you list your transportReceivers 
in your axis2.xml
M-
*This 
email message and any files transmitted with it contain 
confidentialinformation intended only for the person(s) to whom this email 
message isaddressed.  If you have received this email message in error, 
please notifythe sender immediately by telephone or email and destroy the 
originalmessage without making a copy.  Thank you.
 
 

  - Original Message - 
  From: 
  Gul Onural 
  
  To: axis-user@ws.apache.org 
  Sent: Friday, September 15, 2006 11:16 
  AM
  Subject: Sept. 15 nightly build axis2.war 
  and tomcat conflict ?
  
  Hi, 
  I just downloaded the axis2.war from axis2 nightly 
  builds and trying to use it with Tomcat 5.5.17 (release version). 
  I connected http://localhost:8080/axis2/services/listServices and I am getting the following exception when I click on 
  the "version" service. This didn't happened 
  with yesterday's nightly build  of the axis2. 
  Did anyone see this problem before ? 
  Gul 
  type Exception report message 
  description The server encountered an internal error () that 
  prevented it from fulfilling this request. exception 
  java.lang.StringIndexOutOfBoundsException: String index out of range: 
  14     java.lang.String.substring(String.java:1765) 
      org.apache.axis2.transport.http.ListingAgent.extractHostAndPort(ListingAgent.java:126) 
      org.apache.axis2.transport.http.ListingAgent.processListService(ListingAgent.java:166) 
      org.apache.axis2.transport.http.AxisServlet.doGet(AxisServlet.java:165) 
      javax.servlet.http.HttpServlet.service(HttpServlet.java:689) 
      javax.servlet.http.HttpServlet.service(HttpServlet.java:802) 
  note The full stack 
  trace of the root cause is available in the Apache Tomcat/5.5.17 
  logs. 


RE: Sept. 15 nightly build axis2.war and tomcat conflict ?

2006-09-15 Thread Gul Onural
Title: Sept. 15 nightly build axis2.war and tomcat conflict ?



The axis2.xml (attached)  on my machine is the one 
coming with the axis2.war from Sept. 15 nightly build.
I haven't modified it. Here is the list 
:
 


6060parameter>
transportReceiver>


6060parameter>
transportReceiver>


From: Martin Gainty [mailto:[EMAIL PROTECTED] 
Sent: Friday, September 15, 2006 12:26 PMTo: 
axis-user@ws.apache.orgSubject: Re: Sept. 15 nightly build axis2.war 
and tomcat conflict ?

can you list your transportReceivers 
in your axis2.xml
M-
*This 
email message and any files transmitted with it contain 
confidentialinformation intended only for the person(s) to whom this email 
message isaddressed.  If you have received this email message in error, 
please notifythe sender immediately by telephone or email and destroy the 
originalmessage without making a copy.  Thank you.
 
 

  - Original Message - 
  From: 
  Gul Onural 
  
  To: axis-user@ws.apache.org 
  Sent: Friday, September 15, 2006 11:16 
  AM
  Subject: Sept. 15 nightly build axis2.war 
  and tomcat conflict ?
  
  Hi, 
  I just downloaded the axis2.war from axis2 nightly 
  builds and trying to use it with Tomcat 5.5.17 (release version). 
  I connected http://localhost:8080/axis2/services/listServices and I am getting the following exception when I click on 
  the "version" service. This didn't happened 
  with yesterday's nightly build  of the axis2. 
  Did anyone see this problem before ? 
  Gul 
  type Exception report message 
  description The server encountered an internal error () that 
  prevented it from fulfilling this request. exception 
  java.lang.StringIndexOutOfBoundsException: String index out of range: 
  14     java.lang.String.substring(String.java:1765) 
      org.apache.axis2.transport.http.ListingAgent.extractHostAndPort(ListingAgent.java:126) 
      org.apache.axis2.transport.http.ListingAgent.processListService(ListingAgent.java:166) 
      org.apache.axis2.transport.http.AxisServlet.doGet(AxisServlet.java:165) 
      javax.servlet.http.HttpServlet.service(HttpServlet.java:689) 
      javax.servlet.http.HttpServlet.service(HttpServlet.java:802) 
  note The full stack 
  trace of the root cause is available in the Apache Tomcat/5.5.17 
  logs. 




true
false
false


30



true





false

admin
axis2




false






false


false


false



















http://www.w3.org/2004/08/wsdl/in-only";
 class="org.apache.axis2.receivers.RawXMLINOnlyMessageReceiver"/>
http://www.w3.org/2004/08/wsdl/in-out";
 class="org.apache.axis2.receivers.RawXMLINOutMessageReceiver"/>





6060





















6060





















HTTP/1.1
chunked


HTTP/1.1
chunked























































































-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

RE: Axis2 import xsd into WSDL and generator WSDL2Java

2006-09-15 Thread Spies, Brennan
Are you using the  inside the  section of your WSDL (i.e., is
it the xsd:import rather than the wsdl:import)?  

-Original Message-
From: Sergey GMAIL [mailto:[EMAIL PROTECTED] 
Sent: Friday, September 15, 2006 7:07 AM
To: axis-user@ws.apache.org
Subject: Axis2 import xsd into WSDL and generator WSDL2Java

Hello, axis-user.
I have a problem, as correctly to import *.xsd chart in WSDL and then
correctly using a WSDL2Java generate code ?
My code:
WSDL:

http://com/nuance/pws/middleware/beans/calculator";
 .
 
xmlns:tns1="http://com/nuance/pws/middleware/beans/calculator/schemas";
 
http://com/nuance/pws/middleware/beans/calculator/schemas";
 
location="http://com/nuance/pws/middleware/beans/calculator/Calculator_new.xs
d"/>
 
 
 
  


XSD:

http://com/nuance/pws/middleware/beans/calculator/schemas";
   xmlns="http://www.w3.org/2000/10/XMLSchema";>

 
 







 ...

 doesn't work  :(
 
 How do correct wsdl?
 
 Thanks.
-- 
WBR,
 Sergey  mailto:[EMAIL PROTECTED]


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: Sept. 15 nightly build axis2.war and tomcat conflict ?

2006-09-15 Thread Martin Gainty
Title: Sept. 15 nightly build axis2.war and tomcat conflict ?



can you list your transportReceivers 
in your axis2.xml
M-
*This 
email message and any files transmitted with it contain 
confidentialinformation intended only for the person(s) to whom this email 
message isaddressed.  If you have received this email message in error, 
please notifythe sender immediately by telephone or email and destroy the 
originalmessage without making a copy.  Thank you.
 
 

  - Original Message - 
  From: 
  Gul Onural 
  
  To: axis-user@ws.apache.org 
  Sent: Friday, September 15, 2006 11:16 
  AM
  Subject: Sept. 15 nightly build axis2.war 
  and tomcat conflict ?
  
  Hi, 
  I just downloaded the axis2.war from axis2 nightly 
  builds and trying to use it with Tomcat 5.5.17 (release version). 
  I connected http://localhost:8080/axis2/services/listServices and I am getting the following exception when I click on 
  the "version" service. This didn't happened 
  with yesterday's nightly build  of the axis2. 
  Did anyone see this problem before ? 
  Gul 
  type Exception report message 
  description The server encountered an internal error () that 
  prevented it from fulfilling this request. exception 
  java.lang.StringIndexOutOfBoundsException: String index out of range: 
  14     java.lang.String.substring(String.java:1765) 
      org.apache.axis2.transport.http.ListingAgent.extractHostAndPort(ListingAgent.java:126) 
      org.apache.axis2.transport.http.ListingAgent.processListService(ListingAgent.java:166) 
      org.apache.axis2.transport.http.AxisServlet.doGet(AxisServlet.java:165) 
      javax.servlet.http.HttpServlet.service(HttpServlet.java:689) 
      javax.servlet.http.HttpServlet.service(HttpServlet.java:802) 
  note The full stack 
  trace of the root cause is available in the Apache Tomcat/5.5.17 
  logs. 


RE: [Axis2] Axis1 a better choice?

2006-09-15 Thread Jeff Poling
   Thanks for the reply.  My comments, embedded below:

> 1) Log4J - not needed by axis2 .
> 2) commons-logging ... needed but I've never seen a problem 
> related to it.

   The default configuration appears to use both.  I had to comment out
using those and use SimpleLogging (or whatever it was called) instead in
the setup.

> 3) Xalan - not used by axis2 .

   Not used per se, but is needed to clear up an incompatibility with
Java 1.5 XML parsing (if I remember correctly, the "adding Xalan fix" is
listed on the Axis2 website).

> 4) NoSuchMethodError means the that class was compiled with one
> version, but now another version is present at runtime. Do you have
> commons-httpclient-3.0.jar in your war and _no other version_ in a
> higher classloader ? Do a search on your filesystem to make sure. If
> you are running tomcat inside jboss please state so.

   Tomcat is standalone.  I did the search, and httpclient shows up only
in Axis2's WEB-INF/lib.  If the classes are anywhere else, they're
embedded in another .jar file somewhere.  I checked the .jar files I
add, and httpclient wasn't in any of those.

> To see if you want to use axis2 or not:
> 
> http://atmanes.blogspot.com/2006/08/axis-1x-or-axis2.html

   Looks like I do not.  Thanks for the link.

 


This message is intended only for the use of the individual or entity
to which it is addressed, and may contain information that is
privileged, confidential and exempt from disclosure under applicable
law. If the reader of this message is not the intended recipient, or
the employer or agent responsible for delivering the message to the
intended recipient, you are hereby notified that any dissemination,
distribution or copying of this communication is strictly prohibited.
If you have received this communication in error, please notify the
sender immediately by telephone and delete the material from your
computer. Thank you for your cooperation.

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: Sept. 15 nightly build axis2.war and tomcat conflict ?

2006-09-15 Thread Gul Onural
Title: Sept. 15 nightly build axis2.war and tomcat conflict ?



Did anyone test deploying Sept. 15 version of the axis2.war to 
Tomcat 5.5.17 ?
Just checking, because this issue is really 
blocking me...
 
Gul
 
 
 
 


From: Onural, Gul (CAR:SI12) Sent: 
Friday, September 15, 2006 11:16 AMTo: 
axis-user@ws.apache.orgSubject: Sept. 15 nightly build axis2.war and 
tomcat conflict ?

Hi, 
I just downloaded the axis2.war from axis2 nightly 
builds and trying to use it with Tomcat 5.5.17 (release version). 
I connected http://localhost:8080/axis2/services/listServices and I am getting the following exception when I click on 
the "version" service. This didn't happened 
with yesterday's nightly build  of the axis2. 
Did anyone see this problem before ? 
Gul 
type 
Exception report message 
description The server encountered an internal error () that 
prevented it from fulfilling this request. exception 
java.lang.StringIndexOutOfBoundsException: String index out of range: 
14     java.lang.String.substring(String.java:1765) 
    org.apache.axis2.transport.http.ListingAgent.extractHostAndPort(ListingAgent.java:126) 
    org.apache.axis2.transport.http.ListingAgent.processListService(ListingAgent.java:166) 
    org.apache.axis2.transport.http.AxisServlet.doGet(AxisServlet.java:165) 
    javax.servlet.http.HttpServlet.service(HttpServlet.java:689) 
    javax.servlet.http.HttpServlet.service(HttpServlet.java:802) 
note The full stack 
trace of the root cause is available in the Apache Tomcat/5.5.17 
logs. 


RE: Large PDFs and Memory Usage

2006-09-15 Thread Aoife Kavanagh (Ext. 987)
Investigating an upgrade to Axis2 is an option but I would only want to go
that route if I know for sure it will fix the problem as based on work done
by one of my colleagues I know that there are alot of changes between Axis
1.x and Axis 2 and so this upgrading will result in the need for alot of
other changes.

Thanks,
Aoife

-Original Message-
From: Neil Aggarwal [mailto:[EMAIL PROTECTED]
Sent: 15 September 2006 15:33
To: axis-user@ws.apache.org
Subject: RE: Large PDFs and Memory Usage


Hello:

Does Axis2 fix the large memory usage issues with Axis 1?

Thanks,
Neil


--
Neil Aggarwal, (214)986-3533, www.JAMMConsulting.com
FREE! Eliminate junk email and reclaim your inbox.
Visit http://www.spammilter.com for details. 

> -Original Message-
> From: Aoife Kavanagh (Ext. 987) [mailto:[EMAIL PROTECTED] 
> Sent: Friday, September 15, 2006 8:23 AM
> To: 'axis-user@ws.apache.org'
> Subject: Large PDFs and Memory Usage
> 
> Hi,
> 
> We have a service running where the reutrn value from the 
> service invocation
> is sent as String using SOAP over JMS.  We are encountering 
> problems with
> memory consumption when that String is large, eg 1M or 
> greater.  It is not a
> case of just increasing heap size, it is just that the amount 
> of memory
> being used is can be anything from 1.3GB to 2.7GB.   We've 
> used hprof to
> determine that the majority of this memory usage is occurring 
> in the Axis
> (1.3)/Xerces code.
> 
> I'm looking to see if there is anything that we can do to try 
> to reduce
> this.  One thought is to return the data using xsd:base64Binary  or
> xsd:hexBinary but it seems that the encoding data in to base64Binary
> consumes memory and can cause trouble at the receiving end 
> with the XML
> parser, so I'm not sure if it is worth proceeding down this route.
> 
> Another thought is to send the data as MIME attachment (of 
> which I honestly
> don't know much) but it's not clear to me, based on some 
> initial mailing
> searches, if this approach will work any better, or if it even works
> properly in Axis 1.3.
> 
> >From what I can see in the lists plenty of people have 
> experienced this
> memory spike problem and I'm just wondering if there are any 
> clear solutions
> out there.
> 
> Thanks,
> Aoife
> 
> __
> The information contained in this e-mail is confidential, may 
> be privileged and is intended 
> only for the user of the recipient named above. If you are 
> not the intended recipient or a 
> representative of the intended recipient, you have received 
> this e-mail in error and must 
> not copy, use or disclose the contents of this e-mail to 
> anybody else.  
> 
> If you have received this e-mail in error, please notify the 
> sender immediately by return 
> e-mail and permanently delete the copy you received.  This 
> e-mail has been swept for 
> computer viruses. However, you should carry out your own 
> virus checks. 
> Registered in Ireland, No. 205721.  http://www.FINEOS.com
> __
> 
> 
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: ResourceBundle problem with new Axis 1.4 installation on Tomcat 5

2006-09-15 Thread Andy Foster
Attached is a copy of the file that works fine withtomcat for myself. I
simply put it in the classes directory root and happyaxis.jsp is fine

-Original Message-
From: Jari Fredriksson [mailto:[EMAIL PROTECTED] 
Sent: 15 September 2006 16:43
To: axis-user@ws.apache.org
Subject: Re: ResourceBundle problem with new Axis 1.4 installation on Tomcat
5

Jari Fredriksson wrote:
> Andy Foster wrote:
>> You need to make sure you have the i18n.properties file in your
>> web-inf classes directory and ensure the locale fi is specified in it
>>
>> Regards
>>
>> Andy Foster
>
> Thanks, but
>
> as I forgot to say, there is "fi".
>
> I just deployed the same axis package to a Weblogic 8.1 sp6 and it
> works as expected. But this tomcat installation does not.
>
> Regards,
> jarif

In addition to that, it seems that index.jsp takes a parameter locale

http://localhost:8084/axis/axis/index.jsp?locale=en

gives an error message

java.util.MissingResourceException: Can't find bundle for base name i18n, 
locale en

java.util.ResourceBundle.throwMissingResourceException(ResourceBundle.java:8
38)
java.util.ResourceBundle.getBundleImpl(ResourceBundle.java:807)
java.util.ResourceBundle.getBundle(ResourceBundle.java:551)
org.apache.jsp.axis.index_jsp.getRB(index_jsp.java:73)
org.apache.jsp.axis.index_jsp.getMessage(index_jsp.java:169)
org.apache.jsp.axis.index_jsp.getMessage(index_jsp.java:107)
org.apache.jsp.axis.index_jsp.getLocaleChoice(index_jsp.java:83)
org.apache.jsp.axis.index_jsp._jspService(index_jsp.java:313)
org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:97)
javax.servlet.http.HttpServlet.service(HttpServlet.java:802)

org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:3
22)

org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:291)
org.apache.jasper.servlet.JspServlet.service(JspServlet.java:241)
javax.servlet.http.HttpServlet.service(HttpServlet.java:802)

org.netbeans.modules.web.monitor.server.MonitorFilter.doFilter(MonitorFilter
.java:362) 


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




i18n.properties
Description: Binary data
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Re: ResourceBundle problem with new Axis 1.4 installation on Tomcat 5

2006-09-15 Thread Jari Fredriksson

Jari Fredriksson wrote:

Andy Foster wrote:

You need to make sure you have the i18n.properties file in your
web-inf classes directory and ensure the locale fi is specified in it

Regards

Andy Foster


Thanks, but

as I forgot to say, there is "fi".

I just deployed the same axis package to a Weblogic 8.1 sp6 and it
works as expected. But this tomcat installation does not.

Regards,
jarif


In addition to that, it seems that index.jsp takes a parameter locale

http://localhost:8084/axis/axis/index.jsp?locale=en

gives an error message

java.util.MissingResourceException: Can't find bundle for base name i18n, 
locale en


java.util.ResourceBundle.throwMissingResourceException(ResourceBundle.java:838)
java.util.ResourceBundle.getBundleImpl(ResourceBundle.java:807)
java.util.ResourceBundle.getBundle(ResourceBundle.java:551)
org.apache.jsp.axis.index_jsp.getRB(index_jsp.java:73)
org.apache.jsp.axis.index_jsp.getMessage(index_jsp.java:169)
org.apache.jsp.axis.index_jsp.getMessage(index_jsp.java:107)
org.apache.jsp.axis.index_jsp.getLocaleChoice(index_jsp.java:83)
org.apache.jsp.axis.index_jsp._jspService(index_jsp.java:313)
org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:97)
javax.servlet.http.HttpServlet.service(HttpServlet.java:802)

org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:322)
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:291)
org.apache.jasper.servlet.JspServlet.service(JspServlet.java:241)
javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
	org.netbeans.modules.web.monitor.server.MonitorFilter.doFilter(MonitorFilter.java:362) 



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: ResourceBundle problem with new Axis 1.4 installation on Tomcat 5

2006-09-15 Thread Jari Fredriksson

Andy Foster wrote:

You need to make sure you have the i18n.properties file in your
web-inf classes directory and ensure the locale fi is specified in it

Regards

Andy Foster


Thanks, but

as I forgot to say, there is "fi".

I just deployed the same axis package to a Weblogic 8.1 sp6 and it works as 
expected. But this tomcat installation does not.


Regards,
jarif







-Original Message-
From: Jari Fredriksson [mailto:[EMAIL PROTECTED]
Sent: 15 September 2006 15:41
To: axis-user@ws.apache.org
Subject: ResourceBundle problem with new Axis 1.4 installation on
Tomcat 5

Error message when accessing http://localhost:8084/axis

root cause
java.util.MissingResourceException: Can't find bundle for base name
i18n, locale fi

java.util.ResourceBundle.throwMissingResourceException(ResourceBundle.java:8
38) java.util.ResourceBundle.getBundleImpl(ResourceBundle.java:807)
java.util.ResourceBundle.getBundle(ResourceBundle.java:551)Ok, there
was no resource bundle for fi language, I prepared
it.E:\work\axis-1_4\webapps\axis\WEB-INF\classes\i18n_fi.propertiesE:\work\a
xis-1_4\webapps\axis\WEB-INF\classes\i18n_fi_FI.properties  (too,to be
sure).No joy.I edited i18nLib.jsp so that it tries for locale "en",
so error messagechanged toroot
causejava.util.MissingResourceException: Can't find bundle for base
name i18n,locale en
java.util.ResourceBundle.throwMissingResourceException(ResourceBundle.java:8
38) java.util.ResourceBundle.getBundleImpl(ResourceBundle.java:807)
java.util.ResourceBundle.getBundle(ResourceBundle.java:551)T
ried to google for it, found lots of similar cries and questions, but
not asuitable answer for this.I'm running Axis 1.4 under NetBeans IDE
5.0 (jre
1.4.2_12) in Windows X
PPro.Looks that no matter the locale, the properties are not
found.Oh. I installed the Axis servlet to Tomcat by creating a war
from theextracted webapp structure:jar cvf axis.war axis  (in
E:\work\axis-1_4\webapps) and then deployed itthru manager. When I
click "axis" in manager after deploying, it shows a"directory" having
one entry: "axis". Clicking this starts the index.jsp,thus full url
to axis seems to be http://localhost:8084/axis/axis (strangepath, but
not the main problem now).Any helps there is I would be grateful!

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED] 



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



[axis 1.4] java.io.IOException; DIME version mismatch with WSE 2.0 and axis1.4

2006-09-15 Thread shantanu chawla

I am trying to create a servlet that will receive a soap message from
a webservice created using WSE 2.0. But When I am trying to create the
soap message on the servlet I get the following error.


java.io.IOException: DIME version received "7" greater than current
supported version "1".


This is the soap message I received when I uses TCP/IP monitor

http://schemas.xmlsoap.org/ws/2004/03/addressing";
xmlns:wsse="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd";
xmlns:wsu="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd";
xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/";>http://tempuri.org/Notifyuuid:9dfca48a-81cd-4002-8df9-64d67b83a52ehttp://localhost:9090/UnsolicitedEventsTest/UnsolicitedEventsServlet2006-09-15T00:16:59Z2006-09-15T00:21:59ZNew
Registration 10 am PST



This is my java code in the servlet running on Tomcat 5.5 and it uses
apache axis 1.4

protected void doPost(HttpServletRequest request, HttpServletResponse
response)  {
  // TODO Auto-generated method stub
  System.out.println("in doPost");
  try{


  String eventInfo = extractSoapMessage(request,response);

  System.out.println("Event Received is");
  System.out.println(eventInfo);

  }
  catch(Exception e)
  {
  System.out.println(e);
  }

  }


private String extractSoapMessage(HttpServletRequest
request,HttpServletResponse response)
  {
  String eventInfo=null;
  try{

  //BufferedInputStream in = new
BufferedInputStream(request.getInputStream());
  MultiPartDimeInputStream mpin=new
MultiPartDimeInputStream(request.getInputStream());

  SOAPEnvelope env= new SOAPEnvelope(mpin);
  SOAPBody body =(SOAPBody)env.getBody();
  Iterator iter =body.getChildElements();
  while(iter.hasNext())
  {
  SOAPElement elem = (SOAPElement)iter.next();
  eventInfo=elem.toString();

  }
  }catch(Exception e)
  {
  System.out.println(e);
  }
  return eventInfo;

  }


I think the error is generated by the statement
:MultiPartDimeInputStream mpin=new
MultiPartDimeInputStream(request.getInputStream());

But the same function running on custom tcp port and receiving soap
message on tcp port is running fine. I wonder where the problem can be
I have the same axis 1.4 library in the lib folder under my servlet
webapp folder. Can someone help me in resolving the error as I need
its fix on urgent basis.

thanks

Shantanu



--
Graduate Student
Department of Computer Science,
San Diego State University

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: [Axis2] NonBlocking Client

2006-09-15 Thread Michele Mazzucco


Punnoose, Roshan wrote:
> I'm sorry to confuse, by ACK I mean a status message as to the progress
> of the request. I want the server to be able to send back many responses
> to one client request. This means pushing back the response to the
> client endpoint many times, while the client uses the callback to
> process each response. 
> 
Ok, but this way you loose the main advantage of asynchronous
invocations (i.e. the client can do something different in the meantime.
If you send "acks", the client computation is interrupted).

> So to create the sender, I only need to set the To to the ReplyTo from
> the request right? 

Before submitting the request, the client specifies the 'To'.
The 'From' and 'ReplyTo' headers are the same, if the client does not
specify the opposite, so:

- client

options.setTo(new EndpointReference();

sender.sendReceiveNonBlocking(request);



- server

// receives the request and gets the message context implementing the
// Service interface (see http://www.wso2.net/kb/106)

// if now you want to send your 'ack'
sender = create service client

options.setTo(inMsgCtx.getFrom());
...
sender.fireAndForget(ack);
...


I think it should be that simple. (Probably should
> have a RelatesTo for the message id also)
>
Yes, probably you'll need the RelatesTo in you ack messages.


Michele


> Roshan Punnoose
> Phone: 301-497-6039
> 
> -Original Message-
> From: Michele Mazzucco [mailto:[EMAIL PROTECTED] 
> Sent: Friday, September 15, 2006 3:50 AM
> To: axis-user@ws.apache.org
> Subject: Re: [Axis2] NonBlocking Client
> 
> 
> 
> Punnoose, Roshan wrote:
>> What I am trying to do is return multiple times from the service. So
> the
>> service could return ACKs till it is finally ready to return the
> correct
>> document. So I thought that when the client first calls, I would
> return
>> an ACK and kick off another thread to do some real processing. Then at
>> the end of that thread, would I have to create a client on the server
>> side to talk back to my client's callback?
> 
> Yes, but your design makes no sense to me. Let me explain. If the client
> is set up for non blocking invocation, it will wait until a result (or
> an error) is received. Meantime, the client is free to do whatever it
> wants. If the client is set up for blocking invocation, instead, it
> waits until the result (or error) is ready. So you don't need to send an
> ack to let the client know that the server has received the client
> request.
> Anyway, if you really want to do what you say, it would be much better
> the following solution (assume you're using AXIOM and RawXXX receivers):
> 
> 
> public OMElement foo(OMElement request) {
>  // create a sender object to send the ack.
> 
>  // compute your result
>  // put your result inside the result
>  OMElement result = 
>  return result;
> }
> 
> Michele
>> Roshan Punnoose
>> Phone: 301-497-6039
>>
>> -Original Message-
>> From: Michele Mazzucco [mailto:[EMAIL PROTECTED] 
>> Sent: Thursday, September 14, 2006 12:38 PM
>> To: axis-user@ws.apache.org
>> Subject: Re: [Axis2] NonBlocking Client
>>
>> It depends on the MEP. If the operation signature is in-out you don't
>> need any sender client (just return the produced value). Otherwise
> (i.e.
>> if it is in-only and want to redirect the request -- or the response
> --
>> than you need a sender object on the server side as well).
>>
>> Michele
>>
>> Punnoose, Roshan wrote:
>>> Thanks, that makes sense.
>>>
>>> On the server side, if I have the address that came over from the
>>> wsa:ReplyTo, and I want to push a message out to it, do I have to
>> create
>>> an axis client on the server side with the target EPR being the
>>> wsa:ReplyTo from before? Is that the easiest way to do it?
>>>
>>> Roshan Punnoose
>>> Phone: 301-497-6039
>>>
>>> -Original Message-
>>> From: Michele Mazzucco [mailto:[EMAIL PROTECTED] 
>>> Sent: Thursday, September 14, 2006 4:21 AM
>>> To: axis-user@ws.apache.org
>>> Subject: Re: [Axis2] NonBlocking Client
>>>
>>> Hi Roshan,
>>>
>>> you have to override the methods of the Callback class (isComplete()
>> and
>>> setComplete()).
>>>
>>>
>>> Regards,
>>> Michele
>>>
>>> Punnoose, Roshan wrote:
 Hi,

 I have a non-blocking client with the callback on a separate
>> listener.
 Is there anyway that I can keep that callback open even after the
 response, while the server will be able to send more responses back
>> to
 the same callback? Then close it on the client side after I receive
>>> what
 I want from the server?

 Roshan Punnoose
 Phone: 301-497-6039

 -Original Message-
 From: Neil Aggarwal [mailto:[EMAIL PROTECTED] 
 Sent: Wednesday, September 13, 2006 5:43 PM
 To: axis-user@ws.apache.org
 Subject: Axis using more than 256MB for a 9MB file

 Hello:

 I have a web service deployed using Axis 1.4

 In that service, I have a method that accepts a 
 String cont

Sept. 15 nightly build axis2.war and tomcat conflict ?

2006-09-15 Thread Gul Onural
Title: Sept. 15 nightly build axis2.war and tomcat conflict ?







Hi,


I just downloaded the axis2.war from axis2 nightly builds and trying to use it with Tomcat 5.5.17 (release version).

I connected http://localhost:8080/axis2/services/listServices and I am getting the following exception when I click on 

the "version" service. This didn't happened with yesterday's nightly build  of the axis2.


Did anyone see this problem before ? 


Gul


type Exception report

message 

description The server encountered an internal error () that prevented it from fulfilling this request.

exception 

java.lang.StringIndexOutOfBoundsException: String index out of range: 14

    java.lang.String.substring(String.java:1765)

    org.apache.axis2.transport.http.ListingAgent.extractHostAndPort(ListingAgent.java:126)

    org.apache.axis2.transport.http.ListingAgent.processListService(ListingAgent.java:166)

    org.apache.axis2.transport.http.AxisServlet.doGet(AxisServlet.java:165)

    javax.servlet.http.HttpServlet.service(HttpServlet.java:689)

    javax.servlet.http.HttpServlet.service(HttpServlet.java:802)

note The full stack trace of the root cause is available in the Apache Tomcat/5.5.17 logs.





Array Issue Rexplained

2006-09-15 Thread Andy Foster
Hi all,

To give a little more detail I previously used axis 1.2RC3 and have upgraded
to 1.4. My code is based around the SRW protocol and uses wsdl2java to
generate all the stubs from the standards wdsl file.

In 1.2 the diagnostics are returned as an array wrapped in a diagnoticstypes
object. However in 1.4 this has changed and now instead of getting the
wrapper class I get the straight array of diagnostic records instead.

However the server adds two disgnostic messages to an array and sets it in
the response. The debugger shows these to be clearly set. When I get the
response back at the client the first diagnostic has disappeared leaving
only the second. IE the array has gone from 2 to 1 element.
 
I have no idea what is causing this, can anyone help?

Where should I look now?

Regards

Andy Foster


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



[Rampart]Runtime Crypto?

2006-09-15 Thread Angel Cholchev

   Hello,
Is it possible to create a runtime instance of the crypto, defined in 
the sec.properties file.
For me it is inconvenient* *to load the crypto instance and properties 
from a file. Is is possible to create my crypto by every single call 
without getting is constuctor parameters from a file,

because every time I use different aliases.
   Thanks

Angel Cholchev


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: ResourceBundle problem with new Axis 1.4 installation on Tomcat 5

2006-09-15 Thread Andy Foster
You need to make sure you have the i18n.properties file in your web-inf
classes directory and ensure the locale fi is specified in it

Regards

Andy Foster

-Original Message-
From: Jari Fredriksson [mailto:[EMAIL PROTECTED] 
Sent: 15 September 2006 15:41
To: axis-user@ws.apache.org
Subject: ResourceBundle problem with new Axis 1.4 installation on Tomcat 5

Error message when accessing http://localhost:8084/axis

root cause
java.util.MissingResourceException: Can't find bundle for base name i18n, 
locale fi
 
java.util.ResourceBundle.throwMissingResourceException(ResourceBundle.java:8
38) java.util.ResourceBundle.getBundleImpl(ResourceBundle.java:807)
java.util.ResourceBundle.getBundle(ResourceBundle.java:551)Ok, there was no
resource bundle for fi language, I prepared
it.E:\work\axis-1_4\webapps\axis\WEB-INF\classes\i18n_fi.propertiesE:\work\a
xis-1_4\webapps\axis\WEB-INF\classes\i18n_fi_FI.properties  (too,to be
sure).No joy.I edited i18nLib.jsp so that it tries for locale "en", so error
messagechanged toroot causejava.util.MissingResourceException: Can't find
bundle for base name i18n,locale en
java.util.ResourceBundle.throwMissingResourceException(ResourceBundle.java:8
38) java.util.ResourceBundle.getBundleImpl(ResourceBundle.java:807)
java.util.ResourceBundle.getBundle(ResourceBundle.java:551)T
ried to google for it, found lots of similar cries and questions, but not
asuitable answer for this.I'm running Axis 1.4 under NetBeans IDE 5.0 (jre
1.4.2_12) in Windows X
 PPro.Looks that no matter the locale, the properties are not found.Oh. I
installed the Axis servlet to Tomcat by creating a war from theextracted
webapp structure:jar cvf axis.war axis  (in E:\work\axis-1_4\webapps) and
then deployed itthru manager. When I click "axis" in manager after
deploying, it shows a"directory" having one entry: "axis". Clicking this
starts the index.jsp,thus full url to axis seems to be
http://localhost:8084/axis/axis (strangepath, but not the main problem
now).Any helps there is I would be grateful!

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



ResourceBundle problem with new Axis 1.4 installation on Tomcat 5

2006-09-15 Thread Jari Fredriksson

Error message when accessing http://localhost:8084/axis

root cause
java.util.MissingResourceException: Can't find bundle for base name i18n, 
locale fi

java.util.ResourceBundle.throwMissingResourceException(ResourceBundle.java:838) 
java.util.ResourceBundle.getBundleImpl(ResourceBundle.java:807) 
java.util.ResourceBundle.getBundle(ResourceBundle.java:551)Ok, there was no resource 
bundle for fi language, I prepared 
it.E:\work\axis-1_4\webapps\axis\WEB-INF\classes\i18n_fi.propertiesE:\work\axis-1_4\webapps\axis\WEB-INF\classes\i18n_fi_FI.properties
  (too,to be sure).No joy.I edited i18nLib.jsp so that it tries for locale 
"en", so error messagechanged toroot causejava.util.MissingResourceException: 
Can't find bundle for base name i18n,locale en 
java.util.ResourceBundle.throwMissingResourceException(ResourceBundle.java:838) 
java.util.ResourceBundle.getBundleImpl(ResourceBundle.java:807) 
java.util.ResourceBundle.getBundle(ResourceBundle.java:551)Tried to 
google for it, found lots of similar cries and questions, but not asuitable answer for 
this.I'm running Axis 1.4 under NetBeans IDE 5.0 (jre 1.4.2_12) in Windows X
PPro.Looks that no matter the locale, the properties are not found.Oh. I installed the Axis servlet to Tomcat 
by creating a war from theextracted webapp structure:jar cvf axis.war axis  (in E:\work\axis-1_4\webapps) and 
then deployed itthru manager. When I click "axis" in manager after deploying, it shows 
a"directory" having one entry: "axis". Clicking this starts the index.jsp,thus full url 
to axis seems to be http://localhost:8084/axis/axis (strangepath, but not the main problem now).Any helps 
there is I would be grateful!

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: [Axis2] Axis1 a better choice?

2006-09-15 Thread robert lazarski

Well lots of people are using axis2 - primarily in tomcat - without
these problems. Let me try and help:

1) Log4J - not needed by axis2 .
2) commons-logging ... needed but I've never seen a problem related to it.
3) Xalan - not used by axis2 .
4) NoSuchMethodError means the that class was compiled with one
version, but now another version is present at runtime. Do you have
commons-httpclient-3.0.jar in your war and _no other version_ in a
higher classloader ? Do a search on your filesystem to make sure. If
you are running tomcat inside jboss please state so.

Try using the nighlties , using the stb-bin and axis2.war:

http://people.apache.org/dist/axis2/nightly/

To see if you want to use axis2 or not:

http://atmanes.blogspot.com/2006/08/axis-1x-or-axis2.html

HTH,
Robert

On 9/15/06, Jeff Poling <[EMAIL PROTECTED]> wrote:

   Hi folks,

   I have been trying for days to get Axis2 up and running in Tomcat
5.5, but I keep running into incompatibilities.  First its common
logging, then log 4j, then Xalan, now its HttpClient.  I don't have days
and days free I can spend on this, I have a deadline by next week to get
something up for a visiting executive.  Based on folks' own experiences,
should I give up and try Axis1, or keep plugging away?

   (And if anybody knows why I'm getting "java.lang.NoSuchMethodError:
org.apache.commons.httpclient.HttpConnectionManager.getParams()" when I
try to invoke the HappyAxis.jsp, and what I can do about it, I'd
appreciate it;  I was able to fix all the previous incompatibilities,
but this one has me stumped.  Nothing I've tried works.)

---
Jeff Poling
Manager, Software Development
Netsmart Technologies, Inc.


This message is intended only for the use of the individual or entity
to which it is addressed, and may contain information that is
privileged, confidential and exempt from disclosure under applicable
law. If the reader of this message is not the intended recipient, or
the employer or agent responsible for delivering the message to the
intended recipient, you are hereby notified that any dissemination,
distribution or copying of this communication is strictly prohibited.
If you have received this communication in error, please notify the
sender immediately by telephone and delete the material from your
computer. Thank you for your cooperation.

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: Large PDFs and Memory Usage

2006-09-15 Thread Neil Aggarwal
Hello:

Does Axis2 fix the large memory usage issues with Axis 1?

Thanks,
Neil


--
Neil Aggarwal, (214)986-3533, www.JAMMConsulting.com
FREE! Eliminate junk email and reclaim your inbox.
Visit http://www.spammilter.com for details. 

> -Original Message-
> From: Aoife Kavanagh (Ext. 987) [mailto:[EMAIL PROTECTED] 
> Sent: Friday, September 15, 2006 8:23 AM
> To: 'axis-user@ws.apache.org'
> Subject: Large PDFs and Memory Usage
> 
> Hi,
> 
> We have a service running where the reutrn value from the 
> service invocation
> is sent as String using SOAP over JMS.  We are encountering 
> problems with
> memory consumption when that String is large, eg 1M or 
> greater.  It is not a
> case of just increasing heap size, it is just that the amount 
> of memory
> being used is can be anything from 1.3GB to 2.7GB.   We've 
> used hprof to
> determine that the majority of this memory usage is occurring 
> in the Axis
> (1.3)/Xerces code.
> 
> I'm looking to see if there is anything that we can do to try 
> to reduce
> this.  One thought is to return the data using xsd:base64Binary  or
> xsd:hexBinary but it seems that the encoding data in to base64Binary
> consumes memory and can cause trouble at the receiving end 
> with the XML
> parser, so I'm not sure if it is worth proceeding down this route.
> 
> Another thought is to send the data as MIME attachment (of 
> which I honestly
> don't know much) but it's not clear to me, based on some 
> initial mailing
> searches, if this approach will work any better, or if it even works
> properly in Axis 1.3.
> 
> >From what I can see in the lists plenty of people have 
> experienced this
> memory spike problem and I'm just wondering if there are any 
> clear solutions
> out there.
> 
> Thanks,
> Aoife
> 
> __
> The information contained in this e-mail is confidential, may 
> be privileged and is intended 
> only for the user of the recipient named above. If you are 
> not the intended recipient or a 
> representative of the intended recipient, you have received 
> this e-mail in error and must 
> not copy, use or disclose the contents of this e-mail to 
> anybody else.  
> 
> If you have received this e-mail in error, please notify the 
> sender immediately by return 
> e-mail and permanently delete the copy you received.  This 
> e-mail has been swept for 
> computer viruses. However, you should carry out your own 
> virus checks. 
> Registered in Ireland, No. 205721.  http://www.FINEOS.com
> __
> 
> 
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: Axis using more than 256MB for a 9MB file

2006-09-15 Thread Neil Aggarwal
Hello:

Does Axis2 solve these problems?

Thanks,
Neil


--
Neil Aggarwal, (214)986-3533, www.JAMMConsulting.com
FREE! Eliminate junk email and reclaim your inbox.
Visit http://www.spammilter.com for details. 

> -Original Message-
> From: Neil Aggarwal [mailto:[EMAIL PROTECTED] 
> Sent: Wednesday, September 13, 2006 4:43 PM
> To: axis-user@ws.apache.org
> Subject: Axis using more than 256MB for a 9MB file
> 
> Hello:
> 
> I have a web service deployed using Axis 1.4
> 
> In that service, I have a method that accepts a 
> String containing an XML document.
> 
> When I try to upload a 9MB XML file into my service,
> Axis seems to be taking up a HUGE amount of memory.
> 
> If I set the JVM to 256MB of heap, it runs out of
> memory and throws an OutOfMemoryException.
> 
> If I set the JVM to 512MB of heap, I get the file
> just fine.
> 
> The problem occurs *before* my web service method 
> is even invoked.
> 
> The service is running on Tomcat on Windows.
> 
> Any ideas why Axis would consume so much memory?
> 
> Thanks,
>   Neil
> 
> 
> --
> Neil Aggarwal, (214)986-3533, www.JAMMConsulting.com
> FREE! Eliminate junk email and reclaim your inbox.
> Visit http://www.spammilter.com for details.
> 
> 
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: [Axis2] Axis1 a better choice?

2006-09-15 Thread Richard Wild
As I understand it, if you are wanting to go into production immediately
then Axis 1.x is what you want.  Axis 2 is what you will want in the future.

-Original Message-
From: Jeff Poling [mailto:[EMAIL PROTECTED] 
Sent: 15 September 2006 15:08
To: axis-user@ws.apache.org
Subject: [Axis2] Axis1 a better choice?

   Hi folks,

   I have been trying for days to get Axis2 up and running in Tomcat 5.5,
but I keep running into incompatibilities.  First its common logging, then
log 4j, then Xalan, now its HttpClient.  I don't have days and days free I
can spend on this, I have a deadline by next week to get something up for a
visiting executive.  Based on folks' own experiences, should I give up and
try Axis1, or keep plugging away?

   (And if anybody knows why I'm getting "java.lang.NoSuchMethodError:
org.apache.commons.httpclient.HttpConnectionManager.getParams()" when I try
to invoke the HappyAxis.jsp, and what I can do about it, I'd appreciate it;
I was able to fix all the previous incompatibilities, but this one has me
stumped.  Nothing I've tried works.)

---
Jeff Poling
Manager, Software Development
Netsmart Technologies, Inc.


This message is intended only for the use of the individual or entity to
which it is addressed, and may contain information that is privileged,
confidential and exempt from disclosure under applicable law. If the reader
of this message is not the intended recipient, or the employer or agent
responsible for delivering the message to the intended recipient, you are
hereby notified that any dissemination, distribution or copying of this
communication is strictly prohibited. 
If you have received this communication in error, please notify the sender
immediately by telephone and delete the material from your computer. Thank
you for your cooperation.

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]






-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Arrays loosing data when returning reponse to client

2006-09-15 Thread Andy Foster
Hi all,

I recently noticed we were running with axis 1.2RC3 and upgraded the code to
run with axis 1.4.

The big change I noticed was the wsdl2java no longer created wrapper objects
for arrays. I went on to change the code to remove the wrapper class
references.

However when I run the unit tests now I find that only one element is being
returned in the array when it should have been 2.

I checked the code on my server and when the skeleton returns the response
object has the correct number of elements in the array. The client object
that has been created though now only has the second item in it. The first
item has vanished during the serialisation process across the webservice.

Do you know what I may have missed that is causing this side effect?

Regards

Andy Foster



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



[Axis2] Axis1 a better choice?

2006-09-15 Thread Jeff Poling
   Hi folks,

   I have been trying for days to get Axis2 up and running in Tomcat
5.5, but I keep running into incompatibilities.  First its common
logging, then log 4j, then Xalan, now its HttpClient.  I don't have days
and days free I can spend on this, I have a deadline by next week to get
something up for a visiting executive.  Based on folks' own experiences,
should I give up and try Axis1, or keep plugging away?

   (And if anybody knows why I'm getting "java.lang.NoSuchMethodError:
org.apache.commons.httpclient.HttpConnectionManager.getParams()" when I
try to invoke the HappyAxis.jsp, and what I can do about it, I'd
appreciate it;  I was able to fix all the previous incompatibilities,
but this one has me stumped.  Nothing I've tried works.)

---
Jeff Poling
Manager, Software Development
Netsmart Technologies, Inc.


This message is intended only for the use of the individual or entity
to which it is addressed, and may contain information that is
privileged, confidential and exempt from disclosure under applicable
law. If the reader of this message is not the intended recipient, or
the employer or agent responsible for delivering the message to the
intended recipient, you are hereby notified that any dissemination,
distribution or copying of this communication is strictly prohibited.
If you have received this communication in error, please notify the
sender immediately by telephone and delete the material from your
computer. Thank you for your cooperation.

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Axis2 import xsd into WSDL and generator WSDL2Java

2006-09-15 Thread Sergey GMAIL
Hello, axis-user.
I have a problem, as correctly to import *.xsd chart in WSDL and then
correctly using a WSDL2Java generate code ?
My code:
WSDL:

http://com/nuance/pws/middleware/beans/calculator";
 .
 
xmlns:tns1="http://com/nuance/pws/middleware/beans/calculator/schemas";
 
http://com/nuance/pws/middleware/beans/calculator/schemas";

location="http://com/nuance/pws/middleware/beans/calculator/Calculator_new.xsd"/>
 
 
 
  


XSD:

http://com/nuance/pws/middleware/beans/calculator/schemas";
   xmlns="http://www.w3.org/2000/10/XMLSchema";>

 
 







 ...

 doesn't work  :(
 
 How do correct wsdl?
 
 Thanks.
-- 
WBR,
 Sergey  mailto:[EMAIL PROTECTED]


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: Getting Rampart to work on client side

2006-09-15 Thread Charak, Vikas
I think there could be a mismatch of downloaded libraries. Which version
of Axis2 you are using and how about jars like axis2-security,
addressing.mar ,rampart.mar.

-Original Message-
From: Christoph Raupach [mailto:[EMAIL PROTECTED] 
Sent: Friday, September 15, 2006 9:28 AM
To: axis-user@ws.apache.org
Subject: Re: Getting Rampart to work on client side

Hello,
I've got wss4j-1.5.0.jar and axis2-security-1.0.jar on my classpath
along with all  liberaries provided by axis2. I do not know what I
might be missing.

regards
Christoph Raupach

On 9/15/06, Charak, Vikas <[EMAIL PROTECTED]> wrote:
> Please make sure all the required jars are in your path. E.g
wss4j.jar,
> axis2-security.jar etc.
>
> -Original Message-
> From: Christoph Raupach [mailto:[EMAIL PROTECTED]
> Sent: Friday, September 15, 2006 5:37 AM
> To: axis-user@ws.apache.org
> Subject: Getting Rampart to work on client side
>
> Hello,
> Im trying to get Rampart to work in my Axis client, and I'm getting
> the following error, when running the client:
>
> INFO: Deploying module : addressing-1.0
> Exception in thread "main" java.lang.NoSuchMethodError:
>
org.apache.axis2.description.HandlerDescription.(Ljavax/xml/namesp
> ace/QName;)V
> at
>
org.apache.axis2.security.handler.WSDoAllHandler.(WSDoAllHandler
> .java:38)
> at java.lang.Class.forName0(Native Method)
> at java.lang.Class.forName(Class.java:242)
> at
> org.apache.axis2.deployment.util.Utils.getHandlerClass(Utils.java:199)
> at
> org.apache.axis2.deployment.util.Utils.addFlowHandlers(Utils.java:59)
> at
>
org.apache.axis2.deployment.DeploymentEngine.addNewModule(DeploymentEngi
> ne.java:311)
> at
>
org.apache.axis2.deployment.DeploymentEngine.doDeploy(DeploymentEngine.j
> ava:597)
> at
>
org.apache.axis2.deployment.RepositoryListener.init(RepositoryListener.j
> ava:165)
> at
>
org.apache.axis2.deployment.RepositoryListener.(RepositoryListener
> .java:53)
> at
>
org.apache.axis2.deployment.DeploymentEngine.loadRepository(DeploymentEn
> gine.java:100)
> at
>
org.apache.axis2.deployment.FileSystemConfigurator.getAxisConfiguration(
> FileSystemConfigurator.java:116)
> at
>
org.apache.axis2.context.ConfigurationContextFactory.createConfiguration
> Context(ConfigurationContextFactory.java:61)
> at
>
org.apache.axis2.context.ConfigurationContextFactory.createConfiguration
> ContextFromFileSystem(ConfigurationContextFactory.java:171)
> at test.Mainclient.main(Mainclient.java:12)
>
> Im using rampart-1.0.mar. The code used to create the Configuration
> Context looks like this:
>
> //prepare Configuration context for encryption
> ConfigurationContext ctx =
>
ConfigurationContextFactory.createConfigurationContextFromFileSystem(rep
> o_path,
> axisXmlPath);
>
> regards
> Christoph Raupach
>
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: [Axis2] Spring Integration

2006-09-15 Thread robert lazarski

Nope ... startUp() happens only once , similair to the way
load-on-startUp works for a servlet.

However, the dev list today started a thread on refactoring the
Service interface ... moving some of the methods to another interface.
So you can use it the way I descibed now ... but its going to likely
change here shortly . It should stabalize soon as we have a release
comming up.

Robert

On 9/15/06, Punnoose, Roshan <[EMAIL PROTECTED]> wrote:

Doesn't Axis create a new service with each request? So if I put the
spring init inside the Service.startUp(), then it will happen with each
request right?

Roshan Punnoose
Phone: 301-497-6039

-Original Message-
From: robert lazarski [mailto:[EMAIL PROTECTED]
Sent: Friday, September 15, 2006 12:49 AM
To: axis-user@ws.apache.org
Subject: Re: [Axis2] Spring Integration

Late here ... just remembered that will only work with
SpringAppContextAwareObjectSupplier so you'll to init spring yourself.
Hint: Service.startUp() . Will try to doc this asap .

Robert

On 9/15/06, robert lazarski <[EMAIL PROTECTED]> wrote:
> The structure is like so:
>
> aar
> applicationContext.xml
> lib
>   spring.jar
>   axis2-spring*.jar
>
> Robert
>
>
> On 9/14/06, Punnoose, Roshan <[EMAIL PROTECTED]> wrote:
> > It looks good, do you have an example, it doesn't have to be written
up,
> > for putting spring in the aar file. (Would this mean that the
> > applicationContext.xml would be inside the aar file?)
> >
> > Roshan Punnoose
> > Phone: 301-497-6039
> >
> > -Original Message-
> > From: robert lazarski [mailto:[EMAIL PROTECTED]
> > Sent: Thursday, September 14, 2006 12:17 PM
> > To: axis-user@ws.apache.org
> > Subject: Re: [Axis2] Spring Integration
> >
> > The docs are here:
> >
> >
http://svn.apache.org/repos/asf/webservices/axis2/trunk/java/xdocs/lates
> > t/spring.html
> >
> > There is one additional new feature I hope to document this weekend:
> > The ability to put spring into an aar .
> >
> > Anyways, all current MR's extend AbstractMessageReceiver - where the
> > hook is - so any which one will work.
> >
> > Robert
> >
> > On 9/14/06, Punnoose, Roshan <[EMAIL PROTECTED]> wrote:
> > > I saw that in the latest code base, there is a spring module. How
do I
> > > use those suppliers provided? Looking at the code, it seems like I
> > have
> > > to set the SpringBeanName in the services.xml, does that mean I
have
> > to
> > > use a different receiver? And then, do I have to configure the
Spring
> > > servlet on the web.xml?
> > >
> > > Roshan Punnoose
> > > Phone: 301-497-6039
> > >
> > > -Original Message-
> > > From: Punnoose, Roshan [mailto:[EMAIL PROTECTED]
> > > Sent: Thursday, September 14, 2006 9:01 AM
> > > To: axis-user@ws.apache.org
> > > Subject: RE: [Axis2] NonBlocking Client
> > >
> > > Thanks, that makes sense.
> > >
> > > On the server side, if I have the address that came over from the
> > > wsa:ReplyTo, and I want to push a message out to it, do I have to
> > create
> > > an axis client on the server side with the target EPR being the
> > > wsa:ReplyTo from before? Is that the easiest way to do it?
> > >
> > > Roshan Punnoose
> > > Phone: 301-497-6039
> > >
> > > -Original Message-
> > > From: Michele Mazzucco [mailto:[EMAIL PROTECTED]
> > > Sent: Thursday, September 14, 2006 4:21 AM
> > > To: axis-user@ws.apache.org
> > > Subject: Re: [Axis2] NonBlocking Client
> > >
> > > Hi Roshan,
> > >
> > > you have to override the methods of the Callback class
(isComplete()
> > and
> > > setComplete()).
> > >
> > >
> > > Regards,
> > > Michele
> > >
> > > Punnoose, Roshan wrote:
> > > > Hi,
> > > >
> > > > I have a non-blocking client with the callback on a separate
> > listener.
> > > > Is there anyway that I can keep that callback open even after
the
> > > > response, while the server will be able to send more responses
back
> > to
> > > > the same callback? Then close it on the client side after I
receive
> > > what
> > > > I want from the server?
> > > >
> > > > Roshan Punnoose
> > > > Phone: 301-497-6039
> > > >
> > > > -Original Message-
> > > > From: Neil Aggarwal [mailto:[EMAIL PROTECTED]
> > > > Sent: Wednesday, September 13, 2006 5:43 PM
> > > > To: axis-user@ws.apache.org
> > > > Subject: Axis using more than 256MB for a 9MB file
> > > >
> > > > Hello:
> > > >
> > > > I have a web service deployed using Axis 1.4
> > > >
> > > > In that service, I have a method that accepts a
> > > > String containing an XML document.
> > > >
> > > > When I try to upload a 9MB XML file into my service,
> > > > Axis seems to be taking up a HUGE amount of memory.
> > > >
> > > > If I set the JVM to 256MB of heap, it runs out of
> > > > memory and throws an OutOfMemoryException.
> > > >
> > > > If I set the JVM to 512MB of heap, I get the file
> > > > just fine.
> > > >
> > > > The problem occurs *before* my web service method
> > > > is even invoked.
> > > >
> > > > The service is running on Tomcat on Windows.
> > > >
> > > > Any ideas 

Javadoc for Axis2 nightly builds

2006-09-15 Thread Gul Onural
Title: Javadoc for Axis2 nightly builds







Never mind. I've found it in axis2-SNAPSHOT-docs.zip


Gul





RE: [Axis2] Spring Integration

2006-09-15 Thread Punnoose, Roshan
Doesn't Axis create a new service with each request? So if I put the
spring init inside the Service.startUp(), then it will happen with each
request right?

Roshan Punnoose
Phone: 301-497-6039

-Original Message-
From: robert lazarski [mailto:[EMAIL PROTECTED] 
Sent: Friday, September 15, 2006 12:49 AM
To: axis-user@ws.apache.org
Subject: Re: [Axis2] Spring Integration

Late here ... just remembered that will only work with
SpringAppContextAwareObjectSupplier so you'll to init spring yourself.
Hint: Service.startUp() . Will try to doc this asap .

Robert

On 9/15/06, robert lazarski <[EMAIL PROTECTED]> wrote:
> The structure is like so:
>
> aar
> applicationContext.xml
> lib
>   spring.jar
>   axis2-spring*.jar
>
> Robert
>
>
> On 9/14/06, Punnoose, Roshan <[EMAIL PROTECTED]> wrote:
> > It looks good, do you have an example, it doesn't have to be written
up,
> > for putting spring in the aar file. (Would this mean that the
> > applicationContext.xml would be inside the aar file?)
> >
> > Roshan Punnoose
> > Phone: 301-497-6039
> >
> > -Original Message-
> > From: robert lazarski [mailto:[EMAIL PROTECTED]
> > Sent: Thursday, September 14, 2006 12:17 PM
> > To: axis-user@ws.apache.org
> > Subject: Re: [Axis2] Spring Integration
> >
> > The docs are here:
> >
> >
http://svn.apache.org/repos/asf/webservices/axis2/trunk/java/xdocs/lates
> > t/spring.html
> >
> > There is one additional new feature I hope to document this weekend:
> > The ability to put spring into an aar .
> >
> > Anyways, all current MR's extend AbstractMessageReceiver - where the
> > hook is - so any which one will work.
> >
> > Robert
> >
> > On 9/14/06, Punnoose, Roshan <[EMAIL PROTECTED]> wrote:
> > > I saw that in the latest code base, there is a spring module. How
do I
> > > use those suppliers provided? Looking at the code, it seems like I
> > have
> > > to set the SpringBeanName in the services.xml, does that mean I
have
> > to
> > > use a different receiver? And then, do I have to configure the
Spring
> > > servlet on the web.xml?
> > >
> > > Roshan Punnoose
> > > Phone: 301-497-6039
> > >
> > > -Original Message-
> > > From: Punnoose, Roshan [mailto:[EMAIL PROTECTED]
> > > Sent: Thursday, September 14, 2006 9:01 AM
> > > To: axis-user@ws.apache.org
> > > Subject: RE: [Axis2] NonBlocking Client
> > >
> > > Thanks, that makes sense.
> > >
> > > On the server side, if I have the address that came over from the
> > > wsa:ReplyTo, and I want to push a message out to it, do I have to
> > create
> > > an axis client on the server side with the target EPR being the
> > > wsa:ReplyTo from before? Is that the easiest way to do it?
> > >
> > > Roshan Punnoose
> > > Phone: 301-497-6039
> > >
> > > -Original Message-
> > > From: Michele Mazzucco [mailto:[EMAIL PROTECTED]
> > > Sent: Thursday, September 14, 2006 4:21 AM
> > > To: axis-user@ws.apache.org
> > > Subject: Re: [Axis2] NonBlocking Client
> > >
> > > Hi Roshan,
> > >
> > > you have to override the methods of the Callback class
(isComplete()
> > and
> > > setComplete()).
> > >
> > >
> > > Regards,
> > > Michele
> > >
> > > Punnoose, Roshan wrote:
> > > > Hi,
> > > >
> > > > I have a non-blocking client with the callback on a separate
> > listener.
> > > > Is there anyway that I can keep that callback open even after
the
> > > > response, while the server will be able to send more responses
back
> > to
> > > > the same callback? Then close it on the client side after I
receive
> > > what
> > > > I want from the server?
> > > >
> > > > Roshan Punnoose
> > > > Phone: 301-497-6039
> > > >
> > > > -Original Message-
> > > > From: Neil Aggarwal [mailto:[EMAIL PROTECTED]
> > > > Sent: Wednesday, September 13, 2006 5:43 PM
> > > > To: axis-user@ws.apache.org
> > > > Subject: Axis using more than 256MB for a 9MB file
> > > >
> > > > Hello:
> > > >
> > > > I have a web service deployed using Axis 1.4
> > > >
> > > > In that service, I have a method that accepts a
> > > > String containing an XML document.
> > > >
> > > > When I try to upload a 9MB XML file into my service,
> > > > Axis seems to be taking up a HUGE amount of memory.
> > > >
> > > > If I set the JVM to 256MB of heap, it runs out of
> > > > memory and throws an OutOfMemoryException.
> > > >
> > > > If I set the JVM to 512MB of heap, I get the file
> > > > just fine.
> > > >
> > > > The problem occurs *before* my web service method
> > > > is even invoked.
> > > >
> > > > The service is running on Tomcat on Windows.
> > > >
> > > > Any ideas why Axis would consume so much memory?
> > > >
> > > > Thanks,
> > > >   Neil
> > > >
> > > >
> > > > --
> > > > Neil Aggarwal, (214)986-3533, www.JAMMConsulting.com
> > > > FREE! Eliminate junk email and reclaim your inbox.
> > > > Visit http://www.spammilter.com for details.
> > > >
> > > >
> > > >
> >
-
> > > > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > > > For addit

Javadoc for axis2 nightly builds ?

2006-09-15 Thread Gul Onural
Title: Javadoc for axis2 nightly builds ?







Is there a way to get Javadoc for the Axis2 nightly builds, from the axis2 source code repository ?



Gul





RE: [Axis2] NonBlocking Client

2006-09-15 Thread Punnoose, Roshan
I'm sorry to confuse, by ACK I mean a status message as to the progress
of the request. I want the server to be able to send back many responses
to one client request. This means pushing back the response to the
client endpoint many times, while the client uses the callback to
process each response. 

So to create the sender, I only need to set the To to the ReplyTo from
the request right? I think it should be that simple. (Probably should
have a RelatesTo for the message id also)

Roshan Punnoose
Phone: 301-497-6039

-Original Message-
From: Michele Mazzucco [mailto:[EMAIL PROTECTED] 
Sent: Friday, September 15, 2006 3:50 AM
To: axis-user@ws.apache.org
Subject: Re: [Axis2] NonBlocking Client



Punnoose, Roshan wrote:
> What I am trying to do is return multiple times from the service. So
the
> service could return ACKs till it is finally ready to return the
correct
> document. So I thought that when the client first calls, I would
return
> an ACK and kick off another thread to do some real processing. Then at
> the end of that thread, would I have to create a client on the server
> side to talk back to my client's callback?

Yes, but your design makes no sense to me. Let me explain. If the client
is set up for non blocking invocation, it will wait until a result (or
an error) is received. Meantime, the client is free to do whatever it
wants. If the client is set up for blocking invocation, instead, it
waits until the result (or error) is ready. So you don't need to send an
ack to let the client know that the server has received the client
request.
Anyway, if you really want to do what you say, it would be much better
the following solution (assume you're using AXIOM and RawXXX receivers):


public OMElement foo(OMElement request) {
 // create a sender object to send the ack.

 // compute your result
 // put your result inside the result
 OMElement result = 
 return result;
}

Michele
> 
> Roshan Punnoose
> Phone: 301-497-6039
> 
> -Original Message-
> From: Michele Mazzucco [mailto:[EMAIL PROTECTED] 
> Sent: Thursday, September 14, 2006 12:38 PM
> To: axis-user@ws.apache.org
> Subject: Re: [Axis2] NonBlocking Client
> 
> It depends on the MEP. If the operation signature is in-out you don't
> need any sender client (just return the produced value). Otherwise
(i.e.
> if it is in-only and want to redirect the request -- or the response
--
> than you need a sender object on the server side as well).
> 
> Michele
> 
> Punnoose, Roshan wrote:
>> Thanks, that makes sense.
>>
>> On the server side, if I have the address that came over from the
>> wsa:ReplyTo, and I want to push a message out to it, do I have to
> create
>> an axis client on the server side with the target EPR being the
>> wsa:ReplyTo from before? Is that the easiest way to do it?
>>
>> Roshan Punnoose
>> Phone: 301-497-6039
>>
>> -Original Message-
>> From: Michele Mazzucco [mailto:[EMAIL PROTECTED] 
>> Sent: Thursday, September 14, 2006 4:21 AM
>> To: axis-user@ws.apache.org
>> Subject: Re: [Axis2] NonBlocking Client
>>
>> Hi Roshan,
>>
>> you have to override the methods of the Callback class (isComplete()
> and
>> setComplete()).
>>
>>
>> Regards,
>> Michele
>>
>> Punnoose, Roshan wrote:
>>> Hi,
>>>
>>> I have a non-blocking client with the callback on a separate
> listener.
>>> Is there anyway that I can keep that callback open even after the
>>> response, while the server will be able to send more responses back
> to
>>> the same callback? Then close it on the client side after I receive
>> what
>>> I want from the server?
>>>
>>> Roshan Punnoose
>>> Phone: 301-497-6039
>>>
>>> -Original Message-
>>> From: Neil Aggarwal [mailto:[EMAIL PROTECTED] 
>>> Sent: Wednesday, September 13, 2006 5:43 PM
>>> To: axis-user@ws.apache.org
>>> Subject: Axis using more than 256MB for a 9MB file
>>>
>>> Hello:
>>>
>>> I have a web service deployed using Axis 1.4
>>>
>>> In that service, I have a method that accepts a 
>>> String containing an XML document.
>>>
>>> When I try to upload a 9MB XML file into my service,
>>> Axis seems to be taking up a HUGE amount of memory.
>>>
>>> If I set the JVM to 256MB of heap, it runs out of
>>> memory and throws an OutOfMemoryException.
>>>
>>> If I set the JVM to 512MB of heap, I get the file
>>> just fine.
>>>
>>> The problem occurs *before* my web service method 
>>> is even invoked.
>>>
>>> The service is running on Tomcat on Windows.
>>>
>>> Any ideas why Axis would consume so much memory?
>>>
>>> Thanks,
>>> Neil
>>>
>>>
>>> --
>>> Neil Aggarwal, (214)986-3533, www.JAMMConsulting.com
>>> FREE! Eliminate junk email and reclaim your inbox.
>>> Visit http://www.spammilter.com for details.
>>>
>>>
>>>
-
>>> To unsubscribe, e-mail: [EMAIL PROTECTED]
>>> For additional commands, e-mail: [EMAIL PROTECTED]
>>>
>>>
>>>
-
>>> To unsubscribe, e-mail: [E

RE: [AXIS2] Calling SOAP version on WebSphere works with Release1; Possible bug in nightilies

2006-09-15 Thread VanKooten, Derek
I'm reinstalling Rational because there is a 259 limit on the length of
paths in windows, and the default install directory is "c:\program
files\ibm\RAD\sdp\6.0". So, when I am evaluating IBM's version of
webservices, IBM creates these ungodly long paths under its install
directory and hits that windows limit. So, this reinstall isnt because
of AXIS2 its because of a stupid thing IBM did with their RATIONAL
product. So, I'm reinstalling RAD under a directory of c:\rad6 instead
and saving some space hoping to be able to continue evaluating IBM's web
services at the same time evaluating AXIS2. BTW, I really like AXIS2
better so far.

-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] 
Sent: Friday, September 15, 2006 9:28 AM
To: axis-user@ws.apache.org
Subject: RE: [AXIS2] Calling SOAP version on WebSphere works with
Release1; Possible bug in nightilies

WAIT! That's not it!

You don't need to rebuild you env!  I had the same issue.  Deploy Axis2,
then use the axis 2 manager interface to deploy your service.

Dave 

-Original Message-
From: VanKooten, Derek [mailto:[EMAIL PROTECTED] 
Sent: Friday, September 15, 2006 8:20 AM
To: axis-user@ws.apache.org
Subject: RE: [AXIS2] Calling SOAP version on WebSphere works with
Release1; Possible bug in nightilies

I'll try it today. I've got to completely rebuild my Rational
development environment first. Just found a stupid issue with Rational
and a 259 character limit with windows. Why oh why must ibm think it's a
good idea to make directory structures with such long names Sheesh.
So, its going to take me 4-5 hours before I can get to it. Thanks.

-Original Message-
From: Davanum Srinivas [mailto:[EMAIL PROTECTED]
Sent: Friday, September 15, 2006 12:15 AM
To: axis-user@ws.apache.org; Charak, Vikas; VanKooten, Derek
Subject: Re: [AXIS2] Calling SOAP version on WebSphere works with
Release1; Possible bug in nightilies

Vikas, Derek,

Please try the nightly build in a couple of hours. I checked in fixes to
get it working under websphere 6.1

thanks,
dims

On 9/14/06, VanKooten, Derek <[EMAIL PROTECTED]> wrote:
> I also just got done rolling back to the 1.0 version of axis, and all
of
> my services are working fine now too. I am running the same version 
> numbers of websphere and jdk as well. Would love to be able to use the

> "eager initialization" stuff that's supposed to be in the nightly 
> builds, but alas, doesn't seem to work for me. I can switch back to
the
> nightly version if you need me to test something.
>
> -Original Message-
> From: Charak, Vikas [mailto:[EMAIL PROTECTED]
> Sent: Thursday, September 14, 2006 12:23 PM
> To: axis-user@ws.apache.org; [EMAIL PROTECTED]
> Subject: RE: [AXIS2] Calling SOAP version on WebSphere works with 
> Release1; Possible bug in nightilies
>
> Websphere6.1 with JDK 1.4.2.
>
> -Original Message-
> From: Davanum Srinivas [mailto:[EMAIL PROTECTED]
> Sent: Thursday, September 14, 2006 12:19 PM
> To: axis-user@ws.apache.org
> Subject: Re: [AXIS2] Calling SOAP version on WebSphere works with 
> Release1; Possible bug in nightilies
>
> Which version of websphere? jdk?
>
> On 9/14/06, Charak, Vikas <[EMAIL PROTECTED]> wrote:
> > .aar format works fine.
> >
> > -Original Message-
> > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
> > Sent: Thursday, September 14, 2006 12:07 PM
> > To: axis-user@ws.apache.org
> > Subject: RE: [AXIS2] Calling SOAP version on WebSphere works with 
> > Release1; Possible bug in nightilies
> >
> > So you have the release version of Axis2 deployed to WebSphere and
it
> > works with the version service in aar format or is it unpacked?
> >
> > Dave
> >
> > -Original Message-
> > From: Charak, Vikas [mailto:[EMAIL PROTECTED]
> > Sent: Thursday, September 14, 2006 10:41 AM
> > To: axis-user@ws.apache.org
> > Subject: [AXIS2] Calling SOAP version on WebSphere works with
> Release1;
> > Possible bug in nightilies
> >
> > Okay!
> > Atlast I was able to invoke the "version" service on websphere.
> > Issue is it works with Axis2 release1.0 but not with any of the
> nightly
> > builds. Possible bug in nightilies.
> >
> >
> > -Original Message-
> > From: Charak, Vikas [mailto:[EMAIL PROTECTED]
> > Sent: Thursday, September 14, 2006 9:56 AM
> > To: axis-user@ws.apache.org; [EMAIL PROTECTED]
> > Subject: RE: NoSuchMethodError while deploying aar file on WebSphere
> >
> > Hi Dave/ Dims,
> > I tried almost everything still same issue. REST version works but
not
> > SOAP version. I will write a separate email to Axis2 Designers for 
> > assistance.
> >
> > -Original Message-
> > From: Davanum Srinivas [mailto:[EMAIL PROTECTED]
> > Sent: Wednesday, September 13, 2006 1:35 PM
> > To: axis-user@ws.apache.org
> > Subject: Re: NoSuchMethodError while deploying aar file on WebSphere
> >
> > Derek,
> >
> > Did you set the soap action to getMemoryStatus? try that, the 
> > alternative is to specify the method name in the EPR itse

Re: Getting Rampart to work on client side

2006-09-15 Thread Christoph Raupach

Hello,
I've got wss4j-1.5.0.jar and axis2-security-1.0.jar on my classpath
along with all  liberaries provided by axis2. I do not know what I
might be missing.

regards
Christoph Raupach

On 9/15/06, Charak, Vikas <[EMAIL PROTECTED]> wrote:

Please make sure all the required jars are in your path. E.g wss4j.jar,
axis2-security.jar etc.

-Original Message-
From: Christoph Raupach [mailto:[EMAIL PROTECTED]
Sent: Friday, September 15, 2006 5:37 AM
To: axis-user@ws.apache.org
Subject: Getting Rampart to work on client side

Hello,
Im trying to get Rampart to work in my Axis client, and I'm getting
the following error, when running the client:

INFO: Deploying module : addressing-1.0
Exception in thread "main" java.lang.NoSuchMethodError:
org.apache.axis2.description.HandlerDescription.(Ljavax/xml/namesp
ace/QName;)V
at
org.apache.axis2.security.handler.WSDoAllHandler.(WSDoAllHandler
.java:38)
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Class.java:242)
at
org.apache.axis2.deployment.util.Utils.getHandlerClass(Utils.java:199)
at
org.apache.axis2.deployment.util.Utils.addFlowHandlers(Utils.java:59)
at
org.apache.axis2.deployment.DeploymentEngine.addNewModule(DeploymentEngi
ne.java:311)
at
org.apache.axis2.deployment.DeploymentEngine.doDeploy(DeploymentEngine.j
ava:597)
at
org.apache.axis2.deployment.RepositoryListener.init(RepositoryListener.j
ava:165)
at
org.apache.axis2.deployment.RepositoryListener.(RepositoryListener
.java:53)
at
org.apache.axis2.deployment.DeploymentEngine.loadRepository(DeploymentEn
gine.java:100)
at
org.apache.axis2.deployment.FileSystemConfigurator.getAxisConfiguration(
FileSystemConfigurator.java:116)
at
org.apache.axis2.context.ConfigurationContextFactory.createConfiguration
Context(ConfigurationContextFactory.java:61)
at
org.apache.axis2.context.ConfigurationContextFactory.createConfiguration
ContextFromFileSystem(ConfigurationContextFactory.java:171)
at test.Mainclient.main(Mainclient.java:12)

Im using rampart-1.0.mar. The code used to create the Configuration
Context looks like this:

//prepare Configuration context for encryption
ConfigurationContext ctx =
ConfigurationContextFactory.createConfigurationContextFromFileSystem(rep
o_path,
axisXmlPath);

regards
Christoph Raupach

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: [AXIS2] Calling SOAP version on WebSphere works with Release1; Possible bug in nightilies

2006-09-15 Thread david.ziebol
WAIT! That's not it!

You don't need to rebuild you env!  I had the same issue.  Deploy Axis2,
then use the axis 2 manager interface to deploy your service.

Dave 

-Original Message-
From: VanKooten, Derek [mailto:[EMAIL PROTECTED] 
Sent: Friday, September 15, 2006 8:20 AM
To: axis-user@ws.apache.org
Subject: RE: [AXIS2] Calling SOAP version on WebSphere works with
Release1; Possible bug in nightilies

I'll try it today. I've got to completely rebuild my Rational
development environment first. Just found a stupid issue with Rational
and a 259 character limit with windows. Why oh why must ibm think it's a
good idea to make directory structures with such long names Sheesh.
So, its going to take me 4-5 hours before I can get to it. Thanks.

-Original Message-
From: Davanum Srinivas [mailto:[EMAIL PROTECTED]
Sent: Friday, September 15, 2006 12:15 AM
To: axis-user@ws.apache.org; Charak, Vikas; VanKooten, Derek
Subject: Re: [AXIS2] Calling SOAP version on WebSphere works with
Release1; Possible bug in nightilies

Vikas, Derek,

Please try the nightly build in a couple of hours. I checked in fixes to
get it working under websphere 6.1

thanks,
dims

On 9/14/06, VanKooten, Derek <[EMAIL PROTECTED]> wrote:
> I also just got done rolling back to the 1.0 version of axis, and all
of
> my services are working fine now too. I am running the same version 
> numbers of websphere and jdk as well. Would love to be able to use the

> "eager initialization" stuff that's supposed to be in the nightly 
> builds, but alas, doesn't seem to work for me. I can switch back to
the
> nightly version if you need me to test something.
>
> -Original Message-
> From: Charak, Vikas [mailto:[EMAIL PROTECTED]
> Sent: Thursday, September 14, 2006 12:23 PM
> To: axis-user@ws.apache.org; [EMAIL PROTECTED]
> Subject: RE: [AXIS2] Calling SOAP version on WebSphere works with 
> Release1; Possible bug in nightilies
>
> Websphere6.1 with JDK 1.4.2.
>
> -Original Message-
> From: Davanum Srinivas [mailto:[EMAIL PROTECTED]
> Sent: Thursday, September 14, 2006 12:19 PM
> To: axis-user@ws.apache.org
> Subject: Re: [AXIS2] Calling SOAP version on WebSphere works with 
> Release1; Possible bug in nightilies
>
> Which version of websphere? jdk?
>
> On 9/14/06, Charak, Vikas <[EMAIL PROTECTED]> wrote:
> > .aar format works fine.
> >
> > -Original Message-
> > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
> > Sent: Thursday, September 14, 2006 12:07 PM
> > To: axis-user@ws.apache.org
> > Subject: RE: [AXIS2] Calling SOAP version on WebSphere works with 
> > Release1; Possible bug in nightilies
> >
> > So you have the release version of Axis2 deployed to WebSphere and
it
> > works with the version service in aar format or is it unpacked?
> >
> > Dave
> >
> > -Original Message-
> > From: Charak, Vikas [mailto:[EMAIL PROTECTED]
> > Sent: Thursday, September 14, 2006 10:41 AM
> > To: axis-user@ws.apache.org
> > Subject: [AXIS2] Calling SOAP version on WebSphere works with
> Release1;
> > Possible bug in nightilies
> >
> > Okay!
> > Atlast I was able to invoke the "version" service on websphere.
> > Issue is it works with Axis2 release1.0 but not with any of the
> nightly
> > builds. Possible bug in nightilies.
> >
> >
> > -Original Message-
> > From: Charak, Vikas [mailto:[EMAIL PROTECTED]
> > Sent: Thursday, September 14, 2006 9:56 AM
> > To: axis-user@ws.apache.org; [EMAIL PROTECTED]
> > Subject: RE: NoSuchMethodError while deploying aar file on WebSphere
> >
> > Hi Dave/ Dims,
> > I tried almost everything still same issue. REST version works but
not
> > SOAP version. I will write a separate email to Axis2 Designers for 
> > assistance.
> >
> > -Original Message-
> > From: Davanum Srinivas [mailto:[EMAIL PROTECTED]
> > Sent: Wednesday, September 13, 2006 1:35 PM
> > To: axis-user@ws.apache.org
> > Subject: Re: NoSuchMethodError while deploying aar file on WebSphere
> >
> > Derek,
> >
> > Did you set the soap action to getMemoryStatus? try that, the 
> > alternative is to specify the method name in the EPR itself like you
> did
> > for REST.
> >
> > thanks,
> > dims
> >
> > On 9/13/06, VanKooten, Derek <[EMAIL PROTECTED]> wrote:
> > >
> > >
> > >
> > >
> > > I seem to be having the same problem.
> > >
> > > I wrote a service that worked fine on the 1.0 release.
> > >
> > > I then read that the nightly builds had a "eager initialization"
> > feature.
> > >
> > > So, I tried getting a nightly build and using the same aar file
from
> > before.
> > >
> > >
> > >
> > > I get the error
> > >
> > >
> > >
> > > Sep 13, 2006 11:20:52 AM org.apache.axis2.engine.AxisEngine
> > > receiveFault
> > >
> > >
> > >
> > > INFO: Received Error Message with id
> > > urn:uuid:9EF9037ADD59CB7B7D11581608519631
> > >
> > >
> > >
> > > org.apache.axis2.AxisFault: Service not found operation terminated
> !!
> > >
> > >
> > >
> > > at
> > >
> >
>
org.apache.axis2.description.OutInAxisOperationClient.exe

RE: [AXIS2] Calling SOAP version on WebSphere works with Release1; Possible bug in nightilies

2006-09-15 Thread VanKooten, Derek
I'll try it today. I've got to completely rebuild my Rational
development environment first. Just found a stupid issue with Rational
and a 259 character limit with windows. Why oh why must ibm think it's a
good idea to make directory structures with such long names Sheesh.
So, its going to take me 4-5 hours before I can get to it. Thanks.

-Original Message-
From: Davanum Srinivas [mailto:[EMAIL PROTECTED] 
Sent: Friday, September 15, 2006 12:15 AM
To: axis-user@ws.apache.org; Charak, Vikas; VanKooten, Derek
Subject: Re: [AXIS2] Calling SOAP version on WebSphere works with
Release1; Possible bug in nightilies

Vikas, Derek,

Please try the nightly build in a couple of hours. I checked in fixes
to get it working under websphere 6.1

thanks,
dims

On 9/14/06, VanKooten, Derek <[EMAIL PROTECTED]> wrote:
> I also just got done rolling back to the 1.0 version of axis, and all
of
> my services are working fine now too. I am running the same version
> numbers of websphere and jdk as well. Would love to be able to use the
> "eager initialization" stuff that's supposed to be in the nightly
> builds, but alas, doesn't seem to work for me. I can switch back to
the
> nightly version if you need me to test something.
>
> -Original Message-
> From: Charak, Vikas [mailto:[EMAIL PROTECTED]
> Sent: Thursday, September 14, 2006 12:23 PM
> To: axis-user@ws.apache.org; [EMAIL PROTECTED]
> Subject: RE: [AXIS2] Calling SOAP version on WebSphere works with
> Release1; Possible bug in nightilies
>
> Websphere6.1 with JDK 1.4.2.
>
> -Original Message-
> From: Davanum Srinivas [mailto:[EMAIL PROTECTED]
> Sent: Thursday, September 14, 2006 12:19 PM
> To: axis-user@ws.apache.org
> Subject: Re: [AXIS2] Calling SOAP version on WebSphere works with
> Release1; Possible bug in nightilies
>
> Which version of websphere? jdk?
>
> On 9/14/06, Charak, Vikas <[EMAIL PROTECTED]> wrote:
> > .aar format works fine.
> >
> > -Original Message-
> > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
> > Sent: Thursday, September 14, 2006 12:07 PM
> > To: axis-user@ws.apache.org
> > Subject: RE: [AXIS2] Calling SOAP version on WebSphere works with
> > Release1; Possible bug in nightilies
> >
> > So you have the release version of Axis2 deployed to WebSphere and
it
> > works with the version service in aar format or is it unpacked?
> >
> > Dave
> >
> > -Original Message-
> > From: Charak, Vikas [mailto:[EMAIL PROTECTED]
> > Sent: Thursday, September 14, 2006 10:41 AM
> > To: axis-user@ws.apache.org
> > Subject: [AXIS2] Calling SOAP version on WebSphere works with
> Release1;
> > Possible bug in nightilies
> >
> > Okay!
> > Atlast I was able to invoke the "version" service on websphere.
> > Issue is it works with Axis2 release1.0 but not with any of the
> nightly
> > builds. Possible bug in nightilies.
> >
> >
> > -Original Message-
> > From: Charak, Vikas [mailto:[EMAIL PROTECTED]
> > Sent: Thursday, September 14, 2006 9:56 AM
> > To: axis-user@ws.apache.org; [EMAIL PROTECTED]
> > Subject: RE: NoSuchMethodError while deploying aar file on WebSphere
> >
> > Hi Dave/ Dims,
> > I tried almost everything still same issue. REST version works but
not
> > SOAP version. I will write a separate email to Axis2 Designers for
> > assistance.
> >
> > -Original Message-
> > From: Davanum Srinivas [mailto:[EMAIL PROTECTED]
> > Sent: Wednesday, September 13, 2006 1:35 PM
> > To: axis-user@ws.apache.org
> > Subject: Re: NoSuchMethodError while deploying aar file on WebSphere
> >
> > Derek,
> >
> > Did you set the soap action to getMemoryStatus? try that, the
> > alternative is to specify the method name in the EPR itself like you
> did
> > for REST.
> >
> > thanks,
> > dims
> >
> > On 9/13/06, VanKooten, Derek <[EMAIL PROTECTED]> wrote:
> > >
> > >
> > >
> > >
> > > I seem to be having the same problem.
> > >
> > > I wrote a service that worked fine on the 1.0 release.
> > >
> > > I then read that the nightly builds had a "eager initialization"
> > feature.
> > >
> > > So, I tried getting a nightly build and using the same aar file
from
> > before.
> > >
> > >
> > >
> > > I get the error
> > >
> > >
> > >
> > > Sep 13, 2006 11:20:52 AM org.apache.axis2.engine.AxisEngine
> > > receiveFault
> > >
> > >
> > >
> > > INFO: Received Error Message with id
> > > urn:uuid:9EF9037ADD59CB7B7D11581608519631
> > >
> > >
> > >
> > > org.apache.axis2.AxisFault: Service not found operation terminated
> !!
> > >
> > >
> > >
> > > at
> > >
> >
>
org.apache.axis2.description.OutInAxisOperationClient.execute(OutInAxisO
> > peration.java:298)
> > >
> > >
> > >
> > > at
> > >
> >
>
org.apache.axis2.client.ServiceClient.sendReceive(ServiceClient.java:539
> > )
> > >
> > >
> > >
> > > at
> > >
> >
>
org.apache.axis2.client.ServiceClient.sendReceive(ServiceClient.java:473
> > )
> > >
> > >
> > >
> > > at
> > >
> >
>
com.bealls.services.personalization.PersonalizationService.main(Personal

Large PDFs and Memory Usage

2006-09-15 Thread Aoife Kavanagh (Ext. 987)
Hi,

We have a service running where the reutrn value from the service invocation
is sent as String using SOAP over JMS.  We are encountering problems with
memory consumption when that String is large, eg 1M or greater.  It is not a
case of just increasing heap size, it is just that the amount of memory
being used is can be anything from 1.3GB to 2.7GB.   We've used hprof to
determine that the majority of this memory usage is occurring in the Axis
(1.3)/Xerces code.

I'm looking to see if there is anything that we can do to try to reduce
this.  One thought is to return the data using xsd:base64Binary  or
xsd:hexBinary but it seems that the encoding data in to base64Binary
consumes memory and can cause trouble at the receiving end with the XML
parser, so I'm not sure if it is worth proceeding down this route.

Another thought is to send the data as MIME attachment (of which I honestly
don't know much) but it's not clear to me, based on some initial mailing
searches, if this approach will work any better, or if it even works
properly in Axis 1.3.

>From what I can see in the lists plenty of people have experienced this
memory spike problem and I'm just wondering if there are any clear solutions
out there.

Thanks,
Aoife

__
The information contained in this e-mail is confidential, may be privileged and 
is intended 
only for the user of the recipient named above. If you are not the intended 
recipient or a 
representative of the intended recipient, you have received this e-mail in 
error and must 
not copy, use or disclose the contents of this e-mail to anybody else.  

If you have received this e-mail in error, please notify the sender immediately 
by return 
e-mail and permanently delete the copy you received.  This e-mail has been 
swept for 
computer viruses. However, you should carry out your own virus checks. 
Registered in Ireland, No. 205721.  http://www.FINEOS.com
__


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: [AXIS2] Calling SOAP version on WebSphere works with Release1; Possible bug in nightilies

2006-09-15 Thread Charak, Vikas
Ok. I will try it and let you know. Thanks.

-Original Message-
From: Davanum Srinivas [mailto:[EMAIL PROTECTED] 
Sent: Friday, September 15, 2006 12:15 AM
To: axis-user@ws.apache.org; Charak, Vikas; VanKooten, Derek
Subject: Re: [AXIS2] Calling SOAP version on WebSphere works with
Release1; Possible bug in nightilies

Vikas, Derek,

Please try the nightly build in a couple of hours. I checked in fixes
to get it working under websphere 6.1

thanks,
dims

On 9/14/06, VanKooten, Derek <[EMAIL PROTECTED]> wrote:
> I also just got done rolling back to the 1.0 version of axis, and all
of
> my services are working fine now too. I am running the same version
> numbers of websphere and jdk as well. Would love to be able to use the
> "eager initialization" stuff that's supposed to be in the nightly
> builds, but alas, doesn't seem to work for me. I can switch back to
the
> nightly version if you need me to test something.
>
> -Original Message-
> From: Charak, Vikas [mailto:[EMAIL PROTECTED]
> Sent: Thursday, September 14, 2006 12:23 PM
> To: axis-user@ws.apache.org; [EMAIL PROTECTED]
> Subject: RE: [AXIS2] Calling SOAP version on WebSphere works with
> Release1; Possible bug in nightilies
>
> Websphere6.1 with JDK 1.4.2.
>
> -Original Message-
> From: Davanum Srinivas [mailto:[EMAIL PROTECTED]
> Sent: Thursday, September 14, 2006 12:19 PM
> To: axis-user@ws.apache.org
> Subject: Re: [AXIS2] Calling SOAP version on WebSphere works with
> Release1; Possible bug in nightilies
>
> Which version of websphere? jdk?
>
> On 9/14/06, Charak, Vikas <[EMAIL PROTECTED]> wrote:
> > .aar format works fine.
> >
> > -Original Message-
> > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
> > Sent: Thursday, September 14, 2006 12:07 PM
> > To: axis-user@ws.apache.org
> > Subject: RE: [AXIS2] Calling SOAP version on WebSphere works with
> > Release1; Possible bug in nightilies
> >
> > So you have the release version of Axis2 deployed to WebSphere and
it
> > works with the version service in aar format or is it unpacked?
> >
> > Dave
> >
> > -Original Message-
> > From: Charak, Vikas [mailto:[EMAIL PROTECTED]
> > Sent: Thursday, September 14, 2006 10:41 AM
> > To: axis-user@ws.apache.org
> > Subject: [AXIS2] Calling SOAP version on WebSphere works with
> Release1;
> > Possible bug in nightilies
> >
> > Okay!
> > Atlast I was able to invoke the "version" service on websphere.
> > Issue is it works with Axis2 release1.0 but not with any of the
> nightly
> > builds. Possible bug in nightilies.
> >
> >
> > -Original Message-
> > From: Charak, Vikas [mailto:[EMAIL PROTECTED]
> > Sent: Thursday, September 14, 2006 9:56 AM
> > To: axis-user@ws.apache.org; [EMAIL PROTECTED]
> > Subject: RE: NoSuchMethodError while deploying aar file on WebSphere
> >
> > Hi Dave/ Dims,
> > I tried almost everything still same issue. REST version works but
not
> > SOAP version. I will write a separate email to Axis2 Designers for
> > assistance.
> >
> > -Original Message-
> > From: Davanum Srinivas [mailto:[EMAIL PROTECTED]
> > Sent: Wednesday, September 13, 2006 1:35 PM
> > To: axis-user@ws.apache.org
> > Subject: Re: NoSuchMethodError while deploying aar file on WebSphere
> >
> > Derek,
> >
> > Did you set the soap action to getMemoryStatus? try that, the
> > alternative is to specify the method name in the EPR itself like you
> did
> > for REST.
> >
> > thanks,
> > dims
> >
> > On 9/13/06, VanKooten, Derek <[EMAIL PROTECTED]> wrote:
> > >
> > >
> > >
> > >
> > > I seem to be having the same problem.
> > >
> > > I wrote a service that worked fine on the 1.0 release.
> > >
> > > I then read that the nightly builds had a "eager initialization"
> > feature.
> > >
> > > So, I tried getting a nightly build and using the same aar file
from
> > before.
> > >
> > >
> > >
> > > I get the error
> > >
> > >
> > >
> > > Sep 13, 2006 11:20:52 AM org.apache.axis2.engine.AxisEngine
> > > receiveFault
> > >
> > >
> > >
> > > INFO: Received Error Message with id
> > > urn:uuid:9EF9037ADD59CB7B7D11581608519631
> > >
> > >
> > >
> > > org.apache.axis2.AxisFault: Service not found operation terminated
> !!
> > >
> > >
> > >
> > > at
> > >
> >
>
org.apache.axis2.description.OutInAxisOperationClient.execute(OutInAxisO
> > peration.java:298)
> > >
> > >
> > >
> > > at
> > >
> >
>
org.apache.axis2.client.ServiceClient.sendReceive(ServiceClient.java:539
> > )
> > >
> > >
> > >
> > > at
> > >
> >
>
org.apache.axis2.client.ServiceClient.sendReceive(ServiceClient.java:473
> > )
> > >
> > >
> > >
> > > at
> > >
> >
>
com.bealls.services.personalization.PersonalizationService.main(Personal
> > izationService.java:53)
> > >
> > >
> > >
> > > I have tried replacing the wsdl4j.jar in lib of webshpere 6.0 with
> the
> > one
> > > that comes with axis2 nightly build.
> > >
> > > I have created a shared lib, added it to the class loader for the
> app
> > > server, and set the class loader t

RE: Getting Rampart to work on client side

2006-09-15 Thread Charak, Vikas
Please make sure all the required jars are in your path. E.g wss4j.jar,
axis2-security.jar etc.

-Original Message-
From: Christoph Raupach [mailto:[EMAIL PROTECTED] 
Sent: Friday, September 15, 2006 5:37 AM
To: axis-user@ws.apache.org
Subject: Getting Rampart to work on client side

Hello,
Im trying to get Rampart to work in my Axis client, and I'm getting
the following error, when running the client:

INFO: Deploying module : addressing-1.0
Exception in thread "main" java.lang.NoSuchMethodError:
org.apache.axis2.description.HandlerDescription.(Ljavax/xml/namesp
ace/QName;)V
at
org.apache.axis2.security.handler.WSDoAllHandler.(WSDoAllHandler
.java:38)
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Class.java:242)
at
org.apache.axis2.deployment.util.Utils.getHandlerClass(Utils.java:199)
at
org.apache.axis2.deployment.util.Utils.addFlowHandlers(Utils.java:59)
at
org.apache.axis2.deployment.DeploymentEngine.addNewModule(DeploymentEngi
ne.java:311)
at
org.apache.axis2.deployment.DeploymentEngine.doDeploy(DeploymentEngine.j
ava:597)
at
org.apache.axis2.deployment.RepositoryListener.init(RepositoryListener.j
ava:165)
at
org.apache.axis2.deployment.RepositoryListener.(RepositoryListener
.java:53)
at
org.apache.axis2.deployment.DeploymentEngine.loadRepository(DeploymentEn
gine.java:100)
at
org.apache.axis2.deployment.FileSystemConfigurator.getAxisConfiguration(
FileSystemConfigurator.java:116)
at
org.apache.axis2.context.ConfigurationContextFactory.createConfiguration
Context(ConfigurationContextFactory.java:61)
at
org.apache.axis2.context.ConfigurationContextFactory.createConfiguration
ContextFromFileSystem(ConfigurationContextFactory.java:171)
at test.Mainclient.main(Mainclient.java:12)

Im using rampart-1.0.mar. The code used to create the Configuration
Context looks like this:

//prepare Configuration context for encryption
ConfigurationContext ctx =
ConfigurationContextFactory.createConfigurationContextFromFileSystem(rep
o_path,
axisXmlPath);

regards
Christoph Raupach

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: [AXIS2] XML-Beans example

2006-09-15 Thread robert lazarski

There's the codegen using ant tutorial that goes thru a whole case
from begin to end:

http://ws.apache.org/axis2/tools/1_0/CodegenToolReference.html#invoking

If its lacking in anyway, could you give us some feedback?

Thanks,
Robert

On 9/15/06, Florian Bantner <[EMAIL PROTECTED]> wrote:

Hi,

are there any axis2 / xml-beans examples or tutorials?

Is it possible to use xml-beans in a code-first approach
and auto-generate wsdl?

Best regards,

Florian


--

Florian Bantner fon +49 (0)941 599 854 4
AXON-E interaktive medien   fax +49 (0)941 599 854 1
technische Leitung  mail [EMAIL PROTECTED]
web http://www.axon-e.de
gpg public key   https://www.axon-e.de/gpg/f.bantner.gpg
hash  1191 0C87 D9DB 3217 ABBA  5223 6D74 AB19 5C9D FC49


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



[AXIS2] XML-Beans example

2006-09-15 Thread Florian Bantner
Hi,

are there any axis2 / xml-beans examples or tutorials?

Is it possible to use xml-beans in a code-first approach
and auto-generate wsdl?

Best regards,

Florian


-- 

Florian Bantner fon +49 (0)941 599 854 4
AXON-E interaktive medien   fax +49 (0)941 599 854 1
technische Leitung  mail [EMAIL PROTECTED]
web http://www.axon-e.de
gpg public key   https://www.axon-e.de/gpg/f.bantner.gpg
hash  1191 0C87 D9DB 3217 ABBA  5223 6D74 AB19 5C9D FC49


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



wsdl2java completes, but the resulting code is not matching the wsdl

2006-09-15 Thread STEINER Stephan








I’m afraid my first attempt in using axis2 has
been somewhat less than successful. I created the client side stub from the
attached WSDL file and started coding.

 

When I got to the point where I make the request and
get a SearchDirectoryResponse object back, I’d then try to get the
employees array.. but it just ain’t there. Looking at the stub sources,
there’s no such thing as an employee class.. the 4 classes for the
message exchange that are being created are SearchDirectory, _searchDirectoryInput,
SearchDirectoryResponse and _searchDirectoryOutput, but nothing about
employees, neither for the input nor the output (according to the WSDL, the
SearchDirectoryRequest should have 3 string parameters.. and they are nowhere
to be found). 

 

Am I missing something or is that simple WSDL enough
to break axis?

 

Regards

Stephan








searchDirectory.wsdl
Description: searchDirectory.wsdl
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Re: WSDL2Java does not generate WSDD files!

2006-09-15 Thread Sergey GMAIL




Hello, Roberto.

What version of the Axis do you use? 




>


I can succesfully generate the classes but no wsdd appears (which is what I actually want).

I did specify --server-side and -ss.

There is a weird warning about not log4j being found though, could this be the cause? also, everyone says the -s switch activates server side code generation (and thus, the wsdd making) but in my version of wsdl2java ( 1.0) the -s switch activates synchronous code generation instead.

There is also a wsdl2Code.bat in the download but it didn't generate it either.

Am I using the right program? missing an option? is there any other tool to make a wsdd file from a wsdl? 

please help.






-- 
WBR,
 Sergey                          mailto:[EMAIL PROTECTED]




-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re[2]: AxisFault

2006-09-15 Thread Sergey GMAIL
Hello, Deepal.
This defect was fixed
http://issues.apache.org/jira/browse/AXIS2-802?page=comments#action_12421813
I download the nightly build
http://people.apache.org/dist/axis2/nightly/ and and stab works
correctly.

Thanks.

DJ> Hi Sergey;

DJ> Can you please create a JIRA attaching your client code.

DJ> Thanks
DJ> Deepal

>>Hello, axis-user.
>>
>>I auto generated stub
>>and every time I invoke the service it returns the following message:
>>
>>org.apache.axis2.AxisFault: SOAPEnvelope must contain a body element
>>which is either first or second child element of the SOAPEnvelope.
>>
>>The service works fine if the header is not set.  The header is a simple
>>object with 2 string fields and 1 int field.
>>
>>Any help would be appreciated!
>>
>>  
>>




-- 
WBR,
 Sergey  mailto:[EMAIL PROTECTED]


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Getting Rampart to work on client side

2006-09-15 Thread Christoph Raupach

Hello,
Im trying to get Rampart to work in my Axis client, and I'm getting
the following error, when running the client:

INFO: Deploying module : addressing-1.0
Exception in thread "main" java.lang.NoSuchMethodError:
org.apache.axis2.description.HandlerDescription.(Ljavax/xml/namespace/QName;)V
at 
org.apache.axis2.security.handler.WSDoAllHandler.(WSDoAllHandler.java:38)
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Class.java:242)
at 
org.apache.axis2.deployment.util.Utils.getHandlerClass(Utils.java:199)
at org.apache.axis2.deployment.util.Utils.addFlowHandlers(Utils.java:59)
at 
org.apache.axis2.deployment.DeploymentEngine.addNewModule(DeploymentEngine.java:311)
at 
org.apache.axis2.deployment.DeploymentEngine.doDeploy(DeploymentEngine.java:597)
at 
org.apache.axis2.deployment.RepositoryListener.init(RepositoryListener.java:165)
at 
org.apache.axis2.deployment.RepositoryListener.(RepositoryListener.java:53)
at 
org.apache.axis2.deployment.DeploymentEngine.loadRepository(DeploymentEngine.java:100)
at 
org.apache.axis2.deployment.FileSystemConfigurator.getAxisConfiguration(FileSystemConfigurator.java:116)
at 
org.apache.axis2.context.ConfigurationContextFactory.createConfigurationContext(ConfigurationContextFactory.java:61)
at 
org.apache.axis2.context.ConfigurationContextFactory.createConfigurationContextFromFileSystem(ConfigurationContextFactory.java:171)
at test.Mainclient.main(Mainclient.java:12)

Im using rampart-1.0.mar. The code used to create the Configuration
Context looks like this:

//prepare Configuration context for encryption
ConfigurationContext ctx =
ConfigurationContextFactory.createConfigurationContextFromFileSystem(repo_path,
axisXmlPath);

regards
Christoph Raupach

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: ServletContext

2006-09-15 Thread Deepal Jayasinghe
Hi Scandelli;

You can get the ServletContext from ConfigurationContext
ServletContext servletContext =
(ServletContext)configCtx.getProperty("transport.http.servletContext");

If your implementation class is a handler then , you can get access to
configurationContext using message context. and if the impl is service
implementation class then you need to have look at the following faq to
see , how can you get access to message context.

http://www.wso2.net/kb/106

Thanks
Deepal

> Hi,
>
> I’m using Apache Muse2.0 which is build on Axis2 and I would need to
> access the ServletContext from within a capability implementation
> class of Muse2.0 (a class implementing
> org.apache.muse.core.AbstractCapability).
>
> From what I’ve seen there's no any static way to access it through
> Axis2 classes (unlike Axis1) and apparently I cant access the
> MessageContext from my Muse2 class, could anyone help me?
>
> Thanks
>
> Francesco
>

-- 
Thanks,
Deepal

~Future is Open~ 



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



ServletContext

2006-09-15 Thread Scandelli Francesco








Hi,

 

I’m using Apache Muse2.0 which is build on
Axis2 and I would need to access the ServletContext from within a capability
implementation class of Muse2.0 (a class implementing org.apache.muse.core.AbstractCapability).


From what I’ve seen there's no any static way
to access it through Axis2 classes  (unlike Axis1) and apparently I cant
access the MessageContext from my Muse2 class, could anyone help me?

 

 

Thanks

Francesco

 








Re: [Axis2] NonBlocking Client

2006-09-15 Thread Michele Mazzucco


Punnoose, Roshan wrote:
> What I am trying to do is return multiple times from the service. So the
> service could return ACKs till it is finally ready to return the correct
> document. So I thought that when the client first calls, I would return
> an ACK and kick off another thread to do some real processing. Then at
> the end of that thread, would I have to create a client on the server
> side to talk back to my client's callback?

Yes, but your design makes no sense to me. Let me explain. If the client
is set up for non blocking invocation, it will wait until a result (or
an error) is received. Meantime, the client is free to do whatever it
wants. If the client is set up for blocking invocation, instead, it
waits until the result (or error) is ready. So you don't need to send an
ack to let the client know that the server has received the client request.
Anyway, if you really want to do what you say, it would be much better
the following solution (assume you're using AXIOM and RawXXX receivers):


public OMElement foo(OMElement request) {
 // create a sender object to send the ack.

 // compute your result
 // put your result inside the result
 OMElement result = 
 return result;
}

Michele
> 
> Roshan Punnoose
> Phone: 301-497-6039
> 
> -Original Message-
> From: Michele Mazzucco [mailto:[EMAIL PROTECTED] 
> Sent: Thursday, September 14, 2006 12:38 PM
> To: axis-user@ws.apache.org
> Subject: Re: [Axis2] NonBlocking Client
> 
> It depends on the MEP. If the operation signature is in-out you don't
> need any sender client (just return the produced value). Otherwise (i.e.
> if it is in-only and want to redirect the request -- or the response --
> than you need a sender object on the server side as well).
> 
> Michele
> 
> Punnoose, Roshan wrote:
>> Thanks, that makes sense.
>>
>> On the server side, if I have the address that came over from the
>> wsa:ReplyTo, and I want to push a message out to it, do I have to
> create
>> an axis client on the server side with the target EPR being the
>> wsa:ReplyTo from before? Is that the easiest way to do it?
>>
>> Roshan Punnoose
>> Phone: 301-497-6039
>>
>> -Original Message-
>> From: Michele Mazzucco [mailto:[EMAIL PROTECTED] 
>> Sent: Thursday, September 14, 2006 4:21 AM
>> To: axis-user@ws.apache.org
>> Subject: Re: [Axis2] NonBlocking Client
>>
>> Hi Roshan,
>>
>> you have to override the methods of the Callback class (isComplete()
> and
>> setComplete()).
>>
>>
>> Regards,
>> Michele
>>
>> Punnoose, Roshan wrote:
>>> Hi,
>>>
>>> I have a non-blocking client with the callback on a separate
> listener.
>>> Is there anyway that I can keep that callback open even after the
>>> response, while the server will be able to send more responses back
> to
>>> the same callback? Then close it on the client side after I receive
>> what
>>> I want from the server?
>>>
>>> Roshan Punnoose
>>> Phone: 301-497-6039
>>>
>>> -Original Message-
>>> From: Neil Aggarwal [mailto:[EMAIL PROTECTED] 
>>> Sent: Wednesday, September 13, 2006 5:43 PM
>>> To: axis-user@ws.apache.org
>>> Subject: Axis using more than 256MB for a 9MB file
>>>
>>> Hello:
>>>
>>> I have a web service deployed using Axis 1.4
>>>
>>> In that service, I have a method that accepts a 
>>> String containing an XML document.
>>>
>>> When I try to upload a 9MB XML file into my service,
>>> Axis seems to be taking up a HUGE amount of memory.
>>>
>>> If I set the JVM to 256MB of heap, it runs out of
>>> memory and throws an OutOfMemoryException.
>>>
>>> If I set the JVM to 512MB of heap, I get the file
>>> just fine.
>>>
>>> The problem occurs *before* my web service method 
>>> is even invoked.
>>>
>>> The service is running on Tomcat on Windows.
>>>
>>> Any ideas why Axis would consume so much memory?
>>>
>>> Thanks,
>>> Neil
>>>
>>>
>>> --
>>> Neil Aggarwal, (214)986-3533, www.JAMMConsulting.com
>>> FREE! Eliminate junk email and reclaim your inbox.
>>> Visit http://www.spammilter.com for details.
>>>
>>>
>>> -
>>> To unsubscribe, e-mail: [EMAIL PROTECTED]
>>> For additional commands, e-mail: [EMAIL PROTECTED]
>>>
>>>
>>> -
>>> To unsubscribe, e-mail: [EMAIL PROTECTED]
>>> For additional commands, e-mail: [EMAIL PROTECTED]
>> -
>> To unsubscribe, e-mail: [EMAIL PROTECTED]
>> For additional commands, e-mail: [EMAIL PROTECTED]
>>
>>
>> -
>> To unsubscribe, e-mail: [EMAIL PROTECTED]
>> For additional commands, e-mail: [EMAIL PROTECTED]
> 
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 
> 
> -
> To unsubscribe, e-mail: [EMAIL PROTECT

SV: compiling latest axiom src and integrate into axis2

2006-09-15 Thread Felix Sprick
Thanks! I got rid of the error message when using the nightly build version.
However, there is another error message now when running the axis2 example
Axis2SampleDocLitService:

http://schemas.xmlsoap.org/soap/envelope/";>
   
   
  
 soapenv:Client
 null; nested exception is: 
java.lang.UnsupportedOperationException
 
org.apache.axis2.AxisFault: null; nested exception
is: 
java.lang.UnsupportedOperationException
at org.apache.axis2.AxisFault.makeFault(AxisFault.java:318)
at
org.apache.axis2.userguide.Axis2SampleDocLitServiceMessageReceiverInOut.invo
keBusinessLogic(Axis2SampleDocLitServiceMessageReceiverInOut.java:104)
at
org.apache.axis2.receivers.AbstractInOutSyncMessageReceiver.receive(Abstract
InOutSyncMessageReceiver.java:39)
at org.apache.axis2.engine.AxisEngine.receive(AxisEngine.java:497)
at
org.apache.axis2.transport.http.HTTPTransportUtils.processHTTPPostRequest(HT
TPTransportUtils.java:324)
at
org.apache.axis2.transport.http.AxisServlet.doPost(AxisServlet.java:230)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:709)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Application
FilterChain.java:252)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterCh
ain.java:173)
at
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.ja
va:213)
at
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.ja
va:178)
at
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126
)
at
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105
)
at
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java
:107)
at
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
at
org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:869)
at
org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processC
onnection(Http11BaseProtocol.java:664)
at
org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.jav
a:527)
at
org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWo
rkerThread.java:80)
at
org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.jav
a:684)
at java.lang.Thread.run(Thread.java:595)
Caused by: java.lang.UnsupportedOperationException
at
org.apache.axis2.userguide.Axis2SampleDocLitServiceSkeleton.echoStringArray(
Axis2SampleDocLitServiceSkeleton.java:28)
at
org.apache.axis2.userguide.Axis2SampleDocLitServiceMessageReceiverInOut.invo
keBusinessLogic(Axis2SampleDocLitServiceMessageReceiverInOut.java:50)
... 20 more
 
  
   


Thanks for your help!
Felix


-Ursprungligt meddelande-
Från: Eran Chinthaka [mailto:[EMAIL PROTECTED] 
Skickat: den 14 september 2006 18:47
Till: axis-user@ws.apache.org
Ämne: Re: compiling latest axiom src and integrate into axis2

Use Axis2 nightly builds from http://people.apache.org/dist/axis2/nightly/.

It has all the latest axiom jars as well.

-- Chinthaka

Felix Sprick wrote:
> 
> 
> Hi all,
> 
>  
> 
> I encountered an error when running a web-service that has been built
> with axis2. There error message is caused by a bug in the axiom lib, as
> I can see at
>
http://issues.apache.org/jira/browse/AXIS2-919?page=comments#action_12428991
.
> I am trying now to compile the latest axiom version and integrate it
> into the axis2 libraries, and I am wondering what’s the best way to do
> that. Simply building a new axiom-impl and axiom.api jar from the latest
> svn and place it into the axis2/lib folder did not work, I got error
> messages when accessing the axis2 web interface
> (http://localhost:8080/axis2/services/listServices) …
> 
>  
> 
> Does anybody know a way to do that?
> 
>  
> 
> Thanks a lot,
> 
> Felix  
> 
>  
> 




-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]