You are on page 1of 2

...START doInitiatePayment() : accountId=1.1234567, payAmt=123.

45
...doInitiatePayment(): BEFORE execute initilizeCheckout
************ START SOAP REQUEST MESSAGE************
<?xml version='1.0' encoding='utf-8'?><soapenv:Envelope xmlns:soapenv="http://sc
hemas.xmlsoap.org/soap/envelope/"><soapenv:Body><ns2:InitiateCheckoutRequest xml
ns:ns2="http://www.maxis.com.my/services/payments"><serviceHeader><SecurityInfo>
<UserNameToken Id="1" UserType="ebps_web" UserName="ebps_portal" /></SecurityInf
o><ServiceInfo><ServiceName ServiceId="paymentOnboarding" version="1.0">Initiate
Checkout</ServiceName><OperationName>Request</OperationName><TransactionInfo><Ma
jorTransactionId>0105d197-890c-4aa5-b595-ce2724e71502</MajorTransactionId><Messa
geId>1.1234567</MessageId><requestTimestamp>2010-10-08T15:10:23.720+08:00</reque
stTimestamp></TransactionInfo><ServiceRequesterInfo><ApplicationName>EBPSPortal<
/ApplicationName></ServiceRequesterInfo></ServiceInfo></serviceHeader><languageI
d>1 </languageId><lineItemDescription>MAXIS Postpaid Bill Payment </lineItemDesc
ription><orderTotal>123.45</orderTotal><lineItemInfo><productBundle><component><
id>1</id><quantity>1</quantity><description>MAXIS Postpaid Bill Payment</descrip
tion><componentParam><paramID><value>1</value><dataType>integer</dataType></para
mID><paramName><value>string</value><dataType>account_number</dataType></paramNa
me><paramValue><value>1.1234567</value><dataType>string</dataType></paramValue><
/componentParam></component><id>1</id><quantity>1</quantity><price>123.45</price
><description>Bill Payment for account no. 1.1234567</description></productBundl
e></lineItemInfo></ns2:InitiateCheckoutRequest></soapenv:Body></soapenv:Envelope
>
************ END SOAP REQUEST MESSAGE************
************ START SOAP RESPONSE MESSAGE************
<?xml version='1.0' encoding='utf-8'?><soapenv:Envelope xmlns:soapenv="http://sc
hemas.xmlsoap.org/soap/envelope/"><soapenv:Body><NS1:InitiateCheckoutResponse xm
lns:NS1="http://www.maxis.com.my/services/payments"><serviceHeader><SecurityInfo
><UserNameToken><Id>1</Id><UserType>ebps_web</UserType><UserName>ebps_portal</Us
erName></UserNameToken></SecurityInfo><ServiceInfo><ServiceName>InitiateCheckout
</ServiceName><OperationName>Request</OperationName><TransactionInfo><MajorTrans
actionId>0105d197-890c-4aa5-b595-ce2724e71502</MajorTransactionId><MessageId>1.1
234567</MessageId><requestTimestamp>2010-10-08T15:10:23.720+08:00</requestTimest
amp></TransactionInfo><ServiceRequesterInfo><ApplicationName>EBPSPortal</Applica
tionName></ServiceRequesterInfo></ServiceInfo></serviceHeader><responseStatus><S
tatusCode>0</StatusCode><StatusLevel>SUCCESS</StatusLevel></responseStatus><redi
rectionResponse><referenceToken>281151094824</referenceToken></redirectionRespon
se></NS1:InitiateCheckoutResponse></soapenv:Body></soapenv:Envelope>
************ END SOAP RESPONSE MESSAGE************
Error in doInitiatePayment() : org.apache.axis2.databinding.ADBException: Requir
ed attribute UserName is missing
org.apache.axis2.AxisFault: org.apache.axis2.databinding.ADBException: Required
attribute UserName is missing
at org.apache.axis2.AxisFault.makeFault(AxisFault.java:430)
at com.myebills.maxis.paypal.SOAPaymentCheckoutServiceStub.fromOM(SOAPay
mentCheckoutServiceStub.java:37694)
at com.myebills.maxis.paypal.SOAPaymentCheckoutServiceStub.initilizeChec
kout(SOAPaymentCheckoutServiceStub.java:592)
at com.myebills.maxis.paypal.SOAPaymentInitiateClient.doInitiatePayment(
SOAPaymentInitiateClient.java:222)
at com.myebills.maxis.paypal.SOAPaymentInitiateClient.initiatePaymentChe
ckout(SOAPaymentInitiateClient.java:77)
at com.myebills.maxis.paypal.SOAPaymentInitiateClient.main(SOAPaymentIni
tiateClient.java:58)
Caused by: java.lang.Exception: org.apache.axis2.databinding.ADBException: Requi
red attribute UserName is missing
at com.myebills.maxis.paypal.SOAPaymentCheckoutServiceStub$UserNameToken
Type$Factory.parse(SOAPaymentCheckoutServiceStub.java:2561)
at com.myebills.maxis.paypal.SOAPaymentCheckoutServiceStub$SecurityHeade
rType$Factory.parse(SOAPaymentCheckoutServiceStub.java:4905)

SOAPaymentCheckoutServiceStub$InitiateCheck outResponse$Factory.paypal. 9 more main().java:28093) at com.databinding.SOAPaymentCheckoutServiceStub$InitiateCheck outResponseType$Factory.parse(SOAPaymentCheckoutServiceStub.java:37688) .myebills.java:4334) at com.maxis.maxis.paypal.parse(SOAPaymentCheckoutServiceStub..parse(SOAPaymentCheckoutServiceStub.axis2..java:2549) .maxis. at com.SOAPaymentCheckoutServiceStub.parse(SOAPaymentCheckoutServiceStub.paypal.myebills.maxis. redirect to .myebills. 4 more Caused by: org.myebills.myebills.paypal.maxis.SOAPaymentCheckoutServiceStub$UserNameToken Type$Factory.apache.fromOM(SOAPay mentCheckoutServiceStub..ADBException: Required attribute UserNam e is missing at com.SOAPaymentCheckoutServiceStub$ServiceHeader $Factory.java:17321) at com..paypal.