Axis2 1.2/Tomcat 5.5.9
I have put the following in my services.xml file, as suggested on this
list:
<parameter locked="false" name="useOriginalwsdl">true</parameter>
<parameter locked="false"
name="modifyUserWSDLPortAddress">true</parameter>
I want the server to supply the original WSDL file but allow it to
modify the port address. The original WSDL file is in the META-INF
directory. Despite this, it fails with an error in IE:
- <error>
<description>Unable to generate WSDL 1.1 for this
service</description>
<reason>If you wish Axis2 to automatically generate the WSDL 1.1, then
please +set useOriginalwsdl as false in your services.xml</reason>
</error>
Which is a bit odd because I wasn't asking it to generate the WSDL.
If I run in debug, it drops into:
...
public void printWSDL(OutputStream out, String requestIP, String
servicePath) throws AxisFault {
if (isUseUserWSDL()) {
Parameter wsld4jdefinition =
getParameter(WSDLConstants.WSDL_4_J_DEFINITION);
if (wsld4jdefinition != null) {
...
It fails at this point because it can't get this parameter. Is this a
parameter that I was supposed to add? If so, what value has it?
Cheers, Des
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]