stub referance to calss by package full path

i managed to create client stubs from xml configuration file...

(i prefer to do that directly from the WSDL file)

it's working fine..

i am importing the generated stub files to eclipse IDE

when i like to change the pakage name were the stub files located

i am getting errors

because the stubs files reference each other by full package name

example :

system.service.SystemImplServise =new .....

the is an option or way to cancel that?

thanks..

i got lot of questions :)

[577 byte] By [shay_te] at [2007-11-26 8:41:43]
# 1

Are you using JAXRPC based service or JAXWS based service ?

For JAXWS based services, you can use customization files when you run wsimport against the WSDL. HEre is a sample customization file :

<?xml version="1.0" encoding="UTF-8" standalone="yes"?>

<bindings

xmlns:xsd="http://www.w3.org/2001/XMLSchema"

xmlns:jaxb="http://java.sun.com/xml/ns/jaxb"

xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/"

wsdlLocation="./SubtractNumbers.wsdl"

xmlns="http://java.sun.com/xml/ns/jaxws">

<bindings node="ns1:definitions"

xmlns:ns1="http://schemas.xmlsoap.org/wsdl/">

<package name="endpoint"/>

</bindings>

<bindings node="ns1:definitions/ns1:types/xsd:schema[@targetNamespace='http://duke.org']" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:ns1="http://schemas.xmlsoap.org/wsdl/">

<jaxb:schemaBindings>

<jaxb:package name="endpoint"/>

</jaxb:schemaBindings>

</bindings>

</bindings>

vijaysr1 at 2007-7-6 22:20:11 > top of Java-index,Application & Integration Servers,Application Servers...