Expand my Community achievements bar.

Web Service call to WAMP server does not work

Avatar

Level 2

Hello experts

I have been working previously with Web Services on Adobe forms (in SAP environment) with no problems.

I am currently working on prototype of Adobe Interactive Form using PHP (ver 5.3) Web Service(s).

However I am not able to make PHP Web Service work on Adobe form.

I have tested sample PHP Web Service using PHP script (SOAP client) and it works perfectly fine.

I have found somewhere information which suggests that I need to extend PDF with Reader Extensions which I did (using trial version of Acrobat Reader Pro).

Unfortunately it still does not work (not sure if call is being send at all when I press button which is supposed to trigger WS).

Please find below link to zip file including following resources:

IncreasePeriod.pdf (PDF file with implemented WS, w/o Reader Extensions)

IncreasePeriod_RE.pdf (PDF file with implemented WS, with Reader Extensions)

IncreasePeriod.wsdl (Web Service definition)

soap-server.php (PHP Web Service definition, SOAP server)

soap-client.php (PHP Web Service call, SOAP client)

http://www.morzech.myzen.co.uk/adobe_issue/files.zip

Let me know if I did not make myself clear.

Regards

Michael

3 Replies

Avatar

Level 2

I have tried couple more things:

1) I tried using HttpWatch (HTTP sniffer) with no luck (basic version works only on selected websites and premium is not offered on trial basis)

2) I have implemented and triggered WS call using JavaScript and that has revealed what I was worried about (limitations due to licensing).

When I am executing WS using reader (regardless if PDF has been Reader Extended or not) I am getting same error message:
"NotAllowedError: Security settings prevent access to this property or method"

When I am opening same form in Acrobat Professional I am getting message:

“InvalidArgsError: Invalid arguments.”

Latter error does not make much sense since call is failing straight after requesting URL with Web Service (unless WS definition is not correct, which would be weird to say the least since I can import/bind it with no problems inside Adobe Designer).

I did some more reading about licensing issues/restrictions (see: http://forums.adobe.com/thread/286035?decorator=print&displayFullThread=true) and it seems that I would need to use LiveCycle ES server to enable WS calls for PDF in Adobe Reader which is absolute overkill in my opinion.

If anyone knows other way to make WS work in Adobe Reader (w/o paying for LC ES license or using server scripts instead) please do share your idea.

Regards
Michael

Avatar

Level 4

AFAIK Acrobat Extended features does not include the "invoke webservices" extension. for that you really need LC: Reader Extensions.

You could D/L a trial version and email adobe support for a RE certificate (its required in order for RE to work).

I don't see any workaround for this.

Avatar

Level 2

Rui

Thanks for confirming my suspicion. As I mentioned earlier on I think its an absolute overkill for what I want to achieve (retrieval of some personal details when entering user ID on the form). I think I will dust of my Flash Builder and use it instead of Adobe Designer. Printing might be an issue (PDF forms are brilliant in that respect) but at least I will have a pleasure of working with a much more sophisticated bi-directional calls to PHP backend (not 2 mention I will have a debugger at my disposal ... hooray).

Regards

Michael