axis-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From silver17 <>
Subject useOriginalWsdl generates error when set to true.
Date Wed, 23 Apr 2008 15:12:43 GMT

Hi guys,

I've been working on an Axis2 service and keep getting the same error.  What
I WANT to do is use the original wsdl but modify the soap address and I
can't seem to do that.  When I access the wsdl I would like to set the
original wsdl to true and access the service at: but I get the error:

<description>Unable to generate WSDL 1.1 for this service</description>
If you wish Axis2 to automatically generate the WSDL 1.1, then please +set
useOriginalwsdl as false in your services.xml

As a result I am forced the use the address with a .wsdl suffix when
referencing my service via clients.  It works, but since it doesn't modify
the wsdl port address I must manually modify the URL on the client side,
which is needless work. I'm currently using Axis2.1.3 on OAS.

My service.xml

<?xml version="1.0" encoding="UTF-8"?>
    <service name="ExtractAAFCProfile">
            <messageReceiver mep=""
        <parameter name="useOriginalwsdl">true</parameter>
        <parameter name="modifyUserWSDLPortAddress">true</parameter>
        <operation name="ExtractAAFCProfile"

My wsdl service name:

	<wsdl:service name="ExtractAAFCProfile">
		<wsdl:port name="ExtractAAFCProfileSOAP12port_http"
				location="http://localhost:8080/axis2/services/ExtractAAFCProfile" />
		<wsdl:port name="ExtractAAFCProfileSOAP11port_http"
				location="http://localhost:8080/axis2/services/ExtractAAFCProfile" />

View this message in context:
Sent from the Axis - User mailing list archive at

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message