Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

Calling external Web Services from an Extension

Does anyone have any experience in creating an extension which can consume the response from an external webservice ? I believe this may be possible using JQuery but have no experience of using it.

Thanks

Lucy

4 Replies
amars
Specialist
Specialist

See if the attached example helps.

saxjonas
Partner - Creator
Partner - Creator

It highly depends on what you want to do.

Just remember that when you're now using the Ajax client the same browser restrictions as a normal webpage is in work. That is, no xmlhttprequests can be done unless the remote host permits it explicitly.

So what do you want to achieve?

Not applicable
Author

Thanks Jonas,

I would like to build an Extension which can call a property finder webservice and display the feedback based on selections made in the document. I am aware that Javascript has restrictions around calling webservices on external servers but also that there are "workarounds", I just can't get them to work!

regards

Lucy

saxjonas
Partner - Creator
Partner - Creator

Is it some kind of internal report tool?
Often you could simply have an iframe using your selections as a parameter to the src URL.

Could you show with a flow chart just how you're thinking? For example:

User selects Report ID -> QV Extension fetches data from http://url/?reportid=[chosen reportid]-> Extension displays data.