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

RE: Help with HTTPAPI "SOAP protocol"



When you use "application/x-www-form-urlencoded" content-type, do you encode
the data? It doesn't look like it from your program. You need to call the
encoding routine. Search the archive to find examples (look for a post by
Scott about 1/15 Re:XML POST).

Mike Krebs 

-----Original Message-----
From: ftpapi-bounces@xxxxxxxxxxxxxxxxxxxxxx
[mailto:ftpapi-bounces@xxxxxxxxxxxxxxxxxxxxxx] On Behalf Of Jeffreehy
Talavera
Sent: Friday, January 25, 2008 11:17 AM
To: HTTPAPI and FTPAPI Projects
Subject: Re: Help with HTTPAPI "SOAP protocol"

When I change the Content-Type to "text/xml" I got the error messasge =
(Request format is invalid: text/xml.)
I'm wonder whywhen I used the Content-Type of
"application/x-www-form-urlencoded", I got the error = (Missing parameter: *
idError*. )
do you have any idea?, Thanks.

Jeff.

On Jan 25, 2008 8:55 AM, Nick Townsend <Nick.Townsend@xxxxxxxxxxxxxxx>
wrote:

> Jeffreehy,
>
> The format of your request message look OK to me, but I think that you
> should be using a Content-Type of "text/xml" rather than "
> application/x-www-form-urlencoded".
>
> Also, I can't understand where the SOAPAction value in your debug log is
> coming from.  You program appears to be supplying a value of "
> http://dei.gob.hn/FenixWeb/GetDescripcion";, which looks correct to me, but
> the debug log shows a SOAPAction value of "
> http://172.16.23.61/WebServices/Tributos/DeiErrores.asmx?op=GetD";.
>
> Nick
> __________________________________
> Nick Townsend
> Technical Leader
> Endsleigh Insurance Services Limited
> Telephone: +44 (0)1242 866866 ext. 6426
>
> -----Original Message-----
> From: ftpapi-bounces@xxxxxxxxxxxxxxxxxxxxxx [mailto:
> ftpapi-bounces@xxxxxxxxxxxxxxxxxxxxxx] On Behalf Of Jeffreehy Talavera
> Sent: 25 January 2008 13:23
> To: ftpapi@xxxxxxxxxxxxxxxxxxxxxx
> Subject: Help with HTTPAPI "SOAP protocol"
>
> Hi,
>
> I'm trying to consume a Web Service using HTTPAPI 1.21 but I'm getting
> an "*Missing
> parameter: idError*." I have attached the following files:
>
> *1. DeiErrores Web Service.mht      (Web Service , Browser Interface)
> 2. DeiErrores.asmx                         (WSDL)
> 3. JETADEI5OS.txt                          (RPG ILE Client Program to
> consume the web service)
> 4. DeiRespuesta.soap.txt                (Response file from web service
> provider)  <---------Error
> 5. httpapi_debug.txt                       (HTTPAPI debug file)*
>
> if anybody have the time to take a look to this files and give me a hand,
> I
> will appreciate very much.
> thank you in advance.
>
> *Jeffreehy Talavera*
> *Consultan
> S390, iSeries & Open Systems*
>
>
>
> Information contained in this email is intended for the use of the
> addressee only, and is confidential and may be the subject of legal
> professional privilege.  Any dissemination, distribution, copying or use
of
> this communication without prior permission of the addressee is strictly
> prohibited.   If you have received this email in error please notify the
> Help Desk at Endsleigh on 01242 866866.
> The contents of an attachment to this email may contain software viruses,
> which could damage your computer system. While Endsleigh has taken every
> reasonable precaution to minimise this risk, we cannot accept liability
for
> any damage, which you sustain as a result of software viruses. You should
> carry out your own virus checks before opening the attachment.
> www.endsleigh.co.uk
> Endsleigh Insurance Services Limited is authorised and regulated by the
> Financial Services Authority, this can be checked on the FSA Register by
> visiting their web site at www.fsa.gov.uk/register
> Company number: 856706
> Registered in England at Shurdington Road, Cheltenham Spa, Gloucestershire
> GL51 4UE
>
>
> -----------------------------------------------------------------------
> This is the FTPAPI mailing list.  To unsubscribe, please go to:
> http://www.scottklement.com/mailman/listinfo/ftpapi
> -----------------------------------------------------------------------
>



-- 

Consultor Especialista
S390, iSeries & Open Systems

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