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

Re: Problem with WSDL2RPG



I know that this is off topic, but does someone know why my messages are displayed that badly formatted, when I send them from Lotus Notes? I always add empty lines to make my messages look nicely but usually the empty lines get lost when the message is send from Notes.

That does not happen, when I send the messages from Thunderbird, at home.

Thomas.


Am 14.06.2013 07:50, schrieb thomas.raddatz@xxxxxx:
    Mario,
    Thank you for keeping me up to date. It appears as if the server of the
    wholesaler is somewhat confused. Too much rain, I guess. ;-)
    Of course WSDL2RPG cannot handle a 'FCKInfocom' response to a
    'FCKdisponibilita' request, because the WSDL of the 'FCKdisponibilita'
    service does not contain any information about a 'FCKInfocom' response.
    I wonder, what answer you get from the service provider.
    Thomas.
    ftpapi-bounces@xxxxxxxxxxxxxxxxxxxxxx schrieb am 13.06.2013 15:33:27:
    > Von: martoriello@xxxxxxxxxxxxxxx
    > An: ftpapi@xxxxxxxxxxxxxxxxxxxxxx,
    > Datum: 13.06.2013 15:44
    > Betreff: Re: Problem with WSDL2RPG
    > Gesendet von: ftpapi-bounces@xxxxxxxxxxxxxxxxxxxxxx
    >
    > Thomas
    > I look in the program and everything is OK. As I wrote in the last
    mail the
    > pharmaceutical wholesaler  can provide for the same service 2
    different
    > webservices FCKDisponibilita e FCKInfoCom. Which webservices is up is
    told
    > as answer after the login. So as this wholesaler provide
    FCKdisponibilita
    > the pgm use this webservice  for the request correctly, the strange
    is that
    > he answers with FCKInfocom as you rightly observed. Now I think the
    problem
    > isn't in WSDL2RPG or Httpapi but only in this strange behavior. I
    asked to
    > the pharmaceutical wholesaler and still waiting for an answer.
    > Kind Regards
    > Mario
    >
    > -----Messaggio originale-----
    > From: Mario Martoriello
    > Sent: Thursday, June 06, 2013 12:53 PM
    > To: HTTPAPI and FTPAPI Projects
    > Subject: Re: Problem with WSDL2RPG
    >
    > Thomas
    > Thank for your answer. The log file that I sent ,and that I attached
    again ,
    > was taken after the error happened. Reading your tips I am puzzled
    too. I
    > know that I sent a request for FCKInfoCom  and I don't understand why
    I have
    > in the log file a FCKdisponibilità.I have to take a look at the
    program and
    > understand better what it does and let you know
    > Best regards
    > Mario
    >
    > -----Messaggio originale-----
    > From: thomas.raddatz@xxxxxx
    > Sent: Tuesday, June 04, 2013 9:14 AM
    > To: ftpapi@xxxxxxxxxxxxxxxxxxxxxx
    > Subject: Re: Problem with WSDL2RPG
    >
    >
    > Mario,
    >
    > I am missing the debug log. The debug log that you sent to me cannot
    be
    > the right one, because it sends a "FCKDisponibilita" message to the
    server
    > and receives a "FCKInfoComResponse" message from the server. I am
    > completely puzzled, because I cannot understand how that is possible.
    The
    > "FCKInfoCom.wsdl" specifies the following messages:
    >
    > Request:   FCKInfoCom
    > Response:  FCKInfoComResponse
    >
    > And the "fckdisponibilita.wsdl" specifies the following messages:
    >
    > Request:   FCKDisponibilita
    > Response:  FCKDisponibilitaResponse
    >
    > The program that you sent to me produces this message:
    >
    > request =
    >     '<?xml version="1.0" encoding="UTF-8"?>'                     +
    >     '<soapenv:Envelope'                                          +
    >     ' xmlns:soapenv="[1]http://schemas.xmlsoap.org/soap/envelope/";' +
    >     ' xmlns:impl="[2]http://localhost:8080/infarmaclick//farmaclick/+
    >     Farmaclick2005001FCKInfoCom"' +
    >     ' xmlns:soapenc="[3]http://schemas.xmlsoap.org/soap/encoding/";' +
    >     ' xmlns:tns1="urn:BeanService"' +
    >     ' xmlns:xsd="[4]http://www.w3.org/2001/XMLSchema";' +
    >     ' xmlns:xsi="[5]http://www.w3.org/2001/XMLSchema-instance";' +
    >     '>'                                                          +
    >     '<soapenv:Body>'                                             +
    >     '<impl:FCKInfoCom' +
    >        ' soapenv:encodingStyle="[6]http://schemas.xmlsoap.org/soap/e+
    >        ncoding/"' +
    >     '>' +
    >
    > But your debug log shows a "FCKDisponibilita" request message:
    >
    > <?xml version="1.0" encoding="UTF-8"?>
    > <soapenv:Envelope ...>
    >     <soapenv:Body>
    >         <impl:FCKDisponibilita ...>
    >             <daib xsi:type="tns1:DettaglioArticoliInputBean">
    >
    > Last but not least I successfully received the response message of
    your
    > debug file from a soapUI mock service. I used a test program
    generated
    > with WSDL2RPG v1.13 and your stub program. The only thing I had to
    change
    > was a namespace value, that the soapUI mock service did not like.
    >
    > Regards,
    >
    > Thomas.
    >
    >
    >
    > ftpapi-bounces@xxxxxxxxxxxxxxxxxxxxxx schrieb am 03.06.2013 20:42:23:
    >
    > > Von: martoriello@xxxxxxxxxxxxxxx
    > > An: ftpapi@xxxxxxxxxxxxxxxxxxxxxx,
    > > Datum: 03.06.2013 20:53
    > > Betreff: Re: Problem with WSDL2RPG
    > > Gesendet von: ftpapi-bounces@xxxxxxxxxxxxxxxxxxxxxx
    > >
    > > Thomas
    > > sorry I did a mistake because  I can get the same service i.e
    product
    > > availability  with 2 different webservices FCKDisponibilita and
    > FCKInfocom
    > > and of course I send the wrong one. Here I attach all the things
    that
    > you
    > > asked.   The stub is the same because it uses the two wsdl together
    if I
    > am
    > > not wrong again.
    > > best regards
    > > mario
    > > -----Messaggio originale-----
    > > From: thomas.raddatz@xxxxxx
    > > Sent: Friday, May 31, 2013 8:58 AM
    > > To: ftpapi@xxxxxxxxxxxxxxxxxxxxxx
    > > Subject: Re: Problem with WSDL2RPG
    > >
    > >
    > > Mario,
    > >
    > > I am confused, because either you send a wrong request
    > (FCKDisponibilita)
    > > to the server or you sent the wrong WSDL file to me. The WSDL file
    that
    > I
    > > received from you requires a FCKInfoCom message like this:
    > >
    > > <soapenv:Envelope
    xmlns:xsi="[7]http://www.w3.org/2001/XMLSchema-instance";
    > > xmlns:xsd="[8]http://www.w3.org/2001/XMLSchema"; xmlns:soapenv="
    > > [9]http://schemas.xmlsoap.org/soap/envelope/"; xmlns:api="
    > > [10]http://api.farmaclick.infarma.it"; xmlns:soapenc="
    > > [11]http://schemas.xmlsoap.org/soap/encoding/";>
    > >    <soapenv:Header/>
    > >    <soapenv:Body>
    > >       <api:FCKInfoCom soapenv:encodingStyle="
    > > [12]http://schemas.xmlsoap.org/soap/encoding/";>
    > >          <icib xsi:type="urn:InfoComInputBean"
    > > xmlns:urn="urn:BeanService">
    > >             <IDSessione
    > xsi:type="soapenc:string">IDSessione</IDSessione>
    > >             <codiceFornitore
    > > xsi:type="soapenc:string">codiceFornitore</codiceFornitore>
    > >             <arrayArticoliInput
    > > xsi:type="far:ArrayOf_tns1_ArticoloInputBean"
    > > soapenc:arrayType="urn:ArticoloInputBean[]" xmlns:far="
    > >
    >
    [13]http://localhost:8080/infarmaclick//farmaclick/Farmaclick2005001FCK
    InfoCom
    > > "/>
    > >             <descrizioneArticoli
    > > xsi:type="xsd:boolean">true</descrizioneArticoli>
    > >             <descrizioneMotivazioneMancanza
    > > xsi:type="xsd:boolean">true</descrizioneMotivazioneMancanza>
    > >             <indicazioneDepositoAllestimento
    > > xsi:type="xsd:boolean">true</indicazioneDepositoAllestimento>
    > >             <codiceTipoOrdine
    > > xsi:type="soapenc:string">codiceTipoOrdine</codiceTipoOrdine>
    > >             <indicazioneDatiConsegna
    > > xsi:type="xsd:boolean">true</indicazioneDatiConsegna>
    > >          </icib>
    > >       </api:FCKInfoCom>
    > >    </soapenv:Body>
    > > </soapenv:Envelope>
    > >
    > >
    > > And here is what you sent to the server:
    > >
    > > <soapenv:Envelope xmlns:soapenv="
    > [14]http://schemas.xmlsoap.org/soap/envelope/
    > > " xmlns:impl="
    > > [15]http://localhost:8080/infarmaclick//farmaclick/
    > > Farmaclick2005001FCKDisponibilita
    > > " xmlns:soapenc="[16]http://schemas.xmlsoap.org/soap/encoding/";
    > > xmlns:tns1="urn:BeanService" xmlns:tns2="
    > [17]http://bean.farmaclick.infarma.it
    > > " xmlns:xsd="[18]http://www.w3.org/2001/XMLSchema"; xmlns:xsi="
    > > [19]http://www.w3.org/2001/XMLSchema-instance";>
    > >    <soapenv:Body>
    > >       <impl:FCKDisponibilita soapenv:encodingStyle="
    > > [20]http://schemas.xmlsoap.org/soap/encoding/";>
    > >          <daib xsi:type="tns1:DettaglioArticoliInputBean">
    > >             <codiceFornitore>UNIFARM</codiceFornitore>
    > > <IDSessione>d1a5b667-4fba-4ce1-bd22-5ce3fe81a5a9</IDSessione>
    > >             <arrayArticoliInput xsi:type="soapenc:Array"
    > > soapenc:arrayType="tns1:ArticoloInputBean[1]">
    > >                <arrayArticoliInput
    xsi:type="tns1:ArticoloInputBean">
    > >
    > > <accettazioneAllinemantoColloInVendita>0</
    > > accettazioneAllinemantoColloInVendita>
    > > <accettazioneConsegnaDifferita>0</accettazioneConsegnaDifferita>
    > >
    <accettazioneProdottoSostitutivo>0</accettazioneProdottoSostitutivo>
    > >                   <codiceProdotto>004763330</codiceProdotto>
    > >                   <noteRiga/>
    > >                   <prenotazione>false</prenotazione>
    > >                   <quantitaRichiesta>1</quantitaRichiesta>
    > >                </arrayArticoliInput>
    > >             </arrayArticoliInput>
    > >             <descrizioneArticoli>true</descrizioneArticoli>
    > >
    <descrizioneMotivazioneMancanza>true</descrizioneMotivazioneMancanza>
    > >
    <indicazioneDepositoAllestimento>true</indicazioneDepositoAllestimento>
    > >          </daib>
    > >       </impl:FCKDisponibilita>
    > >    </soapenv:Body>
    > > </soapenv:Envelope>
    > >
    > >
    > > Is it possible that someone changed your configuration and that you
    send
    > > the wrong message, now?
    > >
    > > Regards,
    > >
    > > Thomas.
    > >
    > >
    > > ftpapi-bounces@xxxxxxxxxxxxxxxxxxxxxx schrieb am 30.05.2013
    19:52:55:
    > >
    > > > Von: martoriello@xxxxxxxxxxxxxxx
    > > > An: ftpapi@xxxxxxxxxxxxxxxxxxxxxx,
    > > > Datum: 30.05.2013 20:00
    > > > Betreff: Re: Problem with WSDL2RPG
    > > > Gesendet von: ftpapi-bounces@xxxxxxxxxxxxxxxxxxxxxx
    > > >
    > > > Thomas
    > > > here is what you ask .
    > > > best regards
    > > > Mario
    > > >
    > > > -----Messaggio originale-----
    > > > From: thomas.raddatz@xxxxxxxxxxx
    > > > Sent: Thursday, May 30, 2013 4:55 PM
    > > > To: HTTPAPI and FTPAPI Projects
    > > > Subject: Re: Problem with WSDL2RPG
    > > >
    > > > That is really strange. Do you have the wsdl file at your hands?
    Can
    > you
    > >
    > > > send it
    > > > to me?
    > > >
    > > > You may also include your stub module as plain text. I do not
    need to
    > > > compile it
    > > > but maybe want to have a look at it.
    > > >
    > > > Thomas.
    > > >
    > > >
    > > > > Mario Martoriello <martoriello@xxxxxxxxxxxxxxx> hat am 30. Mai
    2013
    > um
    > >
    > > > > 09:57
    > > > > geschrieben:
    > > > >
    > > > >
    > > > > Thomas
    > > > > thank you for your answer.
    > > > > The stub module was generated with 11.3 WSDLRPG version, but I
    am
    > not
    > > sure
    > > > > of it because the procedure SOAPMessage_Envelope statement is
    this:
    > > > > when (MultiRef_isData(attrs));
    > > > > and you wrote that change it with 1.12. Anyway the stub was
    > generated
    > > with
    > > > > 1.11.3 or 1.12 but the time is that.
    > > > > The strange thing is that until a couple days ago it works
    fine, so
    > > what
    > > > > do
    > > > > you suggest ? Have I to install the new version and regenerate
    the
    > > stub
    > > > > module or anything else?
    > > > > Best regards
    > > > > Mario
    > > > >
    > > > > -----Messaggio originale-----
    > > > > From: Thomas Raddatz
    > > > > Sent: Tuesday, May 28, 2013 9:09 PM
    > > > > To: HTTPAPI and FTPAPI Projects
    > > > > Subject: Re: Problem with WSDL2RPG
    > > > >
    > > > > Mario,
    > > > >
    > > > > What version of WSDL2RPG did you use to generate the stub? You
    > > mentioned
    > > > > that you use 1.13 but that does not necessarily mean that you
    > > generated
    > > > > the
    > > > > stub with 1.13.
    > > > >
    > > > > At the top of the stub module there should be a comment line
    like
    > this
    > >
    > > > > one:
    > > > >
    > > > > * Based on WS_STUB v1.13
    > > > >
    > > > > Please also check a statement in procedure
    SOAPMessage_Envelope().
    > > Does it
    > > > > look like this:
    > > > >
    > > > > when (MultiRef_isData(attrs)); // = OK
    > > > >
    > > > > Or does it look like this:
    > > > >
    > > > > when (name = 'multiRef' and MultiRef_isData(attrs)); // = WRONG
    > > > >
    > > > > If it looks like the latter one, remove "name = 'multiRef'" to
    make
    > it
    > > > > equal to the first one and try to call the web service again.
    The
    > > > > statement
    > > > > was changed with v1.12.
    > > > >
    > > > > Regards,
    > > > >
    > > > > Thomas.
    > > > >
    > > > > Am 28.05.2013 19:43, schrieb Mario Martoriello:
    > > > > > Hi all
    > > > > > I am using for long time this tool with HTTPAPI. Everything
    was
    > ok.
    > > > > > Since a couple day I am receveing the following error:
    > > > > > WSDL2RPG: USR0036: Failed to retrieve multi-reference
    information
    > of
    > > > > > ID
    > > > > > 'id1'.
    > > > > > received from procedure: BASICS1R1_f_sndPgmMsg
    > > > > > and statement: 54400
    > > > > > WSDL2RPG (eXpat error): (-1009) Failed to retrieve
    multi-reference
    > > > > > information of ID 'id1'.
    > > > > >
    > > > > > Attached there is the complete log file. I know that I am
    using an
    > > > > > WSDL2RPG old version (1.13) but maybe someone can suggest me
    the
    > > > > > reason
    > > > > > for this error. I have in plan to upgrade to the new version
    but
    > at
    > > > > > the
    > > > > > moment I have no time to do it.
    > > > > >
    > > > > > Any help would be greatly aprreciated .. Sorriso
    > > > > >
    > > > > > Best regards
    > > > > > Mario
    > > > > >
    > > > > >
    > > > > >
    > > > > >
    > >
    -----------------------------------------------------------------------
    > > > > > This is the FTPAPI mailing list. To unsubscribe, please go
    to:
    > > > > > [21]http://www.scottklement.com/mailman/listinfo/ftpapi
    > > > > >
    > >
    -----------------------------------------------------------------------
    > > > > >
    > > > >
    > >
    -----------------------------------------------------------------------
    > > > > This is the FTPAPI mailing list. To unsubscribe, please go to:
    > > > > [22]http://www.scottklement.com/mailman/listinfo/ftpapi
    > > > >
    > >
    -----------------------------------------------------------------------
    > > > >
    > > > >
    > >
    -----------------------------------------------------------------------
    > > > > This is the FTPAPI mailing list. To unsubscribe, please go to:
    > > > > [23]http://www.scottklement.com/mailman/listinfo/ftpapi
    > > > >
    > >
    -----------------------------------------------------------------------
    > > >
    > > >
    > > >
    > > >
    > > >
    > > >
    >
    -----------------------------------------------------------------------
    > > > This is the FTPAPI mailing list.  To unsubscribe, please go to:
    > > > [24]http://www.scottklement.com/mailman/listinfo/ftpapi
    > > >
    >
    -----------------------------------------------------------------------
    > > > [Anhang "xthomas" gelöscht von Thomas Raddatz/OBI/DE] [Anhang
    > > > "FCKInfoCom.wsdl" gelöscht von Thomas Raddatz/OBI/DE]
    > > >
    >
    -----------------------------------------------------------------------
    > > > This is the FTPAPI mailing list.  To unsubscribe, please go to:
    > > > [25]http://www.scottklement.com/mailman/listinfo/ftpapi
    > > >
    >
    -----------------------------------------------------------------------
    > >
    > >
    > > --
    > > IMPORTANT NOTICE:
    > > This email is confidential, may be legally privileged, and is for
    the
    > > intended recipient only. Access, disclosure, copying, distribution,
    or
    > > reliance on any of it by anyone else is prohibited and may be a
    criminal
    > > offence. Please delete if obtained in error and email confirmation
    to
    > the
    > > sender.
    > >
    > >
    > >
    > >
    > >
    > >
    -----------------------------------------------------------------------
    > > This is the FTPAPI mailing list.  To unsubscribe, please go to:
    > > [26]http://www.scottklement.com/mailman/listinfo/ftpapi
    > >
    -----------------------------------------------------------------------
    > > [Anhang "fckdisponibilita.wsdl" gelöscht von Thomas Raddatz/OBI/DE]
    > > [Anhang "xthomas" gelöscht von Thomas Raddatz/OBI/DE] [Anhang
    > > "FCKInfoCom.wsdl" gelöscht von Thomas Raddatz/OBI/DE]
    > >
    -----------------------------------------------------------------------
    > > This is the FTPAPI mailing list.  To unsubscribe, please go to:
    > > [27]http://www.scottklement.com/mailman/listinfo/ftpapi
    > >
    -----------------------------------------------------------------------
    >
    >
    > --
    > IMPORTANT NOTICE:
    > This email is confidential, may be legally privileged, and is for the
    > intended recipient only. Access, disclosure, copying, distribution,
    or
    > reliance on any of it by anyone else is prohibited and may be a
    criminal
    > offence. Please delete if obtained in error and email confirmation to
    the
    > sender.
    >
    >
    >
    >
    >
    >
    -----------------------------------------------------------------------
    > This is the FTPAPI mailing list.  To unsubscribe, please go to:
    > [28]http://www.scottklement.com/mailman/listinfo/ftpapi
    >
    -----------------------------------------------------------------------
    >
    >
    >
    >
    >
    >
    >
    -----------------------------------------------------------------------
    > This is the FTPAPI mailing list.  To unsubscribe, please go to:
    > [29]http://www.scottklement.com/mailman/listinfo/ftpapi
    >
    -----------------------------------------------------------------------
    >
    >
    -----------------------------------------------------------------------
    > This is the FTPAPI mailing list.  To unsubscribe, please go to:
    > [30]http://www.scottklement.com/mailman/listinfo/ftpapi
    >
    -----------------------------------------------------------------------

    --
    IMPORTANT NOTICE:
    This email is confidential, may be legally privileged, and is for the
    intended recipient only. Access, disclosure, copying, distribution, or
    reliance on any of it by anyone else is prohibited and may be a
    criminal
    offence. Please delete if obtained in error and email confirmation to
    the sender.

References

    1. http://schemas.xmlsoap.org/soap/envelope/
    2. http://localhost:8080/infarmaclick//farmaclick/+
    3. http://schemas.xmlsoap.org/soap/encoding/
    4. http://www.w3.org/2001/XMLSchema
    5. http://www.w3.org/2001/XMLSchema-instance
    6. http://schemas.xmlsoap.org/soap/e+
    7. http://www.w3.org/2001/XMLSchema-instance
    8. http://www.w3.org/2001/XMLSchema
    9. http://schemas.xmlsoap.org/soap/envelope/
   10. http://api.farmaclick.infarma.it/
   11. http://schemas.xmlsoap.org/soap/encoding/
   12. http://schemas.xmlsoap.org/soap/encoding/
   13. http://localhost:8080/infarmaclick//farmaclick/Farmaclick2005001FCKInfoCom
   14. http://schemas.xmlsoap.org/soap/envelope/
   15. http://localhost:8080/infarmaclick//farmaclick/
   16. http://schemas.xmlsoap.org/soap/encoding/
   17. http://bean.farmaclick.infarma.it/
   18. http://www.w3.org/2001/XMLSchema
   19. http://www.w3.org/2001/XMLSchema-instance
   20. http://schemas.xmlsoap.org/soap/encoding/
   21. http://www.scottklement.com/mailman/listinfo/ftpapi
   22. http://www.scottklement.com/mailman/listinfo/ftpapi
   23. http://www.scottklement.com/mailman/listinfo/ftpapi
   24. http://www.scottklement.com/mailman/listinfo/ftpapi
   25. http://www.scottklement.com/mailman/listinfo/ftpapi
   26. http://www.scottklement.com/mailman/listinfo/ftpapi
   27. http://www.scottklement.com/mailman/listinfo/ftpapi
   28. http://www.scottklement.com/mailman/listinfo/ftpapi
   29. http://www.scottklement.com/mailman/listinfo/ftpapi
   30. 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
-----------------------------------------------------------------------