users@jax-rpc.java.net

Re: can not compile Tie class: variable _headerObj not found

From: Alessio Cervellin <alessio.cervellin_at_sun-cs-italy.com>
Date: Wed, 17 Nov 2004 15:00:03 +0100 (CET)

attached is the wsdl i'm using, and here is the command line used to generate server classes:

wscompile -gen:server -d build\classes -s build\src
-keep -f:explicitcontext -httpproxy:myproxyhost:8080 -verbose testcase.xml

where testcase.xml is:

<configuration xmlns="http://java.sun.com/xml/ns/jax-rpc/ri/config">
    <wsdl
        location="./testcase.wsdl"
        packageName="testcase"/>
</configuration>

the output is:

[CustomClassGenerator: generating JavaClass for: ComplexElement1]
[CustomClassGenerator: generating JavaClass for: ComplexElement2]
[LiteralObjectSerializerGenerator: writing serializer/deserializer for: Complex
Element2]
[LiteralObjectSerializerGenerator: writing serializer/deserializer for: Complex
Element1]
[SerializerRegistryGenerator: creating serializer registry: testcase.Testcase_Se
rializerRegistry]
TestcasePortType_Tie.java:60: can not resolve symbol
symbol : variable _headerObj
location: class testcase.TestcasePortType_Tie
                _headerObj = (testcase.ComplexElement2)curHeader.getValue();
                ^
..

what's wrong?
(the wsdl should be fine, since it's parsed both by wscompile and CapleClear5)
I'm using wscompile 1.1.2 build R23 and jdk 1.5.0-rc-b63



---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe_at_jax-rpc.dev.java.net
For additional commands, e-mail: users-help_at_jax-rpc.dev.java.net