AXIS2 1.0 get wsdl always contains address like
http://hostname:8080/axis2/service.. in the WSDL services - address - location
-------------------------------------------------------------------------------------------------------------------------------
Key: AXIS2-700
URL: http://issues.apache.org/jira/browse/AXIS2-700
Project: Apache Axis 2.0 (Axis2)
Type: Bug
Components: core
Versions: 1.0
Environment: Windows 2K3 server, JDK 1.5, Eclipse 3.1 + tomcat plugin.
Reporter: Qi An
Priority: Critical
Sounds like axis2 1.0 always put http://...:port_no/axis2/services as service -
address location no matter what is your web service URI.
What I did
1. Download axis2 1.0 binary/source/war and set them up.
2. Create a tomcat project inside eclipse and set context to /axis210sample
3. Start tomcat and run http://localhost:8080/axis210sample - Services -
version
4. I expected WSDL service address location should be
http://localhost:8080/axis210sample/services/version but axis2 1.0 always give
me http:/localhost:8080/axis2/services/version inside WSDL file.
5. Later I am using Visual Studio 2005 to create a windows application and add
version service as an Web References. Then run windows application - I always
get exception. then I modified WSDL file which return to VS from provider and
modify service address location to
http://localhost:8080/axis210sample/services/version, rerun
MSDiscoCodeGenerator. it's working fine.
look at the code, sounds like in AxisServlet.class there is a method
getEPRForService, always set epr to http://....:port_no/axis2/services.
--
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