• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Ron McLeod
  • Tim Cooke
  • Liutauras Vilda
  • Jeanne Boyarsky
Sheriffs:
  • Paul Clapham
  • Rob Spoor
  • Junilu Lacar
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Piet Souris
  • Carey Brown
Bartenders:

New to Spring-ws. Problem with namespace issue

 
Ranch Hand
Posts: 42
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I am new to spring-ws. The following are the steps I know to do a wen services in spring
Part A
=====
1. Write an XSD --> Done
2. Write an interface --> Done
3. Write an implementation --> Done

Part B(Spring-WS stuff)
================
4. Write the web.xml --> Done
5. Write the SPring bean configuration XML file -->>>>FAILED. The problem I am facing here is as below.


I am getting error at the following line of key for the property is set


<props>
<prop key="{http://www.averconsulting.com/echo/schemas}EchoRequest" //--> I am getting //error at this line
>echoEndpoint</prop>
</props>



Which ever site I visit they are saying that it should be same as the namespace. For a sample echo example which is existing on the net I can give this namespace mentioned by them. How about if I have a totally different schema for a different project. I am using Netbeans and Glassfish as server.
 
mvPrasad Regula
Ranch Hand
Posts: 42
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Just rectifying the above scentence

Everywhere it is mentioned that it should be same namespace mentioned in xsd.

 
mvPrasad Regula
Ranch Hand
Posts: 42
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
My xsd has been placed in WEB-INF
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
reply
    Bookmark Topic Watch Topic
  • New Topic