Win a copy of The Way of the Web Tester: A Beginner's Guide to Automating Tests this week in the Testing forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Websphere webservice exception

Raj Diwan
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

I am trying to code my first webservice in websphere and I am having a little trouble with it. I was wondering if someone here could help me out with it..

These are the steps I have done so far...

1. Created a project called prototype
2. Added a WSDL to the project with the soap:address set to "http://localhost:8881/prototype"
3. Start the websphere app server
4. Right click on the WSDL and generated java bean skeleton with the EAR name for the project set to prototypeEAR. This step deploys the ear to the app server
5. Use SOAP Ui to generate a sample request from the WSDL.
6. Enter the input string value in the SOAP request.
7. Enter the end point as "http://localhost:8881/prototype"
8. click on run button

On clicking the run button, I get the following exception

ADMC0005E: A SOAP URI violation occurred. The correct URI is uri:AdminService.

I tried to make sense of the error in the documentation but couldnt...

basically this is what the documentation for the error says:

Explanation The SOAP (Simple Object Access Protocol) connector defines its own URI (Uniform Resource Identifier) for SOAP calls, uri:AdminService. This error occurs only when the SOAP call is not made through the SOAP administrative client provided by IBM.
Action Connect through the AdminClient, the only supported mechanism for connecting to the AdminService from a separate process.

If anyone has any pointers on the solution to this issue it would be really helpful.


  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic