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

http_url_post_xml problem



I am using http_url_post_xml to pass data to a web service for sending email. Below is the list of parameters I am sending. Originally message was one field, but I was unable to get this to work with the length over 999. Just as a test I split the message body in 2, but am only able to get each one to 850 otherwise I receive an error. The problem is the message body is often greater then 1700 characters. I also tried upping the length of EmailRequest and postData, but did not seem to help. Is there a limitation on the length of a variable? Or is there an overall limitation to the entire length of data passed? Or am I just missing something else?

 

     D EmailSnd        PI             1N

     D    ToOne                      50A   varying const

     D    ToTwo                      50A   varying const

     D    CCOne                      50A   varying const

     D    CCTwo                      50A   varying const

     D    From                       50A   varying const

     D    Subject                    50A   varying const

     D    Message1                  850A

     D    Message2                  850A

     D EmailRequest    s           2500A   varying

     D rc              s             10I 0

     D postData        s           2750A   varying

     D resp            ds                  likeds(Response)

 

Thanks

 

Michael Rybicki Ext. 2116

Information Technology

Roehl Transport Inc.