users@jax-rpc.java.net

Re: Fw: How to get WSDL doc of a published service?

From: Irene Moser <irene.moser_at_ATBUSINESS.COM>
Date: Mon, 01 Jul 2002 14:14:44 +0300

It helps if you can read XML Schema. In this example

<s:schema elementFormDefault="qualified"
targetNamespace="http://192.168.30.193/CRMOffice">
- <s:element name="NewTemplate">
- <s:complexType>
- <s:sequence>
  <s:element minOccurs="0" maxOccurs="1" name="sFileName"
type="s:string" />
  <s:element minOccurs="0" maxOccurs="1" name="bFile"
type="s:base64Binary" />
  <s:element minOccurs="1" maxOccurs="1" name="iAppID" type="s:long" />
  </s:sequence>
  </s:complexType>
  </s:element>
- <s:element name="NewTemplateResponse">
- <s:complexType>
- <s:sequence>
  <s:element minOccurs="0" maxOccurs="1" name="NewTemplateResult"
type="s:string" />
  </s:sequence>
  </s:complexType>
  </s:element>

the "NewTemplate" method takes a string, a base64Binary object and a
long as parameters and returns a string.

Axis has a WSDL-to-Java tool, but I am only experimenting with it
myself.

Irene


Amanda Foo wrote:
>
> Hi, thanks for the reply. But after getting wsdl file, how could I get the
> parameters' information of the service? Such as its data types.
>
> Fu.
> ----- Original Message -----
> From: "Irene Moser" <irene.moser_at_ATBUSINESS.COM>
> To: <JAXRPC-INTEREST_at_JAVA.SUN.COM>
> Sent: Monday, July 01, 2002 5:31 PM
> Subject: Re: Fw: How to get WSDL doc of a published service?
>
> > Hi, if you have the address of the service, try appending ?WSDL to it.
> > This should reveal the wsdl document.
> >
> > Irene
> >
> > > Amanda Foo wrote:
> > >
> > > Hi, how can I get the WSDL file of a published service which I hope to
> > > write a client class to invoke it? Exactly, I hope to get the
> > > parameters' data types of the service, but I don't know how to get
> > > them.
> > >
> > > Thanks,
> > > Fu.
> >
> > --
> > ******************************************************
> > Irene Moser, System Analyst, Technologies Team
> > AtBusiness Communications Oyj, It?lahdenkatu 19, FIN-00210 HELSINKI
> > Phone +358 9 2311 6649, Mobile +358 50 369 5101, Fax +358 9 2311 6601
> > e-mail: irene.moser_at_atbusiness.com
> > ******************************************************
> >

--
******************************************************
Irene Moser, System Analyst, Technologies Team
AtBusiness Communications Oyj, It?lahdenkatu 19, FIN-00210 HELSINKI
Phone +358 9 2311 6649, Mobile +358 50 369 5101, Fax +358 9 2311 6601
e-mail: irene.moser_at_atbusiness.com
******************************************************