Handling attachments on client side?

2005-01-18 Thread Vjeran Marcinko
Hi. I don't know is it me, but I cannot find in user guide, or samples, some example on how to handle attachments (client side)... And I don't want handling on low-level (Call instance etc..), but on stubs generated by wsdl2java. Let's say that I generated following SendMessagePort from some publi

[axis-user-ja digest] started on axis-user (in English)

2005-01-18 Thread Toshiyuki Kimura
To: $BF|K\8l(BAxis$B%3%_%e%K%F%#$N3'$5$s!"(B (B $B!!LZB<$G$9!#(B (B $B!!(B[axis-user digest] $B$N5UM"F~HG!)$H$7$F(B [axis-user-ja digest] $B$r(B $B;n$7$Khttp://marc.theaimsgroup.com/?l=axis-user&m=110611299629551&w=2> (B $B$4;29M$^$G$K!#(B (B--- (BToshi <[EMAIL PROTECTED]> (B

Re: [Announce] Internationalization progress of Axis (fwd)

2005-01-18 Thread Toshiyuki Kimura
[EMAIL PROTECTED]"(B (B $B!!LZB<$G$9!#(B (B (B>> 1. org.apache.axis.transport.http.AdminServlet$BEy!"(Bi18n$B$,40`z$G$O$J$$(B (B>> $B!!$3$NBP1~$r (B>> (B> (B>$B3NG'CW$7$^$7$?!#(B (B>(AdminServlet.java, AxisServlet.ja

Re: NoClassDefFoundError when using logging

2005-01-18 Thread jayachandra
Do you have commons-logging.jar AND commons-discovery.jar in your webapps/axis/WEB-INF/lib. Having them in Tomcat/common/lib also should be fine. Jayachandra On Mon, 17 Jan 2005 09:19:08 -0800, Brian Gladish <[EMAIL PROTECTED]> wrote: > > > When I try to retrieve a logger from > org.apache.axis

[axis-user-ja digest] xml error when boot up Tomcat

2005-01-18 Thread Toshiyuki Kimura
Hi folks, (B (B This is a digest report from the Japanese Axis User community. (B (BThe followings are the scenario of the UTFDataFormatException: (B (B 1. He installed TOMCAT to a folder which includes non-ASCII (B charactors. (B 2. The folder name was used in axis/WEB-INF/server-co

Re: [Announce] Internationalization progress of Axis (fwd)

2005-01-18 Thread Shouhei Kodama
[EMAIL PROTECTED](B (B (B (B (B>> 1. (B>> org.apache.axis.transport.http.AdminServlet$BEy!"(Bi18n$B$,40`z$G$O$J$$(B (B>> $B!!2U=j$,$"$j!"8=>u$N$^$^%j%=!<%9%U%!%$%k$N$_$rF~$lBX$($k$HJ8;z2=$1$r(B (B>> $B!!5/$3$7$F$7$^$&(B ($B%j%=!<%9$G$O$J$/!"%=!<%9B&$NLdBj$G$9(B) (B> (B> (B> $B

RE: what axis generated classes should i use?

2005-01-18 Thread Nathan Wardle
No, you shouldn't have any problems. I'm using XDoclet to generate the services and typemappings for the server-config.wsdd file and haven't had any problems. -Original Message- From: Koney, Satish [mailto:[EMAIL PROTECTED] Sent: Wednesday, 19 January 2005 3:43 PM To: [EMAIL PROTECTED] S

RE: what axis generated classes should i use?

2005-01-18 Thread Koney, Satish
James, Thank you very much for all your replies. >>wsdl2java is used for both client and server-side, it depends which >>flags you pass it. Use an Ant task to make like easy. Yes...that can be executed on both sides...but what is the use of executing it on the server side when

java.lang.reflect.InvocationTargetException --> how can i debug this???

2005-01-18 Thread John Menke
I have no clue what is causing this and the error is not very helpfull... ANY ideas java.lang.reflect.InvocationTargetException null AxisFault faultCode: {http://schemas.xmlsoap.org/soap/envelope/}Server.userException faultSubcode: faultString: java.lang.reflect.InvocationTargetException

RE: non-stub doc-lit client

2005-01-18 Thread Nathan Wardle
Hi, I am having problems writing a client for a Doc-lit service. The service I want to create simple receives a string which is the ID of an xml document. It then returns the next xml document in the sequence. I tried using the MsgProvider as it appeared to be good for handling this kind of r

FW: How to set the marshalled type for anyType?

2005-01-18 Thread Michael Ryan
Title: FW: How to set the marshalled type for anyType? OK, I'll provide a bit more info to see if that helps elicit some assistance.  We are using Axis 1.2RC2.  We are only using Axis on the client side. We are using anyType to allow us to pass any object type to our server app.  We need to

Serialization/Deserialization of Collections

2005-01-18 Thread Andrew Kerr
Hi there, I've noticed that Axis 1.2 supports the automatic serialization/deserialization of Java collections. Currently, it appears to always convert collections such as Lists, Sets, etc. into arrays of xsd:anyType. The web service client that I'm using has trouble with these "anyType" arr

Re: Memory Leap on server side

2005-01-18 Thread Peter Molettiere
Yes, sure, I didn't say there weren't any messages about client side leaks. But you do seem to indicate that all the recent messages are about client side leaks. On Jan 18, 2005, at 10:42 AM, Lyndon Tiu wrote: The past few days, we did have a few emails regarding memory leaks, but these were f

Re: Memory Leap on server side

2005-01-18 Thread Lyndon Tiu
Peter Molettiere wrote: On Jan 18, 2005, at 10:42 AM, Lyndon Tiu wrote: The past few days, we did have a few emails regarding memory leaks, but these were for the client-side. All my posts over the last few days have been about issues which affect both the server and the client side. Yes, and c

Re: Memory Leap on server side

2005-01-18 Thread Peter Molettiere
On Jan 18, 2005, at 10:42 AM, Lyndon Tiu wrote: The past few days, we did have a few emails regarding memory leaks, but these were for the client-side. All my posts over the last few days have been about issues which affect both the server and the client side. -- Peter Molettiere Senior Engineer

WSABI For Axis version 0.6 now available

2005-01-18 Thread Mike Barton
The WSABI team is pleased to announce the release of WSABI For Axis Version 0.6. WSABI For Axis is the industry's first (and only) open source Web services management (WSM) product. With its intuitive web-based user interface, WSABI allows users to manage Web service deployments with ease and

Re: Memory Leap on server side

2005-01-18 Thread Lyndon Tiu
Peter Molettiere wrote: Try these, in this order: 0) Use the latest axis distro 1) Use xerces 2.6.2 2) Up your heap size: -Xmx768M -Xms128M -XX:+UseConcMarkSweepGC Then go look at the axis mailing list and read the last few days of discussion about memory leaks versus severe memory use. The pas

Re: Memory Leap on server side

2005-01-18 Thread Peter Molettiere
Try these, in this order: 0) Use the latest axis distro 1) Use xerces 2.6.2 2) Up your heap size:  -Xmx768M -Xms128M -XX:+UseConcMarkSweepGC Then go look at the axis mailing list and read the last few days of discussion about memory leaks versus severe memory use. --Peter On Jan 18, 2005, at 6:0

RE: Problems with logging

2005-01-18 Thread James Clinton
AFAIK there is no need to add those jars into the tomcat lib directory.  What I have done is simply added the jars to the end of the classpath in the top of the startup.bat file.   set CLASSPATH=.;%JAVA_HOME%\bin;%AXIS_DEVHOME;%AXIS_DEVHOME%\lib\axis.jar;%AXIS_DEVHOME%\lib\jaxrpc.jar;%AXI

Problems with logging

2005-01-18 Thread Brian Gladish
Some of the other posts about classpath have been of interest in the problem I posted earlier (NoClassDefFoundError).  Prompted by those posts I added axis.jar and commons-discovery.jar to the Tomcat 4.1\common\lib directory.   Now the exception I get is as follows:   org.apache.commons

RE: what axis generated classes should i use?

2005-01-18 Thread James Clinton
>>Some say that WSDL2Java is used only in Client side not on the server side is it true? wsdl2java is used for both client and server-side, it depends which flags you pass it. Use an Ant task to make like easy. >> Yeah...but as I do not know WSDL very well, i would prefer using the WSDL generate

RE: serializer for hashmap

2005-01-18 Thread Pritesh Damani
Thanks for answering,   Can you elaborate more on the issues you pointed out. From this I understand is that if I have some simple dataTypes in the HashMap for eg. int as key and String as value, would it work ? and when you said "write your own", I do not understand what do I have to write.

RE: what axis generated classes should i use?

2005-01-18 Thread Koney, Satish
Yeah...but as I do not know WSDL very well, i would prefer using the WSDL generated by Axis. but my question is about WSDL2Java and not about Java2WSDL. > -Original Message- > From: James Clinton [SMTP:[EMAIL PROTECTED] > Sent: Tuesday, January 18, 2005 10:09 PM > To: [EMAIL PROTECTED

RE: serializer for hashmap

2005-01-18 Thread Michael Oliver
The problem is not so much the serialization of the Hashmap or Hashtable as it is the objects within them.   The JavaBean Encode and Decode will create XML to/from a JavaBean with a getter and setter for a Hashmap or Hashtable, but if there is an object stored in the Hashmap or Hashtable

RE: what axis generated classes should i use?

2005-01-18 Thread James Clinton
Axis generated skeletons - I would do it this way, because from the skeletons you can check that the WSDL is correct, it's very easy to make a mistake in the message part which determines the return type for instance. Also, if you produce your WSDL from the java classes the WSDL is not as readable

serializer for hashmap

2005-01-18 Thread Pritesh Damani
hello everyone,   has anyone successfully written a custome serializer for hashmap object so that it could be understood by .net ?? I mean, I was seeing the encoding example provided but that is only for some basic Object types I think, correct me if I am wrong.   Please help me with this.

RE: what axis generated classes should i use?

2005-01-18 Thread Koney, Satish
Are u talking about the server side classes? I am not worried about the client side classes at all...they can have some axis generated code but on the server side.do we need axis generated code? If we need, what are those classes? Till some time back, i was following the below mentioned steps

mail test

2005-01-18 Thread Danny Angus
-- Whatever you Wanadoo: http://www.wanadoo.co.uk/time/ This email has been checked for most known viruses - find out more at: http://www.wanadoo.co.uk/help/id/7098.htm

RE: [SPAM] - RE: what axis generated classes should i use? - Found word(s) XXX in the Text body.

2005-01-18 Thread James Clinton
>>Doesn't it make our classes Axis dependent? Probably, but even if you create the client by hand your still tieing yourself to the AXIS framework by using objects from org.apache.* right? If your concerned about becoming dependant any framework you can always use some recognised pattern to abstra

RE: [SPAM] - RE: what axis generated classes should i use? - Foun d word(s) XXX in the Text body.

2005-01-18 Thread Koney, Satish
Doesn't it make our classes Axis dependent? Also, what are the effects of using/not using those Axis generated classes? Is there no difference > -Original Message- > From: James Clinton [SMTP:[EMAIL PROTECTED] > Sent: Tuesday, January 18, 2005 7:29 PM > To: [EMAIL PROTECTED] > Subje

Re: really stumped... messageContext.getOperation() = null

2005-01-18 Thread Kevin Colussi
This is just a follow up on what I found The OperationDesc in the MessageContext will be null when: 1) The deployed interface/impl has over loaded methods. 2) When the client envelope is well formed (ie SAX parser is happy) but the method the client is trying to invoke doesn't e

Re: [Announce] Internationalization progress of Axis (fwd)

2005-01-18 Thread Toshiyuki Kimura
To: [EMAIL PROTECTED](B (BCC: $BF|K\8l(BAxis$B%3%_%e%K%F%#$N3'$5$s(B (B $B!!LZB<$G$9!#(B (B $B!!F|K\8l%j%=!<%9$NH?1G>u67$K$D$$$F$4Js9p$7$^$9!#(B (B (B> 1. org.apache.axis.transport.http.AdminServlet$BEy!"(Bi18n$B$,40`z$G$O$J$$(B (B> $B!!2U=j$,$"$j!"8=>u$N$^$^%j%=!<%9%U%!%$%k$N$_$

RE: Memory Leap on server side

2005-01-18 Thread Suzy Fynes
Only the one application running on tomcat but deploying would happen every week. I was restarting axis from tomcat manager a bit last week that was causing axis to run out memory. But the application and WS stuff was running fine for the last few days then the out of memory error occurred today.

RE: what axis generated classes should i use?

2005-01-18 Thread James Clinton
The Axis tool wsdl2java can generate either the client stubs or server side skeletons depending on the flag you pass it. Personally I think this tool is great and I'll continue to use the raw classes it creates because it then ensures that your WSDL is absolutely correct. To use the classes your

RE: what axis generated classes should i use?

2005-01-18 Thread Koney, Satish
I stopped using the Axis generated interfaces also...So I am not using any classes that are generated by Axis on the server side.. I am using only axis generated deploy.wsdd file to deploy the service... still...everything seems to be working finethen why does Axis generate all the classes...it

Re: Memory Leap on server side

2005-01-18 Thread Paul Callahan
Do you have multiple applications running on that instance of Tomcat, and if so, are you deploying the WAR files frequently? Like I mentioned last week, there is a mem leak in Tomcat when deploying over and over that will cause OutOfMemoryError's... Otherwise, is it happening after the applicatio

Re: Call object to get xsd:base64Binary streams

2005-01-18 Thread Maik Mrazovic
I have the solution: public byte[] getPIWISData(String username, String password, String orderNo) throws DMSTestException { try { Call call = createCall("getPIWISData"); call.setReturnType( org.apache.axis.Constants.XSD_BASE64); call.setReturnClass(byte

RE: what axis generated classes should i use?

2005-01-18 Thread Koney, Satish
Any inputs plz...? > -Original Message- > From: Koney, Satish [SMTP:[EMAIL PROTECTED] > Sent: Friday, January 14, 2005 8:54 PM > To: [EMAIL PROTECTED] > Subject: RE: what axis generated classes should i use? > > but when i tried with some sample webservice > > public Employ

RE: Wrapped/Literal :: Overlaoded method at Service Class

2005-01-18 Thread aedemar . cooke
Title: RE: Wrapped/Literal :: Overlaoded method at Service Class I am following the same migration path as you and I got the same problem.  I assumed this is because operation overloading is not supported (WSDL 1.1 supported operation overloading and WSDL 2.0 removes it - http://www.w3.org/TR

Call object to get xsd:base64Binary streams

2005-01-18 Thread Maik Mrazovic
Hi all, i have a problem where i didn´t found a solution in the mailinglist: I need to get a byte array stream from an soap response (the streams are files). The corresponding message in the wsdl file is An example which i´ve sniffed: http://schemas.xmlsoap.org/soap/envelope/"; x

Re: Using password

2005-01-18 Thread Muthana A.
yes > Hello, > > When i set an empty string as password at the client side > the value as the server side is a null string whith Axis-1_2beta. > > Is it normal ? > > Thanks in advance for any help. > -- GMX im TV ... Die Gedanken sind frei ... Schon gesehen? Jetzt Spot online ansehen: http:

Wrapped/Literal :: Overlaoded method at Service Class

2005-01-18 Thread Murad
Hello All, I was using Axis1.1 for SOAP server for my ongoing project with RPC style using encoding model(as it is simplest undoubtly). I have seen many documents and comments over web about poor performance of RPC encoding. So I like to migrate RPC encoding model to wrapped literal model with min

Which handler to choose ?

2005-01-18 Thread babloosony
Hi, I want to implement an axis handler and I am confused with Interface javax.xml.rpc.handler.Handler and Class org.apache.axis.handlers.BasicHandler (implements Interface org.apache.axis.Handler) 1. In what cases one uses org.apache.axis.handlers.BasicHandler over implementing javax.xml.rpc.ha

Memory Leap on server side

2005-01-18 Thread Suzy Fynes
Hi,   It seems that the axis running on my server is causing a memory leak which causes the whole application to slow and some of it to show internal errors.   Tomcat logs indicated   java.lang.OutOfMemoryError java.lang.OutOfMemoryError java.lang.OutOfMemoryError java.lang.OutOfM

Using password

2005-01-18 Thread samar
Hello, When i set an empty string as password at the client side the value as the server side is a null string whith Axis-1_2beta. Is it normal ? Thanks in advance for any help.

RE: Installing Problems

2005-01-18 Thread Merten Schumann
Hello Florian,   for me it worked to add Axis to my web application. As Kevin Duffey wrote, it seems you have another axis.jar and/or activation.jar in a folder different from your webapp ones, in common/lib or so. In my Tomcat (5.0.27), there's the original Axis installed in webapps/axis and