Thanks for your effort! It looks like very few WSDL compilers can handle complex WSDL files...

Such a pity.

Thanks,

Justin


Dies Koper wrote:
Sorry, forgot to download the XSD files.
I get a bunch of compile errors.

.\test_gen\XMLVendFaultResp.java:9: duplicate class: test_gen.XMLVendFaultResp
public class XMLVendFaultResp extends test_gen.BaseResp {
       ^
.\test_gen\XMLVendServiceSoap.java:10: incompatible types
found   : test_gen.XMLVendFaultResp
required: java.lang.Throwable
        test_gen.XMLVendFaultResp,  java.rmi.RemoteException;

Maybe it needs multiple ns->pkg mappings?

Regards,
Dies

Dies Koper wrote:

c:\>f:\sun\AppServer\bin\wscompile.bat -import config-test-wsdl.xml
error: modeler error: invalid entity name: "confirmCustomerReq" (in namespace: "
http://www.nrs.eskom.co.za/xmlvend/revenue/2.0/schema";)

I've seen this error before, even with "simple" wsdl files, and never understood what it meant.

I used this configuration:
<configuration
        xmlns="http://java.sun.com/xml/ns/jax-rpc/ri/config";>
    <wsdl
        location="xmlvend-full-2.0.wsdl"
        packageName="test_gen">
    </wsdl>
</configuration>

Regards,
Dies


Justin Schoeman wrote:

Hi all, I need a huge favour if someone has JWSDP installed, and a couple of minutes to spare...

If you do, could you possibly run the wsdl and xsd files from:
http://nrs.eskom.co.za/xmlvend/docs/Specification/November2005/XMLVend20.asp

through wscompile to generate a server? I would like to see if wscompile can do the job - handling the abstract types and xsd files correctly...

Thanks!

Justin


Reply via email to