1 package ebay.server; 2 import javax.jws.WebService; 3 import javax.xml.ws.*; 4 import ebay.apis.*; 5 import java.util.HashMap ; 6 import java.util.Map ; 7 8 @WebService(serviceName = "eBayAPIInterfaceService", portName = "eBayAPI", endpointInterface = "ebay.apis.EBayAPIInterface", targetNamespace = "urn:ebay:apis:eBLBaseComponents", wsdlLocation = "META-INF/wsdl/eBaySvc.wsdl") 9 public class Ebay implements EBayAPIInterface { 10 11 private Map <String , ItemType> items; 12 13 public Ebay () { 14 items = new HashMap <String , ItemType>(); 15 ItemType item = new ItemType(); 16 item.setItemID("9720685987"); 17 item.setDescription("New Sun Blade 1000 (dual 750Mhz 8MB cache/4GB ram/DVD/2x36)"); 18 item.setTitle("Sun Blade 1000 (dual 750Mhz 8MB cache/4GB ram/DVD/2x36)"); 19 AmountType amount = new AmountType(); 20 amount.setValue(1975.99); 21 amount.setCurrencyID(CurrencyCodeType.USD); 22 item.setBuyItNowPrice(amount); 23 PictureDetailsType picDetails = new PictureDetailsType(); 24 picDetails.setGalleryURL("http://localhost:7070/ImageProvider/sun_blade_1000_h400px.jpg"); 25 item.setPictureDetails(picDetails); 26 items.put(item.getItemID(), item); 27 items.put("1", item); 28 29 item = new ItemType(); 30 item.setItemID("9723025228"); 31 item.setDescription("Sun Enterprise E15K Server (Sun E15K)72x900MHz, 144GB"); 32 item.setTitle("Sun Enterprise E15K Server (Sun E15K) 72x900MHz,144GB"); 33 amount = new AmountType(); 34 amount.setValue(99500.00 ); 35 amount.setCurrencyID(CurrencyCodeType.USD); 36 item.setBuyItNowPrice(amount); 37 picDetails = new PictureDetailsType(); 38 picDetails.setGalleryURL("http://localhost:7070/ImageProvider/Sun_Fire_E20K_Server.jpg"); 39 item.setPictureDetails(picDetails); 40 items.put(item.getItemID(), item); 41 items.put("2", item); 42 43 item = new ItemType(); 44 item.setItemID("9722594617"); 45 item.setDescription("SUN Blade 150 / A41-UTA19C512MDL/650MHz/512MB/80GB/DVD"); 46 item.setTitle("SUN Blade 150 / A41-UTA19C512MDL/650MHz/512MB/80GB/DVD"); 47 amount = new AmountType(); 48 amount.setValue(1095.00); 49 amount.setCurrencyID(CurrencyCodeType.USD); 50 item.setBuyItNowPrice(amount); 51 picDetails = new PictureDetailsType(); 52 picDetails.setGalleryURL("http://localhost:7070/ImageProvider/8d_2.JPG"); 53 item.setPictureDetails(picDetails); 54 items.put(item.getItemID(), item); 55 items.put("3", item); 56 } 57 58 public AddDisputeResponseType addDispute(AddDisputeRequestType 59 addDisputeRequest) 60 { 61 return null; 62 } 63 64 public AddDisputeResponseResponseType addDisputeResponse(AddDisputeResponseRequestType addDisputeResponseRequest) { 65 return null; 66 } 67 68 public AddItemResponseType 69 addItem(AddItemRequestType addItemRequest) 70 { 71 return null; 72 } 73 74 public AddLiveAuctionItemResponseType 75 addLiveAuctionItem(AddLiveAuctionItemRequestType 76 addLiveAuctionItemRequest) { 77 return null; 78 } 79 80 public AddMemberMessageResponseType 81 addMemberMessage(AddMemberMessageRequestType 82 addMemberMessageRequest) { 83 return null; 84 } 85 86 public 87 AddMemberMessagesAAQToBidderResponseType 88 addMemberMessagesAAQToBidder(AddMemberMessagesAAQToBidderRequestType 89 addMemberMessagesAAQToBidderRequest) { 90 return null; 91 } 92 93 public AddOrderResponseType 94 addOrder(AddOrderRequestType 95 addOrderRequest) { 96 return null; 97 } 98 99 public AddSecondChanceItemResponseType 100 addSecondChanceItem(AddSecondChanceItemRequestType 101 addSecondChanceItemRequest) { 102 return null; 103 } 104 105 public AddToItemDescriptionResponseType 106 addToItemDescription(AddToItemDescriptionRequestType 107 addToItemDescriptionRequest) { 108 return null; 109 } 110 111 public AddToWatchListResponseType 112 addToWatchList(AddToWatchListRequestType 113 addToWatchListRequest) { 114 return null; 115 } 116 117 public 118 ApproveLiveAuctionBiddersResponseType 119 approveLiveAuctionBidders(ApproveLiveAuctionBiddersRequestType 120 approveLiveAuctionBiddersRequest) { 121 return null; 122 } 123 124 public CompleteSaleResponseType 125 completeSale(CompleteSaleRequestType 126 completeSaleRequest) { 127 return null; 128 } 129 130 public DeleteMyMessagesResponseType 131 deleteMyMessages(DeleteMyMessagesRequestType 132 deleteMyMessagesRequest) { 133 return null; 134 } 135 136 public EndItemResponseType 137 endItem(EndItemRequestType endItemRequest) 138 { 139 return null; 140 } 141 142 public FetchTokenResponseType 143 fetchToken(FetchTokenRequestType 144 fetchTokenRequest) { 145 return null; 146 } 147 148 public GetAccountResponseType 149 getAccount(GetAccountRequestType 150 getAccountRequest) { 151 return null; 152 } 153 154 public GetAdFormatLeadsResponseType 155 getAdFormatLeads(GetAdFormatLeadsRequestType 156 getAdFormatLeadsRequest) { 157 return null; 158 } 159 160 public GetAllBiddersResponseType 161 getAllBidders(GetAllBiddersRequestType 162 getAllBiddersRequest) { 163 return null; 164 } 165 166 public GetApiAccessRulesResponseType 167 getApiAccessRules(GetApiAccessRulesRequestType 168 getApiAccessRulesRequest) { 169 return null; 170 } 171 172 public GetAttributesCSResponseType 173 getAttributesCS(GetAttributesCSRequestType 174 getAttributesCSRequest) { 175 return null; 176 } 177 178 public GetAttributesXSLResponseType 179 getAttributesXSL(GetAttributesXSLRequestType 180 getAttributesXSLRequest) { 181 return null; 182 } 183 184 public GetBestOffersResponseType 185 getBestOffers(GetBestOffersRequestType 186 getBestOffersRequest) { 187 return null; 188 } 189 190 public GetBidderListResponseType 191 getBidderList(GetBidderListRequestType 192 getBidderListRequest) { 193 return null; 194 } 195 196 public GetCategoriesResponseType 197 getCategories(GetCategoriesRequestType 198 getCategoriesRequest) { 199 return null; 200 } 201 202 public GetCategory2CSResponseType 203 getCategory2CS(GetCategory2CSRequestType 204 getCategory2CSRequest) { 205 return null; 206 } 207 208 public 209 GetCategory2FinanceOfferResponseType 210 getCategory2FinanceOffer(GetCategory2FinanceOfferRequestType 211 getCategory2FinanceOfferRequest) { 212 return null; 213 } 214 215 public GetCategoryFeaturesResponseType 216 getCategoryFeatures(GetCategoryFeaturesRequestType 217 getCategoryFeaturesRequest) { 218 return null; 219 } 220 221 public GetCategoryListingsResponseType 222 getCategoryListings(GetCategoryListingsRequestType 223 getCategoryListingsRequest) { 224 return null; 225 } 226 227 public GetCategoryMappingsResponseType 228 getCategoryMappings(GetCategoryMappingsRequestType 229 getCategoryMappingsRequest) { 230 return null; 231 } 232 233 public GetCharitiesResponseType 234 getCharities(GetCharitiesRequestType 235 getCharitiesRequest) { 236 return null; 237 } 238 239 public GetCrossPromotionsResponseType 240 getCrossPromotions(GetCrossPromotionsRequestType 241 getCrossPromotionsRequest) { 242 return null; 243 } 244 245 public 246 GetDescriptionTemplatesResponseType 247 getDescriptionTemplates(GetDescriptionTemplatesRequestType 248 getDescriptionTemplatesRequest) { 249 return null; 250 } 251 252 public GetDisputeResponseType 253 getDispute(GetDisputeRequestType 254 getDisputeRequest) { 255 return null; 256 } 257 258 public GetFeedbackResponseType 259 getFeedback(GetFeedbackRequestType 260 getFeedbackRequest) { 261 return null; 262 } 263 264 public GetFinanceOffersResponseType 265 getFinanceOffers(GetFinanceOffersRequestType 266 getFinanceOffersRequest) { 267 return null; 268 } 269 270 public GetHighBiddersResponseType 271 getHighBidders(GetHighBiddersRequestType 272 getHighBiddersRequest) { 273 return null; 274 } 275 276 public GetItemResponseType 277 getItem(GetItemRequestType getItemRequest) 278 { 279 GetItemResponseType response = new GetItemResponseType(); 280 ItemType item = items.get(getItemRequest.getItemID()); 282 response.setItem(item); 283 return response; 284 } 285 286 public 287 GetItemRecommendationsResponseType 288 getItemRecommendations(GetItemRecommendationsRequestType 289 getItemRecommendationsRequest) { 290 return null; 291 } 292 293 public GetItemShippingResponseType 294 getItemShipping(GetItemShippingRequestType 295 getItemShippingRequest) { 296 return null; 297 } 298 299 public GetItemTransactionsResponseType 300 getItemTransactions(GetItemTransactionsRequestType 301 getItemTransactionsRequest) { 302 return null; 303 } 304 305 public 306 GetItemsAwaitingFeedbackResponseType 307 getItemsAwaitingFeedback(GetItemsAwaitingFeedbackRequestType 308 getItemsAwaitingFeedbackRequest) { 309 return null; 310 } 311 312 public 313 GetLiveAuctionBiddersResponseType 314 getLiveAuctionBidders(GetLiveAuctionBiddersRequestType 315 getLiveAuctionBiddersRequest) { 316 return null; 317 } 318 319 public 320 GetLiveAuctionCatalogDetailsResponseType 321 getLiveAuctionCatalogDetails(GetLiveAuctionCatalogDetailsRequestType 322 getLiveAuctionCatalogDetailsRequest) { 323 return null; 324 } 325 326 public GetMemberMessagesResponseType 327 getMemberMessages(GetMemberMessagesRequestType 328 getMemberMessagesRequest) { 329 return null; 330 } 331 332 public GetMyMessagesResponseType 333 getMyMessages(GetMyMessagesRequestType 334 getMyMessagesRequest) { 335 return null; 336 } 337 338 public GetMyeBayResponseType 339 getMyeBay(GetMyeBayRequestType 340 getMyeBayRequest) { 341 return null; 342 } 343 344 public GetMyeBayBuyingResponseType 345 getMyeBayBuying(GetMyeBayBuyingRequestType 346 getMyeBayBuyingRequest) { 347 return null; 348 } 349 350 public GetMyeBayRemindersResponseType 351 getMyeBayReminders(GetMyeBayRemindersRequestType 352 getMyeBayRemindersRequest) { 353 return null; 354 } 355 356 public GetMyeBaySellingResponseType 357 getMyeBaySelling(GetMyeBaySellingRequestType 358 getMyeBaySellingRequest) { 359 return null; 360 } 361 362 public 363 GetNotificationPreferencesResponseType 364 getNotificationPreferences(GetNotificationPreferencesRequestType 365 getNotificationPreferencesRequest) { 366 return null; 367 } 368 369 public 370 GetNotificationsUsageResponseType 371 getNotificationsUsage(GetNotificationsUsageRequestType 372 getNotificationsUsageRequest) { 373 return null; 374 } 375 376 public GetOrderTransactionsResponseType 377 getOrderTransactions(GetOrderTransactionsRequestType 378 getOrderTransactionsRequest) { 379 return null; 380 } 381 382 public GetOrdersResponseType 383 getOrders(GetOrdersRequestType 384 getOrdersRequest) { 385 return null; 386 } 387 388 public 389 GetPictureManagerDetailsResponseType 390 getPictureManagerDetails(GetPictureManagerDetailsRequestType 391 getPictureManagerDetailsRequest) { 392 return null; 393 } 394 395 public 396 GetPictureManagerOptionsResponseType 397 getPictureManagerOptions(GetPictureManagerOptionsRequestType 398 getPictureManagerOptionsRequest) { 399 return null; 400 } 401 402 public GetPopularKeywordsResponseType 403 getPopularKeywords(GetPopularKeywordsRequestType 404 getPopularKeywordsRequest) { 405 return null; 406 } 407 408 public 409 GetProductFamilyMembersResponseType 410 getProductFamilyMembers(GetProductFamilyMembersRequestType 411 getProductFamilyMembersRequest) { 412 return null; 413 } 414 415 public GetProductFinderResponseType 416 getProductFinder(GetProductFinderRequestType 417 getProductFinderRequest) { 418 return null; 419 } 420 421 public GetProductFinderXSLResponseType 422 getProductFinderXSL(GetProductFinderXSLRequestType 423 getProductFinderXSLRequest) { 424 return null; 425 } 426 427 public GetProductSearchPageResponseType 428 getProductSearchPage(GetProductSearchPageRequestType 429 getProductSearchPageRequest) { 430 return null; 431 } 432 433 public 434 GetProductSearchResultsResponseType 435 getProductSearchResults(GetProductSearchResultsRequestType 436 getProductSearchResultsRequest) { 437 return null; 438 } 439 440 public 441 GetProductSellingPagesResponseType 442 getProductSellingPages(GetProductSellingPagesRequestType 443 getProductSellingPagesRequest) { 444 return null; 445 } 446 447 public GetPromotionRulesResponseType 448 getPromotionRules(GetPromotionRulesRequestType 449 getPromotionRulesRequest) { 450 return null; 451 } 452 453 public GetRecommendationsResponseType 454 getRecommendations(GetRecommendationsRequestType 455 getRecommendationsRequest) { 456 return null; 457 } 458 459 public GetReturnURLResponseType 460 getReturnURL(GetReturnURLRequestType 461 getReturnURLRequest) { 462 return null; 463 } 464 465 public GetRuNameResponseType 466 getRuName(GetRuNameRequestType 467 getRuNameRequest) { 468 return null; 469 } 470 471 public GetSearchResultsResponseType 472 getSearchResults(GetSearchResultsRequestType 473 getSearchResultsRequest) { 474 return null; 475 } 476 477 public GetSellerEventsResponseType 478 getSellerEvents(GetSellerEventsRequestType 479 getSellerEventsRequest) { 480 return null; 481 } 482 483 public GetSellerListResponseType 484 getSellerList(GetSellerListRequestType 485 getSellerListRequest) { 486 return null; 487 } 488 489 public GetSellerPaymentsResponseType 490 getSellerPayments(GetSellerPaymentsRequestType 491 getSellerPaymentsRequest) { 492 return null; 493 } 494 495 public 496 GetSellerTransactionsResponseType 497 getSellerTransactions(GetSellerTransactionsRequestType 498 getSellerTransactionsRequest) { 499 return null; 500 } 501 502 public GetStoreResponseType 503 getStore(GetStoreRequestType 504 getStoreRequest) { 505 return null; 506 } 507 508 public 509 GetStoreCategoryUpdateStatusResponseType 510 getStoreCategoryUpdateStatus(GetStoreCategoryUpdateStatusRequestType 511 getStoreCategoryUpdateStatusRequest) { 512 return null; 513 } 514 515 public GetStoreCustomPageResponseType 516 getStoreCustomPage(GetStoreCustomPageRequestType 517 getStoreCustomPageRequest) { 518 return null; 519 } 520 521 public GetStoreOptionsResponseType 522 getStoreOptions(GetStoreOptionsRequestType 523 getStoreOptionsRequest) { 524 return null; 525 } 526 527 public GetStorePreferencesResponseType 528 getStorePreferences(GetStorePreferencesRequestType 529 getStorePreferencesRequest) { 530 return null; 531 } 532 533 public 534 GetSuggestedCategoriesResponseType 535 getSuggestedCategories(GetSuggestedCategoriesRequestType 536 getSuggestedCategoriesRequest) { 537 return null; 538 } 539 540 public GetTaxTableResponseType 541 getTaxTable(GetTaxTableRequestType 542 getTaxTableRequest) { 543 return null; 544 } 545 546 public GetUserResponseType 547 getUser(GetUserRequestType getUserRequest) 548 { 549 return null; 550 } 551 552 public 553 GetUserContactDetailsResponseType 554 getUserContactDetails(GetUserContactDetailsRequestType 555 getUserContactDetailsRequest) { 556 return null; 557 } 558 559 public GetUserDisputesResponseType 560 getUserDisputes(GetUserDisputesRequestType 561 getUserDisputesRequest) { 562 return null; 563 } 564 565 public GetUserPreferencesResponseType 566 getUserPreferences(GetUserPreferencesRequestType 567 getUserPreferencesRequest) { 568 return null; 569 } 570 571 public GetWantItNowPostResponseType 572 getWantItNowPost(GetWantItNowPostRequestType 573 getWantItNowPostRequest) { 574 return null; 575 } 576 577 public 578 GetWantItNowSearchResultsResponseType 579 getWantItNowSearchResults(GetWantItNowSearchResultsRequestType 580 getWantItNowSearchResultsRequest) { 581 return null; 582 } 583 584 public GeteBayDetailsResponseType 585 geteBayDetails(GeteBayDetailsRequestType 586 geteBayDetailsRequest) { 587 return null; 588 } 589 590 public GeteBayOfficialTimeResponseType 591 geteBayOfficialTime(GeteBayOfficialTimeRequestType 592 geteBayOfficialTimeRequest) { 593 return null; 594 } 595 596 public IssueRefundResponseType 597 issueRefund(IssueRefundRequestType 598 issueRefundRequest) { 599 return null; 600 } 601 602 public LeaveFeedbackResponseType 603 leaveFeedback(LeaveFeedbackRequestType 604 leaveFeedbackRequest) { 605 return null; 606 } 607 608 public PlaceOfferResponseType 609 placeOffer(PlaceOfferRequestType 610 placeOfferRequest) { 611 return null; 612 } 613 614 public RelistItemResponseType 615 relistItem(RelistItemRequestType 616 relistItemRequest) { 617 return null; 618 } 619 620 public RemoveFromWatchListResponseType 621 removeFromWatchList(RemoveFromWatchListRequestType 622 removeFromWatchListRequest) { 623 return null; 624 } 625 626 public RespondToBestOfferResponseType 627 respondToBestOffer(RespondToBestOfferRequestType 628 respondToBestOfferRequest) { 629 return null; 630 } 631 632 public RespondToFeedbackResponseType 633 respondToFeedback(RespondToFeedbackRequestType 634 respondToFeedbackRequest) { 635 return null; 636 } 637 638 public 639 RespondToWantItNowPostResponseType 640 respondToWantItNowPost(RespondToWantItNowPostRequestType 641 respondToWantItNowPostRequest) { 642 return null; 643 } 644 645 public ReviseCheckoutStatusResponseType 646 reviseCheckoutStatus(ReviseCheckoutStatusRequestType 647 reviseCheckoutStatusRequest) { 648 return null; 649 } 650 651 public ReviseItemResponseType 652 reviseItem(ReviseItemRequestType 653 reviseItemRequest) { 654 return null; 655 } 656 657 public 658 ReviseLiveAuctionItemResponseType 659 reviseLiveAuctionItem(ReviseLiveAuctionItemRequestType 660 reviseLiveAuctionItemRequest) { 661 return null; 662 } 663 664 public ReviseMyMessagesResponseType 665 reviseMyMessages(ReviseMyMessagesRequestType 666 reviseMyMessagesRequest) { 667 return null; 668 } 669 670 public 671 ReviseMyMessagesFoldersResponseType 672 reviseMyMessagesFolders(ReviseMyMessagesFoldersRequestType 673 reviseMyMessagesFoldersRequest) { 674 return null; 675 } 676 677 public SellerReverseDisputeResponseType 678 sellerReverseDispute(SellerReverseDisputeRequestType 679 sellerReverseDisputeRequest) { 680 return null; 681 } 682 683 public SendInvoiceResponseType 684 sendInvoice(SendInvoiceRequestType 685 sendInvoiceRequest) { 686 return null; 687 } 688 689 public 690 SetNotificationPreferencesResponseType 691 setNotificationPreferences(SetNotificationPreferencesRequestType 692 setNotificationPreferencesRequest) { 693 return null; 694 } 695 696 public 697 SetPictureManagerDetailsResponseType 698 setPictureManagerDetails(SetPictureManagerDetailsRequestType 699 setPictureManagerDetailsRequest) { 700 return null; 701 } 702 703 public SetPromotionRulesResponseType 704 setPromotionRules(SetPromotionRulesRequestType 705 setPromotionRulesRequest) { 706 return null; 707 } 708 709 public SetReturnURLResponseType 710 setReturnURL(SetReturnURLRequestType 711 setReturnURLRequest) { 712 return null; 713 } 714 715 public SetStoreResponseType 716 setStore(SetStoreRequestType 717 setStoreRequest) { 718 return null; 719 } 720 721 public SetStoreCategoriesResponseType 722 setStoreCategories(SetStoreCategoriesRequestType 723 setStoreCategoriesRequest) { 724 return null; 725 } 726 727 public SetStoreCustomPageResponseType 728 setStoreCustomPage(SetStoreCustomPageRequestType 729 setStoreCustomPageRequest) { 730 return null; 731 } 732 733 public SetStorePreferencesResponseType 734 setStorePreferences(SetStorePreferencesRequestType 735 setStorePreferencesRequest) { 736 return null; 737 } 738 739 public SetTaxTableResponseType 740 setTaxTable(SetTaxTableRequestType 741 setTaxTableRequest) { 742 return null; 743 } 744 745 public SetUserNotesResponseType 746 setUserNotes(SetUserNotesRequestType 747 setUserNotesRequest) { 748 return null; 749 } 750 751 public SetUserPreferencesResponseType 752 setUserPreferences(SetUserPreferencesRequestType 753 setUserPreferencesRequest) { 754 return null; 755 } 756 757 public 758 ValidateTestUserRegistrationResponseType 759 validateTestUserRegistration(ValidateTestUserRegistrationRequestType 760 validateTestUserRegistrationRequest) { 761 return null; 762 } 763 764 public VerifyAddItemResponseType 765 verifyAddItem(VerifyAddItemRequestType 766 verifyAddItemRequest) { 767 return null; 768 } 769 770 public 771 VerifyAddSecondChanceItemResponseType 772 verifyAddSecondChanceItem(VerifyAddSecondChanceItemRequestType 773 verifyAddSecondChanceItemRequest) { 774 return null; 775 } 776 777 } 778 | Popular Tags |