eclipse-ee4j / jax-rpc-ri

JAX RPC Implementation (Eclipse Metro Project)
Other
2 stars 4 forks source link

WScompile genereates uncompilable code for large WSDL files #18

Open Tomas-Kraus opened 19 years ago

Tomas-Kraus commented 19 years ago

Hi there !

In our MetaBoss product, we use wscompile/wsdeploy tools to generate WebService implementations from the WSDL files. My WSDL files tend to be quite large (100+ operations and very large types schema).

What I found is that wscompile generates the

_SerializerRegistry.java file, which has public TypeMappingRegistry getRegistry() method. The size of this method is unlimited - the more operations and datatypes we have in our WSDL - the larger this method gets. In facy I have hit the wall and now get proverbial "code too large" Java compiler error. I have attempted to fix this myself by generating slightly different _SerializerRegistry.java file. My version uses properties resource file (which I generate too) to read registry definition and build the registry. This means that the code size stays constant (but the size of properties file is variable, which hopefully is Ok). Fix should work, but wscompile tool keeps overwriting my version of the file with its own (and that of course does not compile). This brings to mind another side issue - wscompile tool does not have an option to generate, but not compile source files. We really wish to resolve this urgently and I will be more than happy to help with the fix if so required. Thank you for your time #### Environment Operating System: All Platform: All URL: [http://www.metaboss.com](http://www.metaboss.com) #### Affected Versions [current]
Tomas-Kraus commented 5 years ago
Tomas-Kraus commented 19 years ago

@glassfishrobot Commented Reported by metaboss

Tomas-Kraus commented 19 years ago

@glassfishrobot Commented kohlert said: Can you attach your solution to the problem and can we use your solution?

Have you tried the donotoverride option on wscompile to keep it from overriding your registry?

Tomas-Kraus commented 19 years ago

@glassfishrobot Commented Was assigned to jax-rpc-issues

Tomas-Kraus commented 7 years ago

@glassfishrobot Commented This issue was imported from java.net JIRA JAX_RPC-18