- This topic has 3 replies, 2 voices, and was last updated 11 years, 10 months ago by support-pradeep.
-
AuthorPosts
-
amir55ParticipantHi dear all staff and students
I am running the wenservice at this url
http://www.myeclipseide.com/documentation/quickstarts/webservices_jaxwsI 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
support-pradeepMemberAmir,
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.
amir55Participanthi 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”/>
</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
support-pradeepMemberAmir,
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”/>
</port>
</service>.Anyway, Glad that you got it working.
Let us know if you see any issues. -
AuthorPosts