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 "Guillaume Sauthier (JIRA)" <ax...@ws.apache.org> on 2004/12/09 16:47:26 UTC

[jira] Updated: (AXIS-1711) Service.getCalls(QName) always throws a ServiceException when invoked from Locator

     [ http://nagoya.apache.org/jira/browse/AXIS-1711?page=history ]

Guillaume Sauthier updated AXIS-1711:
-------------------------------------

    Attachment: axis-serviceimplwriter-patch.txt

add Locator constructor to be called to avoid ServiceException in getCalls(QName)

> Service.getCalls(QName) always throws a ServiceException when invoked from Locator
> ----------------------------------------------------------------------------------
>
>          Key: AXIS-1711
>          URL: http://nagoya.apache.org/jira/browse/AXIS-1711
>      Project: Axis
>         Type: Bug
>   Components: Basic Architecture
>     Versions: 1.2RC2
>  Environment: JOnAS 4.3.0+
>     Reporter: Guillaume Sauthier
>  Attachments: axis-serviceimplwriter-patch.txt
>
> The Service.getCalls(QName) method is throwing a ServiceException ("Missing WSDL document") when it is called from a Locator.
> That's because Service.wsdlService is always null when using *Locator instances of Service : wsdlService is usually set in initService() (called from some Service constructors, but not all), but *Locator constructors only call Service() and Service(EngineConfiguration) (that don't call initService()).
> We can solute this by providing a third contructor for Locator that takes the WSDL Location + the Service QName.
> What do you think ?

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://nagoya.apache.org/jira/secure/Administrators.jspa
-
If you want more information on JIRA, or have a bug to report see:
   http://www.atlassian.com/software/jira