[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">
<xPressionBatch>
<Transaction>
<TransactionID>05112013_ABHICCSC001_NB_20130918110603</TransactionID>
<ProductCode>CCSC</ProductCode>
<DocumentType>XPF</DocumentType>
<PolicyFormsData>
<BrokerCodeName>134152</BrokerCodeName>
<CancellationDate>05/11/2013</CancellationDate>
<CompanyAddress1></CompanyAddress1>
<CompanyAddress2></CompanyAddress2>
<CompanyCity></CompanyCity>
<CompanyName>ACE American Insurance Company</CompanyName>
<CompanyZip></CompanyZip>
<EndorsementEffectiveDate>05/11/2013</EndorsementEffectiveDate>
<EndorsementExpirationDate></EndorsementExpirationDate>
<EndorsementNumber>XPF</EndorsementNumber>
<GeniusMasterSequence></GeniusMasterSequence>
<IssuedDate></IssuedDate>
<IssuingCompanyName>ACE American Insurance Company</IssuingCompanyName>
<IssuingCompanyAddress1>436 Walnut Street</IssuingCompanyAddress1>
<IssuingCompanyAddress2>Philadelphia PA 19106</IssuingCompanyAddress2>
<IssuingCompanyAddress3></IssuingCompanyAddress3>
<IssuingCompanyAddress4></IssuingCompanyAddress4>
<IssuingCompanyAddress5></IssuingCompanyAddress5>
<IssuingCompanyAddressZip>19106</IssuingCompanyAddressZip>
<LossPayeeName1></LossPayeeName1>
<LossPayeeName2></LossPayeeName2>
<LossPayeeAddress1></LossPayeeAddress1>
<LossPayeeAddress2></LossPayeeAddress2>
<LossPayeeAddress3></LossPayeeAddress3>
<LossPayeeAddress4></LossPayeeAddress4>
<NamedInsured1>Douglas Cole</NamedInsured1>
<NamedInsured2></NamedInsured2>
<NamedInsured3></NamedInsured3>
<NamedInsured4></NamedInsured4>
<NamedInsuredAddress1>481 Cypress Ln Apt J179</NamedInsuredAddress1>
<NamedInsuredAddress2>Greenville MS 38701-7479</NamedInsuredAddress2>
<NamedInsuredAddress3></NamedInsuredAddress3>
<NamedInsuredAddress4></NamedInsuredAddress4>
<NamedInsuredAddress5></NamedInsuredAddress5>
<NamedInsuredZip>38701-7479</NamedInsuredZip>
<Nbcheckbox>X</Nbcheckbox>
<OccurrenceLimit></OccurrenceLimit>
<REPCOUNT></REPCOUNT>
<PolicyEffectiveDate>05/11/2013</PolicyEffectiveDate>
<Pol_Eff_Date>05/11/2013</Pol_Eff_Date>
<PolicyExpirationDate>05/11/2014</PolicyExpirationDate>
<PolicyNumber>CGO ABHICCSC0</PolicyNumber>
<PolicyNumber2>ABHICCSC001</PolicyNumber2>
<HeaderPolicyNumber></HeaderPolicyNumber>
<CmnHdrPolicyNumber>ABHICCSC0</CmnHdrPolicyNumber>
<Premium></Premium>
<PolicySymbol>CGO</PolicySymbol>
<ProducerName1>Marsh USA Inc.</ProducerName1>
<ProducerName2></ProducerName2>
<ProducerName3></ProducerName3>
<ProducerName4></ProducerName4>
<ProducerAddress1>200 Public Square</ProducerAddress1>
<ProducerAddress2>Suite 1100</ProducerAddress2>
<ProducerAddress3>Cleveland OH 44114 TEST test</ProducerAddress3>
<ProducerAddress4></ProducerAddress4>
<ProducerAddress5></ProducerAddress5>
<ProducerAddrZip>44114</ProducerAddrZip>
<Requestor>Z01DUTA1</Requestor>
<RNCheckbox></RNCheckbox>
<SystemDate>09/18/2013</SystemDate>
<TransactionID>05112013_ABHICCSC001_NB_20130918110603</TransactionID>
<TranType>NB</TranType>
<PDFEncryptionKey></PDFEncryptionKey>
<GlobalData1>N</GlobalData1>
<GlobalData2>NEW</GlobalData2>
<GlobalData3></GlobalData3>
<GlobalData4>ABHICCSC0</GlobalData4>
</PolicyFormsData>
<Forms>
<Form>
<FormRequestID>0</FormRequestID>
<FormSeq>90</FormSeq>
<EndorsementNumber>1</EndorsementNumber>
<FormID>ALL20887_1006</FormID>
<NamedInsured1>Douglas Cole</NamedInsured1>
<NamedInsured2></NamedInsured2>
<NamedInsured3></NamedInsured3>
<NamedInsured4></NamedInsured4>
<PolicyNumber>CGO ABHICCSC0</PolicyNumber>
<FormName>ALL208871006</FormName>
<PrintFlag>PH</PrintFlag>
<TransactionID>05112013_ABHICCSC001_NB_20130918110603</TransactionID>
<Variables>
<Variable>
<Name>POLICY_NUMBER</Name>
<Value>CGO ABHICCSC001</Value>
</Variable>
<Variable>
<Name>NAMED_INSURED</Name>
<Value>Douglas Cole</Value>
</Variable>
<Variable>
<Name>ENDORSEMENT_EFFECTIVE</Name>
<Value>05/11/2013</Value>
</Variable>
</Variables>
<Schedules>
<Schedule>
</Schedule>
</Schedules>
</Form>
</Forms>
</Transaction>
<AdditionalDetails>
<PolicyNumber>CCSC IT2-006</PolicyNumber>
<FileName>CCSC IT2-006INCZ01BHAS21130722093700M100039583</FileName>
</AdditionalDetails>
</xPressionBatch>
</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><Response><WIPID></WIPID><Status>Failed</Status><ErrorMessage>Input XML is empty</ErrorMessage></Response></GenerateDocumentResult></GenerateDocumentResponse></s:Body></s:Envelope>
-----------------------------------------------------------------------
This is the FTPAPI mailing list. To unsubscribe, please go to:
http://www.scottklement.com/mailman/listinfo/ftpapi
-----------------------------------------------------------------------