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

Re: Problem with WSDL2RPG



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="http://www.w3.org/2001/XMLSchema-instance";
xmlns:xsd="http://www.w3.org/2001/XMLSchema"; xmlns:soapenv="
http://schemas.xmlsoap.org/soap/envelope/"; xmlns:api="
http://api.farmaclick.infarma.it"; xmlns:soapenc="
http://schemas.xmlsoap.org/soap/encoding/";>
  <soapenv:Header/>
  <soapenv:Body>
     <api:FCKInfoCom soapenv:encodingStyle="
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="
http://localhost:8080/infarmaclick//farmaclick/Farmaclick2005001FCKInfoCom
"/>
           <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="http://schemas.xmlsoap.org/soap/envelope/
" xmlns:impl="
http://localhost:8080/infarmaclick//farmaclick/Farmaclick2005001FCKDisponibilita
" xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/";
xmlns:tns1="urn:BeanService" xmlns:tns2="http://bean.farmaclick.infarma.it
" xmlns:xsd="http://www.w3.org/2001/XMLSchema"; xmlns:xsi="
http://www.w3.org/2001/XMLSchema-instance";>
  <soapenv:Body>
     <impl:FCKDisponibilita soapenv:encodingStyle="
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:
> > 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
>
-----------------------------------------------------------------------





-----------------------------------------------------------------------
This is the FTPAPI mailing list.  To unsubscribe, please go to:
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:
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:
http://www.scottklement.com/mailman/listinfo/ftpapi
-----------------------------------------------------------------------

Attachment: fckdisponibilita.wsdl
Description: XML document

Attachment: xthomas
Description: Binary data

Attachment: FCKInfoCom.wsdl
Description: XML document

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