Forum Discussion

punter's avatar
punter
Contributor
8 years ago

Same interface/wsdl is added twice in soap project

Hi All,

 

I have a requirement where i need to add the interface/url to a soap project.

 

But i am getting the endpoint added twice in project GlobalWeatherSoap12unwanted GlobalWeatherSoap12

 

Here is the code snippets

 

def project = currentProject
.getWorkspace()
.createProject(projectName, new File(projectName + ".xml"));
def iface=WsdlInterfaceFactory.importWsdl(project,"http://www.webservicex.com/globalweather.asmx?WSDL",true)[0]

 

 

Can anyone please me help on this ?

 

 

Regards

Pankaj

 

    • punter's avatar
      punter
      Contributor

      Hi Paul,

       

      thanks for ur reply ,yes I checked you are correct

       

      I have another requirement wherein I need to pass data between xml tag through excel

       

      I am using below logic inside for loop

       

      def map=""

      tag =<name>pankaj</name>


       data="\\>"+"sachin"+"<//"

       

       

           map+=tag.replace("><",data) +"\n"

       

      but it does not seem to work ,can you please help me on this?