axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Lori VanGulick (JIRA)" <>
Subject [jira] Updated: (AXIS2-965) Need a way to build AxisServices for all ports/services in a wsld.
Date Wed, 16 Aug 2006 19:30:14 GMT
     [ ]

Lori VanGulick updated AXIS2-965:

    Attachment: revised-JIRA965patch.txt

I have updated this patch to the new kernel module.  I have verified that the tests still

> Need a way to build AxisServices for all ports/services in a wsld.
> ------------------------------------------------------------------
>                 Key: AXIS2-965
>                 URL:
>             Project: Apache Axis 2.0 (Axis2)
>          Issue Type: Improvement
>          Components: core
>            Reporter: Lori VanGulick
>         Attachments: AXIS2-965patch.txt, revised-JIRA965patch.txt
> WSDL 11 allows multiple services per wsdl file, and multiple ports per service. Currently
unless a service and port name are specified, WSDL11ToAxisServiceBuilder will only return
the first port on the first service. 
> I would like to provide an extension to WSDL11ToAxisServiceBuilder that would take a
wsdl file and return a List of AxisService objects, one for each port in the wsdl.  
> To make this more efficient I will need to make some minor changes to,
>    - restructuring in the populateService method so that all the processing that is not
specific to an AxisService is only done one time.  Move this code to a new method, setup().
 Setup code will include reading in the wsdl file, processing policies, imports, etc.
>    -  make some methods and fields protected instead of private so they can be accessed
by subclasses.
> The new extension is proposed to be org.appache.axis2.description.WSDL11ToAllAxisServicesBuilder.
 It has a public method, popluateAllServices() which operates as follows
>   - calls the setup() method on the parent.  
>   - iterates through all the services and all the ports in the wsdl, setting serviceName
and portName on the parent. 
>   - calls up to populateService() on the parent.  This will return an AxisService specific
to the service and port name specified.  
>   - changes the name on the AxisService to the port name instead of the service name,
so it can be uniquely identified.
>   - returns the List of AxisService objects, one for each port in the wsdl
> I will also make corresponding changes for WSDL 2.0 in
and create

This message is automatically generated by JIRA.
If you think it was sent incorrectly contact one of the administrators:
For more information on JIRA, see:


To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message