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

RE: ProcessXMLStringToDB



Hi Scott,
Thank you for your assistance. I set the content-type to text/xml and ran through the program.  The log and results are attached to this email.  The program does not fail, however the service program does not process the XML, or shall I say the expected results to update/add records to a sequel file do not occur.
Here is a copy of the program:
--------------------------------------------------------------------------------------------
H BNDDIR('HTTPAPI')

 **
 **    CRTBNDRPG CUSTPRODHR SRCFILE(libhttp/QRPGLESRC) DBGVIEW(*LIST) +
 **       DFTACTGRP(*NO) ACTGRP(*NEW)

D/copy qrpglesrc,httpapi_h
D/copy qrpglesrc,ifsio_h
D/copy qrpglesrc,errno_h

D cmd             pr                  extpgm('QCMDEXC')
D  command                     200A   const
D  length                       15P 5 const

D ContentType     s             64A
D rc              s             10I 0
D msg             s             52A
D stmf            S            256A

C     *entry        plist
C                   parm                    p_inpcust         4

 /free
  http_debug(*on);
  *inlr = *on;

  //** whatever data is in this stream file will
  //** be POSTed to the URL below.
  stmf = '/cgiforman/xmlexport/custprod'+p_inpcust+'.xml';

  //ContentType='application/x-www-form-urlencoded';

  ContentType='text/xml';

  rc=http_url_post_stmf('http://71.126.154.120'
    +'/service.asmx?op=ProcessXMLStringToDB'
    : %trimr(stmf)
    : '/tmp/http_result.txt'
    : HTTP_TIMEOUT
    : HTTP_USERAGENT
    : ContentType );

  if rc <> 1;
     msg = http_error();
     dsply msg;
     return;
  endif;

  //unlink('/tmp/http_result.txt');
  return;
---------------------------------------------------------------------------------------

I appreciate your help once again.
Ernie Woods
Sr. Programmer/Analyst


-----Original Message-----
From: Scott Klement [mailto:sk@xxxxxxxxxxxxxxxx]
Sent: Wednesday, September 14, 2011 4:58 PM
To: HTTPAPI and FTPAPI Projects
Subject: Re: ProcessXMLStringToDB

Hi Ernie,

This looks like the output of some program that interpreted a WSDL file?
  Am I reading it right?

Can you send the actual WSDL file?

Can you also send the document that you are sending, so I can compare it
to the WSDL file?  (Or, better, send an HTTPAPI debug log.)

Also, I'm a bit confused as to why you have the content-type set to a
URL-encoded web form.  Aren't you sending an XML document??



On 9/14/2011 1:06 PM, Ernie Woods wrote:
>
>     Scott,
>
>     I have included the RPG code I am using to post XML data from our
>     iSeries to a HTTP server.  The HTTP server is running a service
>     ProcessXMLStringToDB, I have included the service below.
>
>     When I run the RPG program it appears to work fine (no errors),
>     however the data is not updated on the ProcessXMLStringToDB service.
>
>     I am new at this and would like to know if I am doing something
>     wrong.  Possibly utilizing the wrong methods or parameters?
>
>     Any help would be appreciated.
>
>     Thank you,
>
>     Ernie Woods
>
>     Forman, Inc.
>
>     Sr. Programmer/Analyst
>
>
>     Service
>
>
> ProcessXMLStringToDB
>
> Test
>
>     To test the operation using the HTTP POST protocol, click the 'Invoke'
>     button.
>
>     Parameter
>
>     Value
>
>     Doc:
>
> SOAP 1.1
>
>     The following is a sample SOAP 1.1 request and response. The
>     placeholders shown need to be replaced with actual values.
> POST /service.asmx HTTP/1.1
> Host: xxx.126.154.120
> Content-Type: text/xml; charset=utf-8
> Content-Length: length
> SOAPAction: "http://tempuri.org/ProcessXMLStringToDB";
>
> <?xml version="1.0" encoding="utf-8"?>
> <soap:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"; xmlns:xsd=
> "http://www.w3.org/2001/XMLSchema"; xmlns:soap="http://schemas.xmlsoap.org/soap/
> envelope/">
>    <soap:Body>
>      <ProcessXMLStringToDB xmlns="http://tempuri.org/";>
>        <Doc>string</Doc>
>      </ProcessXMLStringToDB>
>    </soap:Body>
> </soap:Envelope>
> HTTP/1.1 200 OK
> Content-Type: text/xml; charset=utf-8
> Content-Length: length
>
> <?xml version="1.0" encoding="utf-8"?>
> <soap:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"; xmlns:xsd=
> "http://www.w3.org/2001/XMLSchema"; xmlns:soap="http://schemas.xmlsoap.org/soap/
> envelope/">
>    <soap:Body>
>      <ProcessXMLStringToDBResponse xmlns="http://tempuri.org/";>
>        <ProcessXMLStringToDBResult>string</ProcessXMLStringToDBResult>
>      </ProcessXMLStringToDBResponse>
>    </soap:Body>
> </soap:Envelope>
>
> SOAP 1.2
>
>     The following is a sample SOAP 1.2 request and response. The
>     placeholders shown need to be replaced with actual values.
> POST /service.asmx HTTP/1.1
> Host: xxx.126.154.120
> Content-Type: application/soap+xml; charset=utf-8
> Content-Length: length
>
> <?xml version="1.0" encoding="utf-8"?>
> <soap12:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"; xmlns:xs
> d="http://www.w3.org/2001/XMLSchema"; xmlns:soap12="http://www.w3.org/2003/05/so
> ap-envelope">
>    <soap12:Body>
>      <ProcessXMLStringToDB xmlns="http://tempuri.org/";>
>        <Doc>string</Doc>
>      </ProcessXMLStringToDB>
>    </soap12:Body>
> </soap12:Envelope>
> HTTP/1.1 200 OK
> Content-Type: application/soap+xml; charset=utf-8
> Content-Length: length
>
> <?xml version="1.0" encoding="utf-8"?>
> <soap12:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"; xmlns:xs
> d="http://www.w3.org/2001/XMLSchema"; xmlns:soap12="http://www.w3.org/2003/05/so
> ap-envelope">
>    <soap12:Body>
>      <ProcessXMLStringToDBResponse xmlns="http://tempuri.org/";>
>        <ProcessXMLStringToDBResult>string</ProcessXMLStringToDBResult>
>      </ProcessXMLStringToDBResponse>
>    </soap12:Body>
> </soap12:Envelope>
>
> HTTP GET
>
>     The following is a sample HTTP GET request and response. The
>     placeholders shown need to be replaced with actual values.
> GET /service.asmx/ProcessXMLStringToDB?Doc=string HTTP/1.1
> Host: xxx.126.154.120
> HTTP/1.1 200 OK
> Content-Type: text/xml; charset=utf-8
> Content-Length: length
>
> <?xml version="1.0" encoding="utf-8"?>
> <string xmlns="http://tempuri.org/";>string</string>
>
> HTTP POST
>
>     The following is a sample HTTP POST request and response. The
>     placeholders shown need to be replaced with actual values.
> POST /service.asmx/ProcessXMLStringToDB HTTP/1.1
> Host: xxx.126.154.120
> Content-Type: application/x-www-form-urlencoded
> Content-Length: length
>
> Doc=string
> HTTP/1.1 200 OK
> Content-Type: text/xml; charset=utf-8
> Content-Length: length
>
> <?xml version="1.0" encoding="utf-8"?>
> <string xmlns="http://tempuri.org/";>string</string>
>
>
>
>     THE RPG PROGRAM:
>
>     H BNDDIR('HTTPAPI')
>
>
>
>
>      **
>
>      **    CRTBNDRPG CUSTPRODHR SRCFILE(libhttp/QRPGLESRC) DBGVIEW(*LIST)
>     +
>
>     **       DFTACTGRP(*NO) ACTGRP(*NEW)
>
>
>
>
>     D/copy qrpglesrc,httpapi_h
>
>
>     D/copy qrpglesrc,ifsio_h
>
>     D/copy qrpglesrc,errno_h
>
>
>
>
>     D cmd             pr                  extpgm('QCMDEXC')
>
>     D  command                     200A   const
>
>     D  length                       15P 5 const
>
>
>
>
>     D ContentType     s             64A
>
>     D rc              s             10I 0
>
>     D msg             s             52A
>
>     D stmf            S            256A
>
>
>
>
>     C     *entry        plist
>
>     C                   parm                    p_inpcust         4
>
>
>
>
>      /free
>
>       *inlr = *on;
>
>
>
>       //** whatever data is in this stream file will
>
>       //** be POSTed to the URL below.
>
>       stmf = '/cgiforman/xmlexport/custprod'+p_inpcust+'.xml';
>
>       ContentType='application/x-www-form-urlencoded';
>
>
>
>       rc=http_url_post_stmf('http://xxx.126.154.120'
>
>         +'/service.asmx?op=ProcessXMLStringToDB'
>
>         : stmf
>
>         : '/tmp/http_result.txt'
>
>         : HTTP_TIMEOUT
>
>         : HTTP_USERAGENT
>
>         : ContentType );
>
>
>
>       if rc<>  1;
>
>          msg = http_error();
>
>          dsply msg;
>
>          return;
>
>       endif;
>
>
>
>       //unlink('/tmp/http_result.txt');
>
>       return;
>
>
>
>        This transmission contains information from Forman, Inc. which may be
>        confidential and/or privileged. The information is intended to be for the
>        exclusive use of the planned recipient. If you are not the intended
>        recipient, be advised that any disclosure, copying, distribution or other
>        use of this information is strictly prohibited. If you have received this
>        transmission in error, please notify the sender immediately.
>
>
>
>
> -----------------------------------------------------------------------
> This is the FTPAPI mailing list.  To unsubscribe, please go to:
> http://www.scottklement.com/mailman/listinfo/ftpapi
> -----------------------------------------------------------------------


This transmission contains information from Forman, Inc. which may be confidential and/or privileged. The information is intended to be for the exclusive use of the planned recipient. If you are not the intended recipient, be advised that any disclosure, copying, distribution or other use of this information is strictly prohibited. If you have received this transmission in error, please notify the sender immediately.
<?xml version="1.0"?>
<CustProd>

  <custprodrec custno="1362">
     <custprodno>CUST2128</custprodno>
     <formanstockno>2128</formanstockno>
     <formannonstockno>000000</formannonstockno>
     <custproddsc>CAPTIVA DINNER NAPKIN</custproddsc>
     <datestamp>20111027</datestamp>
     <userstamp>ERNIE</userstamp>
     <filler></filler>
  </custprodrec>

  <custprodrec custno="1362">
     <custprodno>CUST3259</custprodno>
     <formanstockno>3259</formanstockno>
     <formannonstockno>000000</formannonstockno>
     <custproddsc>PREMIUM CAN LINER</custproddsc>
     <datestamp>20111027</datestamp>
     <userstamp>ERNIE</userstamp>
     <filler></filler>
  </custprodrec>

  <custprodrec custno="1362">
     <custprodno>CUST3980</custprodno>
     <formanstockno>3980</formanstockno>
     <formannonstockno>000000</formannonstockno>
     <custproddsc>THANK YOU T SACK</custproddsc>
     <datestamp>20111027</datestamp>
     <userstamp>ERNIE</userstamp>
     <filler></filler>
  </custprodrec>

  <custprodrec custno="1362">
     <custprodno>CUST4016</custprodno>
     <formanstockno>4016</formanstockno>
     <formannonstockno>000000</formannonstockno>
     <custproddsc>CUSTOMER DESC 1</custproddsc>
     <datestamp>20111027</datestamp>
     <userstamp>ERNIE</userstamp>
     <filler></filler>
  </custprodrec>

  <custprodrec custno="1362">
     <custprodno>CUST413</custprodno>
     <formanstockno>0413</formanstockno>
     <formannonstockno>000000</formannonstockno>
     <custproddsc>SINGLE ROLL DISPENSER</custproddsc>
     <datestamp>20111027</datestamp>
     <userstamp>ERNIE</userstamp>
     <filler></filler>
  </custprodrec>

  <custprodrec custno="1362">
     <custprodno>CUST419</custprodno>
     <formanstockno>4190</formanstockno>
     <formannonstockno>000000</formannonstockno>
     <custproddsc>Hardwound Towel Dispenser</custproddsc>
     <datestamp>20111027</datestamp>
     <userstamp>CPIUPLOAD</userstamp>
     <filler></filler>
  </custprodrec>

  <custprodrec custno="1362">
     <custprodno>CUST5197</custprodno>
     <formanstockno>5197</formanstockno>
     <formannonstockno>000000</formannonstockno>
     <custproddsc>Resposable 8 oz black mug</custproddsc>
     <datestamp>20111027</datestamp>
     <userstamp>CPIUPLOAD</userstamp>
     <filler></filler>
  </custprodrec>

  <custprodrec custno="1362">
     <custprodno>CUST5828</custprodno>
     <formanstockno>5828</formanstockno>
     <formannonstockno>000000</formannonstockno>
     <custproddsc>PLATINUM FORK</custproddsc>
     <datestamp>20111027</datestamp>
     <userstamp>ERNIE</userstamp>
     <filler></filler>
  </custprodrec>

  <custprodrec custno="1362">
     <custprodno>1234</custprodno>
     <formanstockno>4018</formanstockno>
     <formannonstockno>000000</formannonstockno>
     <custproddsc>GILES</custproddsc>
     <datestamp>20111027</datestamp>
     <userstamp>ERNIE</userstamp>
     <filler></filler>
  </custprodrec>

  <custprodrec custno="1362">
     <custprodno>123456</custprodno>
     <formanstockno>4017</formanstockno>
     <formannonstockno>000000</formannonstockno>
     <custproddsc>CUISTOMEER ADFASDFD</custproddsc>
     <datestamp>20111027</datestamp>
     <userstamp>ERNIE</userstamp>
     <filler></filler>
  </custprodrec>

  <custprodrec custno="1362">
     <custprodno>181332</custprodno>
     <formanstockno>7171</formanstockno>
     <formannonstockno>000000</formannonstockno>
     <custproddsc>DART CNTR FOOD FOAM 12 OZ</custproddsc>
     <datestamp>20111027</datestamp>
     <userstamp>ERNIE</userstamp>
     <filler></filler>
  </custprodrec>

  <custprodrec custno="1362">
     <custprodno>181450</custprodno>
     <formanstockno>5996</formanstockno>
     <formannonstockno>000000</formannonstockno>
     <custproddsc>CAFE GOURMET CUP FOAM 20 OZ</custproddsc>
     <datestamp>20111027</datestamp>
     <userstamp>ERNIE</userstamp>
     <filler></filler>
  </custprodrec>

  <custprodrec custno="1362">
     <custprodno>181565</custprodno>
     <formanstockno>7191</formanstockno>
     <formannonstockno>000000</formannonstockno>
     <custproddsc>DART LID TAB STRAW 12-16-20</custproddsc>
     <datestamp>20111027</datestamp>
     <userstamp>ERNIE</userstamp>
     <filler></filler>
  </custprodrec>

  <custprodrec custno="1362">
     <custprodno>181578</custprodno>
     <formanstockno>7163</formanstockno>
     <formannonstockno>000000</formannonstockno>
     <custproddsc>HORIZON CUP FOAM 12 OZ</custproddsc>
     <datestamp>20111027</datestamp>
     <userstamp>ERNIE</userstamp>
     <filler></filler>
  </custprodrec>

  <custprodrec custno="1362">
     <custprodno>192085</custprodno>
     <formanstockno>4012</formanstockno>
     <formannonstockno>000000</formannonstockno>
     <custproddsc>PAPER BAG KRAFT SHORTY 25KS</custproddsc>
     <datestamp>20111027</datestamp>
     <userstamp>ERNIE</userstamp>
     <filler></filler>
  </custprodrec>

  <custprodrec custno="1362">
     <custprodno>198185</custprodno>
     <formanstockno>2623</formanstockno>
     <formannonstockno>000000</formannonstockno>
     <custproddsc>TOWELS CENTER PULL CP75</custproddsc>
     <datestamp>20110923</datestamp>
     <userstamp>CPIUPLOAD</userstamp>
     <filler></filler>
  </custprodrec>

  <custprodrec custno="1362">
     <custprodno>4567835</custprodno>
     <formanstockno>4635</formanstockno>
     <formannonstockno>000000</formannonstockno>
     <custproddsc>GENPACK ITEM</custproddsc>
     <datestamp>20111027</datestamp>
     <userstamp>ERNIE</userstamp>
     <filler></filler>
  </custprodrec>

  <custprodrec custno="1362">
     <custprodno>90125</custprodno>
     <formanstockno>4019</formanstockno>
     <formannonstockno>000000</formannonstockno>
     <custproddsc>YOUR PRODUCT DESCRIPTION</custproddsc>
     <datestamp>20111027</datestamp>
     <userstamp>ERNIE</userstamp>
     <filler></filler>
  </custprodrec>

</CustProd>
<?xml version="1.0" encoding="utf-8"?><soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"; xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"; xmlns:xsd="http://www.w3.org/2001/XMLSchema";><soap:Header><soap12:Upgrade xmlns:soap12="http://www.w3.org/2003/05/soap-envelope";><soap12:SupportedEnvelope qname="soap:Envelope" xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"; /><soap12:SupportedEnvelope qname="soap12:Envelope" xmlns:soap12="http://www.w3.org/2003/05/soap-envelope"; /></soap12:Upgrade></soap:Header><soap:Body><soap:Fault><faultcode>soap:VersionMismatch</faultcode><faultstring>Possible SOAP version mismatch: Envelope namespace  was unexpected. Expecting http://schemas.xmlsoap.org/soap/envelope/.</faultstring><detail /></soap:Fault></soap:Body></soap:Envelope>
HTTPAPI Ver 1.23 released 2008-04-24
OS/400 Ver V7R1M0

New iconv() objects set, PostRem=819. PostLoc=0. ProtRem=819. ProtLoc=0
http_url_post_stmf(): entered
getting post file size...
opening file to be sent...
opening file to be received
http_persist_open(): entered
http_long_ParseURL(): entered
DNS resolver retrans: 2
DNS resolver retry  : 2
DNS resolver options: x'00000136'
DNS default domain: forman
DNS server found: 216.83.192.10
DNS server found: 216.83.192.11
http_persist_post(): entered
http_long_ParseURL(): entered
do_post(): entered
POST /service.asmx?op=ProcessXMLStringToDB HTTP/1.1
Host: 71.126.154.120
User-Agent: http-api/1.23
Content-Type: text/xml
Expect: 100-continue
Content-Length: 6054


recvresp(): entered
HTTP/1.1 100 Continue


SetError() #13: HTTP/1.1 100 Continue
sendraw(): entered
<?xml version="1.0"?>
<CustProd>

  <custprodrec custno="1362">
     <custprodno>CUST2128</custprodno>
     <formanstockno>2128</formanstockno>
     <formannonstockno>000000</formannonstockno>
     <custproddsc>CAPTIVA DINNER NAPKIN</custproddsc>
     <datestamp>20111027</datestamp>
     <userstamp>ERNIE</userstamp>
     <filler></filler>
  </custprodrec>

  <custprodrec custno="1362">
     <custprodno>CUST3259</custprodno>
     <formanstockno>3259</formanstockno>
     <formannonstockno>000000</formannonstockno>
     <custproddsc>PREMIUM CAN LINER</custproddsc>
     <datestamp>20111027</datestamp>
     <userstamp>ERNIE</userstamp>
     <filler></filler>
  </custprodrec>

  <custprodrec custno="1362">
     <custprodno>CUST3980</custprodno>
     <formanstockno>3980</formanstockno>
     <formannonstockno>000000</formannonstockno>
     <custproddsc>THANK YOU T SACK</custproddsc>
     <datestamp>20111027</datestamp>
     <userstamp>ERNIE</userstamp>
     <filler></filler>
  </custprodrec>

  <custprodrec custno="1362">
     <custprodno>CUST4016</custprodno>
     <formanstockno>4016</formanstockno>
     <formannonstockno>000000</formannonstockno>
     <custproddsc>CUSTOMER DESC 1</custproddsc>
     <datestamp>20111027</datestamp>
     <userstamp>ERNIE</userstamp>
     <filler></filler>
  </custprodrec>

  <custprodrec custno="1362">
     <custprodno>CUST413</custprodno>
     <formanstockno>0413</formanstockno>
     <formannonstockno>000000</formannonstockno>
     <custproddsc>SINGLE ROLL DISPENSER</custproddsc>
     <datestamp>20111027</datestamp>
     <userstamp>ERNIE</userstamp>
     <filler></filler>
  </custprodrec>

  <custprodrec custno="1362">
     <custprodno>CUST419</custprodno>
     <formanstockno>4190</formanstockno>
     <formannonstockno>000000</formannonstockno>
     <custproddsc>Hardwound Towel Dispenser</custproddsc>
     <datestamp>20111027</datestamp>
     <userstamp>CPIUPLOAD</userstamp>
     <filler></filler>
  </custprodrec>

  <custprodrec custno="1362">
     <custprodno>CUST5197</custprodno>
     <formanstockno>5197</formanstockno>
     <formannonstockno>000000</formannonstockno>
     <custproddsc>Resposable 8 oz black mug</custproddsc>
     <datestamp>20111027</datestamp>
     <userstamp>CPIUPLOAD</userstamp>
     <filler></filler>
  </custprodrec>

  <custprodrec custno="1362">
     <custprodno>CUST5828</custprodno>
     <formanstockno>5828</formanstockno>
     <formannonstockno>000000</formannonstockno>
     <custproddsc>PLATINUM FORK</custproddsc>
     <datestamp>20111027</datestamp>
     <userstamp>ERNIE</userstamp>
     <filler></filler>
  </custprodrec>

  <custprodrec custno="1362">
     <custprodno>1234</custprodno>
     <formanstockno>4018</formanstockno>
     <formannonstockno>000000</formannonstockno>
     <custproddsc>GILES</custproddsc>
     <datestamp>20111027</datestamp>
     <userstamp>ERNIE</userstamp>
     <filler></filler>
  </custprodrec>

  <custprodrec custno="1362">
     <custprodno>123456</custprodno>
     <formanstockno>4017</formanstockno>
     <formannonstockno>000000</formannonstockno>
     <custproddsc>CUISTOMEER ADFASDFD</custproddsc>
     <datestamp>20111027</datestamp>
     <userstamp>ERNIE</userstamp>
     <filler></filler>
  </custprodrec>

  <custprodrec custno="1362">
     <custprodno>181332</custprodno>
     <formanstockno>7171</formanstockno>
     <formannonstockno>000000</formannonstockno>
     <custproddsc>DART CNTR FOOD FOAM 12 OZ</custproddsc>
     <datestamp>20111027</datestamp>
     <userstamp>ERNIE</userstamp>
     <filler></filler>
  </custprodrec>

  <custprodrec custno="1362">
     <custprodno>181450</custprodno>
     <formanstockno>5996</formanstockno>
     <formannonstockno>000000</formannonstockno>
     <custproddsc>CAFE GOURMET CUP FOAM 20 OZ</custproddsc>
     <datestamp>20111027</datestamp>
     <userstamp>ERNIE</userstamp>
     <filler></filler>
  </custprodrec>

  <custprodrec custno="1362">
     <custprodno>181565</custprodno>
     <formanstockno>7191</formanstockno>
     <formannonstockno>000000</formannonstockno>
     <custproddsc>DART LID TAB STRAW 12-16-20</custproddsc>
     <datestamp>20111027</datestamp>
     <userstamp>ERNIE</userstamp>
     <filler></filler>
  </custprodrec>

  <custprodrec custno="1362">
     <custprodno>181578</custprodno>
     <formanstockno>7163</formanstockno>
     <formannonstockno>000000</formannonstockno>
     <custproddsc>HORIZON CUP FOAM 12 OZ</custproddsc>
     <datestamp>20111027</datestamp>
     <userstamp>ERNIE</userstamp>
     <filler></filler>
  </custprodrec>

  <custprodrec custno="1362">
     <custprodno>192085</custprodno>
     <formanstockno>4012</formanstockno>
     <formannonstockno>000000</formannonstockno>
     <custproddsc>PAPER BAG KRAFT SHORTY 25KS</custproddsc>
     <datestamp>20111027</datestamp>
     <userstamp>ERNIE</userstamp>
     <filler></filler>
  </custprodrec>

  <custprodrec custno="1362">
     <custprodno>198185</custprodno>
     <formanstockno>2623</formanstockno>
     <formannonstockno>000000</formannonstockno>
     <custproddsc>TOWELS CENTER PULL CP75</custproddsc>
     <datestamp>20110923</datestamp>
     <userstamp>CPIUPLOAD</userstamp>
     <filler></filler>
  </custprodrec>

  <custprodrec custno="1362">
     <custprodno>4567835</custprodno>
     <formanstockno>4635</formanstockno>
     <formannonstockno>000000</formannonstockno>
     <custproddsc>GENPACK ITEM</custproddsc>
     <datestamp>20111027</datestamp>
     <userstamp>ERNIE</userstamp>
     <filler></filler>
  </custprodrec>

  <custprodrec custno="1362">
     <custprodno>90125</custprodno>
     <formanstockno>4019</formanstockno>
     <formannonstockno>000000</formannonstockno>
     <custproddsc>YOUR PRODUCT DESCRIPTION</custproddsc>
     <datestamp>20111027</datestamp>
     <userstamp>ERNIE</userstamp>
     <filler></filler>
  </custprodrec>

</CustProd>

recvresp(): entered
HTTP/1.1 500 Internal Server Error
Date: Thu, 27 Oct 2011 20:13:14 GMT
Server: Microsoft-IIS/6.0
X-Powered-By: ASP.NET
X-AspNet-Version: 2.0.50727
Cache-Control: private
Content-Type: text/xml; charset=utf-8
Content-Length: 798


SetError() #13: HTTP/1.1 500 Internal Server Error
recvdoc parms: identity 798
header_load_cookies() entered
recvdoc(): entered
SetError() #0:
<?xml version="1.0" encoding="utf-8"?><soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"; xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"; xmlns:xsd="http://www.w3.org/2001/XMLSchema";><soap:Header><soap12:Upgrade xmlns:soap12="http://www.w3.org/2003/05/soap-envelope";><soap12:SupportedEnvelope qname="soap:Envelope" xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"; /><soap12:SupportedEnvelope qname="soap12:Envelope" xmlns:soap12="http://www.w3.org/2003/05/soap-envelope"; /></soap12:Upgrade></soap:Header><soap:Body><soap:Fault><faultcode>soap:VersionMismatch</faultcode><faultstring>Possible SOAP version mismatch: Envelope namespace  was unexpected. Expecting http://schemas.xmlsoap.org/soap/envelope/.</faultstring><detail /></soap:Fault></soap:Body></soap:Envelope>
SetError() #13: HTTP/1.1 500 Internal Server Error
http_close(): entered
-----------------------------------------------------------------------
This is the FTPAPI mailing list.  To unsubscribe, please go to:
http://www.scottklement.com/mailman/listinfo/ftpapi
-----------------------------------------------------------------------