org.apache.tuscany.sca.binding.ws.axis2
Class TuscanyListingAgent
java.lang.Object
ListingAgent
org.apache.tuscany.sca.binding.ws.axis2.TuscanyListingAgent
public class TuscanyListingAgent
- extends ListingAgent
A Tuscany specific Axis2 ListingAgent as the Axis2 one does not work
with the Tuscany service names which include slash ('/') characters.
Unfortunately it ends up having to copy a fair amount of Axis2 code to do this.
Method Summary |
java.lang.String |
extractServiceName(java.lang.String urlString)
This method overrides the Axis2 listing agent's computation of the
service name. |
void |
processListService(HttpServletRequest req,
HttpServletResponse res)
Override ?xsd processing so that WSDL documents with XSD imports
and includes work correctly. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
TuscanyListingAgent
public TuscanyListingAgent(ConfigurationContext aConfigContext)
extractServiceName
public java.lang.String extractServiceName(java.lang.String urlString)
- This method overrides the Axis2 listing agent's computation of the
service name.
processListService
public void processListService(HttpServletRequest req,
HttpServletResponse res)
throws java.io.IOException,
ServletException
- Override ?xsd processing so that WSDL documents with XSD imports
and includes work correctly. When we move to Axis2 1.4, we may
be able to use SchemaSupplier to do this in a cleaner way. Also
ensure that the correct IP address and port are returned by ?wsdl.
- Throws:
java.io.IOException
ServletException