W3C home > Mailing lists > Public > www-ws@w3.org > July 2003

Re: Writing a JAX-RPC Client from WSDL

From: Anne Thomas Manes <anne@manes.net>
Date: Thu, 10 Jul 2003 14:25:29 -0400
Message-ID: <000201c3471d$fe213a40$eefb000a@TPX21>
To: "carol-ws" <carol-ws@bol.com.br>, <www-ws@w3.org>

Carol,

You should submit this question to the JAXRPC discussion list --
JAXRPC-INTEREST@JAVA.SUN.COM

Anne

----- Original Message -----
From: "carol-ws" <carol-ws@bol.com.br>
To: <www-ws@w3.org>
Sent: Thursday, July 10, 2003 9:57 AM
Subject: Writing a JAX-RPC Client from WSDL


>
> Hello,
>
> Could anybody help me?
>
> I'm trying to Write a JAX-RPC Client from the WSDL file:
> http://ws.netviagens.com/webservices/AirFares.asmx?WSDL
>
> When I try to generate the Java stubs (ant generate-
> stubs) many errors of this type below occur.
>
> ...
>
> [exec]
>           ^
>      [exec] C:\jwsdp-1.1
> \docs\tutorial\examples\jaxrpc\hello\build\client\hello\
> Sector_LiteralSerializer.java:345: cannot resolve symbol
>      [exec] symbol  : method getFlightNumber ()
>      [exec] location: class airport.Sector
>      [exec]         if (instance.getFlightNumber() !=
> null) {
>      [exec]                     ^
>      [exec] 100 errors
>      [exec] error: compilation failed, errors should
> have been reported
>      [exec] Result: 1
>
>
> My config.xml file is:
>
> <?xml version="1.0" encoding="UTF-8"?>
> <configuration
>   xmlns="http://java.sun.com/xml/ns/jax-
> rpc/ri/config">
>   <wsdl
> location="http://ws.netviagens.com/webservices/AirFares.a
> smx?WSDL"
>        packageName="airport"/>
> </configuration>
>
> I'm using the package jwsdp-1.1
>
> Many thanks,
>
> Carol
>
>
> __________________________________________________________________________
> Acabe com aquelas janelinhas que pulam na sua tela.
> AntiPop-up UOL - … grŠtis!
> http://antipopup.uol.com.br/
>
>
>
Received on Thursday, 10 July 2003 16:02:12 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 3 July 2007 12:25:43 GMT