Win a copy of Java EE 8 High Performance this week in the Java/Jakarta EE forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Websphere webservice exception  RSS feed

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.


when your children are suffering from your punishment, tell your them it will help them write good poetry when they are older. Like this tiny ad:
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!