| Author |
Message |
|
|
Post subject: How to create Webservice client using myeclipse
Posted: 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 |
|
|
| |
|
|
|
 |
|
|
Post subject: RE: How to create Webservice client using myeclipse
Posted: Nov 04, 2008 - 05:42 AM
|
|
Registered Member


Joined: Apr 18, 2007
Posts: 6126
|
|
|
|
|
 |
|
|
Post subject: RE: How to create Webservice client using myeclipse
Posted: 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. |
|
|
| |
|
|
|
 |
|
|
Post subject: RE: How to create Webservice client using myeclipse
Posted: Nov 05, 2008 - 07:25 PM
|
|
Registered Member


Joined: Apr 18, 2007
Posts: 6126
|
|
| Your welcome. |
_________________ Nipun
MyEclipse Support
|
| |
|
|
|
 |
|
|
Post subject: RE: How to create Webservice client using myeclipse
Posted: 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 |
|
|
| |
|
|
|
 |
|
|
Post subject: RE: How to create Webservice client using myeclipse
Posted: Nov 11, 2008 - 09:51 PM
|
|
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. |
|
|
| |
|
|
|
 |
|
|
Post subject: RE: How to create Webservice client using myeclipse
Posted: 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 |
|
|
| |
|
|
|
 |
|
|
Post subject: RE: How to create Webservice client using myeclipse
Posted: Nov 12, 2008 - 06:58 PM
|
|
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. |
|
|
| |
|
|
|
 |
|
|
Post subject: Cvc-complex-type.4:Attribute’part’ must appear on elemen
Posted: 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 |
|
|
| |
|
|
|
 |
|
|