[
https://issues.apache.org/jira/browse/AXIS2-3719?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12620893#action_12620893
]
Keith Godwin Chapman commented on AXIS2-3719:
---------------------------------------------
You can add the following property to your axis2.xml
<!-- Following parameter will set the host name for the epr-->
<parameter name="hostname" locked="true">myhost.com</parameter>
> ?wsdl and ?wsdl2 returns wrong erp
> ----------------------------------
>
> Key: AXIS2-3719
> URL: https://issues.apache.org/jira/browse/AXIS2-3719
> Project: Axis 2.0 (Axis2)
> Issue Type: Bug
> Components: wsdl
> Affects Versions: 1.4, 1.3, nightly
> Environment: Windows Vista/Tomcat 6
> Reporter: Thomas Neerup
> Priority: Critical
>
> My webservice is generated with WSDL2Java (XMLBeans)
> I use these setting in services.xml:
> <parameter name="useOriginalwsdl">true</parameter>
> <parameter name="modifyUserWSDLPortAddress">true</parameter>
> In Axis2 1.3
> When I call..
> http://localhost:8080/mytomcat/services/Aspect4Users?wsdl
> the ERP returned is:
> location="http://10.150.201.158:8080/mytomcat/services/Aspect4Users"
> Why the IP address? this is useless when exposing the service on the web
> and if I call:
> http://localhost:8080/mytomcat/services/Aspect4Users?wsdl2
> returns:
> address="http://localhost:8080/mytomcat/services/Aspect4Users"
> This is as it should be
> In 1.4RC4
> When I call..
> http://localhost:8080/mytomcat/services/Aspect4Users?wsdl
> the ERP returned is:
> location="http://10.150.201.158:8080/mytomcat/services/Aspect4Users"
> Why the IP address? this is useless when exposing the service on the web
> and when i call:
> http://localhost:8080/mytomcat/services/Aspect4Users?wsdl2
> returns:
> address="http://localhost:7080/jaxws/services/Aspect4Users"
> This is the address from the original WSDL file. Again this is useless
> because I need to deploy this service on 50 different machines..
--
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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]