You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-dev@axis.apache.org by "Robert Staerk (JIRA)" <ji...@apache.org> on 2007/02/09 13:07:06 UTC

[jira] Created: (AXIS2-2149) Wrong port number in generated WSDL

Wrong port number in generated WSDL
-----------------------------------

                 Key: AXIS2-2149
                 URL: https://issues.apache.org/jira/browse/AXIS2-2149
             Project: Axis 2.0 (Axis2)
          Issue Type: Bug
          Components: wsdl
    Affects Versions: 1.1.1
         Environment: Linux
            Reporter: Robert Staerk


When I ask for the WSDL of an RPCMessageReceiver service in Tomcat, the generated WSDL contains the wrong port number.

Example: 

  https://localhost:15324/axis2/services/HelloAxis2?wsdl

WSDL:

<wsdl:port name="HelloAxis2SOAP11port_http" binding="ns0:HelloAxis2SOAP11Binding">
   <soap:address location="http://localhost:8080/axis2/services/HelloAxis2" /> 
 </wsdl:port>

Note: 

  - The port number is wrong (8080 instead of 15324)

 - The protocol is wrong (http instead of https)

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
To unsubscribe, e-mail: axis-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-dev-help@ws.apache.org


[jira] Commented: (AXIS2-2149) Wrong port number in generated WSDL

Posted by "Deepal Jayasinghe (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/AXIS2-2149?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12494321 ] 

Deepal Jayasinghe commented on AXIS2-2149:
------------------------------------------

can you please check with Axis2 1.2 , I think issues is fixed now.

Thanks
Deepal

> Wrong port number in generated WSDL
> -----------------------------------
>
>                 Key: AXIS2-2149
>                 URL: https://issues.apache.org/jira/browse/AXIS2-2149
>             Project: Axis 2.0 (Axis2)
>          Issue Type: Bug
>          Components: wsdl
>    Affects Versions: 1.1.1
>         Environment: Linux
>            Reporter: Robert Staerk
>
> When I ask for the WSDL of an RPCMessageReceiver service in Tomcat, the generated WSDL contains the wrong port number.
> Example: 
>   https://localhost:15324/axis2/services/HelloAxis2?wsdl
> WSDL:
> <wsdl:port name="HelloAxis2SOAP11port_http" binding="ns0:HelloAxis2SOAP11Binding">
>    <soap:address location="http://localhost:8080/axis2/services/HelloAxis2" /> 
>  </wsdl:port>
> Note: 
>   - The port number is wrong (8080 instead of 15324)
>  - The protocol is wrong (http instead of https)

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
To unsubscribe, e-mail: axis-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-dev-help@ws.apache.org


[jira] Commented: (AXIS2-2149) Wrong port number in generated WSDL

Posted by "Deepal Jayasinghe (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/AXIS2-2149?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12494343 ] 

Deepal Jayasinghe commented on AXIS2-2149:
------------------------------------------

according to case 3 , issue is not fixed.


Thanks
Deepal

> Wrong port number in generated WSDL
> -----------------------------------
>
>                 Key: AXIS2-2149
>                 URL: https://issues.apache.org/jira/browse/AXIS2-2149
>             Project: Axis 2.0 (Axis2)
>          Issue Type: Bug
>          Components: wsdl
>    Affects Versions: 1.1.1
>         Environment: Linux
>            Reporter: Robert Staerk
>         Assigned To: Deepal Jayasinghe
>
> When I ask for the WSDL of an RPCMessageReceiver service in Tomcat, the generated WSDL contains the wrong port number.
> Example: 
>   https://localhost:15324/axis2/services/HelloAxis2?wsdl
> WSDL:
> <wsdl:port name="HelloAxis2SOAP11port_http" binding="ns0:HelloAxis2SOAP11Binding">
>    <soap:address location="http://localhost:8080/axis2/services/HelloAxis2" /> 
>  </wsdl:port>
> Note: 
>   - The port number is wrong (8080 instead of 15324)
>  - The protocol is wrong (http instead of https)

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
To unsubscribe, e-mail: axis-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-dev-help@ws.apache.org


[jira] Commented: (AXIS2-2149) Wrong port number in generated WSDL

Posted by "Jong Sung Park (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/AXIS2-2149?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12651928#action_12651928 ] 

Jong Sung Park commented on AXIS2-2149:
---------------------------------------

I have the same issue.
(axis2 1.4 used &  tomcat connector is only open for https)
After deploying to Tomcat 5.5, wsdl shows wrong address port like "http://localhost:8080/....."

So I did follwing jobs
1. After opening explorer, connect "https://localhost:8443/..../ServiceAPI?wsdl"
2. Save that wsdl file as "ServiceAPI.wsdl"
3. Open "Service.wsdl" & Edit it ("http://localhost:8080" -> "https://localhost:8443")
4. Locate edited "Service.wsdl" in webapps/ContextName/WEB-INF/services/ServiceAPI/META-INF/
5. Connect "https://localhost:8443/..../ServiceAPI.wsdl", then it open correctly.

To do this, I had to do edit it manually for each deployment.

I wonder this is bug. If not, please tell me other actions are needed.



> Wrong port number in generated WSDL
> -----------------------------------
>
>                 Key: AXIS2-2149
>                 URL: https://issues.apache.org/jira/browse/AXIS2-2149
>             Project: Axis 2.0 (Axis2)
>          Issue Type: Bug
>          Components: wsdl
>    Affects Versions: 1.1.1
>         Environment: Linux
>            Reporter: Robert Staerk
>            Assignee: Deepal Jayasinghe
>
> When I ask for the WSDL of an RPCMessageReceiver service in Tomcat, the generated WSDL contains the wrong port number.
> Example: 
>   https://localhost:15324/axis2/services/HelloAxis2?wsdl
> WSDL:
> <wsdl:port name="HelloAxis2SOAP11port_http" binding="ns0:HelloAxis2SOAP11Binding">
>    <soap:address location="http://localhost:8080/axis2/services/HelloAxis2" /> 
>  </wsdl:port>
> Note: 
>   - The port number is wrong (8080 instead of 15324)
>  - The protocol is wrong (http instead of https)

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
To unsubscribe, e-mail: axis-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-dev-help@ws.apache.org


[jira] Assigned: (AXIS2-2149) Wrong port number in generated WSDL

Posted by "Deepal Jayasinghe (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/AXIS2-2149?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Deepal Jayasinghe reassigned AXIS2-2149:
----------------------------------------

    Assignee: Deepal Jayasinghe

> Wrong port number in generated WSDL
> -----------------------------------
>
>                 Key: AXIS2-2149
>                 URL: https://issues.apache.org/jira/browse/AXIS2-2149
>             Project: Axis 2.0 (Axis2)
>          Issue Type: Bug
>          Components: wsdl
>    Affects Versions: 1.1.1
>         Environment: Linux
>            Reporter: Robert Staerk
>         Assigned To: Deepal Jayasinghe
>
> When I ask for the WSDL of an RPCMessageReceiver service in Tomcat, the generated WSDL contains the wrong port number.
> Example: 
>   https://localhost:15324/axis2/services/HelloAxis2?wsdl
> WSDL:
> <wsdl:port name="HelloAxis2SOAP11port_http" binding="ns0:HelloAxis2SOAP11Binding">
>    <soap:address location="http://localhost:8080/axis2/services/HelloAxis2" /> 
>  </wsdl:port>
> Note: 
>   - The port number is wrong (8080 instead of 15324)
>  - The protocol is wrong (http instead of https)

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
To unsubscribe, e-mail: axis-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-dev-help@ws.apache.org


[jira] Commented: (AXIS2-2149) Wrong port number in generated WSDL

Posted by "bhaskaran.narayanan@rsa.com (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/AXIS2-2149?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12650032#action_12650032 ] 

bhaskaran.narayanan@rsa.com commented on AXIS2-2149:
----------------------------------------------------

I am using axis2-1.4. i see the same issue.

https://localhost:8777/axis2/services/Version?wsdl

and the wsdl shows 


- <wsdl:service name="Version">
- <wsdl:port name="VersionSOAP11port_http" binding="axis2:VersionSOAP11Binding">
  <soap:address location="http://192.168.234.1:8080/axis2/services/Version" /> 
  </wsdl:port>
- <wsdl:port name="VersionSOAP12port_http" binding="axis2:VersionSOAP12Binding">
  <soap12:address location="http://192.168.234.1:8080/axis2/services/Version" /> 
  </wsdl:port>
- <wsdl:port name="VersionHttpport" binding="axis2:VersionHttpBinding">
  <http:address location="http://192.168.234.1:8080/axis2/services/Version" /> 
  </wsdl:port>
  </wsdl:service>

Can somebody please reopen/resolve this.

> Wrong port number in generated WSDL
> -----------------------------------
>
>                 Key: AXIS2-2149
>                 URL: https://issues.apache.org/jira/browse/AXIS2-2149
>             Project: Axis 2.0 (Axis2)
>          Issue Type: Bug
>          Components: wsdl
>    Affects Versions: 1.1.1
>         Environment: Linux
>            Reporter: Robert Staerk
>            Assignee: Deepal Jayasinghe
>
> When I ask for the WSDL of an RPCMessageReceiver service in Tomcat, the generated WSDL contains the wrong port number.
> Example: 
>   https://localhost:15324/axis2/services/HelloAxis2?wsdl
> WSDL:
> <wsdl:port name="HelloAxis2SOAP11port_http" binding="ns0:HelloAxis2SOAP11Binding">
>    <soap:address location="http://localhost:8080/axis2/services/HelloAxis2" /> 
>  </wsdl:port>
> Note: 
>   - The port number is wrong (8080 instead of 15324)
>  - The protocol is wrong (http instead of https)

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
To unsubscribe, e-mail: axis-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-dev-help@ws.apache.org


[jira] Commented: (AXIS2-2149) Wrong port number in generated WSDL

Posted by "Swati Sinha (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/AXIS2-2149?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12494342 ] 

Swati Sinha commented on AXIS2-2149:
------------------------------------

This issue appears fixed now.

My Os is Windows XP and Tomcat is version 5.5
Axis2 is from trunk.

My server.xml has http port as 8732 and https port as 8777

Here are the snippets from server.xml. 


<Connector port="8732" maxHttpHeaderSize="8192"
               maxThreads="150" minSpareThreads="25" maxSpareThreads="75"
               enableLookups="false" redirectPort="8443" acceptCount="100"
               connectionTimeout="20000" disableUploadTimeout="true" />


 
<Connector port="8777" maxHttpHeaderSize="8192"
               maxThreads="150" minSpareThreads="25" maxSpareThreads="75"
               enableLookups="false" disableUploadTimeout="true"
               acceptCount="100" scheme="https" secure="true"
               clientAuth="false" sslProtocol="TLS" />

Case 1.  Both http and https are enabled, this is correct

http://localhost:8732/axis2-SNAPSHOT/services/Version?wsdl 

and 

https://localhost:8777/axis2-SNAPSHOT/services/Version?wsdl

yields

- <wsdl:service name="Version">
- <wsdl:port name="VersionSOAP11port_https" binding="axis2:VersionSOAP11Binding">
  <soap:address location="https://localhost:8777/axis2-SNAPSHOT/services/Version" /> 
  </wsdl:port>
- <wsdl:port name="VersionSOAP11port_http1" binding="axis2:VersionSOAP11Binding">
  <soap:address location="http://localhost:8732/axis2-SNAPSHOT/services/Version" /> 
  </wsdl:port>
- <wsdl:port name="VersionSOAP12port_https" binding="axis2:VersionSOAP12Binding">
  <soap12:address location="https://localhost:8777/axis2-SNAPSHOT/services/Version" /> 
  </wsdl:port>
- <wsdl:port name="VersionSOAP12port_http1" binding="axis2:VersionSOAP12Binding">
  <soap12:address location="http://localhost:8732/axis2-SNAPSHOT/services/Version" /> 
  </wsdl:port>
- <wsdl:port name="VersionHttpport" binding="axis2:VersionHttpBinding">
  <http:address location="https://localhost:8777/axis2-SNAPSHOT/services/Version" /> 
  </wsdl:port>
- <wsdl:port name="VersionHttpport1" binding="axis2:VersionHttpBinding">
  <http:address location="http://localhost:8732/axis2-SNAPSHOT/services/Version" /> 
  </wsdl:port>
  </wsdl:service>


Case 2. Only http is enabled, this is correct
http://localhost:8732/axis2-SNAPSHOT/services/Version?wsdl 

yields

- <wsdl:service name="Version">
- <wsdl:port name="VersionSOAP11port_http" binding="axis2:VersionSOAP11Binding">
  <soap:address location="http://localhost:8732/axis2-SNAPSHOT/services/Version" /> 
  </wsdl:port>
- <wsdl:port name="VersionSOAP12port_http" binding="axis2:VersionSOAP12Binding">
  <soap12:address location="http://localhost:8732/axis2-SNAPSHOT/services/Version" /> 
  </wsdl:port>
- <wsdl:port name="VersionHttpport" binding="axis2:VersionHttpBinding">
  <http:address location="http://localhost:8732/axis2-SNAPSHOT/services/Version" /> 
  </wsdl:port>
  </wsdl:service>


Case 3: Only Https enabled, This is misleading since it also generates the http port.The appropriate soap address are correct for https.

https://localhost:8777/axis2-SNAPSHOT/services/Version?wsdl
yields 

- <wsdl:service name="Version">
- <wsdl:port name="VersionSOAP11port_https" binding="axis2:VersionSOAP11Binding">
  <soap:address location="https://localhost:8777/axis2-SNAPSHOT/services/Version" /> 
  </wsdl:port>
- <wsdl:port name="VersionSOAP11port_http1" binding="axis2:VersionSOAP11Binding">
  <soap:address location="http://localhost:8080/axis2-SNAPSHOT/services/Version" /> 
  </wsdl:port>
- <wsdl:port name="VersionSOAP12port_https" binding="axis2:VersionSOAP12Binding">
  <soap12:address location="https://localhost:8777/axis2-SNAPSHOT/services/Version" /> 
  </wsdl:port>
- <wsdl:port name="VersionSOAP12port_http1" binding="axis2:VersionSOAP12Binding">
  <soap12:address location="http://localhost:8080/axis2-SNAPSHOT/services/Version" /> 
  </wsdl:port>
- <wsdl:port name="VersionHttpport" binding="axis2:VersionHttpBinding">
  <http:address location="https://localhost:8777/axis2-SNAPSHOT/services/Version" /> 
  </wsdl:port>
- <wsdl:port name="VersionHttpport1" binding="axis2:VersionHttpBinding">
  <http:address location="http://localhost:8080/axis2-SNAPSHOT/services/Version" /> 
  </wsdl:port>
  </wsdl:service>



> Wrong port number in generated WSDL
> -----------------------------------
>
>                 Key: AXIS2-2149
>                 URL: https://issues.apache.org/jira/browse/AXIS2-2149
>             Project: Axis 2.0 (Axis2)
>          Issue Type: Bug
>          Components: wsdl
>    Affects Versions: 1.1.1
>         Environment: Linux
>            Reporter: Robert Staerk
>         Assigned To: Deepal Jayasinghe
>
> When I ask for the WSDL of an RPCMessageReceiver service in Tomcat, the generated WSDL contains the wrong port number.
> Example: 
>   https://localhost:15324/axis2/services/HelloAxis2?wsdl
> WSDL:
> <wsdl:port name="HelloAxis2SOAP11port_http" binding="ns0:HelloAxis2SOAP11Binding">
>    <soap:address location="http://localhost:8080/axis2/services/HelloAxis2" /> 
>  </wsdl:port>
> Note: 
>   - The port number is wrong (8080 instead of 15324)
>  - The protocol is wrong (http instead of https)

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
To unsubscribe, e-mail: axis-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-dev-help@ws.apache.org


[jira] Resolved: (AXIS2-2149) Wrong port number in generated WSDL

Posted by "Deepal Jayasinghe (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/AXIS2-2149?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Deepal Jayasinghe resolved AXIS2-2149.
--------------------------------------

    Resolution: Fixed

> Wrong port number in generated WSDL
> -----------------------------------
>
>                 Key: AXIS2-2149
>                 URL: https://issues.apache.org/jira/browse/AXIS2-2149
>             Project: Axis 2.0 (Axis2)
>          Issue Type: Bug
>          Components: wsdl
>    Affects Versions: 1.1.1
>         Environment: Linux
>            Reporter: Robert Staerk
>            Assignee: Deepal Jayasinghe
>
> When I ask for the WSDL of an RPCMessageReceiver service in Tomcat, the generated WSDL contains the wrong port number.
> Example: 
>   https://localhost:15324/axis2/services/HelloAxis2?wsdl
> WSDL:
> <wsdl:port name="HelloAxis2SOAP11port_http" binding="ns0:HelloAxis2SOAP11Binding">
>    <soap:address location="http://localhost:8080/axis2/services/HelloAxis2" /> 
>  </wsdl:port>
> Note: 
>   - The port number is wrong (8080 instead of 15324)
>  - The protocol is wrong (http instead of https)

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
To unsubscribe, e-mail: axis-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-dev-help@ws.apache.org