You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-user@axis.apache.org by "Kedar, Shahar" <Sh...@softwareag.com> on 2006/10/05 18:19:57 UTC

[Axis2] ServiceClient fails to read WSDL

Hi,

 

I'm getting the following exception when trying to initialize a new
ServiceClient:

 

org.apache.axis2.AxisFault: WSDLExceptionWSDLException (at
/SOAP-ENV:Envelope): faultCode=INVALID_WSDL: Expected element
'{http://schemas.xmlsoap.org/wsdl/}definitions'.

 

My code is:

 

ServiceClient client = new
ServiceClient(ConfigurationContextFactory.createEmptyConfigurationContex
t(),new URL(procedure.getURL()),new QName("Complexlnput"), null);

 

I've also attached the WSDL file.

 

Please let me know if this is a bug, and I will open a JIRA.

 

Thanks,

Shahar Kedar