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

Re: WSDL2RPG - RC4 available with workaround for Axis bug AXIS-2095



   Hi Thomas,

   I tried wsdl2rpg on one of the IBM Content Management Web Service wsdl
   files and got this error:

   WSDL2RPG
   URL('http://80.203.170.170/marianne/CMBGenericWebService.wsdl') S
   RCFILE(CMSRC/QRPGLESRC)
   SRCMBR(CMBGENERIC)
   Pointer not set for location
   referenced.
   Funksjonsfeil. MCH3601 uoverv?ket av WSDL2RPG in stmt 0000078400,
     instruksjonen
   X'0000'.
   The call to main ended in error (C G D
   F).
   The call to main ended in error (C G D
   F).

   Seems like the error is in  WSDL2RPG WSDL2R50 WSDL2R50_Type_isXmlArray
   stmt 0000078400.

   Any idea what's wrong?

   Best regards,

   Magne

   >-----Original Message-----
   >From: Thomas Raddatz [mailto:thomas.raddatz@xxxxxxxxxxx]
   >Sent: Friday, December 28, 2007 06:34 PM
   >To: 'HTTPAPI and FTPAPI Projects'
   >Subject: Re: WSDL2RPG - RC4 available with workaround for Axis bug
   AXIS-2095
   >
   >Magne,
   >
   >You have to use the latest HTTP API beta version in order to run the
   WSDL2RPG utility or the RPG Web
   >service client stubs.
   >
   >I added http_parser_switch_cb() to the HTTP API because of WSDL2RPG.
   >
   >Please download the latest HTTP API version from:
   >
   > http://www.scottklement.com/httpapi/beta/
   >
   >Thomas.
   >
   >
   >magne@xxxxxxxxx schrieb:
   >> Hi Thomas,
   >>
   >> thanks a lot!
   >>
   >> The wsdl2rpg cmd created the rpg code.
   >>
   >> But when i try to compile (crtrpgmod) i get this error:
   >>
   >> *RNF7030 HTTP_PARSER_SWITCH_CB...
   >> **UNDEF** 5025M 5097M
   >>
   >> 5024 namespace =
   >> 'http://schemas.xmlsoap.org/soap/envelope/');
   >> 5025
   >> http_parser_switch_cb(
   >> 5026
   >> %addr(g_soapFault)
   >> 5027 :
   >> %paddr('soapenv_soapFaultStart')
   >> 5028 :
   >> %paddr('soapenv_soapFaultEnd'));
   >> 5029
   >> endsl;
   >> 5030
   >>
   >> 5031
   >> /end-free
   >>
   >> Do you know where http_parser_switch_cb is defined?
   >>
   >> Best regards
   >>
   >> Magne
   >>
   >>
   >> >-----Original Message-----
   >> >From: Thomas Raddatz [mailto:thomas.raddatz@xxxxxxxxxxx]
   >> >Sent: Thursday, December 27, 2007 05:37 PM
   >> >To: 'HTTPAPI and FTPAPI Projects'
   >> >Subject: Re: WSDL2RPG - RC4 available with workaround for Axis bug
   >> AXIS-2095
   >> >
   >> >Magne,
   >> >
   >> >I fixed the problem and released RC5. I was able to successfully
   >> generate a stub for the 'getcustinf'
   >> >operation. But I could not call the Web service. I always received
   a
   >> "Error 404: No target servlet
   >> >configured for uri:
   >> /TennantWebServiceProject/services/GETCUSTINFServices" error
   messages.
   >> The URL
   >> >that I used to call the service was
   >>
   >"http://80.203.170.170:9080/TennantWebServiceProject/services/GETCUST
   >> INFServices".
   >> >
   >> >Please download and install RC5. It should work for you, now.
   >> >
   >> >Thomas.
   >> >
   >> >
   >> >magne@xxxxxxxxx schrieb:
   >> >> Hi Thomas,
   >> >>
   >> >> I still get an error when I try this cmd:
   >> >>
   >> >> WSDL2RPG
   >> URL('http://80.203.170.170/marianne/GETCUSTINFServices.wsdl')
   >> >> SRC
   >> >> FILE(QGPL/QRPGLESRC) SRCMBR(WSDLTEST)
   >> >>
   >> >>
   >> >> Pointer not set for location
   >> >> referenced.
   >> >> The call to main ended in error (C G D
   >> >> F).
   >> >> Message . . . . : The call to main ended in error (C G D
   >> >> F).
   >> >> Cause . . . . . : RPG procedure WSDL2R01 in program
   >> >> WSDL2RPG/WSDL2RPG at
   >> >> statement 088600 called program or procedure main, which ended
   in
   >> >> error. If
   >> >> the name is *N, the call was a bound call by procedure
   >> >> pointer.
   >> >>
   >> >> Can this be a parameter error? Seems like there is a parameter
   >> pointer
   >> >> error....
   >> >>
   >> >> Must the the wsdl point to a working web service? My wsdl does
   >> not....
   >> >>
   >> >> <wsdl:service name="GETCUSTINFServicesService">
   >> >>
   >> >> [1]- <wsdl:port binding="intf:GETCUSTINFServicesSoapBinding"
   >> >> name="GETCUSTINFServices">
   >> >> <wsdlsoap:address
   >> >>
   >>
   location="http://localhost:9080/TennantWebServiceProject/services/GETC
   >> >> USTINFServices" />
   >> >> </wsdl:port>
   >> >> </wsdl:service>
   >> >>
   >> >> Best regards
   >> >>
   >> >> Magne
   >> >
   >>
   >---------------------------------------------------------------------
   >> --
   >> >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
-----------------------------------------------------------------------