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

Re: Problem generating a connection to webservice



   Kjartan,
   I double checked again that I did not made any mistake and I
   successfully generated stubs for all operations of your web service
   (SOAP 1.1 and SOAP 1.2 bindings).
   Please ensure that your version is 1.15.7. You may display the
   copyright information of service program WSDL2RPGRT to check the
   version:
      DSPSRVPGM SRVPGM(WSDL2RPGRT) DETAIL(*COPYRIGHT)
   Or check the version that is displayed at the "Select Operation"
   screen.
   Sometimes it happens that people download the latest version but get an
   older version from the browser cache cache. So you may also check your
   zip file. The name of the WSDL2RPG save file should be:
      WSDL2RPG_v1.15.7_20130520_1521.SAVF
   In order to ensure that we are talking about the same WSDL file, I
   attached the WSDL file that I used to generate the stub modules. Please
   check that WSDL, too.
   Regards,
   Thomas.
   ftpapi-bounces@xxxxxxxxxxxxxxxxxxxxxx schrieb am 21.05.2013 10:43:47:
   > Von: Kjartan.Thor.Gudmundsson@xxxxxxxxxx
   > An: ftpapi@xxxxxxxxxxxxxxxxxxxxxx,
   > Datum: 21.05.2013 10:53
   > Betreff: Problem generating a connection to webservice
   > Gesendet von: ftpapi-bounces@xxxxxxxxxxxxxxxxxxxxxx
   >
   > Hello Thomas,
   >    I got the same error as before after I installed your new version
   > of WSDL2RPG :(
   >
   > Kjartan Þór Guðmundsson
   > Hugbúnaðarsérfræðingur / Software Specialist
   > Fjármála- og orkulausnir / Hugbúnaðarlausnir
   > Advania
   > -----Original Message-----
   > From: ftpapi-bounces@xxxxxxxxxxxxxxxxxxxxxx [[1]mailto:ftpapi-
   > bounces@xxxxxxxxxxxxxxxxxxxxxx] On Behalf Of ftpapi-
   > request@xxxxxxxxxxxxxxxxxxxxxx
   > Sent: 20. maí 2013 17:00
   > To: ftpapi@xxxxxxxxxxxxxxxxxxxxxx
   > Subject: Ftpapi Digest, Vol 79, Issue 17
   >
   > Send Ftpapi mailing list submissions to
   >    ftpapi@xxxxxxxxxxxxxxxxxxxxxx
   >
   > To subscribe or unsubscribe via the World Wide Web, visit
   >    [2]http://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: Problem generating a connection to webservice (Thomas
   Raddatz)
   >
   >
   >
   ----------------------------------------------------------------------
   >
   > Message: 1
   > Date: Mon, 20 May 2013 15:55:46 +0200
   > From: Thomas Raddatz <thomas.raddatz@xxxxxxxxxxx>
   > To: HTTPAPI and FTPAPI Projects <ftpapi@xxxxxxxxxxxxxxxxxxxxxx>
   > Subject: Re: Problem generating a connection to webservice
   > Message-ID: <519A2B62.4010201@xxxxxxxxxxx>
   > Content-Type: text/plain; charset=ISO-8859-1; format=flowed
   >
   > Kjartan,
   >
   > I fixed the problem and released v1.15.7 that you can download from
   here:
   >
   >     [3]http://www.tools400.de/Downloads/Freeware/Tools/wsdl2rpg.zip
   >
   > Regards,
   >
   > Thomas.
   >
   > Am 13.05.2013 19:32, schrieb Thomas Raddatz:
   > > Kjartan,
   > >
   > > The problem is, that your web service specifies the encoding type
   > > ("rpc") at operation level:
   > >
   > > <soap:binding transport="[4]http://schemas.xmlsoap.org/soap/http";
   />
   > > <wsdl:operation name="About">
   > >    <soap:operation soapAction="#About" style="rpc" />
   > >    <wsdl:input>
   > >      <soap:body use="encoded" namespace="urn:MMWebSrvService"
   > >
   encodingStyle="[5]http://schemas.xmlsoap.org/soap/encoding/"; />
   > >    </wsdl:input>
   > >    <wsdl:output>
   > >      <soap:body use="encoded" namespace="urn:MMWebSrvService"
   > >
   encodingStyle="[6]http://schemas.xmlsoap.org/soap/encoding/"; />
   > >    </wsdl:output>
   > > </wsdl:operation>
   > >
   > > I did not know that it is possible to do it this way. So far I
   thought
   > > that the encoding style must be specified at binding level only,
   like this:
   > >
   > > <soap:binding transport="[7]http://schemas.xmlsoap.org/soap/http";
   > >        style="rpc" />
   > > <wsdl:operation name="About">
   > >    <soap:operation soapAction="#About" />
   > >    <wsdl:input>
   > >      <soap:body use="encoded" namespace="urn:MMWebSrvService"
   > >
   encodingStyle="[8]http://schemas.xmlsoap.org/soap/encoding/"; />
   > >    </wsdl:input>
   > >    <wsdl:output>
   > >      <soap:body use="encoded" namespace="urn:MMWebSrvService"
   > >
   encodingStyle="[9]http://schemas.xmlsoap.org/soap/encoding/"; />
   > >    </wsdl:output>
   > > </wsdl:operation>
   > >
   > > Please use the attached WSDL file to generate your stubs. I am
   going
   > > to fix the problem as soon as possible.
   > >
   > > Regards,
   > >
   > > Thomas.
   > >
   > > Am 13.05.2013 12:39, schrieb Kjartan ??r Gu?mundsson:
   > >>     Hi everyone,
   > >>
   > >>                     I`ve been using the WSDL2RPG for a short time,
   and had
   > >>     no problem generating a program from the WSDL-file.  But now
   when I try
   > >>     to generate a code from the webservice
   > >>     [1][10]http://193.4.250.133/MMWebService/MMWebSrv.asmx?WSDL, I
   always get
   > >>     an error in TypeDef_isNull routine in module WSDL2R50, the
   i_type
   > >>     datastructure has just asterisk in every field and I get the
   "Pointer
   > >>     not set for location referenced." error.  And it doesn`t
   matter which
   > >>     webservice I choose from the available list, always get the
   same error.
   > >>
   > >>                     I would appricate if anyone could help me in
   this
   > >>     matter.
   > >>
   > >>
   > >>
   > >>     [2][[11]cid:image001.png@01CE4FC6.1BB70060]
   > >>
   > >>     Kjartan ??r Gu?mundsson
   > >>     Hugb?na?ars?rfr??ingur / Software Specialist
   > >>     Fj?rm?la- og orkulausnir / Hugb?na?arlausnir
   > >>     Direct. +354 440 9647 | Mobile. +354 693 1162
   > >>     [3]Kjartan.Thor.Gudmundsson@xxxxxxxxxx
   > >>     Gu?r?nart?n 10, 105 Reykjavik, Iceland
   > >>     Tel. +354 440 9000 | [4][12]www.advania.is
   > >>
   > >> References
   > >>
   > >>     1. [13]http://193.4.250.133/MMWebService/MMWebSrv.asmx?WSDL
   > >>     2. [14]file://localhost/tmp/www.advania.is
   > >>     3. [15]mailto:Kjartan.Thor.Gudmundsson@xxxxxxxxxx
   > >>     4. [16]http://www.advania.is/
   > >>
   > >>
   > >>
   > >>
   ---------------------------------------------------------------------
   > >> -- This is the FTPAPI mailing list.  To unsubscribe, please go to:
   > >> [17]http://www.scottklement.com/mailman/listinfo/ftpapi
   > >>
   ---------------------------------------------------------------------
   > >> --
   > >>
   > >
   > >
   > >
   ----------------------------------------------------------------------
   > > - This is the FTPAPI mailing list.  To unsubscribe, please go to:
   > > [18]http://www.scottklement.com/mailman/listinfo/ftpapi
   > >
   ----------------------------------------------------------------------
   > > -
   > >
   >
   >
   > ------------------------------
   >
   >
   -----------------------------------------------------------------------
   > This is the FTPAPI mailing list digest.  To unsubscribe, go to:
   > [19]http://www.scottklement.com/mailman/listinfo/ftpapi
   >
   -----------------------------------------------------------------------
   >
   >
   > End of Ftpapi Digest, Vol 79, Issue 17
   > **************************************
   >
   -----------------------------------------------------------------------
   > This is the FTPAPI mailing list.  To unsubscribe, please go to:
   > [20]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. mailto:ftpapi-
   2. http://scottklement.com/mailman/listinfo/ftpapi
   3. http://www.tools400.de/Downloads/Freeware/Tools/wsdl2rpg.zip
   4. http://schemas.xmlsoap.org/soap/http
   5. http://schemas.xmlsoap.org/soap/encoding/
   6. http://schemas.xmlsoap.org/soap/encoding/
   7. http://schemas.xmlsoap.org/soap/http
   8. http://schemas.xmlsoap.org/soap/encoding/
   9. http://schemas.xmlsoap.org/soap/encoding/
  10. http://193.4.250.133/MMWebService/MMWebSrv.asmx?WSDL
  11. cid:image001.png@01CE4FC6.1BB70060
  12. file://localhost/tmp/www.advania.is
  13. http://193.4.250.133/MMWebService/MMWebSrv.asmx?WSDL
  14. file://localhost/tmp/www.advania.is
  15. mailto:Kjartan.Thor.Gudmundsson@xxxxxxxxxx
  16. http://www.advania.is/
  17. http://www.scottklement.com/mailman/listinfo/ftpapi
  18. http://www.scottklement.com/mailman/listinfo/ftpapi
  19. http://www.scottklement.com/mailman/listinfo/ftpapi
  20. http://www.scottklement.com/mailman/listinfo/ftpapi

Attachment: MMWebSrv.wsdl
Description: Binary data

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