users@jax-rpc.java.net

Writing a JAX-RPC Client from WSDL

From: carol-ws <carol-ws_at_BOL.COM.BR>
Date: Fri, 11 Jul 2003 09:12:50 -0300

Hello,

Could anybody help me? I'm starting to work with Web
Services now.

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/