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

HTTP/1.1 500 Internal Server Error



I am receiving the HTTP/1.1 500 Internal Server Error  with the http_url_post_xml(). Any suggestions on where to look for an answer?

 

      MacroRequest =

         '<?xml version="1.0" encoding="utf-8"?>'                +

         '<soap:Envelope xmlns:xsi="http://www.w3.org/2001/'     +

         'XMLSchema-instance" action="">//Roehl.com/'         +

         'SendNow" xmlns:xsd="http://www.w3.org/2001/'           +

         'XMLSchema" xmlns:soap="http://schemas.xmlsoap.org/'    +

         'soap/envelope/">'                                      +

         '<soap:Body>'                                           +

         '<SendNow xmlns="http://Roehl.com">'                    +

         '<Unit>' + @TRUCK + '</Unit>'                           +

         '<drivercode>' + @DRIVER + '</drivercode>'              +

         '<FormNumber>' + @FORM + '</FormNumber>'                +

         '<sentby>' + @SENDER + '</sentby>'                      +

         '<systemsent>' + @ORIGIN + '</systemsent>'              +

         '<type>' + @TYPE + '</type>'                            +

         '<Message>' + @BOD + '</Message>'                       +

         '</SendNow>'                                            +

         '</soap:Body>'                                          +

         '</soap:Envelope>'                                      ;

 

       postData = MacroRequest;

 

 

       resp = *ALLx'00';

 

       rc = http_url_post_xml('http://00.000.0.00/'+

                              'RTICommSendMessage/SendMessageWebService.asmx'

                             : %addr(postData) + 2

                             : %len(postData)

                             : %paddr(StartOfElement)

                             : %paddr(EndOfElement)

                             : %addr(resp)

                             : 12

                             : ''

                             : 'text/xml; charset=utf-8'

                             : 'http://Roehl.com/SendNow');  

 

Michael Rybicki Ext. 2116

Information Technology

Roehl Transport Inc.