« Return to Thread: [jira] Created: (WSFPHP-367) request to a WSDL via https returns wrong scheme prefix

[jira] Resolved: (WSFPHP-367) request to a WSDL via https returns wrong scheme prefix

by JIRA jira@wso2.org :: Rate this Message:

| View in Thread


     [ https://wso2.org/jira/browse/WSFPHP-367?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Nandika Jayawardana resolved WSFPHP-367.
----------------------------------------

    Fix Version/s: Current (nightly)
       Resolution: Fixed

patch applied

> request to a WSDL via https returns wrong scheme prefix
> -------------------------------------------------------
>
>                 Key: WSFPHP-367
>                 URL: https://wso2.org/jira/browse/WSFPHP-367
>             Project: WSO2 WSF/PHP
>          Issue Type: Bug
>          Components: WSDL Generation
>    Affects Versions: 2.0.0
>         Environment: Fedora 8 i386 Linux
>            Reporter: Philip Eschenbacher
>            Assignee: Nandika Jayawardana
>             Fix For: Current (nightly)
>
>         Attachments: https_wsdl.patch
>
>
> when requesting a wsdl via https URL the service destination URL still has a http scheme prefix. correct were the https prefix. Lets have a look to a little example:
> https://myservice/?wsdl
> returns the following WSDL target:
> ...
> <service name="myservice">
> <port name="myserviceSOAPPort_Http" binding="tns:myserviceSOAPBinding">
> <soap:address location="http://myservice:443/index.php"/>
> </port>
> </service>
> ...
> I provide a workaround patch with this ticket. This patch should not be applyed because it does not solve the problem very well. ws_generate_wsdl in wsf.php receives a request url without scheme prefix. so i had to decide by selecting the port number which scheme prefix to set. I think it would be bether to call the ws_generate_wsdl function and provide a valid request URL with scheme prefix like https://hostname/path... and then set this prefix instead of the WS_WSDL_HTTP_ATTR_NAME const.

--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://wso2.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

       

_______________________________________________
Wsf-c-dev mailing list
Wsf-c-dev@...
https://wso2.org/cgi-bin/mailman/listinfo/wsf-c-dev

 « Return to Thread: [jira] Created: (WSFPHP-367) request to a WSDL via https returns wrong scheme prefix