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 "Thomas Neerup (JIRA)" <ji...@apache.org> on 2008/04/09 10:14:24 UTC

[jira] Created: (AXIS2-3719) ?wsdl and ?wsdl2 returns wrong erp

?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.3, 1.4, 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: axis-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-dev-help@ws.apache.org


[jira] Commented: (AXIS2-3719) ?wsdl and ?wsdl2 returns wrong erp

Posted by "Nandana Mihindukulasooriya (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/AXIS2-3719?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12623425#action_12623425 ] 

Nandana Mihindukulasooriya commented on AXIS2-3719:
---------------------------------------------------

Fixed WSDL1.1 to use the ip in the request to generate the EPRs. Have to fix WSDL 2.0.

> ?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
>            Assignee: Keith Godwin Chapman
>            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: axis-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-dev-help@ws.apache.org


[jira] Commented: (AXIS2-3719) ?wsdl and ?wsdl2 returns wrong erp

Posted by "Keith Godwin Chapman (JIRA)" <ji...@apache.org>.
    [ 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: axis-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-dev-help@ws.apache.org


[jira] Commented: (AXIS2-3719) ?wsdl and ?wsdl2 returns wrong erp

Posted by "Thomas Neerup (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/AXIS2-3719?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12587168#action_12587168 ] 

Thomas Neerup commented on AXIS2-3719:
--------------------------------------

It seems to me that when the web service i served from the AxisServlet using http.
The only true erp address should be taken directly from the request url:
http://localhost:8080/mytomcat/services/Aspect4Users?wsdl 
should become
http://localhost:8080/mytomcat/services/Aspect4Users

Anyway. wonder if there is a workaround for this issue?

> ?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: axis-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-dev-help@ws.apache.org


[jira] Assigned: (AXIS2-3719) ?wsdl and ?wsdl2 returns wrong erp

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

Keith Godwin Chapman reassigned AXIS2-3719:
-------------------------------------------

    Assignee: Keith Godwin Chapman

> ?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
>            Assignee: Keith Godwin Chapman
>            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: axis-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-dev-help@ws.apache.org