Hi Oli:
Here is the iterator for determining <service>s in DeploymentEngine.java        
      ArrayList servicelist =
                            populateService(serviceGroup,
                                    servicesURL,
                                    fileUrl.substring(0, 
fileUrl.indexOf(".aar")));
Here is the <documentation> element code from AxisService2WSDL11.java  
OMFactory fac = OMAbstractFactory.getOMFactory();
  wsdl = fac.createOMNamespace("http://schemas.xmlsoap.org/wsdl/";, "wsdl");
  OMElement ele = fac.createOMElement("definitions", wsdl);............ // 
adding documentation element
  // <documentation>&lt;b&gt;NEW!&lt;/b&gt; This method accepts an ISBN
  // string and returns &lt;b&gt;Amazon.co.uk&lt;/b&gt; Sales Rank for
  // that book.</documentation>
  WSDLSerializationUtil.addWSDLDocumentationElement(axisService, ele, fac, 
wsdl); remainder of code populates the attributes and elements of service 
elements into WSDL ..at least as far as the code goes there is no subsitution 
of existing <service> sub-elements but there exists an add  of <documentation> 
element for each ele definition found do you have a testcase we case use?

Thanks!
Martin Gainty 
______________________________________________ 
Verzicht und Vertraulichkeitanmerkung/Note de déni et de confidentialité

Diese Nachricht ist vertraulich. Sollten Sie nicht der vorgesehene Empfaenger 
sein, so bitten wir hoeflich um eine Mitteilung. Jede unbefugte Weiterleitung 
oder Fertigung einer Kopie ist unzulaessig. Diese Nachricht dient lediglich dem 
Austausch von Informationen und entfaltet keine rechtliche Bindungswirkung. 
Aufgrund der leichten Manipulierbarkeit von E-Mails koennen wir keine Haftung 
fuer den Inhalt uebernehmen.
Ce message est confidentiel et peut être privilégié. Si vous n'êtes pas le 
destinataire prévu, nous te demandons avec bonté que pour satisfaire informez 
l'expéditeur. N'importe quelle diffusion non autorisée ou la copie de ceci est 
interdite. Ce message sert à l'information seulement et n'aura pas n'importe 
quel effet légalement obligatoire. Étant donné que les email peuvent facilement 
être sujets à la manipulation, nous ne pouvons accepter aucune responsabilité 
pour le contenu fourni.

 > Date: Fri, 29 Jun 2012 10:47:19 +0100
> From: [email protected]
> To: [email protected]
> Subject: Axis Modifying Provided WSDL
> 
> Hi Guys,
> 
> Axis2 (1.6.1) seems to be removing the subnodes of the <service> element 
> in my provided WSDL and injecting a <documentation> tag. Is this 
> configurable?
> 
> Thanks,
> Oli
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [email protected]
> For additional commands, e-mail: [email protected]
> 
                                          

Reply via email to