Skip to Content
0
Former Member
Oct 05, 2006 at 04:30 PM

adaptive WS Model generation ( ProxyGenerator Exception )

24 Views

Hello !

In the model creation wizard i tried to import an adaptive Webservicemodel and after a while the wizard stops with hint to look at the error log. In the eclipse error log i got the following exception:

com.sap.tc.webdynpro.model.webservice.exception.WSModelRuntimeException: Exception on creation of service metadata for WSDL URL 'http://.../tcmwebservice/tcmwebservice?WSDL' and service factory configuration '{DynamicProxy.ClassPath=...

...

Caused by: com.sap.engine.services.webservices.jaxrpc.exceptions.WebserviceClientException: GenericServiceFactory initialization problem. Could not load web service model. See nested exception for details.

at com.sap.engine.services.webservices.espbase.client.dynamic.impl.DGenericServiceImpl.generateProxyFiles(DGenericServiceImpl.java:149)

at com.sap.engine.services.webservices.espbase.client.dynamic.impl.DGenericServiceImpl.<init>(DGenericServiceImpl.java:49)

at com.sap.engine.services.webservices.espbase.client.dynamic.GenericServiceFactory.createService(GenericServiceFactory.java:71)

at com.sap.tc.webdynpro.model.webservice.metadata.WSModelInfo.getOrCreateWsrService(WSModelInfo.java:411)

... 53 more

Caused by: com.sap.engine.services.webservices.jaxrpc.exceptions.ProxyGeneratorException: Proxy Generator Error. Proxy generation problem. See nested exception.

at com.sap.engine.services.webservices.jaxrpc.wsdl2java.ProxyGenerator.generateProxy(ProxyGenerator.java:283)

at com.sap.engine.services.webservices.espbase.client.dynamic.impl.DGenericServiceImpl.generateProxyFiles(DGenericServiceImpl.java:146)

... 56 more

Caused by: java.io.IOException: Compilation fails...

C:\Documents and Settings\atw111s6\Local Settings\Temp\DGenService1160064692879\TcmgrWebServiceBindingStub.java:829: code too large

public com.sap.engine.services.webservices.jaxrpc.wsdl2java.dynamic.OperationStructure _getOpMetadata(java.lang.String opName) {

^

1 error

at com.sap.engine.services.webservices.jaxrpc.util.PackageBuilder.compileExternal(PackageBuilder.java:359)

at com.sap.engine.services.webservices.jaxrpc.util.PackageBuilder.traversThrough(PackageBuilder.java:302)

at com.sap.engine.services.webservices.jaxrpc.util.PackageBuilder.compileExternal(PackageBuilder.java:430)

at com.sap.engine.services.webservices.jaxrpc.util.PackageBuilder.compilePackage(PackageBuilder.java:201)

at com.sap.engine.services.webservices.jaxrpc.wsdl2java.ProxyGenerator.generateProxy(ProxyGenerator.java:270)

... 57 more

seems to be that the compiler cannot handle the gernerated Stub anymore. The WSDL file indee is a larger one.

any suggestions ?

TU

Werner