webservice url error in myeclipse tutorial for wsdl on Jboss

  1. MyEclipse Archived
  2.  > 
  3. Web Services
Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
  • #334260 Reply


    Hi dear all staff and students

    I am running the wenservice at this url

    I could create the web service project and run it fine on JBoss 4.2.2 but when I create the client and I tried to put the url for the wsdl path as in the tutorial which is
    I get fail with this message
    WSDL file has validation errors. Code generation may fail.

    I tried many possibilities but in vain

    I use fully myeclipse for spring version 10.1 as a full subscriber.

    Do you have latest tutorial on JBoss or even tomcat to refer to

    My deep thanks to you all


    #334265 Reply


    I could not replicate the issue at my end after following the tutorial.

    It looks like you have entered wrong url for the wsdl path. You have given CalculatorService instead of CalculatorPort in the url. The url for the wsdl path should be http://localhost:8080/WebServiceProject/CalculatorPort?WSDL which is mentioned in the tutorial.

    Let us know how it works for you.

    #334268 Reply


    hi dear and thanks a lot

    in my CalculatorService.wsdl I have next
    <service name=”CalculatorService”>
    <port binding=”tns:CalculatorPortBinding” name=”CalculatorPort”>
    <soap:address location=”http://localhost:8080/WebServiceProject/CalculatorService”/&gt;

    so this url address should be valid but not working. Any way I used wsdl file instead of wsdl url and woring fine

    really I am very obliged to your prompt response

    have a nice weekend and take care


    #334269 Reply


    After following the tutorial, the code that was generated for me in CalculatorService.wsdl is
    <service name=”CalculatorService”>
    <port binding=”tns:CalculatorPortBinding” name=”CalculatorPort”>
    <soap:address location=”http://localhost:8080/WebServiceProject/CalculatorPort”/&gt;

    Anyway, Glad that you got it working.
    Let us know if you see any issues.

Viewing 4 posts - 1 through 4 (of 4 total)
Reply To: webservice url error in myeclipse tutorial for wsdl on Jboss

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