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

Re: HTTPAPI 1.10 pre 6



Sender: Eduard Sluis <eduard@xxxxxxxxxxxxxxxxxxxxxxx>

Scott,

I've tested the new version.
It now contacts to the correct port (great).
When doing posts however I encountered ReadTimeouts and started to
investigate the reason for that.
I'm using http_url_post_raw and started to track it's whereabouts.
My conclusion was that the timeout is the result of only sending the
Requestchain and not the Postdata.... Obviously the server wil not
respond on that.
I could not verify this with the guy's behind the server because that
one is in England and at the time of the test their weekend had started
already at some nice happy hour... (I Hope).

The following debug view is from the translate just in front of the
actual post:
EVAL peData                                                            

 PEDATA =                                                              

       ....5...10...15...20...25...30...35...40...45...50...55...60   
   1   'POST /soap/rpc HTTP/1.1Host: esapln98 Content-Type: test/xml'  
  61   '; charset=utf-8 SOAPAction: " " Expect: 100-continue Content'  
 121   '-Length: 577 Authorization: Basic VXNlcm5hbWU6UGFzc3dvcmQ=  '  
 181   '                                                            '  

The data to be send was:
EVAL data                                                              

DATA =                                                                 

          ....5...10...15...20...25...30...35...40...45...50...55...60 

     1   ' <?xml version='1.0' encoding='UTF-8'?>">  <SOAP-ENV:Envel' 
    61   'ope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope'

   121   '/"  xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"; ' 
   181   ' xmlns:xsd="http://www.w3.org/2001/XMLSchema";>  <SOAP-EN' 
   241   'V:Body>  <ns1:getAuthChallenge xmlns:ns1="http://esapln98/' 
   301   'WoCaCLS.process.webService"  SOAP-ENV:encodingStyle="http:' 
   361   '//schemas.xmlsoap.org/soap/encoding/">  <mechId xsi:type="' 
   421   'xsd:string">vasco</mechId>  <mechData xsi:type="xsd:string' 
   481   '">6-393006-1</mechData>  </ns1:getAuthChallenge>  </SOAP' 
   541   '-ENV:Body>  </SOAP-ENV:Envelope>                        ' 
   601   '                                                            '

In the debug file the postdata is also not present..

An other thing I'm not sure of:
The recieving party sais that the base64 encoding of
'Username:Password' = Q0xTX1VzZXI6Q0xTX1VzZXIx
The result I get is however 'VXNlcm5hbWU6UGFzc3dvcmQ='

Is there a way to calculate their encoding back to verify the
correctness of their 'Username:Password'

Our happy hour was also Ok....

Kind regards,
Eduard Sluis.

--- Scott Klement <sk@xxxxxxxxxxxxxxxx> wrote:

> Sender: Scott Klement <sk@xxxxxxxxxxxxxxxx>
> 
> 
> I've posted new beta versions of HTTPAPI...  version 1.10 pre 6.
> 
> SAVF:  http://www.scottklement.com/httpapi/beta/httpapi.savf
> XML:   http://www.scottklement.com/httpapi/beta/httpapi.xml
> ZIP:   http://www.scottklement.com/httpapi/beta/httpapi.zip
> 
> This version should fix the "port number" problem that Eduard posted.
> 
> It also contains the "multipart/form-data" routines that Dave and
> Elbert
> have been talking about.  I know that Dave is trying to test these
> routines out, but is having problems.  Elbert, maybe you could test
> them
> and see if they work for your purpose?
> 
> See EXAMPLE17 for an idea of how the multipart/form-data routines
> should
> be called.
> 
> Thanks!
> 
> ---
> Scott Klement  http://www.scottklement.com
>
-----------------------------------------------------------------------
> This is the FTPAPI mailing list.  To unsubsribe from the list send
> mail
> to majordomo@xxxxxxxxxxxxx with the body: unsubscribe ftpapi
> mymailaddr
>
-----------------------------------------------------------------------
> 

-----------------------------------------------------------------------
This is the FTPAPI mailing list.  To unsubsribe from the list send mail
to majordomo@xxxxxxxxxxxxx with the body: unsubscribe ftpapi mymailaddr
-----------------------------------------------------------------------