Topic
  • 15 replies
  • Latest Post - ‏2013-05-31T03:39:51Z by YPS1_guybrush_guybrush
P.Rambabu
P.Rambabu
1 Post

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

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

    ‏2012-03-19T15:58:06Z  
    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

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

    ‏2012-07-15T17:15:16Z  
    • kdreyer
    • ‏2012-03-19T15:58:06Z
    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.
    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

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

    ‏2013-02-07T09:44:50Z  
    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?
    Hi Magali,

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

    Thanks,
    Swetha Rai
  • SystemAdmin
    SystemAdmin
    100 Posts

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

    ‏2013-02-07T11:12:14Z  
    Hi Magali,

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

    Thanks,
    Swetha Rai
    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

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

    ‏2013-03-11T15:41:05Z  
    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
    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

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

    ‏2013-05-29T12:21:08Z  

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

     

    Regards

    Harish

  • Harishkumarsharma
    Harishkumarsharma
    6 Posts

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

    ‏2013-05-29T12:25:44Z  
    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

    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

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

    ‏2013-05-29T12:35:20Z  

    Hi Magali,

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

    Regards

    Harish

    Hi Harish,

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

    Regards,

    Magali

  • Harishkumarsharma
    Harishkumarsharma
    6 Posts

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

    ‏2013-05-30T05:02:39Z  

    Hi Harish,

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

    Regards,

    Magali

    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

     

  • Magali.Boulet
    Magali.Boulet
    3 Posts

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

    ‏2013-05-30T06:20:07Z  

    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

     

    Hi Harish,

    What are your 'port' and 'path' configurations? If you refer to my previous post above, when defining a provide Web Service with port '9081' and path 'service/test', from a browser, you could see the generated WSDL using http://hostname:9081/service/test?wsdl.

    Regards,

    Magali

     

  • Harishkumarsharma
    Harishkumarsharma
    6 Posts

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

    ‏2013-05-30T06:40:03Z  

    Hi Harish,

    What are your 'port' and 'path' configurations? If you refer to my previous post above, when defining a provide Web Service with port '9081' and path 'service/test', from a browser, you could see the generated WSDL using http://hostname:9081/service/test?wsdl.

    Regards,

    Magali

     

    Hi Magali,

    I see your previous post & doing the same thing.If possible can you came online on IBM ST so that i can share the screen shot to you.

    Regards

    Harish

     

  • Harishkumarsharma
    Harishkumarsharma
    6 Posts

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

    ‏2013-05-30T06:44:57Z  

    Hi Magali,

    I see your previous post & doing the same thing.If possible can you came online on IBM ST so that i can share the screen shot to you.

    Regards

    Harish

     

    I have configured -

    ErrorWSPath String ErrorLoggerRemote
    ErrorWSPort String 9081

     

    & trying http://localhost:9081/service/ErrorLoggerRemote?wsdl

    is anything wrong in this configuration?

    also i have tried with -

    http://localhost:9081/ErrorLoggerRemote?wsdl

    Regards

    Harish

    Updated on 2013-05-30T06:48:18Z at 2013-05-30T06:48:18Z by Harishkumarsharma
  • Magali.Boulet
    Magali.Boulet
    3 Posts

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

    ‏2013-05-30T12:00:11Z  

    I have configured -

    ErrorWSPath String ErrorLoggerRemote
    ErrorWSPort String 9081

     

    & trying http://localhost:9081/service/ErrorLoggerRemote?wsdl

    is anything wrong in this configuration?

    also i have tried with -

    http://localhost:9081/ErrorLoggerRemote?wsdl

    Regards

    Harish

    You may want to try http://<yourcomputername>:9081/ErrorLoggerRemote?wsdl

    Updated on 2013-05-30T12:00:24Z at 2013-05-30T12:00:24Z by Magali.Boulet
  • Harishkumarsharma
    Harishkumarsharma
    6 Posts

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

    ‏2013-05-30T13:39:03Z  

    thks Magali,

    Its working fine for me now.

    Regards

    Harish Sharma

  • YPS1_guybrush_guybrush
    2 Posts

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

    ‏2013-05-31T03:39:51Z  

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

     

    Regards

    Harish

    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.