The API documentation should be your wsdl.

Have a look at your web service using SOAPScope
(http://www.mindreef.com/).  This'll give you an idea of what the end
user gets to see from your service. ie. available methods and their
arguments and data definitions.

Stephen

Tom Jordahl wrote:
> Here are some specific steps:
>
> -Download Apache Axis 1.1.
>
> -Set your classpath to include all the Axis jars and the Xerces XML parser,
> etc.
>
> -Run "java org.apache.axis.wsdl.WSDL2Java -v
> http://my.host/path/myservice.cfc?WSDL
> <http://my.host/path/myservice.cfc?WSDL>
>
> -Compile the resulting Java files.
>
> -Point them to the Service and Stub classes, examples of how to use them are
> in the Axis docs.
>
> Their API will be
>
> result =   Stub.operation1(arg1, arg2, arg2);
>
> result2 =   Stub.operation2(arg1, arg2, arg2);
>
> ...
>
> --
> Tom Jordahl
> Macromedia Server Development
>
> -----Original Message-----
> From: Craig Dudley [mailto:[EMAIL PROTECTED]
> Sent: Friday, January 23, 2004 9:48 AM
> To: CF-Talk
> Subject: RE: Calling cf webservices from other languages
>
> This is true, however, I'd just like to be able to write and give them a
> detailed and accurate api document, not that necessary, but would make
> me happy.
>
> I'll just do some more research and playing with apache axis and suns
> webservices developer pack, I'll get there soon enough.
>
> -----Original Message-----
> From: Stephen Moretti [mailto:[EMAIL PROTECTED]
> Sent: 23 January 2004 14:25
> To: CF-Talk
> Subject: Re: Calling cf webservices from other languages
>
> Craig Dudley wrote:
>  > I want to give some guys who are trying to integrate one of my
>  > webservices from java, instructions and or a class file, I
> can't assume
>  > they will be using a J2EE application server, so it would need
> to be a
>  > standalone class.
>  >
>  >
>  > I've seen hundreds of code snippets and various tutorials but
> none of
>  > them include a fully working code sample, they all seem to
> indicate that
>  > it's a trivial matter but don't really show me a fully working
> class
>  > file.
>  >
>
> ~confused~
>
> All you need to do is give them a URL.  You shouldn't need to be
> telling
> them how to write Java or sending them class files.  Let them do
> that.
>
> You just need to tell them :
> http://yourdomain/yourpath/yourservice.cfc?wsdl
> <http://yourdomain/yourpath/yourservice.cfc?wsdl>  and away they
> go.
>
> Regards
>
> Stephen
>   _____
>
>   _____
>
[Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings]

Reply via email to