Guest User

Untitled

a guest
Oct 19th, 2017
98
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.09 KB | None | 0 0
  1. @WebService
  2. public interface Transaction {
  3. @WebMethod(action="createPurchase", operationName = "purchase")
  4. ResultDto purchase(@WebParam(name = "PurchaseRequest") PurchaseRequest request) throws SQLException, ClassNotFoundException;
  5.  
  6. }
  7.  
  8. package com.bb.impl;
  9.  
  10. @WebService
  11. public class TransactionImpl implements Transaction{
  12.  
  13. private Logger logger = Logger.getLogger(TransactionImpl.class);
  14.  
  15.  
  16.  
  17. @SuppressWarnings("static-access")
  18. public TransactionImpl() {
  19.  
  20. }
  21.  
  22.  
  23. @WebMethod(action="createPurchase", operationName = "purchase")
  24. @WebResult(name="Result")
  25. public ResultDto purchase(@WebParam(name = "PurchaseRequest") PurchaseRequest request) throws SQLException, ClassNotFoundException {
  26. }
  27.  
  28. <soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:impl="http://impl.qiib.com/">
  29. <soapenv:Header/>
  30. <soapenv:Body>
  31. <impl:purchase> --> This impl prefix I want to remove while generating the request
  32. <!--Optional:-->
  33. <PurchaseRequest>
  34. <dealId>?</dealId>
  35. <partyId>?</partyId>
  36. </PurchaseRequest>
  37. </impl:purchase>
  38. </soapenv:Body>
  39. </soapenv:Envelope>
Add Comment
Please, Sign In to add comment