[ http://issues.apache.org/jira/browse/AXIS2-1028?page=comments#action_12447668 ] Martin Weindel commented on AXIS2-1028: ---------------------------------------
[[ Old comment, sent by email on Thu, 24 Aug 2006 11:11:46 +0200 ]] Hi Deepal, I'm sorry, but with the nightly build I don't get my stuff running anymore. I don't get a wsdl anymore, but only receive a HTTP 404 error. There are at least two bugs in the ListingAgent class: First in line 91 the query is tested for including '?wsdl' after the first character (line 91 of ListingAgent). But this fails (at least in Jetty, but this behaviour is normal for any servlet container following J2EE standards), as for a http URL e.g. http://localhost/axis2/service/myservice?wsdl you only get "wsdl" if you call getQueryString(). The second problem in the lines 161-170 still exists (and should be fixed by the patch I have attached to the defect report originally). Best regards, Martin > Wrong service location URL in WSDL generated from ListingAgent if servlet > container runs on port 80 > --------------------------------------------------------------------------------------------------- > > Key: AXIS2-1028 > URL: http://issues.apache.org/jira/browse/AXIS2-1028 > Project: Apache Axis 2.0 (Axis2) > Issue Type: Bug > Components: wsdl > Affects Versions: 1.0 > Reporter: Martin Weindel > Assigned To: Deepal Jayasinghe > Priority: Minor > Attachments: ListingAgent.diff, ListingAgent.diff > > > If the servlet container runs on port 80, the location attribute of the > soap::address tag in the WSDL generated from the ListingAgent is wrong. > Example with correct location for port != 80: > <wsdl:service name="ontobroker"> > <wsdl:port binding="wse:ontobrokerSOAP11Binding" > name="ontobrokerSOAP11port0"> > <soap:address location="http://localhost:8267/services/ontobroker"/> > </wsdl:port> > ... > </wsdl:service> > Example with wrong location for port = 80: > <wsdl:service name="ontobroker"> > <wsdl:port binding="wse:ontobrokerSOAP11Binding" > name="ontobrokerSOAP11port0"> > <soap:address > location="http://localhost/services/ontobroker:80/services/ontobroker"/> > </wsdl:port> > ... > </wsdl:service> > I have attached a patch resolving this problem. -- 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 --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
