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

RE: Large XML to Send



Thanks for your response

I found that I needed to send the HTML equivalents for the < and > tags and
it seems to work.



-----Original Message-----
From: ftpapi-bounces@xxxxxxxxxxxxxxxxxxxxxx
[mailto:ftpapi-bounces@xxxxxxxxxxxxxxxxxxxxxx] On Behalf Of Scott Klement
Sent: Friday, November 14, 2008 8:49 PM
To: HTTPAPI and FTPAPI Projects
Subject: Re: Large XML to Send

I don't think your SOAP message is correct.  Just from a quick glance, 
it doesn't look right to me.  (I don't have time to unpack your SAVF and 
see what's in it, though.)

What did you use to generate the SOAP message?  Or did you code it by 
hand?  Do you have a WSDL for this service?


Mike Nageli wrote:
>    [cid:image001.gif@01C9457A.8C9AED60]
> 
>    I am trying to use your HTTPAPI to get a request to an internal server
>    that processes document creation for banks.
> 
>     
> 
>    I am new to this process and still in somewhat of a learning curve.  
> 
>     
> 
>    I am getting a HTTP /1.1 400 Bad Request  The ISeries returns CPF9897
> 
>    This happens when I attempt to send any xml tags within the request.
> 
>     If I send without any XML the server does respond with following:
> 
>    . <?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:Body><RenderDocumen
>    tResponse xmlns="http://tempuri.org/";><RenderDocumentResult>&lt;?xml
>    version="1.0" encoding="utf-8"?&gt;
> 
>    &lt;complianceserviceresponse
>    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";
>    xmlns:xsd="http://www.w3.org/2001/XMLSchema"&gt;
> 
>      &lt;messages&gt;
> 
>        &lt;message&gt;There is an error in XML document (0, 0). Root
>    element is missing. &lt;/message&gt;
> 
>      &lt;/messages&gt;
> 
>    &lt;/complianceserviceresponse&gt;</RenderDocumentResult></RenderDocum
>    entResponse></soap:Body></soap:Envelope>
> 
>     
> 
>    I have included a copy of the XML within the request tags and a copy
>    of the modifications to your program for calling the currency exchange
>    
>     
> 
>    Also a copy of the httpap_debug.txt file is included
> 
>     
> 
>    Any help would be appreciated
> 
>     
> 
>    Mike Nageli
> 
>    Programming Manager
> 
>    ':  801.887.0112
> 
>    7:   801.974.5409
> 
> 
>    [1]www.bmacorp.com
> 
> References
> 
>    1. http://www.bmacorp.com/
> 
> 
> ------------------------------------------------------------------------
> 
> -----------------------------------------------------------------------
> This is the FTPAPI mailing list.  To unsubscribe, please go to:
> http://www.scottklement.com/mailman/listinfo/ftpapi
> -----------------------------------------------------------------------

-----------------------------------------------------------------------
This is the FTPAPI mailing list.  To unsubscribe, please go to:
http://www.scottklement.com/mailman/listinfo/ftpapi
-----------------------------------------------------------------------

-----------------------------------------------------------------------
This is the FTPAPI mailing list.  To unsubscribe, please go to:
http://www.scottklement.com/mailman/listinfo/ftpapi
-----------------------------------------------------------------------