Re: Writing a JAX-RPC Client from WSDL

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 UTC