Generator creates duplicate Credentials parameter from eBay wsdl
----------------------------------------------------------------

                 Key: XFIRE-779
                 URL: http://jira.codehaus.org/browse/XFIRE-779
             Project: XFire
          Issue Type: Bug
          Components: Generator
    Affects Versions: 1.2.2
         Environment: XFire Eclipse plugin 1.0.2.xfire122
            Reporter: Wolf Siberski
         Assigned To: Dan Diephouse
            Priority: Critical


When using XFire to create a client from eBaySvc.wsdl (downloadable from 
http://developer.ebay.com/webservices/latest/eBaySvc.wsdl),
it creates the Parameter containing the Credentials twice.
For example, a service call is declared as

   @WebMethod(operationName = "GetCategories", action = "")
    @WebResult(name = "GetCategoriesResponse", targetNamespace = 
"urn:ebay:apis:eBLBaseComponents")
    public GetCategoriesResponseType getCategories(
        @WebParam(name = "GetCategoriesRequest", targetNamespace = 
"urn:ebay:apis:eBLBaseComponents")
        GetCategoriesRequestType GetCategoriesRequest,
        @WebParam(name = "RequesterCredentials", targetNamespace = 
"urn:ebay:apis:eBLBaseComponents", header = true)
        CustomSecurityHeaderType RequesterCredentials,
        @WebParam(name = "RequesterCredentials", targetNamespace = 
"urn:ebay:apis:eBLBaseComponents", mode = WebParam.Mode.OUT, header = true)
        Holder<CustomSecurityHeaderType> RequesterCredentials2);

but it should be just

   @WebMethod(operationName = "GetCategories", action = "")
    @WebResult(name = "GetCategoriesResponse", targetNamespace = 
"urn:ebay:apis:eBLBaseComponents")
    public GetCategoriesResponseType getCategories(
        @WebParam(name = "GetCategoriesRequest", targetNamespace = 
"urn:ebay:apis:eBLBaseComponents")
        GetCategoriesRequestType GetCategoriesRequest,
        @WebParam(name = "RequesterCredentials", targetNamespace = 
"urn:ebay:apis:eBLBaseComponents", header = true)
        CustomSecurityHeaderType RequesterCredentials);

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

---------------------------------------------------------------------
To unsubscribe from this list please visit:

    http://xircles.codehaus.org/manage_email

Reply via email to