Hi stefan

Could you check the JIRA at [1] .(Not a WSDL endpoint , but a proxy service with a WSDL ... but issue may be same). There is a mytest.zip file attached with the JIRA and within it there is WSDL with schema imports that cause issues . This issue is only fixed in synapse trunk and not with ESB 2.0.

Could you try to create a ProxyService with same WSDL.?. Here , if there are any errors , those are definitely logged - not like WSDL endpoint .

Could you post here a WSDL similar to WSDL the cause error - may be creating a dummy service..

Thanks
Indika

[1] https://issues.apache.org/jira/browse/SYNAPSE-442


stlecho wrote:
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




_______________________________________________
Esb-java-user mailing list
[email protected]
https://wso2.org/cgi-bin/mailman/listinfo/esb-java-user

Reply via email to