AEM 6.5 formservice Throwing java.lang.nosuchmethoderror | Community
Skip to main content
Level 2
August 5, 2020
Solved

AEM 6.5 formservice Throwing java.lang.nosuchmethoderror

  • August 5, 2020
  • 6 replies
  • 1748 views

We are attempting to connect to AEM 6.5 from a legacy system that was connected to AEM6.4. After updating the AEM to 6.5 and upgrading the proxy jars we are getting the following error when we try to call the Formservice over SOAP.

 

Error calling:

formsService.renderPDFForm(templatePath, inputBLOB, pdfFormRenderSpec, uriValues, null,

                                                            outRenderPDFFormResultDoc, longHolder, stringHolder, formsResult);

 

Error:

Caused by: java.lang.NoSuchMethodFoundError: com.adobe.idp.services.forms.FormsService.renderPDFForm(Ljava/lang/String;Lcom/adobe/idp/services/forms/BLOB;Lcom/adobe/idp/services/forms/PDFFormRenderSpec;Lcom/adobe/idp/services/forms/URLSpec;Lorg/apache/xml/xml_soap/Map;Ljavax/xml/ws/Holder;Ljavax/xml/ws/Holder;Ljavax/xml/ws/Holder;Ljavax/xml/ws/Holder;)V

    

We are running on WebLogic 10.3.6 using java 1.7 and AEM 6.5 is on jboss 7.1.4.GA -redHat

 

Thanks

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
Best answer by kalyan

The issue was with the proxy creation. The adobe documentation are not accurate. When you create the proxies using WS Import the packages got created correctly and resolved the issue.Thanks all for checking.

6 replies

vanegi
Adobe Employee
Adobe Employee
August 5, 2020
vanegi
Adobe Employee
Adobe Employee
August 5, 2020
Kosta_Prokopiu1
Adobe Employee
Adobe Employee
August 6, 2020

Hi,

I assume this is AEM Forms JEE 6.5 and you have rebuilt your WL application with the latest adobe client jars and whatever else is given in the SDK section of the 6.5 installation.

The first thing I am not sure about is if Java 1.7 will still work with this, AEM Forms runs under Java 8 or 11 and all jars are compiled for 1.8 and 11.

But what puzzles me is your formsService API call. The 6.4 Javadoc shows the following interface:

https://helpx.adobe.com/experience-manager/6-4/forms/ProgramLC/javadoc/com/adobe/livecycle/formsservice/client/FormsServiceClient.html#renderPDFForm(java.lang.String,%20com.adobe.idp.Document,%20com.adobe.livecycle.formsservice.client.PDFFormRenderSpec,%20com.adobe.livecycle.formsservice.client.URLSpec,%20java.util.Map)

Your API call contains much more parameters not documented. The error we see in your post looks consistent if I have not misinterpreted your information.

 

kalyanAuthor
Level 2
August 7, 2020
Moved the query to the requested forum
kalyanAuthorAccepted solution
Level 2
August 16, 2020

The issue was with the proxy creation. The adobe documentation are not accurate. When you create the proxies using WS Import the packages got created correctly and resolved the issue.Thanks all for checking.