Namespace Issue

Today, for one of the tasks i need one sample WSDL so that i can create some mock service in SOAP UI. As usual wanted to leverage google search capabilities Smile for the same, instead of coming up with one on my own.

I have taken one of the WSDLs given in w3.org to my eclipse. I am surprised to see the errors given by eclipse for the WSDL. I made sure that the WSDL structure, namespace aliases etc. are given correctly.On careful examination of the inline XSD given in the WSDL, found the issue is with the namespace which is given as http://www.w3.org/1999/XMLSchema.

Modifying this namespace to http://www.w3.org/2001/XMLSchema resolved the error.

So the moral of the story is that some times blind copy does not give the intended time saving benefits as we expect.

Advertisement

2 Responses to “Namespace Issue”


  1. 1 shivajrk June 13, 2011 at 6:41 PM

    one doubt sir…

    do you think this is the issue with namespace. Namespace is only used for unique identification.
    or is it that eclipse interprets only this(http://www.w3.org/2001/XMLSchema) namespace.


Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

This site uses Akismet to reduce spam. Learn how your comment data is processed.




Pages

Enter your email address to subscribe to this blog and receive notifications of new posts by email.

Join 379 other subscribers

Enter your email address to follow this blog and receive notifications of new posts by email.


%d bloggers like this: