Drupal 7 | How to upload WSDL url or file in the drupal portal

Hi @Kristin Brinner @Sai Saran Vaidyanathan @Karl Scheirer

Concern: While I am trying to give the WSDL Url in the Drupal portal, an error is thrown as shown in the image. Products which contain rest proxy service are getting uploaded on to the drupal portal unlike coming to the products which contain SOAP services are not reflected on the portal

Environment: Drupal 7, Installed WSDL Docs module, UNIX server

9084-sample.png

However, I refered to the post https://community.apigee.com/articles/64767/documenting-soap-apis-on-devportal-using-the-wsdl.html

Regards,

Ashwith

0 7 354
7 REPLIES 7

The module has been significantly refactored to use the Services module. Which version are you running? If using the latest version, please refer to these instructions: https://community.apigee.com/articles/68137/documenting-soap-apis-on-devportal-using-the-wsdl-1.html

I'm a little confused by your question though - can you clarify what you mean about products are getting uploaded on the portal? The WSDL docs module allows you to import and create SOAP API documentation based on WSDL files - unless you do further customization, the API documentation is not associated with an API Product.

Scenario: Usually product contains proxies. However, in our organization, we are having some rest proxies as well as soap proxies.

Concern: Products created using the rest proxies are directly reflected on the drupal portal but the products created using soap proxies are not displayed on the drupal portal.

Specifically about the error message in the screenshot, it looks like the url was not resolveable by the portal. Are you sure its available at that url?

The following WSDL url is accessible using the browser but when I am trying to upload it on the portal an error is thrown.

http://webservices.oorsprong.org/websamples.countryinfo/CountryInfoService.wso?wsdl

Are you able to import other WSDL files? Example WSDL files included in the module's README if you need a sample.

Yes I have imported

it's working perfectly alright on the drupal portal and I am able to execute the operations on the portal.

I don't know why the portal is restricting some of our organization WSDL urls to upload.

Did some googling and it seems this is a fairly common question. I'm not sure what the exact issue is with your devportal, but some people reported that enabling Clean URLs solved some problems for them when using the Services module - do you have that enabled? Another person reported that it was solved when after enabling extension php_openssl. Are there any other errors recorded in the logs when this occurs?

This thread had some trouble shooting suggestions as well: https://stackoverflow.com/questions/21861077/soap-error-parsing-wsdl-couldnt-load-from-but-works-on-...