Does it really work?

I tried setting the param in my service.xml file and still see the one
generated by axis engine? I do not see my own WSDL.

 

<serviceGroup>

<service name="CertifyChannel">

<module ref="logging"/>

 

<module ref="rampart"/>

 

<parameter name="useOriginalWSDL">true</parameter>

 

Is there some other place I have to substitute this value??

 

-Vibhor

 

________________________________

From: D P [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, March 21, 2007 12:01 PM
To: [email protected]
Subject: Axis 2 v1.1.1: disabling auto generated WSDL file

 

Hello all,
When a client queries the service wsdl at http://../../serviceName?wsdl,
I would like the service to return the wsdl which I packaged in the .aar
file, _not_ an auto generated wsdl.  I came across a possible solution
here: http://www.mail-archive.com/[email protected]/msg25033.html.

1.  It appears though there are some issues with the solution.  Does
anyone know if this works for sure? 

2.  After implementing the solution in my services.xml file, i noticed 2
things:  
a.) i've refactored out some schema into an xsd file, and import it to
multiple wsdls.  A copy of the xsd file is packaged with each wsdl and
the code to import the xsd uses schemaLocation=" foo.xsd".  But when I
look at the wsdl file at http://../../serviceName?wsdl, the
schemaLocation element value is now
schemaLocation="serviceName?xsd=xsd0".  Why is this happening?

b) When I look at the wsdl file at http://../../serviceName?wsdl, i
notice that wsdl:portType/wsdl:operation/wsdl:input and
wsdl:portType/wsdl:operation/wsdl:output have a wsaw:Action, whereas the
original wsdl I packaged with the .aar does not. Why is this happening? 

Any feedback would be appreciated.

Reply via email to