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 "giovanni zigliara (Commented) (JIRA)" <ji...@apache.org> on 2011/11/07 12:29:51 UTC

[jira] [Commented] (AXIS2-5179) axis2.xml httpFrontendHostUrl parameter seems not to work

    [ https://issues.apache.org/jira/browse/AXIS2-5179?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13145351#comment-13145351 ] 

giovanni zigliara commented on AXIS2-5179:
------------------------------------------

NOTE: if I use an Http URL it works well!

I've changed the axis2.xml config file setting
<parameter name="httpFrontendHostUrl">http://A.b.it/YYY</parameter>
and I've depolyed the services again on my laptop.

Now, Retrieving the wsdl after deployed the services on my laptop (at addresses http://localhost:8080/WS_YYY/services/YYY?wsdl and https://localhost:8181/WS_YYY/services/YYY?wsdl)
returns the correct address:
<soap:address location="http://A.b.it/YYY/services/YYY/" />
                
> axis2.xml httpFrontendHostUrl parameter seems not to work
> ---------------------------------------------------------
>
>                 Key: AXIS2-5179
>                 URL: https://issues.apache.org/jira/browse/AXIS2-5179
>             Project: Axis2
>          Issue Type: Bug
>          Components: wsdl
>    Affects Versions: 1.6.1
>         Environment: OS: Win7; App.Server: Sun GlassFish Enterprise Server v2.1.1
>            Reporter: giovanni zigliara
>
> I'm using Axis2 to expose services over both Http and Https (SSL) and It works great!
> In my wsdl I've set the following:
> <soap:address location="http://127.0.0.1:8080/WS_YYY/services/YYY/" />
> but the services will be exposed by a proxy at the following addresses:
> http://A.b.it/YYY/services/YYY  and  https://Assl.b.it/YYY/services/YYY
> Retrieving the wsdl by adding "?wsdl" to the addresses above returns  <soap:address location="http://privateIP:privatePort/WS_YYY/services/YYY/" />
> Retrieving the wsdl after deployed the services on my laptop (at addresses http://localhost:8080/WS_YYY/services/YYY?wsdl and https://localhost:8181/WS_YYY/services/YYY?wsdl)
> returns <soap:address location="http://localhost:8080/WS_YYY/services/YYY/" />
> So, I've changed the axis2.xml config file setting
> <parameter name="httpFrontendHostUrl">https://Assl.sistri.it/YYY</parameter>
> and I've depolyed the services again on my laptop.
> Now, Retrieving the wsdl after deployed the services on my laptop (at addresses http://localhost:8080/WS_YYY/services/YYY?wsdl and https://localhost:8181/WS_YYY/services/YYY?wsdl)
> returns the following error in both cases:
> HTTP Status 500 - 
> --------------------------------------------------------------------------------
> type Exception report
> message
> descriptionThe server encountered an internal error () that prevented it from fulfilling this request.
> exception 
> org.apache.axis2.AxisFault: Server does not have an epr for the wsdl epr==>http://127.0.0.1:8080/WS_YYY/services/YYY
> note The full stack traces of the exception and its root causes are available in the Sun GlassFish Enterprise Server v2.1.1 logs.
> --------------------------------------------------------------------------------
> (NOTE: I'll post the mentioned log content in a next comment!)
> Also, setting <parameter name="hostname" locked="true">Assl.b.it</parameter> and <parameter name="contextRoot">YYY</parameter>
> is uneffective, the retrieved wsdl has always <soap:address location="http://localhost:8080/WS_YYY/services/YYY/" />.
> Am I doing something wrong? If so, please, which are the correct steps to obtain the expected behaviour?
> Thanks in advance.
> Giovanni

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

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