Re: Publish a WebService in an Applet?

2004-06-03 Thread Ben Souther
l make your applet really heavy. > > > > -Original Message- > From: Ben Souther [mailto:[EMAIL PROTECTED] > Sent: 03 June 2004 13:34 > To: [EMAIL PROTECTED] > Subject: Re: Publish a WebService in an Applet? > > > It's possible but I've found it to be

Re: Publish a WebService in an Applet?

2004-06-03 Thread Ben Souther
ish a WebService from my Applet that server calls to > update stat data? Is there a better way to solve my problem using Axis or > others solutions? > > Thanks for any help, > Charles -- Ben Souther F.W. Davison & Company, Inc. This e-mail message, and any accompanying docume

Re: AW: c++ WSDL2Ws creates an extra input parameter

2004-06-01 Thread Ben Souther
> Cc: Apache AXIS C Developers List; Apache AXIS C User List > Betreff: Re: c++ WSDL2Ws creates an extra input parameter > > Ben Souther wrote: > >Thank you, Aleksander. > > > >Is there any known work around for this, preferably on the client (c++) > > side? >

Re: c++ WSDL2Ws creates an extra input parameter

2004-06-01 Thread Ben Souther
I wasn't aware that there is a separate list for axis-c. Thank you for forwarding these. On Tuesday 01 June 2004 11:47 am, Aleksander Slominski wrote: > Ben Souther wrote: > >Thank you, Aleksander. > > > >Is there any known work around for this, preferably on

Getting the c++ client code to talk to the Java/Servlet server code...

2004-06-01 Thread Ben Souther
C++ client sends HTTP 1.1 request and support in >clinet for chunked is then assumed by server (tomcat):: >POST /file_manager/services/EchoCaps HTTP/1.1 >alek Date: Fri, 28 May 2004 18:11:56 -0500 Ben Souther wrote: >More Data.. > >Using the tcpmon application, I was able

Re: c++ WSDL2Ws creates an extra input parameter

2004-06-01 Thread Ben Souther
Thank you, Aleksander. Is there any known work around for this, preferably on the client (c++) side? On Friday 28 May 2004 07:11 pm, Aleksander Slominski wrote: > Aleksander -- Ben Souther F.W. Davison & Company, Inc. This e-mail message, and any accompanying documents, is for t

Re: c++ WSDL2Ws creates an extra input parameter

2004-05-28 Thread Ben Souther
3.org/2001/XMLSchema-instance";> http://schemas.xmlsoap.org/soap/encoding/"; xmlns:ns1="http://192.168.0.103:/file_manager/services/EchoCaps";> INPUT FROM C++ CLIENT 0 == On Friday 28 May 2004 12:26 pm, B

c++ WSDL2Ws creates an extra input parameter

2004-05-28 Thread Ben Souther
Hello, I've used the WSDL2Ws tool that ships with Axis C++ to create a simple client for a java webservice running on axis/tomcat. The webservice method takes a string as it's only argument and returns the same string but in upper case. The c++ method that gets generated has an extra input para

Re: Trouble compiling Axis c++

2004-05-26 Thread Ben Souther
char *, const char > > *)' > > in assignment > > /usr/local/axis-c/include/axis/server/IWrapperSoapDeSerializer.h:360: > > cannot > > convert `tm () (void *, > > const char *, const char *)' to `tm (*) (void *, const char *, const char > > *)' > > in

Trouble compiling Axis c++

2004-05-25 Thread Ben Souther
er/SoapSerializer.h:67, from /usr/local/axis-c/include/axis/server/AxisEngine.h:69, from Param.cpp:22: /usr/local/axis-c/include/axis/server/BasicHandler.h: At top level: /usr/local/axis-c/include/axis/server/BasicHandler.h:96: warning: `class HandlerBase' h

Re: Project from hell?

2004-05-14 Thread Ben Souther
We just wrote a fairly large app using Axis without ever needing to write a line of XML. Take another look at the Axis tutorials on Monday, with a cooler head. Here is another one that I thought was pretty straight forward: http://javaboutique.internet.com/tutorials/Axis/index.html On Frid

Re: Problem Deploying Web Services with WSDD

2004-01-26 Thread Ben Souther
Did you try commenting out the last service that you've written (in your deploy.wsdd file) and deploying with AdminClient again? After doing so, does your list of service display properly? On Sunday 25 January 2004 09:37 am, you wrote: > Mark, > Sorry, I don't have any good ideas. Hop

Re: Remote client can't access server

2003-12-15 Thread Ben Souther
nt machine I hope to use an Axis > app on)? > > -Yves > > > > > - > Do You Yahoo!? -- Une adresse @yahoo.fr gratuite et en français ! > Testez le nouveau Yahoo! Mail -- Ben Souther F.W. Davison & Company, Inc.

Re: Response message

2003-12-15 Thread Ben Souther
PC has got a 'handleResponse' method > using which the response XML message can be viewed. Is Axis having a > similar method or a way to receive the response message? > > Thanks & regards, > Ayyappan Gandhirajan -- Ben Souther F.W. Davison & Company, Inc.

Re: Environment variables

2003-12-15 Thread Ben Souther
t is: > > private static java.util.Properties getEnvironment() throws IOException { > java.util.Properties env = new java.util.Properties(); > env.load(Runtime.getRuntime().exec("env").getInputStream()); > return env; > } > > Thanks -- Ben Souther F.W. Davison & Company, Inc.

Re: How to get sample SOAP Body?

2003-12-06 Thread Ben Souther
Did you look at the tcpmon aplication that ships with Axis? On Saturday 06 December 2003 12:53 pm, you wrote: > Hi folks, > > I'd like to be able to get a sample of what > should be provided to a document/literal > web service that I want Apache Axis to invoke > as a client. > > For example, give

Re: Deploying services with axis

2003-11-25 Thread Ben Souther
hods. > > > > I have removed the old class files which implemented the original > > service and placed the new class files in place. > > > > It appears that Tomcat/Axis is not unloading the class files > > from memory > > even though un-deploying removes corresponding entries from the > > server-config.wsdd file. > > > > Any pointers on addressing this issue? > > > > Someone did suggest that I add the following entry in the server.xml > > file > > but this does not work either. > > > > Thanks > > > > Regards > > Vijay -- Ben Souther F.W. Davison & Company, Inc.

Sandbox Safe Webservice Client

2003-11-12 Thread Ben Souther
I've been searching for a sandbox-safe webservice client for use in either applets or a Java Webstart project without much success. Does anyone know of one?

Re: How to Print the SOAP Request and Response Soap XML in Axis

2003-10-16 Thread Ben Souther
I was using Tomcat 4.1, before it didn't work, so I thought > > > > I'd go with > > > > > the JWSDP 1.2- same thing (only now Axis doesn't read .jsp > > > > pages, but > > > > > that's another problem). > > > > > > -------

Array of Strings as input parameter

2003-01-22 Thread Ben Souther
Is it possible to to send an array of Strings as an input parameter? Example: call.invoke(new Object[]{new String("param1"), new String("param2"), new String[]{"param3a", "param3

Re: returning an array of beans (or: why i'm going insane)

2002-12-29 Thread Ben Souther
that the client has access to the class files of any Java specific types that you want to send over the wire. I haven't tried sending arrays of beans yet. You may want to create one bean with an array property and specifically map that class. Hope it helps -Ben Souther On Sunday 29

Re: Serializing / Deserializing

2002-11-19 Thread Ben Souther
rgumentSet class ( that is the bean ) is > > available as I make one and pass it to the webservice in the > > call ( it is correctly serialized by the way, I have seen the > > resulting SOAP with tcpmon ) > > > > > > > > HashMap ht = new HashMap(5);

Re: Initialization Parameters

2002-11-18 Thread Ben Souther
My code is a little different. All I'm doing is getting init params from the web.xml. Here is my code: getContext().getInitParameter("init-param") I don't know if that's all you were trying to do before. On Friday 15 November 2002 05:00 pm, Ben Souther wrote: >

Re: Initialization Parameters

2002-11-15 Thread Ben Souther
re doesn't exist. I checked > the code and it doesn't seem to be in there. And Steve Loughran from the > Axis commiter list also said that this feature is not supported. > http://marc.theaimsgroup.com/?l=axis-user&m=103679570405098&w=2. > > Vidyanand. > > &

Re: Serializing / Deserializing

2002-11-15 Thread Ben Souther
("Still couldn't find it!!!"); > throw new SAXException(Messages.getMessage("noDeser01", localName,"" + > type)); } > > //* > //end hack > } > > > So, thanks for your help, I'l

Re: Serializing / Deserializing

2002-11-15 Thread Ben Souther
This is up and working with Axis 1.0. on tomcat 4.1.12. I'm sorry if it's sloppy. Good luck. From the WSDD: From the client: try{ 112 Service service = new Service(); 113 Callcall= (Call)service.cre

Re: Initialization Parameters

2002-11-15 Thread Ben Souther
and open it String filename = servletContext.getInitParameter("filename"); InputStream is = servletContext.getResourceAsStream(filename); } } Eric H. Jung On Wednesday 13 November 2002 08:18 am, Ben Souther wrote: > Does Axis have a mechanism for passing initialization parameters to a > webservice class?

Initialization Parameters

2002-11-13 Thread Ben Souther
Does Axis have a mechanism for passing initialization parameters to a webservice class?

Initialization Parameters

2002-11-12 Thread Ben Souther
What is the best way to pass an initialization parameter to a webservice? Can this be done from the wsdd? Can a webservice access the servlet context to get parameters? Ideally, I'd like to do this in a way that doesn't require that the service be re-deployed if the parameters need to be changed.

Re: Packaging question

2002-11-07 Thread Ben Souther
When your webapp starts up (axis or otherwise) the appserver searches the WEB-INF/lib directory for jars and adds them to the CLASSPATH. If you put your 3rd party jar in WEB-INF/lib it's classes will be accessible to your webservice. On Thursday 07 November 2002 02:10 pm, Barry Lulas wrote:

Scoped Services

2002-11-05 Thread Ben Souther
Can anyone point me to some documentation for scoping web services? The user's guide shows us how to set the scope in the wsdd but it doesn't mention what the client needs to do. Is the Axis client cookie enabled by default? I didn't notice anything in the examples that ship with Axis. Maybe I

Re: 2 questions, (starting/stopping web services) and (when is a ws c onstructor called)...

2002-10-31 Thread Ben Souther
Look at deploy.wsdd and undeploy.wsdd in the "stock" example that shipps with Axis. On Thursday 31 October 2002 05:02 pm, Barry Lulas wrote: > 1. Is is possible to start/stop specific web services? If so, can this be > done from an ant script. I know that Tomcat has some ant tasks, such as

Re: Is there a 'thinner' client runtime?

2002-10-16 Thread Ben Souther
It would be nice to see the client and server broken down into separate jar files. I'm calling webservices from within applets. This particular app is on an extranet so the large download and the policy files for breaking out of the sandbox are not too much of an inconvenience but a smaller,

Can the axis client deserialize two dimensional String Arrays?

2002-10-06 Thread Ben Souther
I've created a webservice function that returns a two dimensional array of Strings (a long list of name/value pairs). When I view the WSDL in a browser, it appears that Axis knows how to handle it (It's listed as being an array of arrays) but the client crashes with a deserialization error.

Interoperability and complex types

2002-10-04 Thread Ben Souther
All the interoperability examples that I've seen on the web exchange simple data types like Strings and Doubles. Does anyone know of any examples that exchange complex types like Beans. If I map a return value to a Java Bean, does that mean that only Java clients will be able to consume my we

Two dimensional Arrays

2002-10-04 Thread Ben Souther
Can the Axis client deserialize a two dimensional array of Strings? I've written a webservice function that returns one and, judging from the generated WSDL, Axis seems to know what it's dealing with. The problem comes when I try to consume the webservice with the Axis client. I get a deserial

Two dimensional arrays

2002-10-03 Thread Ben Souther
Can anyone point me to an example of deserializing a two dimensional array? It looks like Axis has no problem serializing it (juging from the wsdl).