[ 
https://issues.apache.org/activemq/browse/SM-762?page=comments#action_37640 ] 
            
Jeff Puro commented on SM-762:
------------------------------

I have attached two different patches.  Either one will resolve the issue.  It 
is up to the commiter to decide which to use:

1)  The first one uses the request.getScheme() method to determine the protocol.

2)  The second one uses the isSecure() method to determine the protocol (http 
or https) as used in other places in servicemix-http.

> Address in WSDL is incorrectly adding the protocol information in the 
> begining of the URL
> -----------------------------------------------------------------------------------------
>
>                 Key: SM-762
>                 URL: https://issues.apache.org/activemq/browse/SM-762
>             Project: ServiceMix
>          Issue Type: Bug
>          Components: servicemix-http
>    Affects Versions: 3.0.1
>            Reporter: Jeff Puro
>         Assigned To: Jeff Puro
>             Fix For: 3.0.1
>
>         Attachments: servicemix-http-host-port-is-secure.patch, 
> servicemix-http-host-port-scheme.patch
>
>   Original Estimate: 30 minutes
>  Remaining Estimate: 30 minutes
>
> Here is an example of the error when generating the WSDL:
> <service name="HttpService">
>       <port binding="tns:nullBinding">
>              <wsdlsoap:address 
> location="HTTP/1.1://10.0.102.12:8080/servicemix-web/jbi/tracker/"/>
>         </port>
> </service>

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

        

Reply via email to