Topic
IC4NOTICE: developerWorks Community will be offline May 29-30, 2015 while we upgrade to the latest version of IBM Connections. For more information, read our upgrade FAQ.
15 replies Latest Post - ‏2013-05-31T03:39:51Z by YPS1_guybrush_guybrush
P.Rambabu
P.Rambabu
1 Post
ACCEPTED ANSWER

Pinned topic How to generate a WSDL from Cast Iron with a valid end point URL?

‏2012-03-12T10:52:08Z |
Hi,

I am working on Cast Iron Cloud integration tool (middleware) as part of one of my project's requirement. I have created a orchestration which contains 'provide service' activity as a starting activity, a invoke service activity and a reply activity. Prior to this, I have configured the required end points for the web service which I am using/consuming. Late published the project, deployed it and taken the wsdl from that orchestration.

But in that WSDL, the end point is generated with the local host, so I am not able test that WSDL/Web services in Soap UI. So I tried lot of options. But the problem is not resolved. H

Kindly help me how to generate an exact end point url for cast iron's generated WSDL.
Updated on 2013-03-11T15:41:05Z at 2013-03-11T15:41:05Z by SystemAdmin
  • kdreyer
    kdreyer
    2 Posts
    ACCEPTED ANSWER

    Re: How to generate a WSDL from Cast Iron with a valid end point URL?

    ‏2012-03-19T15:58:06Z  in response to P.Rambabu
    I'm not sure if I understand the details of your question, but you can definitely test the web service in soapUI after its been created. In your web service endpoint, you specify the port and the Path of the service. The URL to test is going to be dependent on whether you've deployed the orchestration to the appliance or if you are testing it locally.

    On Appliance:

    http[s]://DataIPAddressOfAppliance:Port/PathSpecified

    Locally:

    http[s]://ComputerName:Port/PathSpecified

    Append "?wsdl" to pull up the WSDL and then you'll be able to pull that into soapUI to test it easily.

    Hope that helps.
    • Paddyslacker
      Paddyslacker
      1 Post
      ACCEPTED ANSWER

      Re: How to generate a WSDL from Cast Iron with a valid end point URL?

      ‏2012-07-15T17:15:16Z  in response to kdreyer
      While I've gotten this to work just fine testing from the appliance, I've also never been able to successfully test an orchestration running locally within Cast Iron Studio.

      If I expose an orchestration as a web service endpoint and then use the Verify feature to run the orchestration, it runs fine, but using NETSTAT at the command line doesn't show anything running on the port I choose for the orchestration endpoint. SoapUI doesn't see anything at the location I specify either.

      Typically, I use port 8080 for the local endpoint to avoid interfering with anything else running on my machine, but nothing appears to be running on that port when I use the Verify tab to run the orchestration.

      What am I missing?
      • SystemAdmin
        SystemAdmin
        100 Posts
        ACCEPTED ANSWER

        Re: How to generate a WSDL from Cast Iron with a valid end point URL?

        ‏2013-02-07T09:44:50Z  in response to Paddyslacker
        Hi Magali,

        Could you please provide you inputs to the original question being posted?

        Thanks,
        Swetha Rai
        • SystemAdmin
          SystemAdmin
          100 Posts
          ACCEPTED ANSWER

          Re: How to generate a WSDL from Cast Iron with a valid end point URL?

          ‏2013-02-07T11:12:14Z  in response to SystemAdmin
          Hi Swetha,
          Sure, but I think the original question posted from P.Rambabu was already answered. What is wrong with you on this answer? Do you manage to access the WSDL generated by Studio using a browser from instance? If yes, then you should be able to call your orchestration from SOAPUI.
          From instance, I just defined a 'provide' Web Service with port '9081' and path 'service/test'. From a browser, I can see the generated WSDL using http://hostname:9081/service/test?wsdl and I was able to define a SOAP project based on this WSDL. And then the call from SOAPUI was sent to Studio.

          Regards,
          Magali
          • SystemAdmin
            SystemAdmin
            100 Posts
            ACCEPTED ANSWER

            Re: How to generate a WSDL from Cast Iron with a valid end point URL?

            ‏2013-03-11T15:41:05Z  in response to SystemAdmin
            You can actually right click on "Provide service" activity and choose "invoke service" selection. A panel will be displayed for you to modify the input parameters to the web service. In such a way you could actually test your web service without using external tool like soapUI.
          • Harishkumarsharma
            Harishkumarsharma
            6 Posts
            ACCEPTED ANSWER

            Re: How to generate a WSDL from Cast Iron with a valid end point URL?

            ‏2013-05-29T12:25:44Z  in response to SystemAdmin

            Hi Magali,

            I am trying to same in browser but not able to see the WSDL.It displaying unable to connect.

            Regards

            Harish

            • Magali.Boulet
              Magali.Boulet
              3 Posts
              ACCEPTED ANSWER

              Re: How to generate a WSDL from Cast Iron with a valid end point URL?

              ‏2013-05-29T12:35:20Z  in response to Harishkumarsharma

              Hi Harish,

              Did you start your orchestration first? What exactly did you configure?

              Regards,

              Magali

              • Harishkumarsharma
                Harishkumarsharma
                6 Posts
                ACCEPTED ANSWER

                Re: How to generate a WSDL from Cast Iron with a valid end point URL?

                ‏2013-05-30T05:02:39Z  in response to Magali.Boulet

                Hi Magali,

                I have create one provider service in CI Studio.i am successfully able to invoke it inside CI itself .Now i want to access it from the external tool like SOAP UI or standalone JAVA Program.But when i am trying to access the provider end point UPL i am not able to access the WSDL

                Regards

                Harish Sharma

                 

  • Harishkumarsharma
    Harishkumarsharma
    6 Posts
    ACCEPTED ANSWER

    Re: How to generate a WSDL from Cast Iron with a valid end point URL?

    ‏2013-05-29T12:21:08Z  in response to P.Rambabu

    If someone want to use External tool like SOAP Ui how can use them to test my invoke service activity

     

    Regards

    Harish

    • YPS1_guybrush_guybrush
      2 Posts
      ACCEPTED ANSWER

      Re: How to generate a WSDL from Cast Iron with a valid end point URL?

      ‏2013-05-31T03:39:51Z  in response to Harishkumarsharma

      Hi Hari,

      The consumer of your web service should first create the SOAPUI project and point to the location of the WSDL file in Cast Iron Appliance. While creating the project, there is option to create sample requests for each of the operations defined in your WSDL. After that just pick the operation you want to test and change the input parameters(default value is "?" and it should  be replaced with meaningful value). Then invoke and if the service is available, a proper response with be returned from the provider end.