facebook

How 2 generate stubs for a WSDL(created by Apache Axis)

  1. MyEclipse IDE
  2.  > 
  3. Java EE Development (EJB, JSP, Struts, XDoclet, etc.)
Viewing 7 posts - 1 through 7 (of 7 total)
  • Author
    Posts
  • #347010 Reply

    sairam39
    Member

    Hi Team,

    Greetings for the day!!!

    In my project for creating server I have used JAX-WS and everything is done, perfectly and I have created WSDL for that server, but my client gave me a WSDL which is generated using apache axis 1.2, but while I am creating stubs for that WSDL, some validation errors came.

    which I have attached to this,

    If there are any links for this please suggest me.

    Attachments:
    You must be logged in to view attached files.
    #347052 Reply

    sairam39,

    I suspect that the issue seems to be with the compatibility, as your WSDL file is created by Apache axis. If possible, can you please attach the WSDL file in which you are seeing the issue to help us investigate further ?

    I also suggest you post on development forums (for example, http://www.stackoverflow.com ) for better support on this.

    #347088 Reply

    sairam39
    Member

    Please consider this WSDL.

    Attachments:
    You must be logged in to view attached files.
    #347114 Reply

    sairam39,

    As mentioned in my earlier response, I suggest you to post on other forums regarding the validation errors and try to fix them, as this is not a MyEclipse issue that we can investigate. If you think that the validation errors are not correct, can you please give us a detailed explanation of why the validation errors are not correct.

    #347116 Reply

    sairam39
    Member

    Thanks for the info,

    But please confirm me one thing from your end, i.e is it possible to generate stubs from a WSDL (which is created by using Apache Axis 1.x) in MyEclipse????

    Thanks in advance.

    #347160 Reply

    sairam39,

    Yes it is possible to generate stubs for a WSDL file in MyEclipse. However, if MyEclipse is reporting some validation errors in WSDL file, then there are probably errors or it is an invalid WSDL file.

    #347170 Reply

    sairam39,

    Can you please ignore the warnings on wsdl and try creating the web service client and see if the client is created successfully ? If you run into issues creating the client, please check if the wsdl file is WS-I complaint.

    JAX-RPC is supported only in MyEclipse Blue, so, can you please clarify if you have used RPC style in WSDL creation ?

Viewing 7 posts - 1 through 7 (of 7 total)
Reply To: How 2 generate stubs for a WSDL(created by Apache Axis)

You must be logged in to post in the forum log in