- This topic has 8 replies, 3 voices, and was last updated 16 years, 7 months ago by
kumar.
-
AuthorPosts
-
kumarMemberHi
I am new to myeclipse IDE. I need to consume Webservice.
webservice is written on Dot Net Platform and I need to consume web service using my Timer bean in JAVA which will access service every 5 min.
Service will return XML file. File needs to be parsed and then call API’s to pass the data to another applicationHow do i do it? what is the recommended way to use web services via myeclipse?
Do i need to use JAX-WS or XFire?
I read Documentations but I am not clear. This is first time i am consuming webservice
Version of MyEclipse : 4.1.1 GA
Thanks in advanceNovember 3, 2008 at 11:42 pm #290608
Loyal WaterMemberFirstly, I would suggest you upgrade to MyEclipse 6.5 so that you can take advantage of all the new features that were added since 4.1. You are working with a very old release of MyEclipse.
This would be a good tutorial to start with:-
http://www.myeclipseide.com/documentation/quickstarts/webservicesclient/November 4, 2008 at 9:41 am #290629
kumarMemberThanks Nipun. I may need your help again. Let me install new version and explore with tutorials.
November 5, 2008 at 1:25 pm #290668
Loyal WaterMemberYour welcome.
November 11, 2008 at 3:41 pm #290872
kumarMemberHi All,
I stuck again. I am using My Eclipse Enterprise Workbench Version 6.6.0.
I selected my project and click
1) New Web Service Client
2) Framework JAX – WS
3) Entered my WSDL URL
4) Entered Java Source Folder
5) Entered java package
After That when I click next button I get WSDL validation Page. This page is throwing error as
WSDL file has validation errors. Code generation may fail
Error is ——–Cvc-complex-type.4:Attribute’part’ must appear on element ‘mime:content’.
I read following post http://forums.activevos.com/showthread.php?p=13252 but could not get what’s wrong in my setup.
Please help
ThanksNovember 11, 2008 at 3:51 pm #290875
rmcvayMemberDid you follow the link (http://www.ws-i.org/Profiles/AttachmentsProfile-1.0.html#MIME_Binding_Schema_Fixes) in the thread? It seems pretty clear as to what is required in the XML.
November 11, 2008 at 4:17 pm #290882
kumarMemberI read it but could not understand as it went above my head.
one thing is unclear to me that if service is running fine and i am able to get XML from browser why its throwing error while WSDL validation
Thanks
kumarNovember 12, 2008 at 12:58 pm #290925
rmcvayMemberReverse engineering tools are often a lot crankier about the correctness of their input than the applications using those artifacts in the first place. E.G. There is very little correct HTML and Javascript on the web but most browsers just blow it off and guess at what is wanted.
November 13, 2008 at 9:49 am #290954
kumarMemberHi All,
I stuck again. I am using My Eclipse Enterprise Workbench Version 6.6.0.
I selected my project and click
1) New Web Service Client
2) Framework JAX – WS
3) Entered my WSDL URL
4) Entered Java Source Folder
5) Entered java package
After That when I click next button I get WSDL validation Page. This page is throwing error as
WSDL file has validation errors. Code generation may fail
Error is ——–Cvc-complex-type.4:Attribute’part’ must appear on element ‘mime:content’.
I read following post http://forums.activevos.com/showthread.php?p=13252 but could not get what’s wrong in my setup.
Please help
Thanks -
AuthorPosts