[
https://issues.apache.org/jira/browse/AXIS2-3205?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Amila Chinthaka Suriarachchi resolved AXIS2-3205.
-------------------------------------------------
Resolution: Won't Fix
Since it is possible to start the code generation with the wsdl containing the
required service. No need this fix.
> org.apache.axis2.description.WSDL11ToAxisServiceBuilder.populateService()
> doesn't support WSDL definition with imported WSDLs
> -----------------------------------------------------------------------------------------------------------------------------
>
> Key: AXIS2-3205
> URL: https://issues.apache.org/jira/browse/AXIS2-3205
> Project: Axis 2.0 (Axis2)
> Issue Type: Bug
> Components: kernel
> Affects Versions: 1.3
> Reporter: Raymond Feng
> Assignee: Amila Chinthaka Suriarachchi
> Attachments: rfeng-findservice.patch
>
>
> We have a case that WSDL definition that has imported definitions. When the
> definition is passed to
> org.apache.axis2.description.WSDL11ToAxisServiceBuilder.findService(Definition),
> the imported definition is not honored. The issue is in the
> findService(Definition) method:
> private Service findService(Definition definition) throws AxisFault {
> Map services = definition.getServices();
> Service service = null;
> if (serviceName != null) {
> // i.e if a user has specified a pirticular port
> service = (Service) services.get(serviceName);
> if (service == null) {
> throw new AxisFault("Service " + serviceName
> + " was not found in the WSDL");
> }
> } else {
> ...
> The fix will be very simple: service = definition.getService(serviceName);
> I'll attach a patch for that.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]