facebook

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
    Posts
  • #334260 Reply

    amir55
    Participant

    Hi dear all staff and students

    I am running the wenservice at this url
    http://www.myeclipseide.com/documentation/quickstarts/webservices_jaxws

    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
    http://localhost:8080/WebServiceProject/CalculatorService?WSDL
    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

    Amir

    #334265 Reply

    Amir,

    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

    amir55
    Participant

    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;
    </port>
    </service>

    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

    Amir

    #334269 Reply

    Amir,

    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;
    </port>
    </service>.

    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