FWIW, the original bug in this thread has been fixed in latest nightly.
thanks, dims On 7/14/07, Chad DeBauch <[EMAIL PROTECTED]> wrote:
Jared...you can just hard code the endpoint and the wsdl instead of having Axis2 generate it for you. Here's how. You must make sure that your wsdl is in the META-INF folder of your aar file and that your wsdl service element is the same name as the service element in the services.xml file. You must also have these two elements set in the services.xml file as such: <parameter locked="false" name="useOriginalwsdl">true</parameter> <parameter locked="false" name="modifyUserWSDLPortAddress">false</parameter> Axis2 will then use your wsdl and the endpoint you have defined and display that. Chad On 7/13/07, Joshua Kolash < [EMAIL PROTECTED]> wrote: > I've encountered the same problem Jared Blitzstein has today, and I think I know why it is happening. > > It seems that the org.apache.axis2.transport.http.AxisServlet and other classes implementation of the interface method org.apache.axis2.transport.TransportListener.getEPRsForService() is hardcoded to use http > > The only one that will return https is a private class in ListingAgent > > I think if the AxisServlet is accessible to both http and https it should return more than 1 ERP, i.e. 1 for http 1 for https. Here is the current implementation in AxisServlet as of 1.2 > > public EndpointReference[] getEPRsForService(String serviceName, String ip) throws AxisFault { > //RUNNING_PORT > String port = (String) configContext.getProperty(ListingAgent.RUNNING_PORT); > if (port == null) { > port = "8080"; > } > if (ip == null) { > try { > ip = HttpUtils.getIpAddress(); > if (ip == null) { > ip = "localhost"; > } > } catch (SocketException e) { > throw new AxisFault(e); > } > } > > > EndpointReference endpoint = new EndpointReference("http://" + ip + ":" + port + '/' + > configContext > .getServiceContextPath() + > "/" + > serviceName); > > return new EndpointReference[]{endpoint}; > } >
-- Davanum Srinivas :: http://davanum.wordpress.com --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]