document style webservice

2005-01-14 Thread Harm de Laat
Hi all, I am trying to develop a document based webservice using Apache Axis. Currently I have written my schema files (xsd) and my WSDL file. Ik would like to use the Document - Literal approach, because I would like to send Java objects. I also would like Axis to take care of the

RE: xml error when boot up Tomcat

2005-01-14 Thread chu
$BLZBo!J%(%i!<$J$7!K$G

Deploy and undeploy web services, bypassing the server?

2005-01-14 Thread Kai Grojohann
For security reasons, my colleagues would like to avoid using the AdminService that's included with Axis. A method would be desirable that just reads the server-config.wsdd from disk, edits it as described in the deployment/undeployment descriptor, then writes the new file. Is this possible?

Re: xml error when boot up Tomcat

2005-01-14 Thread Youhei Kawada
[EMAIL PROTECTED](B (B (B $B%(%i!e5-$N(B AxisFault $B%/%i%9$O(B axis.jar $B%i%$%V%i%j$K4^$^$l$F$$$^$9$,!"(B (BAxisFault $B$,8+$D$+$i$J$$(B (NoClassDefFoundError) $B$H$N$3$H$J$N$G!"(B (Baxis.jar $B$,%/%i%9%Q%9$KDL$C$F$$$J$$$3$H$,9M$($i$l$^$9!#(B (B (Btestit.cmd

AXIS and JAXB

2005-01-14 Thread roger . stoffers
Hi, In existing applications, I am using existing XML schema's. Also I use JAXB to facilitate marshalling/unmarshalling in existing applications. Part of this application functionality I would like to expose through SOAP. JAAS may be used to create document/literal style messages however I would

Problem using Axis RC2 against JBoss 4.0.1

2005-01-14 Thread Joel Rosi-Schwartz
Hi, I have a set of web services that I have been developing using Apache Axis 1.2 RC2 on the Java client and JBoss 4 on the server. They have been functioning fine under JBoss 4.0.0, but I am having trouble migrating them to Jboss 4.0.1. When I make a call to any of the web services I get a

RE: xml error when boot up Tomcat

2005-01-14 Thread chu
$BLZBhttp://localhost:8080/axis/servlet/AxisServlet -uuser1 -wpass1 XXX (B $B2<5-$N%(%i!<$KJQ$o$j$^$7$?!#(B (B (BException in thread "main" java.lang.NoClassDefFoundError: (Bsamples/stock/GetQuote (B (Bdeploy.wsdd$B$rDL$l$P!"$3$l$bFq$J$/$G$-$k$H;W$C$?$,!"!#!#!#(B (B

RE: Deploy and undeploy web services, bypassing the server?

2005-01-14 Thread Brian Davis
You could restrict what clients can access the AdminService to maintain security (restrict to internal or certain IPs or whatever). Brian Davis Software Developer JMM Ventures -Original Message- From: news [mailto:[EMAIL PROTECTED] On Behalf Of Kai Großjohann Sent: Friday, January 14,

RE: Deploy and undeploy web services, bypassing the server?

2005-01-14 Thread Brian Davis
You could restrict what clients can access the AdminService to maintain security (restrict to internal or certain IPs or whatever). Brian Davis Software Developer JMM Ventures -Original Message- From: news [mailto:[EMAIL PROTECTED] On Behalf Of Kai Großjohann Sent: Friday, January 14,

RE: xml error when boot up Tomcat

2005-01-14 Thread Toshiyuki Kimura
Chu$B$5$s!"(B (B (B# cd axis-1_2RC2 -- [Axis$B$N%$%s%9%H!<%k%U%)[EMAIL PROTECTED](B] (B# java -cp %AXISCLASSPATH%;. samples.stock.GetQuote ... (B $B$G!"F0$-$^$9$h$M!#(B (B $B!!%/[EMAIL PROTECTED]"(BJava$B$N4pK\$J$N$G(BML$B$K

Re: AXIS and JAXB

2005-01-14 Thread Paul Callahan
Hi Roger, There are a couple of ways that you can integrate the two (or Axis and any XML serializing mechanism for that matter). One way is discussed in this article by IBM... They are using Castor, but the underlying theme is the same.

Re: document style webservice

2005-01-14 Thread Paul Callahan
Please see my response to a similar thread this morning... Hope that helps. -pc On Fri, 14 Jan 2005 09:25:44 +0100, Harm de Laat [EMAIL PROTECTED] wrote: Hi all, I am trying to develop a document based webservice using Apache Axis. Currently I have written my schema files (xsd) and my

DIME Chunking

2005-01-14 Thread Milazzo, Michael A HQISEC
Title: DIME Chunking Does anyone know whether Apache Axis 1.2RC2 supports DIME chunking? I modified my code to send a file as an attachment as opposed to a base64 encoded parameter to my web service (Also Axis-based). It still chokes on sending file larger than 6.8 MB. I have modified the

RE: DIME Chunking

2005-01-14 Thread Sims, Scott
Title: DIME Chunking Mike, I don't have an answer for you but noticed the DIME chunking subject. I have read some articles that state that earlier versions of Axis DO support DIME chunking but none of them provided a concrete example. I posted a message earlier this (subject: Large Data

what axis generated classes should i use?

2005-01-14 Thread Koney, Satish
Hello All, I have a web service interface (let us call it Dummy), which has only one method with the following signature: public Employee createEmployee(int empNumber, String empName) throws EmployeeException when I run the Java2WSDL and then WSDL2Java on the server side , Axis

Re: DIME Chunking

2005-01-14 Thread BLIS Webmaster (Patrick Houbaux)
Try what I proposed in the following thread: http://marc.theaimsgroup.com/?t=11051163062r=1w=2 It works ok for sending files with a big size. Cheers, Patrick. Sims, Scott wrote: Mike, I don't have an answer for you but noticed the DIME chunking subject. I have read some articles that state

Re: what axis generated classes should i use?

2005-01-14 Thread Evandro Machado
Hi Satish, Your client class should instantiate the DummyServiceLocator and call the getDummy() method from it, after this you should call the createEmproyee() method from this Dummy object. []´s Evandro. - Original Message - From: Koney, Satish [EMAIL PROTECTED] To: [EMAIL PROTECTED]

RE: what axis generated classes should i use?

2005-01-14 Thread Koney, Satish
I was asking about the server side classes..not on the client side...what Axis generated classes should i use on the server side? I mean when I run WSDL2Java I am getting Employee.java which has a lot of code about serializer and deserializer. Do I need to use that code on the server side? or can

RE: what axis generated classes should i use?

2005-01-14 Thread Brian Davis
You need to use the generated one, the serialization is necessary. Brian Davis Software Developer JMM Ventures -Original Message- From: Koney, Satish [mailto:[EMAIL PROTECTED] Sent: Friday, January 14, 2005 10:08 AM To: [EMAIL PROTECTED] Subject: RE: what axis generated classes should i

RE: what axis generated classes should i use?

2005-01-14 Thread Brian Davis
You need to use the generated one, the serialization is necessary. Brian Davis Software Developer JMM Ventures -Original Message- From: Koney, Satish [mailto:[EMAIL PROTECTED] Sent: Friday, January 14, 2005 10:08 AM To: [EMAIL PROTECTED] Subject: RE: what axis generated classes should i

Re: Axis memory leak

2005-01-14 Thread Vy Ho
In client-side stub code, look for the call object and try: Call.getMessageContext().getRequestMessage().getSOAPEnvelope().getRecorder().clear(); -- Lyndon Tiu I can choose not to use the application scope for now. However, this shows a very serious problem with the generated stub I believe.

RE: DIME Chunking

2005-01-14 Thread Milazzo, Michael A HQISEC
Title: RE: DIME Chunking Unfortunately, the proposed solution did not work. I am attempting to submit a file from the client to the server. I tried using the code you proposed, but executed the getRequestMessage() method instead. The value returned was null and my application threw a null

RE: what axis generated classes should i use?

2005-01-14 Thread Koney, Satish
but when i tried with some sample webservice public Employee createEmployee(int id, String name); and I executed Java2WSDL and then WSDL2Java..Axis gave me an Employee.java..I just ignored it and used my Employee.java in the implementation of that webservice method, i constructed

RE: xml error when boot up Tomcat

2005-01-14 Thread chu
$BLZB$7$F$$$^$9!#(BAxisUser'sGuide$B$b(Blog4j$B$b(B (B[EMAIL PROTECTED]%s%m!%I$7$FD4$Y$F$$$^$9!#(BMARC$B$bD4$Y$F$$$^$9!#(B $B3N$+$K!";d$O([EMAIL PROTECTED]"(BAxis$B$b(BTomcat$B$b(BSOAP$B$b(B (BWSDL$B$b(BXML$B$b7P83$"$j$^$;$s!#(BW3CSchool$B$+$i(BTutorial$B$rFI$^$;(B

Re: Axis memory leak

2005-01-14 Thread WAJSBERG Julien RD-BIZZ
Vy Ho a écrit : In client-side stub code, look for the call object and try: Call.getMessageContext().getRequestMessage().getSOAPEnvelope().getRecorder().clear(); -- Lyndon Tiu I can choose not to use the application scope for now. However, this shows a very serious problem with the generated

Re: DIME Chunking

2005-01-14 Thread BLIS Webmaster (Patrick Houbaux)
It seems your message context was null. Did you correctly initialized your client stub? Something like the following before calling MessageContext.getCurrentContext() should do the trick: YourServerServiceLocator server = new YourServerServiceLocator(); YourServer port =

Re: Deploy and undeploy web services, bypassing the server?

2005-01-14 Thread Mike Barton
Kai, Have a look at WSABI, an open-source Axis administration tool. It provides a graphical interface for managing Axis deployments, including the ability to manage wsdd files. Some useful links: Demo: http://demo.wsabi.org/ Download: http://sourceforge.net/projects/wsabi4axis Road Map:

Re: Axis memory leak

2005-01-14 Thread Vy Ho
WAJSBERG Julien RD-BIZZ wrote: Vy Ho a écrit : In client-side stub code, look for the call object and try: Call.getMessageContext().getRequestMessage().getSOAPEnvelope().getRecorder().clear(); -- Lyndon Tiu I can choose not to use the application scope for now. However, this shows a very

RE: DIME Chunking

2005-01-14 Thread Milazzo, Michael A HQISEC
Title: RE: DIME Chunking The message context returned after initializing the client stub is null. :-( Thanks, Mike -Original Message- From: BLIS Webmaster (Patrick Houbaux) [mailto:[EMAIL PROTECTED]] Sent: Friday, January 14, 2005 8:55 AM To: [EMAIL PROTECTED] Subject: Re:

Axis Bug in handling error in DataHandler

2005-01-14 Thread Vy Ho
When calling a function with DataHandler as an attachment: public void doit(DataHandler dh); I would do this: DataHandler dh = new DataHandler(new FileDataSource(filename)); mystub.doit(dh); The problem is that when filename is not found, or a directory, an exception is generated in the client

Help- Web Service method called twice

2005-01-14 Thread Singh, Naveen
Hi, I am calling a web service method 'startDownload' from my Struts Action class. I made it an asynchronous method by putting only wsdl:input and no wsdl:output in the wsdl. My web service method does a lot of work and takes around 10-15 minutes to complete. So the client makes an asynchronous

RE: xml error when boot up Tomcat

2005-01-14 Thread Toshiyuki Kimura
Chu$B$5$s!"(B (B $B!!LZB<$G$9!#(B (B (B # cd axis-1_2RC2 -- [Axis$B$N%$%s%9%H!<%k%U%)[EMAIL PROTECTED](B] (B # java -cp %AXISCLASSPATH%;. samples.stock.GetQuote ... (B (B $B$3$l$,F0$1$P!"

Re: XMLBeanDe/Serializer sample

2005-01-14 Thread TMG
Jonathan, I'm trying to use the serializer/deserializer in the war file (as indicated below) with xmlbeans version 1.0.3 ... and I get compile errors in XmlBeanSerializer (lines # 85, 251) and in XmlBeanDeserializer (lines #66) because of differences in xmlbeans versions. Specifically, the

Re: Axis memory leak

2005-01-14 Thread Vy Ho
That does it. The memory no longer go up. The way I do it is inside the generated stub, I wrap the call with a try/catch/finally, and in that, I put your code below. I am not sure if this is the best way of doing it. However, I am just testing. I won't use this code though. In client-side

Re: Axis memory leak

2005-01-14 Thread Tim K. (Gmane)
Can you please file a bug for this at: http://issues.apache.org/jira/ for project Axis Thanks. Tim Vy Ho wrote: That does it. The memory no longer go up. The way I do it is inside the generated stub, I wrap the call with a try/catch/finally, and in that, I put your code below. I am not sure

RE: XMLBeanDe/Serializer sample

2005-01-14 Thread Jonathan Colwell
I'm not familiar with xmlbeans version 1 since I have worked only with the v2 code base. Is there a particular requirement to use 1.0.3 or are you just using that because it is the release indicated on the xmlbeans site? The war file I sent out includes an apache-xbean.jar that contains the v2

Re: XMLBeanDe/Serializer sample

2005-01-14 Thread TMG
Jonathan Colwell wrote: I'm not familiar with xmlbeans version 1 since I have worked only with the v2 code base. Is there a particular requirement to use 1.0.3 or are you just using that because it is the release indicated on the xmlbeans site? The info on the site says v2 is unstable (which I

Re: Axis memory leak

2005-01-14 Thread V D
I reported it at: http://issues.apache.org/jira/browse/AXIS-1765 Tim K. (Gmane) wrote: Can you please file a bug for this at:

RE: XMLBeanDe/Serializer sample

2005-01-14 Thread Jonathan Colwell
I've been using it since August without problems, and the XmlBeans developers recommended I use only V2 which could be that they wanted me to test it for them. I would ask that question on the xmlbeans list or look through its archives. The included xbean jar in my sampel comes from the Beehive

Re: Axis memory leak

2005-01-14 Thread Lyndon Tiu
V D wrote: I reported it at: http://issues.apache.org/jira/browse/AXIS-1765 Please give credit where credit is due. I found this issue but it was my colleague Malcolm Walker of Latitude Geographics Group Ltd. who found the fix. If there is anywhere in the bug report to put this, please do so.

Re: XMLBeanDe/Serializer sample

2005-01-14 Thread TMG
Jonathan, Thanks for your help. V2 of xmlbeans doesn't generate my schema/wsdl ... getting Path too complex for xmlbeans error message. Way to far down in the code for me to spend time learning/debugging now ... there is an outstanding JIRA (#89) on the problem. I'd like to get

RE: xml error when boot up Tomcat

2005-01-14 Thread chu
(B (B[EMAIL PROTECTED](B (B (B $B$3$l$,F0$1$P!"LL(B (B

RE: xml error when boot up Tomcat

2005-01-14 Thread Toshiyuki Kimura
$B!!LZB<$G$9!#(B (B $B!!:#EY$O!"(Bwsdl4j.jar$B$,8+$($F$$$J$$$_$?$$$G$9$M!#(B (Bhttp://java2.5341.com/msg/90396.html (B $B!!0JA0!"$A$c$s$H(Bhappyaxis.jsp$B$G%A%'%C%/$7$?$O$:(B $B$J$N$K$I$&$7$F$G$7$g$&(B...$B!#(B (B $B!!!V(B%AXISCLASSPATH%$B!W$H$$$?t$G$O$J$/!"6qBNE*(B

Re: Document/Literal : bad part name in axis server response

2005-01-14 Thread Anne Thomas Manes
It's a convention used by .NET to add the extra layer of wrapping on the response. On Thu, 13 Jan 2005 10:55:13 +0900, Bill Keese [EMAIL PROTECTED] wrote: Thanks for the correction! It makes sense. (It also partially addresses the other question I recently sent out.) Until the Axis bug gets

RE: xml error when boot up Tomcat

2005-01-14 Thread chu
$BLZBH!KI,MW$J$$$H;W$C$F$$$k$+$i$G$9!#;d$N>l9g!"(BWSDL4J $B$N$[$+$K$^$?$J$K$+H4$1$F$$$k$+$b$7$l$^$;$s$M!#(B (B $B%$%s%9%H!<%k$7$F$_$?