[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Problem generating stubs from wsdl2rpg.
Thomas-
A vendor provided me the WSDL (ADP). When WSDL failed to build the
stubs, I thought that the WSDL XML was invalid. I created a soapUI
project with the same WSDL and do not remember seeing any messages
about the WSDL XML being "malformed". Will have to investigate and see
if the missing namespace is considered "malformed" XML.
Thx,
-Bob.
Robert Dunn
President
Dunn-Rite Services, Inc.
rdunn@xxxxxxxxxxxxxxxxxxxxx
815.462.3017
I do not stand on the shoulders of giants.
I stand on their heads, to reach higher!
From: Thomas Raddatz <thomas.raddatz@xxxxxxxxxxx>
To: HTTPAPI and FTPAPI Projects <ftpapi@xxxxxxxxxxxxxxxxxxxxxx>
Sent: Tuesday, July 31, 2012 4:18 PM
Subject: Re: Problem generating stubs from wsdl2rpg.
Robert,
I assume that the problem is that your wsdl file does not specify a
namespace at the <schema> element:
<wsdl:types>
<xsd:schema>
<xsd:simpleType name = "LocalDateType">
I have not seen that before and I have to check what to do in that
case. So
far every <schema> element that I have seen had a namespace similar to
this:
<wsdl:types>
<xsd:schema
targetNamespace="http://tools400.de/wsdl2rpg/webservice/sample/base64fi
le/service">
Thomas.
Am 31.07.2012 21:49, schrieb Robert Dunn:
> Hi Thomas-
>
> Thanks for the reply. I had a typo regarding the version of
WSDL2RPG.
> The version I downloaded and ran is your beta (
> WSDL2RPG V1.15beta15). Sorry for the confusion.
>
> The WSDL I was given and attached contains many services. I only
need
> to access a few. Perhaps I will attempt to slim down the WSDL to
just
> the services I need to access and try the process again.
>
> Thx,
>
> -Bob.
>
> Robert Dunn
> President
> Dunn-Rite Services, Inc.
> [1]rdunn@xxxxxxxxxxxxxxxxxxxxx
> 815.462.3017
> I do not stand on the shoulders of giants.
> I stand on their heads, to reach higher!
> From: Thomas Raddatz <[2]thomas.raddatz@xxxxxxxxxxx>
> To: HTTPAPI and FTPAPI Projects <[3]ftpapi@xxxxxxxxxxxxxxxxxxxxxx>
> Sent: Tuesday, July 31, 2012 2:24 PM
> Subject: Re: Problem generating stubs from wsdl2rpg.
> Robert,
> WSDL2RPG v1.5 is a very old version and frankly there is no chance
to
> fix
> any errors there. It was great if you could update to v1.14 or
even to
> v1.15. I am about to release v1.15 soon (just in case you are
concerned
> about the 'beta' status).
> -1009 is a general purpose error message that is thrown from a
monitor
> group. Hence any possible error leads to an -1009 error code.
> Today there is no chance for me to test your wsdl file against
v1.15. I
> assume that there is a little chance for it, tomorrow.
> Thomas.
> Am 27.07.2012 13:38, schrieb Robert Dunn:
> > I am using HTTPAPI 1.24 , installed wsdl2rpg 1.5 and am at
> operating
> > system level v5r4. Tried generating stubs for the WSDL I was
> supplied
> > (from ADP) and received the following hard halt:(WSDL and
dump
> > attached)
> > 4 > WSDL2RPG URL('file:/tmp/hrb_2010_06_01_wsg.wsdl')
> >
> > SERVICE(*SELECT *SELECT)
> >
> > SRCFILE(morey/qrpglesrc)
> >
> > SRCMBR(WS0001) TYPE(*STUB)
> >
> > WSDL2RPG/WSDL2R99.WSDL2R99_getNamespaceFromName (Stmt:
24700)
> :
> > 'nsValue'
> > must not be empty.
> >
> > Parsing the WSDL file failed with error code -1009 in
line 342
> at
> > position
> > 5.
> >
> > WSDL2RPG/WSDL2R05.WSDL2R05_WSDLParser_terminate (Stmt:
100300)
> :
> > Target
> > namespace stack must be empty.
> >
> > Function check. CPF9898 unmonitored by WSDL2RPG at
statement
> > 0000100300,
> > instruction X'0000'.
> >
> > The call to main ended in error (C G D F).
> >
> > The call to main ended in error (C G D F).
> >
> > I have seen error code -1009 referenced in the mailing list,
but
> it was
> > regarding consuming the web service, not building the stubs.
I
> tried
> > testing the WSDL for errors by creating a project in soapUI
using
> the
> > attached WSDL. No problems were reported.
> > Assuming that the WSDL I was supplied is correct, has
anyone run
> into
> > a situation like this?
> > Thx,
> >
> > Robert Dunn
> >
> >
> >
> >
>
-----------------------------------------------------------------------
> > 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:
> [1][4]http://www.scottklement.com/mailman/listinfo/ftpapi
>
-----------------------------------------------------------------------
>
> References
>
> 1. [5]http://www.scottklement.com/mailman/listinfo/ftpapi
>
>
>
>
-----------------------------------------------------------------------
> This is the FTPAPI mailing list. To unsubscribe, please go to:
> [6]http://www.scottklement.com/mailman/listinfo/ftpapi
>
-----------------------------------------------------------------------
>
-----------------------------------------------------------------------
This is the FTPAPI mailing list. To unsubscribe, please go to:
[7]http://www.scottklement.com/mailman/listinfo/ftpapi
-----------------------------------------------------------------------
References
1. mailto:rdunn@xxxxxxxxxxxxxxxxxxxxx
2. mailto:thomas.raddatz@xxxxxxxxxxx
3. mailto:ftpapi@xxxxxxxxxxxxxxxxxxxxxx
4. http://www.scottklement.com/mailman/listinfo/ftpapi
5. http://www.scottklement.com/mailman/listinfo/ftpapi
6. http://www.scottklement.com/mailman/listinfo/ftpapi
7. 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
-----------------------------------------------------------------------