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

RE: Struggling with WebServices



Clifton,

After reading the thread, I am still confused how the program could be
correct, but the output is incorrect. If you build the correct string and
call QtmhWrStout, you should have the correct output. Before you ask any
more questions (and I'd recommend the WEB400 mailing list (lots of good
folks over there including those familiar with QtmhWrStout)), I'd verify
that your program isn't causing the problem. Start like this. 

1. Debug the program. Stop at any and all QtmhWrStout and check the data you
are sending that way.
2. Start a comm trace or put wirshark on the line and see that the data is
indeed different than what you are seeing in debug. BTW, if that were true,
you should probably check if the PTFs are up-to-date.

Once, you've verified that data is just wrong coming from the program, you
will need to post code to get help (I'd suggest the RPG400-L list if you are
using RPG but it is related to WEB400 so either would work).

Reading your original post where you show Content-Type: .... mixed in the
code. Do you have the required x'15' after the content-type? This thread has
some example test code and you could start there and build it up to what you
want to do.
http://forums.systeminetwork.com/isnetforums/showthread.php?t=49525

Good luck,
Mike Krebs
 

-----Original Message-----
From: ftpapi-bounces@xxxxxxxxxxxxxxxxxxxxxx
[mailto:ftpapi-bounces@xxxxxxxxxxxxxxxxxxxxxx] On Behalf Of Clifton Brown
Sent: Thursday, May 01, 2008 1:17 PM
To: 'HTTPAPI and FTPAPI Projects'
Subject: RE: Struggling with WebServices

Do you have an opinion on what a better way to go would be?

-----Original Message-----
From: ftpapi-bounces@xxxxxxxxxxxxxxxxxxxxxx
[mailto:ftpapi-bounces@xxxxxxxxxxxxxxxxxxxxxx] On Behalf Of Scott Klement
Sent: Wednesday, April 30, 2008 1:40 PM
To: HTTPAPI and FTPAPI Projects
Subject: Re: Struggling with WebServices

Hello Clifton,

> c) Correct.  I guess what I was wondering was whether QtmhRdStin and 
> QtmhWrStout was the way to go for processing incoming webservices. As a
> debug tool, we are creating a string file with the outgoing XML just
before
> writing it with QtmhWrStout.  The string file is fine but the vendor who
> initiates the process and gets the response tells us that it is jumbled
when
> he receives it.

I don't know if I'd call them "the way to go".  But they should 
certainly be feasible.

Perhaps you would consider asking your question on the WEB400 mailing 
list over on Midrange.com?  This mailing list is specifically geared 
towards HTTPAPI and FTPAPI, and is not intended as a general purpose 
mailing list for anything related to web programming.   However, the 
WEB400 mailing list *is* intended as a general-purpose list for web 
programming on the '400.
http://lists.midrange.com/mailman/listinfo/web400

-----------------------------------------------------------------------
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
-----------------------------------------------------------------------