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

Re: Ftpapi Digest, Vol 2, Issue 11



Hi,

Thanks for the suggestions. The issue has been
resolved by the the help I got here. Now I am facing
another problem.

When I am trying to use one of my web services, it is
failing at the following line in the HTTPAPIR4 module.

if (%len(wkElemRoot.buf) > 0);                        
  
   if (XML_Parse(wkParser: wkElemRoot.buf:
%len(wkElemRo 
          = XML_STATUS_ERROR );                       
  
      wkElemRoot.errcode = XML_GetErrorCode(wkParser);
  
      wkElemRoot.line    =
XML_GetCurrentLineNumber(wkPa 
      wkElemRoot.column  =
XML_GetCurrentColumnNumber(wk 
      SetError(HTTP_XMLERR: 'XML parse failed at line
'  
           + %char(wkElemRoot.line) + ', col '        
  
           + %char(wkElemRoot.column) + ': '          
  
           +
%str(XML_ErrorString(wkElemRoot.errcode))); 
      wwRC = -1;     

The error code it says is 7 and the error message says
"XML parse failed at line 1, col 103: mismatched tag"

The tags seems to be okay as the same XML string is
working from other system apart from Iseries.

It would be great if you can suggest me what can be
the problem and where should I look to solve it.

Thanks,
Girija

--- ftpapi-request@xxxxxxxxxxxxxxxxxxxxxx wrote:

> Send Ftpapi mailing list submissions to
> 	ftpapi@xxxxxxxxxxxxxxxxxxxxxx
> 
> To subscribe or unsubscribe via the World Wide Web,
> visit
> 	http://www.scottklement.com/mailman/listinfo/ftpapi
> or, via email, send a message with subject or body
> 'help' to
> 	ftpapi-request@xxxxxxxxxxxxxxxxxxxxxx
> 
> You can reach the person managing the list at
> 	ftpapi-owner@xxxxxxxxxxxxxxxxxxxxxx
> 
> When replying, please edit your Subject line so it
> is more specific
> than "Re: Contents of Ftpapi digest..."
> 
> 
> Today's Topics:
> 
>    1. Re: Facing Authority Issues while using
> HTTPAPI (Scott Klement)
>    2. Re: Facing Authority Issues while using
> HTTPAPI (Michael Ryan)
>    3. RE: Facing Authority Issues while using
> HTTPAPI (Jon Paris)
>    4. Re: Ftpapi Digest, Vol 2, Issue 10 (girija
> patro)
> 
> 
>
----------------------------------------------------------------------
> 
> Message: 1
> Date: Mon, 28 Aug 2006 12:46:34 -0500 (CDT)
> From: Scott Klement <sk@xxxxxxxxxxxxxxxx>
> Subject: Re: Facing Authority Issues while using
> HTTPAPI
> To: HTTPAPI and FTPAPI Projects
> <ftpapi@xxxxxxxxxxxxxxxxxxxxxx>
> Message-ID:
> <20060828124531.N67363@xxxxxxxxxxxxxxxxx>
> Content-Type: TEXT/PLAIN; charset=US-ASCII;
> format=flowed
> 
> > you're attempting to create us referencing a
> procedure, and the program
> > can't find the procedure. So it looks in all the
> service programs in the
> > library list,
> 
> Library list?   I thought it looked at all of the
> service programs in the 
> QUSAPIBD binding directory!  Does it really look at
> all the service 
> programs in the library list?
> 
> 
> ------------------------------
> 
> Message: 2
> Date: Mon, 28 Aug 2006 13:57:40 -0400
> From: "Michael Ryan" <michaelrtr@xxxxxxxxx>
> Subject: Re: Facing Authority Issues while using
> HTTPAPI
> To: "HTTPAPI and FTPAPI Projects"
> <ftpapi@xxxxxxxxxxxxxxxxxxxxxx>
> Message-ID:
> 
>
<b384299a0608281057k6944f98fucf294a0a6e9a479d@xxxxxxxxxxxxxx>
> Content-Type: text/plain; charset="iso-8859-1"
> 
> Hmmm...well, for an ILE question, if you think one
> thing and I think
> another, my vote is for your belief system. :) I'm
> sure you're right - the
> library list comment was a guess/assumption on my
> part. But the OP should
> specify the binding directory in LIBHTTP and all
> will be well.
> 
> On 8/28/06, Scott Klement <sk@xxxxxxxxxxxxxxxx>
> wrote:
> >
> > > you're attempting to create us referencing a
> procedure, and the program
> > > can't find the procedure. So it looks in all the
> service programs in the
> > > library list,
> >
> > Library list?   I thought it looked at all of the
> service programs in the
> > QUSAPIBD binding directory!  Does it really look
> at all the service
> > programs in the library list?
> >
>
-----------------------------------------------------------------------
> > This is the FTPAPI mailing list.  To unsubscribe,
> please go to:
> >
> http://www.scottklement.com/mailman/listinfo/ftpapi
> >
>
-----------------------------------------------------------------------
> >
> -------------- next part --------------
> 
>    Hmmm...well, for an ILE question, if you think
> one thing and I think
>    another, my vote is for your belief system. :)
> I'm sure you're right -
>    the library list comment was a guess/assumption
> on my part. But the OP
>    should specify the binding directory in LIBHTTP
> and all will be well.
> 
>    On 8/28/06, Scott Klement
> <[1]sk@xxxxxxxxxxxxxxxx> wrote:
> 
>      > you're attempting to create us referencing a
> procedure, and the
>      program
>      > can't find the procedure. So it looks in all
> the service programs
>      in the
>      > library list,
>      Library list?   I thought it looked at all of
> the service programs
>      in the
>      QUSAPIBD binding directory!  Does it really
> look at all the service
>      programs in the library list?
>     
>
-------------------------------------------------------------------
>      ----
>      This is the FTPAPI mailing list.  To
> unsubscribe, please go to:
>     
>
[2]http://www.scottklement.com/mailman/listinfo/ftpapi
>     
>
-------------------------------------------------------------------
>      ----
> 
> References
> 
>    1. mailto:sk@xxxxxxxxxxxxxxxx
>    2.
> http://www.scottklement.com/mailman/listinfo/ftpapi
> 
> ------------------------------
> 
> Message: 3
> Date: Mon, 28 Aug 2006 14:41:35 -0400
> From: "Jon Paris" <Jon.Paris@xxxxxxxxxxxxxx>
> Subject: RE: Facing Authority Issues while using
> HTTPAPI
> To: "'HTTPAPI and FTPAPI Projects'"
> <ftpapi@xxxxxxxxxxxxxxxxxxxxxx>
> Message-ID:
> <001001c6cad1$973079f0$6701a8c0@JonsVaio>
> Content-Type: text/plain;	charset="us-ascii"
> 
> Good choice Michael!
> 
> Scott is correct - with one small addition - it will
> also search all of the
> Service Programs in the RPG compiler's binding
> directory (can't recall the
> name - never need to know it!).  
> 
> The binder never searches the library list for
> service programs of its own
> volition - only if they are named specifically (to
> CRTPGM) or via a binding
> directory.
> 
> Jon Paris
> Partner400
> 
> www.Partner400.com 
> 
> 
> 
> 
> ------------------------------
> 
> Message: 4
> Date: Mon, 28 Aug 2006 13:29:48 -0700 (PDT)
> From: girija patro <girija79@xxxxxxxxx>
> Subject: Re: Ftpapi Digest, Vol 2, Issue 10
> To: ftpapi@xxxxxxxxxxxxxxxxxxxxxx
> Message-ID:
>
<20060828202949.39168.qmail@xxxxxxxxxxxxxxxxxxxxxxxxxxx>
> Content-Type: text/plain; charset=iso-8859-1
> 
> Michael / Jon,
> 
> Thanks a lot. Your suggestions solved my problem.
> 
> Thanks,
> Girija
> 
> --- ftpapi-request@xxxxxxxxxxxxxxxxxxxxxx wrote:
> 
=== message truncated ===


__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 
-----------------------------------------------------------------------
This is the FTPAPI mailing list.  To unsubscribe, please go to:
http://www.scottklement.com/mailman/listinfo/ftpapi
-----------------------------------------------------------------------