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

Re: Problem generating a connection to webservice



Kjartan,

The problem is, that your web service specifies the encoding type ("rpc") at operation level:

<soap:binding transport="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="http://schemas.xmlsoap.org/soap/encoding/"; />
  </wsdl:input>
  <wsdl:output>
    <soap:body use="encoded" namespace="urn:MMWebSrvService"
          encodingStyle="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="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="http://schemas.xmlsoap.org/soap/encoding/"; />
  </wsdl:input>
  <wsdl:output>
    <soap:body use="encoded" namespace="urn:MMWebSrvService"
          encodingStyle="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]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][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]www.advania.is

References

    1. http://193.4.250.133/MMWebService/MMWebSrv.asmx?WSDL
    2. file://localhost/tmp/www.advania.is
    3. mailto:Kjartan.Thor.Gudmundsson@xxxxxxxxxx
    4. http://www.advania.is/



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

Attachment: MMWebSrv_fixed.wsdl
Description: XML document

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