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

HTTP post - empty xml



   Hi,



   I am using http_url_post_stmf_xml to hit WCF url and passing the xml as
   parameter. Attached is the error log for the transcript. They are
   seeing empty xml is being passed to the url from WCF end whereas Xml is
   passed to the url from RPG.



   Please let me know what is wrong on this connection module/soap built.
   Thanks!



   Regards

   Arun
HTTPAPI Ver 1.23 released 2008-04-24                                       
OS/400 Ver V5R4M0                                                          
                                                                           
New iconv() objects set, PostRem=1208. PostLoc=0. ProtRem=819. ProtLoc=0   
http_persist_open(): entered                                               
http_long_ParseURL(): entered                                              
DNS resolver retrans: 20                                                   
DNS resolver retry  : 2                                                    
DNS resolver options: x'00000136'                                          
DNS default domain: ace.LOCAL                                              
DNS server found: 172.22.7.20                                              
http_persist_post(): entered                                               
http_long_ParseURL(): entered                                              
do_post(): entered                                                         
POST /TransactionInterface/TransactionInterface.svc/basic HTTP/1.1         
Host: ussbyintv8011.acetst.com:80                                          
User-Agent: http-api/1.23                                                  
Content-Type: text/xml                                                     
SOAPAction: http://tempuri.org/ITransactionInterface/GenerateDocument                                                               
Expect: 100-continue                                                                                                                
Content-Length: 233414                                                                                                              
                                                                                                                                    
                                                                                                                                    
recvresp(): entered                                                                                                                 
HTTP/1.1 100 Continue                                                                                                               
                                                                                                                                    
                                                                                                                                    
SetError() #13: HTTP/1.1 100 Continue                                                                                               
sendraw(): entered                                                                                                                  
<?xml version="1.0" encoding="UTF-8"?><s:Envelope xmlns:s="http://schemas.xmlsoap.org/soap/envelope/"; xmlns:impl="http://tempuri.org/"; xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/"; xmlns:xsd="http://www.w3.org/2001/XMLSchema"; xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";><s:Header/><s:Body><impl:GenerateDocument s:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/";><InputXML xsi:type="xsd: string">
&lt;xPressionBatch&gt;                                                                                                              
&lt;Transaction&gt;                                                                                                                 
&lt;TransactionID&gt;05112013_ABHICCSC001_NB_20130918110603&lt;/TransactionID&gt;                                                   
&lt;ProductCode&gt;CCSC&lt;/ProductCode&gt;                                                                                         
&lt;DocumentType&gt;XPF&lt;/DocumentType&gt;                                                                                        
&lt;PolicyFormsData&gt;                                                                                                             
&lt;BrokerCodeName&gt;134152&lt;/BrokerCodeName&gt;                                                  
&lt;CancellationDate&gt;05/11/2013&lt;/CancellationDate&gt;                                          
&lt;CompanyAddress1&gt;&lt;/CompanyAddress1&gt;                                                      
&lt;CompanyAddress2&gt;&lt;/CompanyAddress2&gt;                                                      
&lt;CompanyCity&gt;&lt;/CompanyCity&gt;                                                              
&lt;CompanyName&gt;ACE American Insurance Company&lt;/CompanyName&gt;                                
&lt;CompanyZip&gt;&lt;/CompanyZip&gt;                                                                
&lt;EndorsementEffectiveDate&gt;05/11/2013&lt;/EndorsementEffectiveDate&gt;                          
&lt;EndorsementExpirationDate&gt;&lt;/EndorsementExpirationDate&gt;                                  
&lt;EndorsementNumber&gt;XPF&lt;/EndorsementNumber&gt;                                               
&lt;GeniusMasterSequence&gt;&lt;/GeniusMasterSequence&gt;                                            
&lt;IssuedDate&gt;&lt;/IssuedDate&gt;                                                                
&lt;IssuingCompanyName&gt;ACE American Insurance Company&lt;/IssuingCompanyName&gt;                  
&lt;IssuingCompanyAddress1&gt;436 Walnut Street&lt;/IssuingCompanyAddress1&gt;                       
&lt;IssuingCompanyAddress2&gt;Philadelphia  PA 19106&lt;/IssuingCompanyAddress2&gt;                  
&lt;IssuingCompanyAddress3&gt;&lt;/IssuingCompanyAddress3&gt;                                        
&lt;IssuingCompanyAddress4&gt;&lt;/IssuingCompanyAddress4&gt;                                        
&lt;IssuingCompanyAddress5&gt;&lt;/IssuingCompanyAddress5&gt;                                        
&lt;IssuingCompanyAddressZip&gt;19106&lt;/IssuingCompanyAddressZip&gt;                          
&lt;LossPayeeName1&gt;&lt;/LossPayeeName1&gt;                                                   
&lt;LossPayeeName2&gt;&lt;/LossPayeeName2&gt;                                                   
&lt;LossPayeeAddress1&gt;&lt;/LossPayeeAddress1&gt;                                             
&lt;LossPayeeAddress2&gt;&lt;/LossPayeeAddress2&gt;                                             
&lt;LossPayeeAddress3&gt;&lt;/LossPayeeAddress3&gt;                                             
&lt;LossPayeeAddress4&gt;&lt;/LossPayeeAddress4&gt;                                             
&lt;NamedInsured1&gt;Douglas Cole&lt;/NamedInsured1&gt;                                         
&lt;NamedInsured2&gt;&lt;/NamedInsured2&gt;                                                     
&lt;NamedInsured3&gt;&lt;/NamedInsured3&gt;                                                     
&lt;NamedInsured4&gt;&lt;/NamedInsured4&gt;                                                     
&lt;NamedInsuredAddress1&gt;481 Cypress Ln Apt J179&lt;/NamedInsuredAddress1&gt;                
&lt;NamedInsuredAddress2&gt;Greenville  MS 38701-7479&lt;/NamedInsuredAddress2&gt;              
&lt;NamedInsuredAddress3&gt;&lt;/NamedInsuredAddress3&gt;                                       
&lt;NamedInsuredAddress4&gt;&lt;/NamedInsuredAddress4&gt;                                       
&lt;NamedInsuredAddress5&gt;&lt;/NamedInsuredAddress5&gt;                                       
&lt;NamedInsuredZip&gt;38701-7479&lt;/NamedInsuredZip&gt;                                       
&lt;Nbcheckbox&gt;X&lt;/Nbcheckbox&gt;                                                          
&lt;OccurrenceLimit&gt;&lt;/OccurrenceLimit&gt;                                    
&lt;REPCOUNT&gt;&lt;/REPCOUNT&gt;                                                  
&lt;PolicyEffectiveDate&gt;05/11/2013&lt;/PolicyEffectiveDate&gt;                  
&lt;Pol_Eff_Date&gt;05/11/2013&lt;/Pol_Eff_Date&gt;                                
&lt;PolicyExpirationDate&gt;05/11/2014&lt;/PolicyExpirationDate&gt;                
&lt;PolicyNumber&gt;CGO ABHICCSC0&lt;/PolicyNumber&gt;                             
&lt;PolicyNumber2&gt;ABHICCSC001&lt;/PolicyNumber2&gt;                             
&lt;HeaderPolicyNumber&gt;&lt;/HeaderPolicyNumber&gt;                              
&lt;CmnHdrPolicyNumber&gt;ABHICCSC0&lt;/CmnHdrPolicyNumber&gt;                     
&lt;Premium&gt;&lt;/Premium&gt;                                                    
&lt;PolicySymbol&gt;CGO&lt;/PolicySymbol&gt;                                       
&lt;ProducerName1&gt;Marsh USA Inc.&lt;/ProducerName1&gt;                          
&lt;ProducerName2&gt;&lt;/ProducerName2&gt;                                        
&lt;ProducerName3&gt;&lt;/ProducerName3&gt;                                        
&lt;ProducerName4&gt;&lt;/ProducerName4&gt;                                        
&lt;ProducerAddress1&gt;200 Public Square&lt;/ProducerAddress1&gt;                 
&lt;ProducerAddress2&gt;Suite 1100&lt;/ProducerAddress2&gt;                        
&lt;ProducerAddress3&gt;Cleveland  OH 44114 TEST test&lt;/ProducerAddress3&gt;     
&lt;ProducerAddress4&gt;&lt;/ProducerAddress4&gt;                                          
&lt;ProducerAddress5&gt;&lt;/ProducerAddress5&gt;                                          
&lt;ProducerAddrZip&gt;44114&lt;/ProducerAddrZip&gt;                                       
&lt;Requestor&gt;Z01DUTA1&lt;/Requestor&gt;                                                
&lt;RNCheckbox&gt;&lt;/RNCheckbox&gt;                                                      
&lt;SystemDate&gt;09/18/2013&lt;/SystemDate&gt;                                            
&lt;TransactionID&gt;05112013_ABHICCSC001_NB_20130918110603&lt;/TransactionID&gt;          
&lt;TranType&gt;NB&lt;/TranType&gt;                                                        
&lt;PDFEncryptionKey&gt;&lt;/PDFEncryptionKey&gt;                                          
&lt;GlobalData1&gt;N&lt;/GlobalData1&gt;                                                   
&lt;GlobalData2&gt;NEW&lt;/GlobalData2&gt;                                                 
&lt;GlobalData3&gt;&lt;/GlobalData3&gt;                                                    
&lt;GlobalData4&gt;ABHICCSC0&lt;/GlobalData4&gt;                                           
&lt;/PolicyFormsData&gt;                                                                   
&lt;Forms&gt;                                                                              
&lt;Form&gt;                                                                               
&lt;FormRequestID&gt;0&lt;/FormRequestID&gt;                                               
&lt;FormSeq&gt;90&lt;/FormSeq&gt;                                                          
&lt;EndorsementNumber&gt;1&lt;/EndorsementNumber&gt;                               
&lt;FormID&gt;ALL20887_1006&lt;/FormID&gt;                                         
&lt;NamedInsured1&gt;Douglas Cole&lt;/NamedInsured1&gt;                            
&lt;NamedInsured2&gt;&lt;/NamedInsured2&gt;                                        
&lt;NamedInsured3&gt;&lt;/NamedInsured3&gt;                                        
&lt;NamedInsured4&gt;&lt;/NamedInsured4&gt;                                        
&lt;PolicyNumber&gt;CGO ABHICCSC0&lt;/PolicyNumber&gt;                             
&lt;FormName&gt;ALL208871006&lt;/FormName&gt;                                      
&lt;PrintFlag&gt;PH&lt;/PrintFlag&gt;                                              
&lt;TransactionID&gt;05112013_ABHICCSC001_NB_20130918110603&lt;/TransactionID&gt;  
&lt;Variables&gt;                                                                  
&lt;Variable&gt;                                                                   
&lt;Name&gt;POLICY_NUMBER&lt;/Name&gt;                                             
&lt;Value&gt;CGO ABHICCSC001&lt;/Value&gt;                                         
&lt;/Variable&gt;                                                                  
&lt;Variable&gt;                                                                   
&lt;Name&gt;NAMED_INSURED&lt;/Name&gt;                                             
&lt;Value&gt;Douglas Cole&lt;/Value&gt;                                            
&lt;/Variable&gt;                                                                                          
&lt;Variable&gt;                                                                                           
&lt;Name&gt;ENDORSEMENT_EFFECTIVE&lt;/Name&gt;                                                             
&lt;Value&gt;05/11/2013&lt;/Value&gt;                                                                      
&lt;/Variable&gt;                                                                                          
&lt;/Variables&gt;                                                                                         
&lt;Schedules&gt;                                                                                          
&lt;Schedule&gt;                                                                                           
&lt;/Schedule&gt;                                                                                          
&lt;/Schedules&gt;                                                                                         
&lt;/Form&gt;                                                                                              
&lt;/Forms&gt;                                                                                             
&lt;/Transaction&gt;                                                                                       
&lt;AdditionalDetails&gt;                                                                                  
&lt;PolicyNumber&gt;CCSC IT2-006&lt;/PolicyNumber&gt;                                                      
&lt;FileName&gt;CCSC IT2-006INCZ01BHAS21130722093700M100039583&lt;/FileName&gt;                            
&lt;/AdditionalDetails&gt;                                                                                 
&lt;/xPressionBatch&gt;                                                                                    
</InputXML></impl:GenerateDocument></s:Body></s:Envelope>                                                
                                                                                                         
recvresp(): entered                                                                                      
HTTP/1.1 200 OK                                                                                          
Content-Length: 378                                                                                      
Content-Type: text/xml; charset=utf-8                                                                    
Server: Microsoft-IIS/7.5                                                                                
X-Powered-By: ASP.NET                                                                                    
Date: Sun, 29 Sep 2013 15:50:49 GMT                                                                      
                                                                                                         
                                                                                                         
SetError() #13: HTTP/1.1 200 OK                                                                          
recvdoc parms: identity 378                                                                              
header_load_cookies() entered                                                                            
recvdoc(): entered                                                                                       
SetError() #0:                                                                                           
<s:Envelope xmlns:s="http://schemas.xmlsoap.org/soap/envelope/";><s:Body><GenerateDocumentResponse xmlns="http://tempuri.org/";><GenerateDocumentResult>&lt;Response&gt;&lt;WIPID&gt;&lt;/WIPID&gt;&lt;Status&gt;Failed&lt;/Status&gt;&lt;ErrorMessage&gt;Input XML is empty&lt;/ErrorMessage&gt;&lt;/Response&gt;</GenerateDocumentResult></GenerateDocumentResponse></s:Body></s:Envelope>
-----------------------------------------------------------------------
This is the FTPAPI mailing list.  To unsubscribe, please go to:
http://www.scottklement.com/mailman/listinfo/ftpapi
-----------------------------------------------------------------------