Looking for Interop Sample Code

2004-11-05 Thread Lee, Ken
I am working on a school project. I know that Web Services may not be the _best_ way to do this, but this is what I chose for the project. The simple idea is to create a web service that dumps data from a database, then use the MS ToolKit 3.0 in a simple client app using WSH to display the data.

How do you get a Web Service to return a record set in XML?

2004-11-04 Thread Lee, Ken
Title: How do you get a Web Service to return a record set in XML? First, which style do you use? Service Styles - RPC, Document, Wrapped, and Message I have tried using RPC and Wrapped, but my return always looks the same: http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsd="http://www.w

RE: Step By Step Example

2004-05-20 Thread Lee, Ken
> > > > My service only has one function, getCounts() (which returns > > the XML doc at the bottom). > > > > Here are my client (and stub files): > > * > > @authorTom Sturgeon > > */ > > > > package client; > > > > import stubs.*; > > > > > > public class ClientService1Stub { > > > >

RE: Step By Step Example

2004-05-20 Thread Lee, Ken
; try { > return > (stubs._GetCountsResponse_GetCountsResult) _resp; > } catch (java.lang.Exception _exception) { > return (stubs._GetCountsResponse_GetCountsResult) > org.apache.axis.utils.JavaUtils.convert(_resp, > stubs._GetCou

RE: Step By Step Example

2004-05-20 Thread Lee, Ken
> In my build stubs tasks I have the following, and indeed the > stubs are built. > > However, no classes are generated, nor source for the > classes: > > > > > >

RE: Step By Step Example

2004-05-19 Thread Lee, Ken
> Anyone have a step-by-step example of creating a JAVA client > from a Microsoft Web Service using WSDL? > > I could not figure out what a build.xml file would look like > from the Axis documentation, nor could I figure out how to > use Ant tasks... > Here is sample code in a jar file with a

RE: Passing large data in SOAP Message

2004-05-19 Thread Lee, Ken
Title: RE: Passing large data in SOAP Message I have been working on solutions to this problem for the last month.  In my case, I convert a resultset to a document using a simple method:  I don't have the person I received this code from referenced (oops!).  If you need the imports for this,

RE: Announce: newbie trails (guides for new users to axis)

2004-05-13 Thread Lee, Ken
Okay, What is the process to add topics to the page? For instance, I think it would be very helpful to understand the difference between the four styles in Axis (Service Styles - RPC, Document, Wrapped, and Message), and when each is appropriate to use. > -Original Message- > From: Andre

RE: Wanted: Idiot's guide to axis

2004-05-13 Thread Lee, Ken
ou would like to read and contribute. > > All best > > Andrew > > http://nagoya.apache.org/wiki/apachewiki.cgi?NewbieTrails > > > -Original Message- > From: Lee, Ken [mailto:[EMAIL PROTECTED] > Sent: 13 May 2004 15:49 > To: [EMAIL PROTECTED] > Subject: Wa

Wanted: Idiot's guide to axis

2004-05-13 Thread Lee, Ken
Web services are difficult... The wiki at http://nagoya.apache.org/wiki/apachewiki.cgi?AxisProjectPages is helpful, but there isn't enough detail, or I just am not experienced enough with XML to understand. Does anyone any a recommended step-by-step approach to learning how to write _GREAT_ Web s

How do you remove encoding - newbie question!

2004-05-11 Thread Lee, Ken
Title: How do you remove encoding - newbie question! This is probably really simple and hopefully I don't get a RTFM response (or at least let me know the page number!), but I didn't see an answer in the historical posts for this specific question. Question: In the response, how do I get the