Dear Axis2 team
I am using your java2wsdl plugin to convert classes from java to wsdl to
.Net classes. In most cases is works very good but with the following I have
a big problem.
When a method has a throw declaration like
void createWithId(String id, ConnectorDescription connectorDescription)
throws ConnectorValidationFailedException;
then the corresponding part in the WSDL is the following:
<wsdl:operation name="createWithId">
<wsdl:input message="ns:createWithIdRequest"
wsaw:Action="urn:createWithId"/>
<wsdl:output message="ns:null"
wsaw:Action="urn:createWithIdResponse"/>
<wsdl:fault
message="ns:ConnectorManagerConnectorValidationFailedException"
name="ConnectorManagerConnectorValidationFailedException"
wsaw:Action="urn:createWithIdConnectorManagerConnectorValidationFailedExcept
ion"/>
</wsdl:operation>
When I use wsdl.exe (A similar behavior with svcutil) to convert it, I get
the following error message:
Microsoft (R) Web Services Description Language Utility
[Microsoft (R) .NET Framework, Version 4.0.30319.1]
Copyright (C) Microsoft Corporation. All rights reserved.
Error: Element message named null from namespace
http://api.core.openengsb.org is missing.
If you would like more help, please type "wsdl /?".
I figured out, that wsdl.exe search for the type ns:null and couldnt find
it. I used the 1.7.0-SNAPSHOT version.
Do you have an idea, how this problem can be solved?
Thank you very much
Best regards
François Thillen