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 "Jong Sung Park (JIRA)" <ji...@apache.org> on 2008/12/01 09:08:44 UTC

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

    [ 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