Hi Indika, The WSDL I'm using has been generated by and deployed within Axis2. So I guess that the WSDL is valid.
About your remark "may be resolving schema, if there are any". The WSDL contains XSD:import statements. Could this be the cause of the generated error ? If it's the case, how can this issue be solved ? Regards, Stefan. indika kumara-2 wrote: > > Hi stlecho > > Unfortunately, in the ‘WSDL11EndpointBuilder’, we have ignored the error > messages for ‘malformed xml - XMLStreamException ‘and > ‘errors when creating the wsdl definition instance using WSDLReader – > WSDLException’. It seems issue is with WSDL – may be resolving schema, > if there are any. > > Thanks > Indika > > > stlecho wrote: >> Hi, >> >> When adding a WSDL Endpoint, I'm receiving an error: "Error retrieving >> the >> WSDL definition from the inline WSDL". I've specified the WSDL URI, >> Service >> and Port. The WSDL is online accessible and is an Axis2-based deployment. >> >> PS: If required, I can send the WSDL privately. >> >> 2009-02-20 09:12:37,586 [-] [http-9443-Processor2] ERROR >> WSDL11EndpointBuilder Error retrieving the WSDL definition from the >> inline >> WSDL. >> 2009-02-20 09:12:37,586 [-] [http-9443-Processor2] ERROR EndpointFactory >> Couldn't create endpoint from the given WSDL URI : Error retrieving the >> WSDL >> definition from the inline WSDL. >> org.apache.synapse.SynapseException: Error retrieving the WSDL definition >> from the inline WSDL. >> at >> org.apache.synapse.config.xml.endpoints.utils.WSDL11EndpointBuilder.handleException(WSDL11EndpointBuilder.java:198) >> at >> org.apache.synapse.config.xml.endpoints.utils.WSDL11EndpointBuilder.createEndpointDefinitionFromWSDL(WSDL11EndpointBuilder.java:98) >> at >> org.apache.synapse.config.xml.endpoints.WSDLEndpointFactory.createEndpoint(WSDLEndpointFactory.java:121) >> at >> org.apache.synapse.config.xml.endpoints.EndpointFactory.getEndpointFromElement(EndpointFactory.java:63) >> at >> org.apache.synapse.config.xml.SynapseXMLConfigurationFactory.defineEndpoint(SynapseXMLConfigurationFactory.java:202) >> at >> org.wso2.carbon.endpoint.service.EndpointAdmin.addEndpoint(EndpointAdmin.java:269) >> >> >> > > > _______________________________________________ > Esb-java-user mailing list > [email protected] > https://wso2.org/cgi-bin/mailman/listinfo/esb-java-user > > -- View this message in context: http://www.nabble.com/Error-retrieving-the-WSDL-definition-from-the-inline-WSDL-tp22116772p22164550.html Sent from the WSO2 ESB Users mailing list archive at Nabble.com. _______________________________________________ Esb-java-user mailing list [email protected] https://wso2.org/cgi-bin/mailman/listinfo/esb-java-user
