One way to do this is to hand-edit the WSDL to what you want, and then drop it into the META-INF directory of the AAR file, and edit services.xml to say useOriginalWSDL.
See this post: http://wso2.org/blog/dims/1572 Paul On 9/20/07, Thorsten Sandfuchs <[EMAIL PROTECTED]> wrote: > Hi, > my client libs unfortunatelly are closed source and can't handle your > multiple port-definitions like shown later on. Is there a way to > strip down the "complexity" and various access methods of your > generated WSDL-Form? > > Basically I only want to use SOAP11 ports only and not even provied > the possibility for SOAP12 or HTTPport-bindings. Is there a trick to > trigger this behaviour? > > generated part of the WSDL: > > <wsdl:service name="happy_hour"> > <wsdl:port name="happy_hourSOAP11port_http" > binding="yns:happy_hourSOAP11Binding"> > <soap:address > location="http://localhost:7080/axis2/services/happy_hour" /> > </wsdl:port> > <wsdl:port name="happy_hourSOAP12port_http" > binding="yns:happy_hourSOAP12Binding"> > <soap12:address > location="http://localhost:7080/axis2/services/happy_hour" /> > </wsdl:port> > <wsdl:port name="happy_hourHttpport" > binding="yns:happy_hourHttpBinding"> > <http:address > location="http://localhost:7080/axis2/services/happy_hour" /> > </wsdl:port> > </wsdl:service> > > what would be consumable (I tested this via direct parsing of a > stripped down version of the generated WSDL) would be: > > <wsdl:service name="happy_hour"> > <wsdl:port name="happy_hourSOAP11port_http" > binding="yns:happy_hourSOAP11Binding"> > <soap:address > location="http://localhost:7080/axis2/services/happy_hour"/> > </wsdl:port> > </wsdl:service> > > I could find SOME references with people on the list and > in bugreports, who have similar problems - but didn't find a straight > answer or a configuration option to tune this behaviour. > > I would be very glad if you could pinpoint me to a solution. > > thx in advance, > /Thorsten > -- > > > Thorsten Sandfuchs *** eMail [EMAIL PROTECTED] > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > -- Paul Fremantle Co-Founder and VP of Technical Sales, WSO2 OASIS WS-RX TC Co-chair blog: http://pzf.fremantle.org [EMAIL PROTECTED] "Oxygenating the Web Service Platform", www.wso2.com --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
