Announcement Announcement Module
No announcement yet.
Can someone tell me what I'm missing? Page Title Module
Move Remove Collapse
Conversation Detail Module
  • Filter
  • Time
  • Show
Clear All
new posts

  • Can someone tell me what I'm missing?

    This is probably just a stupid newbie question, but I cannot seem to get a simple web service working at all. The MessageDispatcher servlet seems to just choke and die based on what I am sending it. This is the exception it is throwing:

    java.lang.IllegalArgumentException: local part cannot be "null" when creating a QName
    at javax.xml.namespace.QName.<init>(
    at javax.xml.namespace.QName.<init>(
    at org.apache.axis.message.PrefixedQName.<init>(Prefi
    at org.apache.axis.message.MessageElement.getElementN ame(
    at ion.getName(

    This is the set up for the servlet in web.xml:

    <servlet-class> eDispatcherServlet</servlet-class>


    This is what I am sending it:

    <?xml version="1.0" encoding="UTF-8"?>
    <UserInformationRequest xmlns="">
    <Password>50f457565bf5f04a665f85f86d0e0d9795062a9d </Password>

    I have tried pinging it both with a test client (based on the Echo sample) and SoapUI. In both cases it dies with the same error message.

    Any suggestions about what I am doing wrong?

    The only thing that I could find was this suggestion:

    It seems that having the Axis2 jars on the classpath caused the problem for some people, but when I removed the Axis2 jars, the web services threw a number of exceptions from that.