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

Writing a JAX-RPC Client from WSDL

From: carol-ws <carol-ws@bol.com.br>
Date: Thu, 10 Jul 2003 10:57:41 -0300
Message-Id: <HHTAS5$IM7t2wRS5pCw8VNHdwDrNVvwo4T1G8VPsxbc2Yn@bol.com.br>
To: www-ws@w3.org

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 09:58:04 GMT

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