JBossWS cannot identify element in an RPC/Literal SOAP message within a target namespace

Solution Verified - Updated -


Given this sample request:

<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:ns1="http://www.jboss.org/namespace">

The following error is thrown in the error log when invoking a webservice call. The element is present in the target namespace but is unable to identify it.

    org.jboss.ws.WSException: Cannot find child element: MyMethodParameter

Note that this is using an RPC-Literal web service binding.


  • JBoss Enterprise Application Platform (EAP)
    • 4.3
    • 5.x
    • 6.x
  • JBossWS

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In