Wrong service location URL in WSDL generated from ListingAgent if servlet
container runs on port 80
---------------------------------------------------------------------------------------------------
Key: AXIS2-1028
URL: http://issues.apache.org/jira/browse/AXIS2-1028
Project: Apache Axis 2.0 (Axis2)
Issue Type: Bug
Components: wsdl
Affects Versions: 1.0
Reporter: Martin Weindel
Priority: Minor
Attachments: ListingAgent.diff, ListingAgent.diff
If the servlet container runs on port 80, the location attribute of the
soap::address tag in the WSDL generated from the ListingAgent is wrong.
Example with correct location for port != 80:
<wsdl:service name="ontobroker">
<wsdl:port binding="wse:ontobrokerSOAP11Binding"
name="ontobrokerSOAP11port0">
<soap:address location="http://localhost:8267/services/ontobroker"/>
</wsdl:port>
...
</wsdl:service>
Example with wrong location for port = 80:
<wsdl:service name="ontobroker">
<wsdl:port binding="wse:ontobrokerSOAP11Binding"
name="ontobrokerSOAP11port0">
<soap:address
location="http://localhost/services/ontobroker:80/services/ontobroker"/>
</wsdl:port>
...
</wsdl:service>
I have attached a patch resolving this problem.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]