
|
If you were logged in you would be able to see more operations.
|
|
|
XFire
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
|
|
|
Environment:
|
XFire Eclipse plugin 1.0.2.xfire122
|
|
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);
|
|
Description
|
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); |
Show » |
|