Hi, do you know how long the doDirectPayment service may take to respond? If you want your CXF client to wait longer than this duration, you may want to set ConnectionTimeout and ReceiveTimeout to a value larger than this duration (or to 0 to wait indefinitely if you want that way).
You can find information about these parameters and an example configuration in the online documentaiton http://cxf.apache.org/docs/client-http-transport-including-ssl-support.html I don't have an account on the paypal sandbox system, so I can't test the service. But the WSDL seems to be fine and I assume your generated client is also fine. If you continue to have problems with this service, you may ask at the paypal developer portal. There are probably more people familiar with this service. Regards, aki 2011/4/11 Emil Dombagolla <[email protected]>: > Hi, > > I am trying to get connected with paypal with a web service client. i used " > https://www.sandbox.paypal.com/wsdl/PayPalSvc.wsdl" location to generate the > client using apache cfx . > > I want to implement Wesite payment pro. > > i use following generated code to access the service. > > PayPalAPIInterfaceService ss = new > PayPalAPIInterfaceService(); > > PayPalAPIAAInterface port = ss.getPayPalAPIAA(); > > port.doDirectPayment(dd); > > when run the code ,Every time i get the following error , > > javax.xml.ws.soap.SOAPFaultException: Timeout processing request > > Please somebody give me a suggestion to overcome from this , i am very new > with this .Is there any issue with https. If possible please give me working > code sample. > > > Thank you so much . > Dombagolla. >
