This discussion is archived
2 Replies Latest reply: Jan 25, 2013 1:26 AM by Bhabani Ranjan RSS

Problem Regarding OdiInvokeWebService

Anindya Chatterjee Newbie
Currently Being Moderated
I want to invoke a web service through odi using OdiInvokeWebService tool.So the problem is in Test or Production Environment the WSDL URL of the web service will be changed .AS the WSDL URL is hardcoded inside OdiInvokeWebService tool(i.e in WSDL URL Parameter) what shall I do now??

NB:-Can I use variable instead of WSDL URL?If yes then where should I store the variables value(i.e WSDL URL)?

Please Advice
  • 1. Re: Problem Regarding OdiInvokeWebService
    JeromeFr Expert
    Currently Being Moderated

    You can store the variable value in a parameter table and refresh your variable at the beginning of your package.
    Then you can just put the variable name instead of the url in the WSDL URL parameter.

  • 2. Re: Problem Regarding OdiInvokeWebService
    Bhabani Ranjan Guru
    Currently Being Moderated
    It should work. I did a quick test on this and found that variable is properly substituted with project name.

    OdiInvokeWebService "-URL=#PRO_SCOTT.MYVAR" "-PORT_TYPE=requestPortType" "-OPERATION=invokeStartScen"
    <?xml version = '1.0' encoding = 'UTF8'?>
    <OdiStartScenRequest xmlns="" xmlns:env="">
    <Credentials xmlns="">
    <Request xmlns="">


  • Correct Answers - 10 points
  • Helpful Answers - 5 points