You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@cxf.apache.org by Emil Dombagolla <do...@gmail.com> on 2011/04/11 15:12:08 UTC

connection timeout problem

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.

Re: connection timeout problem

Posted by Emil Dombagolla <do...@gmail.com>.
Thank so much for the reply. i will check it .

thanks again.


On Tue, Apr 12, 2011 at 1:47 AM, Aki Yoshida <el...@googlemail.com> wrote:

> 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 <do...@gmail.com>:
> > 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.
> >
>

Re: connection timeout problem

Posted by Aki Yoshida <el...@googlemail.com>.
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 <do...@gmail.com>:
> 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.
>