History | Log In     View a printable version of the current page.  
Issue Details (XML | Word | Printable)

Key: XFIRE-779
Type: Bug Bug
Status: Resolved Resolved
Resolution: Fixed
Priority: Critical Critical
Assignee: Tomasz Sztelak
Reporter: Wolf Siberski
Votes: 0
Watchers: 1
Operations

If you were logged in you would be able to see more operations.
XFire

Generator creates duplicate Credentials parameter from eBay wsdl

Created: 27/Nov/06 03:35 PM   Updated: 12/Mar/07 09:42 AM
Component/s: Generator
Affects Version/s: 1.2.2
Fix Version/s: 1.2.5

Time Tracking:
Not Specified

Environment: XFire Eclipse plugin 1.0.2.xfire122


 Description  « Hide
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);



 All   Comments   Work Log   Change History      Sort Order: Ascending order - Click to sort in descending order
Tomasz Sztelak - 12/Mar/07 09:42 AM
Fixed in svn