Workload Automation1

Expand all | Collapse all

How to generate wdsl as java file in WADE

  • 1.  How to generate wdsl as java file in WADE

    Posted 07-22-2019 06:11 AM
    ​Hi all.

    1. To create a web service client in eclips, import the EspDSeriesService.wsdl file on the manager server.
        However, the result is shown below and the java file is not generated properly.

    File : EspDSeriesService.java
    public interface EspDSeriesService extends javax.xml.rpc.Service {
      public java.lang.String
    getEspDSeriesServiceHttpSoap11EndPointAddress();
      public com.ca.wa.engine.webservice.EspDSeriesServicePortType
    getEspDSeriesServiceHttpSoap11EndPoint() throws
    javax.xml.rpc.ServiceException;
      public com.ca.wa.engine.webservice.EspDSeriesServicePortType
    getEspDSeriesServiceHttpSoap11EndPoint(java.net.URL portAddress) throws
    javax.xml.rpc.ServiceException;
    }

    2. When I try to pull in eclipse with the wsdl URL because I can not create a java file with method # 1 above,
    authentication input screen is displayed and input admin / axis2 and
    Another error occurred after input.

    How can I create wdsl as a java file?


  • 2.  RE: How to generate wdsl as java file in WADE

    Posted 07-23-2019 08:53 AM
    Hi,
    I'm not sure how WSDL can be converted to Java program.  If you want to call the WSDL from Java code, then you will need to write a program get the link,
    WSDL simply put is an XML artifact that tells you the endpoints of your Web services application.  So why exactly do you want to convert the WSDL to some Java code?

    Thank you,
    Nitin Pande
    Broadcom

    ------------------------------
    [Designation]
    [City]
    ------------------------------