[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Error with send() 3455 - Broken Pipe




Hi Scott,

Thanks for the reply,

We are trying to access a webservice provided by a courier company,  I have requested permission for you to use the test  webservice/login.
Untill hear back from them, there's not much info I can give you to recreate the problem.

When I try the URL through IE 6.0 it seems to work fine.  

here is the bits of code with  the sensitive stuff   'x'd out for now.

URL = ""                                                                
           ....5...10...15...20...25...30...35...40...45...50...55...60  
      1   'http://XXXXX.XXXXX.co.nz/servlet/TransactionSe'
     61   'rvlet?transaction_type=Booking&page=1&phone_number=5719600&p'
    121   'in_number=90258330&business_hours=ignore                    '
    181   '                      '                                      


the bit of code is:
                                                                     
rc = http_url_get_xml( url : *NULL : %paddr( procNZCreply ) : *NULL);


 call back is:


     d NZCdata         ds                  qualified
     d  status                       30a   inz
     d  transref                     30a   inz
     d  error                       100a   inz

      **************************************************************************
     p procNZCreply    b
     d procNZCreply    pi
     d   userdata                      *   value
     d   depth                       10i 0 value
     d   name                      1024a   varying const
     d   path                     24576a   varying const
     d   value                    32767a   varying const
     d   Attrs                         *   dim(32767)
     d                                     const options(*varsize)
      /free

       select;
       when name = 'STATUS';
         NZCData.status  = value;
       when name = 'ERROR_DETAILS';
         NZCData.error = value;
       when name = 'TRANSACTION_REF';
         NZCData.transref = value;
       endsl;

      /end-free
     p procNZCreply    e
 

we do have a website so I am assuming out http is all configured properly.
I am also using similar code to access a webservice from another site, which seems to be
working so far.


Neville Oakley
Analyst Programmer
Information Services
Honda New Zealand Limited

Views and opinions expressed in this transimission may be personally held by the writer and do not necessarily represent the position of  Honda New Zealand Ltd.

This email is intended only for the use of the addressee. If you are not the addressee you are requested not to distribute or photocopy this facsimile. If you have received this email in error, please imediately notify the sender and destroy the original message.



Scott Klement <sk@xxxxxxxxxxxxxxxx>
Sent by: owner-ftpapi@xxxxxxxxxxxxx

16/11/2005 10:52 a.m.

Please respond to
ftpapi@xxxxxxxxxxxxx

To
ftpapi@xxxxxxxxxxxxx
cc
Subject
Re: Error with  send()   3455 - Broken Pipe





Sender: Scott Klement <sk@xxxxxxxxxxxxxxxx>


Broken pipe means that HTTPAPI tried to read or write from a connection
that had already been disconnected on the other end.

Unfortunately, there are lots of things that could cause this error. They
could be hardware errors (bad network card, bad switch, bad router, bad
firewall, bad cable...  thse devices could be on your end, or on the
server's end, or anywhere in between) or it could be a software problem,
such as an exception in the remote web server or a bug in HTTPAPI.

Can you tell me how to reproduce the problem on my end?

---
Scott Klement  http://www.scottklement.com

On Wed, 16 Nov 2005 NOakley@xxxxxxxxxxx wrote:

> Hello,
>
> I am using  scotts  HTTPAPIR4 service program,  and the routine
> http_url_get_xml(.. ) .   When the procedure send(... )  command is issued
> I get the above error.
> The actual routine which calls send is  CommTcp_BlockWrite() in Module
> COMMTCPR4.
>
> I have searched IBM support and found a reference to PTF MF29926 for V5R2,
> we have this applied, and still get the error.
>
> Any help would be appreciated?
>
>
> Neville Oakley
> Analyst Programmer
> Information Services
> Honda New Zealand Limited
>
> Views and opinions expressed in this transimission may be personally held
> by the writer and do not necessarily represent the position of  Honda New
> Zealand Ltd.
>
> This email is intended only for the use of the addressee. If you are not
> the addressee you are requested not to distribute or photocopy this
> facsimile. If you have received this email in error, please imediately
> notify the sender and destroy the original message.
-----------------------------------------------------------------------
This is the FTPAPI mailing list.  To unsubsribe from the list send mail
to majordomo@xxxxxxxxxxxxx with the body: unsubscribe ftpapi mymailaddr
-----------------------------------------------------------------------