Home › Forum › Integrating PerfectForms › Web Service Connection
Tagged: SAAS, Web Service, WSDL
This topic contains 4 replies, has 0 voices, and was last updated by MABrown 7 years, 11 months ago.
- AuthorPosts
- February 9, 2011 at 8:11 pm #687
I am attempting to establish a Web Service connection with a SAAS provider. The provider supports SOAP web services, however their WSDL files are behind their authentication.
As a result, unless you are logged in, you cannot connect to the service. They recommend downloading the WSDL file to implement in the application consuming the service, however I don’t see how that would be possible with PerfectForms.
Is there a way to reference a local WSDL file in a Web Service Connection? If not, is there a way to embed authentication parameters into a Web Service Connection? So far as I can tell they do not have a CROSSDOMAIN.XML file in their root directory, so it needs to be a proxy connection.
February 10, 2011 at 7:18 pm #5598I break it down to two connections. In the first connection I return the token and result and store them in hidden fields. In the second connection I send the token and the other send parameters to get what I need from the web service.
February 24, 2011 at 5:27 pm #5611Since I cannot load the WSDL, I cannot create a connection in the first place. Is there a way to create a web service connection that does not use WSDL files?
February 24, 2011 at 6:05 pm #5612I have implemented a workaround by hosting a copy of the WSDL file on a local web server, but it doesn’t fully solve the issue.
The Web Service provider for my connection requires the SOAP request contain the “Authorization” header. For testing, the connection works when I disable this requirement, however that is not a practical long-term solution. Is there a way to edit the values in the Authentication header to pass a logon and password?
March 8, 2011 at 4:04 pm #5630I will be emailing you some examples that demonstrate how to accomplish what you need.
- AuthorPosts
You must be logged in to reply to this topic.