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

Re: Consuming web service in RPGLE program(Error)



   It sounds like your IBM i doesn't have TCP/IP correctly setup.
   From a command line try:
   ping�vjdebsv01d
   That will fail, but the same command from your PC will work.
   make sure your IBM i DNS config matches the PC. �   GO CFGTCP
   12 -�Change TCP/IP domain information
   Charles

   On Thu, Dec 1, 2016 at 11:33 PM, Dishant Sharma <[1]dishant_s@xxxxxxx>
   wrote:

     � �Hi Scott,
     � �I am trying to consume a web service in my RPGLE program and
     below is
     � �the WSDL URI attached:
     � �[1][2]https://vjdebsv01d:7082/DV910/ReceiveXASODetails?WSDL
     � �But after creating my program and after following all of the
     steps to
     � �consume the service I am getting an error as' HOST NAME LOOKUP
     FAIL'.
     � �But when testing the same WSDL in SOAPUI Tool� I am getting
     the
     � �following response:-
     � �<env:Envelope xmlns:env="[3]http://schemas.
     xmlsoap.org/soap/envelope/">
     � � � <env:Header/>
     � � � <env:Body>
     � � � � �<env:Fault
     � �xmlns:wsse="[4]http://docs.oasis-open.org/wss/2004/01/oasis-
     200401-wss-wss
     � �ecurity-secext-1.0.xsd">
     � � � � � � <faultcode>wsse:InvalidSecurity</faultcode>
     � � � � � � <faultstring>Error on verifying message against
     security
     � �policy Error code:1000</faultstring>
     � � � � �</env:Fault>
     � � � </env:Body>
     � �</env:Envelope>
     � �I am attaching my debug log with it too.
     � �HTTPAPI Ver 1.23 released 2008-04-24
     � �OS/400 Ver V6R1M0
     � �New iconv() objects set, PostRem=819. PostLoc=0. ProtRem=819.
     ProtLoc=0
     � �http_persist_open(): entered
     � �http_long_ParseURL(): entered
     � �DNS resolver retrans: 2
     � �DNS resolver retry� : 2
     � �DNS resolver options: x'00000136'
     � �DNS default domain: WARSAW.BMET
     � �DNS server found: 10.1.3.4
     � �DNS server found: 10.1.3.5
     � �SetError() #2: Host name look up failed.
     � �Please I need help regarding this as there is an emergency
     deployment
     � �for this project scheduled for next week.
     � �I am in the dire need of help at this moment.
     � �Warm Regards,
     � �Dishant Sharma
     � �HCL Technologies Limited
     � �Plot 1 & 2, Sector 125, Tower A (Ground Floor), Noida
     � �cid:image005.jpg@01D0B6FB.D1DB2170
     � �::DISCLAIMER::
     � �------------------------------------------------------------
     -----------
     � �------------------------------------------------------------
     -----------
     � �------
     � �The contents of this e-mail and any attachment(s) are
     confidential and
     � �intended for the named recipient(s) only.
     � �E-mail transmission is not guaranteed to be secure or
     error-free as
     � �information could be intercepted, corrupted,
     � �lost, destroyed, arrive late or incomplete, or may contain
     viruses in
     � �transmission. The e mail and its contents
     � �(with or without referred errors) shall therefore not attach
     any
     � �liability on the originator or HCL or its affiliates.
     � �Views or opinions, if any, presented in this email are solely
     those of
     � �the author and may not necessarily reflect the
     � �views or opinions of HCL or its affiliates. Any form of
     reproduction,
     � �dissemination, copying, disclosure, modification,
     � �distribution and / or publication of this message without the
     prior
     � �written consent of authorized representative of
     � �HCL is strictly prohibited. If you have received this email in
     error
     � �please delete it and notify the sender immediately.
     � �Before opening any email and/or attachments, please check them
     for
     � �viruses and other defects.
     � �------------------------------------------------------------
     -----------
     � �------------------------------------------------------------
     -----------
     � �------
     References
     � �1. [5]https://vjdebsv01d:7082/DV910/ReceiveXASODetails?WSDL
     ------------------------------------------------------------
     -----------
     This is the FTPAPI mailing list.� To unsubscribe, please go to:
     [6]http://www.scottklement.com/mailman/listinfo/ftpapi
     ------------------------------------------------------------
     -----------

References

   1. mailto:dishant_s@xxxxxxx
   2. https://vjdebsv01d:7082/DV910/ReceiveXASODetails?WSDL
   3. http://schemas.xmlsoap.org/soap/envelope/
   4. http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wss
   5. https://vjdebsv01d:7082/DV910/ReceiveXASODetails?WSDL
   6. 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
-----------------------------------------------------------------------