Post new topic   Reply to topic
View previous topic Printable version Log in to check your private messages View next topic
Author Message
kumar73
Post subject: How to create Webservice client using myeclipse  PostPosted: Nov 03, 2008 - 11:07 PM



Joined: Nov 03, 2008
Posts: 20

Hi

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 application

How 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 advance
 
 View user's profile Send private message  
Reply with quote Back to top
support-nipun
Post subject: RE: How to create Webservice client using myeclipse  PostPosted: Nov 04, 2008 - 05:42 AM
Registered Member
Registered Member


Joined: Apr 18, 2007
Posts: 6126

Firstly, 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/

_________________
Nipun
MyEclipse Support
 
 View user's profile Send private message Send e-mail  
Reply with quote Back to top
kumar73
Post subject: RE: How to create Webservice client using myeclipse  PostPosted: Nov 04, 2008 - 03:41 PM



Joined: Nov 03, 2008
Posts: 20

Thanks Nipun. I may need your help again. Let me install new version and explore with tutorials.
 
 View user's profile Send private message  
Reply with quote Back to top
support-nipun
Post subject: RE: How to create Webservice client using myeclipse  PostPosted: Nov 05, 2008 - 07:25 PM
Registered Member
Registered Member


Joined: Apr 18, 2007
Posts: 6126

Your welcome.

_________________
Nipun
MyEclipse Support
 
 View user's profile Send private message Send e-mail  
Reply with quote Back to top
kumar73
Post subject: RE: How to create Webservice client using myeclipse  PostPosted: Nov 11, 2008 - 09:41 PM



Joined: Nov 03, 2008
Posts: 20

Hi 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
 
 View user's profile Send private message  
Reply with quote Back to top
rmcvay
Post subject: RE: How to create Webservice client using myeclipse  PostPosted: Nov 11, 2008 - 09:51 PM
Registered Member
Registered Member


Joined: Sep 17, 2004
Posts: 58

Did 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.
 
 View user's profile Send private message Visit poster's website  
Reply with quote Back to top
kumar73
Post subject: RE: How to create Webservice client using myeclipse  PostPosted: Nov 11, 2008 - 10:17 PM



Joined: Nov 03, 2008
Posts: 20

I 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
kumar
 
 View user's profile Send private message  
Reply with quote Back to top
rmcvay
Post subject: RE: How to create Webservice client using myeclipse  PostPosted: Nov 12, 2008 - 06:58 PM
Registered Member
Registered Member


Joined: Sep 17, 2004
Posts: 58

Reverse 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.
 
 View user's profile Send private message Visit poster's website  
Reply with quote Back to top
kumar73
Post subject: Cvc-complex-type.4:Attribute’part’ must appear on elemen  PostPosted: Nov 13, 2008 - 03:49 PM



Joined: Nov 03, 2008
Posts: 20

Hi 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
 
 View user's profile Send private message  
Reply with quote Back to top
Display posts from previous:     
Jump to:  
All times are GMT - 6 Hours
Post new topic   Reply to topic
View previous topic Printable version Log in to check your private messages View next topic
Powered by PNphpBB2 © 2003-2004 The PNphpBB Group
Credits