You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-dev@axis.apache.org by "Amila Chinthaka Suriarachchi (JIRA)" <ji...@apache.org> on 2007/09/18 08:28:43 UTC

[jira] Assigned: (AXIS2-3205) org.apache.axis2.description.WSDL11ToAxisServiceBuilder.populateService() doesn't support WSDL definition with imported WSDLs

     [ https://issues.apache.org/jira/browse/AXIS2-3205?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Amila Chinthaka Suriarachchi reassigned AXIS2-3205:
---------------------------------------------------

    Assignee: Amila Chinthaka Suriarachchi

> 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: axis-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-dev-help@ws.apache.org