Hi all,
I am using latest Axis2 1.4.1. In my axis2.xml I have set "useOriginalwsdl =
true". The AAR I am deploying has a WSDL that in turn imports another WSDL.
This is specified in the following way:

<import namespace="
http://multiarray.interoperability.wsstack.softwareag.com/ext/";
location="MultiDimentionalArrayInteropTestServiceExt.wsdl"/>

As you can see a relative path is used. The problem is that when I query the
wsdl of the service ("...?wsdl") then in
org.apache.axis2.description.AxisService are invoked first    public void
printUserWSDL(OutputStream out, String wsdlName)  then the private void
printDefinitionObject(Definition definition, OutputStream out, String
requestIP) methods.
I am not that sure I understand the sense of wsdlImportLocationAdjusted used
here. We have in printDefinitionObject(..) :

        if (!wsdlImportLocationAdjusted) {
            changeImportAndIncludeLocations(definition);
            wsdlImportLocationAdjusted = true;
        }
The importand line here is wsdlImportLocationAdjusted = true; The problem
here is that when I make again a request for the WSDL the above excerpt of
code is not executed since
wsdlImportLocationAdjusted = true? I think this is not correct.
This question is related to https://issues.apache.org/jira/browse/AXIS2-1790;
that we want to fix.

Please, give your comments on this.

Thank you in advance,
Dobri

Reply via email to