You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@servicemix.apache.org by "Jeff Puro (JIRA)" <ji...@apache.org> on 2006/11/30 19:59:02 UTC

[jira] Created: (SM-762) Address in WSDL is incorrectly adding the protocol information in the begining of the URL

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
             Fix For: 3.0.1


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

        

[jira] Updated: (SM-762) Address in WSDL is incorrectly adding the protocol information in the begining of the URL

Posted by "Jeff Puro (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/activemq/browse/SM-762?page=all ]

Jeff Puro updated SM-762:
-------------------------

    Attachment: servicemix-http-host-port-scheme.patch

This patch uses the request.getScheme() method to determine the protocol.  I have attached an alternative that uses request.isSecure() since that is used elsewhere in the servicemix-http component.  Either one should work.

> 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

        

[jira] Assigned: (SM-762) Address in WSDL is incorrectly adding the protocol information in the begining of the URL

Posted by "Jeff Puro (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/activemq/browse/SM-762?page=all ]

Jeff Puro reassigned SM-762:
----------------------------

    Assignee: Jeff Puro

> 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
>
>   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

        

[jira] Commented: (SM-762) Address in WSDL is incorrectly adding the protocol information in the begining of the URL

Posted by "Jeff Puro (JIRA)" <ji...@apache.org>.
    [ 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

        

[jira] Reopened: (SM-762) Address in WSDL is incorrectly adding the protocol information in the begining of the URL

Posted by "Jeff Puro (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/activemq/browse/SM-762?page=all ]

Jeff Puro reopened SM-762:
--------------------------

             

> 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

        

[jira] Updated: (SM-762) Address in WSDL is incorrectly adding the protocol information in the begining of the URL

Posted by "Jeff Puro (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/activemq/browse/SM-762?page=all ]

Jeff Puro updated SM-762:
-------------------------

    Attachment: servicemix-http-host-port-is-secure.patch

The attached patch 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

        

[jira] Resolved: (SM-762) Address in WSDL is incorrectly adding the protocol information in the begining of the URL

Posted by "Guillaume Nodet (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/activemq/browse/SM-762?page=all ]

Guillaume Nodet resolved SM-762.
--------------------------------

    Resolution: Fixed

Author: gnodet
Date: Mon Dec 11 12:37:35 2006
New Revision: 485860

URL: http://svn.apache.org/viewvc?view=rev&rev=485860
Log:
SM-762: Address in WSDL is incorrectly adding the protocol information in the beginning of the URL
Patch provided by Jeff Puro

Modified:
   incubator/servicemix/branches/servicemix-3.0/servicemix-http/src/main/java/org/apache/servicemix/http/processors/ConsumerProcessor.java


> 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

        

[jira] Work started: (SM-762) Address in WSDL is incorrectly adding the protocol information in the begining of the URL

Posted by "Jeff Puro (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/activemq/browse/SM-762?page=all ]

Work on SM-762 started by Jeff Puro.

> 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
>
>   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

        

[jira] Resolved: (SM-762) Address in WSDL is incorrectly adding the protocol information in the begining of the URL

Posted by "Jeff Puro (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/activemq/browse/SM-762?page=all ]

Jeff Puro resolved SM-762.
--------------------------

    Resolution: Fixed

Please see notes on attached patches.

> 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