• Post Reply Bookmark Topic Watch Topic
  • New Topic

Error: with <message> element in the WSDL file

 
Deepaks Deshpande
Ranch Hand
Posts: 114
Eclipse IDE Hibernate Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I am trying to implement an example on web services.

my schema file is :


My WSDL file is :


The error that i am getting is :


I am not understanding why i am getting this error as already the element 'HolidayRequest' is defined as an <element> in the schema. Please help..
 
H Paul
Ranch Hand
Posts: 471
4
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
It looks like you're creating a soapful web service using Spring WS Implementation.

Go over below link and you will find out your error.
3. Writing Contract-First Web Services
http://docs.spring.io/spring-ws/docs/2.2.0.RELEASE/reference/htmlsingle/#tutorial

The link has exactly the same example as yours + well explanation. Good Luck.
 
Deepaks Deshpande
Ranch Hand
Posts: 114
Eclipse IDE Hibernate Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Yes Paul, I am following the same link. But i am not trying to implement it with spring right now. Can you please explain why i am getting this error? What am i doing in a wrong way?
 
g tsuji
Ranch Hand
Posts: 697
3
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
...as already the element 'HolidayRequest' is defined as an <element> in the schema.

The underlying reasonning is proper, only there is a distance between the brain and the hands keying.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!