Expand my Community achievements bar.

Dive into Adobe Summit 2024! Explore curated list of AEM sessions & labs, register, connect with experts, ask questions, engage, and share insights. Don't miss the excitement.
SOLVED

Invoke WSDL URL with Synchronous in XDP

Avatar

Level 3

Hi All,

 

I have seen one of the AEM Form (XDP) application, in that they bind (using WSDL) the filed with synchronousInvoke option.

 

Example:

!connectionData.get_users.Body.synchronousInvoke.filter_name

How to achieve that above one? when I trying with all possible ways getting !connectionData.get_users.Body.Invoke.filter_name

 

Please suggest.

 

Regards,

Srujan

1 Accepted Solution

Avatar

Correct answer by
Employee

The syntax you mention is not part of the XML Forms Architecture specification. If you want to call a web service from an XFA form you add a WSDL data connection to the form, connect to the WSDL of that webservice and you can execute the webservice by using an exec button coming with the dataconnection.

Kosta_Prokopiu1_0-1621452921272.pngKosta_Prokopiu1_1-1621452949955.png

Kosta_Prokopiu1_2-1621452992778.png

Kosta_Prokopiu1_3-1621453008353.pngKosta_Prokopiu1_4-1621453028814.pngKosta_Prokopiu1_5-1621453065942.png

Drag in the section of the dataconnection

Kosta_Prokopiu1_6-1621453216567.png

Save as PDF and open in Acrobat Pro (Adobe Reader will not execute the web service unless you have applied Reader Extensions to the PDF!)

Kosta_Prokopiu1_7-1621453308355.png

 

View solution in original post

4 Replies

Avatar

Employee Advisor

@srujan816 Have you tried using http button in XDP and mapping it to a wsdl?

Avatar

Correct answer by
Employee

The syntax you mention is not part of the XML Forms Architecture specification. If you want to call a web service from an XFA form you add a WSDL data connection to the form, connect to the WSDL of that webservice and you can execute the webservice by using an exec button coming with the dataconnection.

Kosta_Prokopiu1_0-1621452921272.pngKosta_Prokopiu1_1-1621452949955.png

Kosta_Prokopiu1_2-1621452992778.png

Kosta_Prokopiu1_3-1621453008353.pngKosta_Prokopiu1_4-1621453028814.pngKosta_Prokopiu1_5-1621453065942.png

Drag in the section of the dataconnection

Kosta_Prokopiu1_6-1621453216567.png

Save as PDF and open in Acrobat Pro (Adobe Reader will not execute the web service unless you have applied Reader Extensions to the PDF!)

Kosta_Prokopiu1_7-1621453308355.png