Skip to Content
author's profile photo Former Member
Former Member

adaptive WS Model generation ( ProxyGenerator Exception )

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

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

2 Answers

  • author's profile photo Former Member
    Former Member
    Posted on Oct 16, 2006 at 12:50 PM

    Hi Werner!

    Did you get an answer to your question, as the case may be, did you find out how to solve the problem, right now?

    If yes, then let me know please!

    Kind regards, Patrick.

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Oct 16, 2006 at 12:59 PM

    There are 64k limits on several things (code per methods, constants, etc) in Java.

    So i think the only solution would be to divide the WSDL file in more managable smaller pieces. But the webservice is a third party product, and so not in my responsibilty.

    Werner

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.