You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-user@axis.apache.org by Oliver Heard <ol...@afinite.co.uk> on 2012/06/29 11:47:19 UTC
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: java-user-unsubscribe@axis.apache.org
For additional commands, e-mail: java-user-help@axis.apache.org
RE: Axis Modifying Provided WSDL
Posted by Martin Gainty <mg...@hotmail.com>.
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><b>NEW!</b> This method accepts an ISBN
// string and returns <b>Amazon.co.uk</b> 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: oliver@afinite.co.uk
> To: java-user@axis.apache.org
> 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: java-user-unsubscribe@axis.apache.org
> For additional commands, e-mail: java-user-help@axis.apache.org
>