QName not being created
-----------------------

                 Key: SM-548
                 URL: https://issues.apache.org/activemq/browse/SM-548
             Project: ServiceMix
          Issue Type: Bug
          Components: servicemix-jsr181
    Affects Versions: 3.0-M2
            Reporter: Phillip Anderson
            Priority: Blocker


We are trying to invoke a Web Service through the JSR-181 component  and when 
we do so using the code below we receive the error shown after the code.  This 
is related to the discussion 
http://www.nabble.com/Problem-with-JSR181-Component-tf2128179.html

Code:
                NormalizedMessage onm = me.getMessage("in");
                onm.setProperty("com.gestalt.nettoolkit.encoding.style",
                    encodingStyle);
                onm.setContent(getDomSource(dataOut));
                me.setMessage(onm, "out");

Error:
java.lang.IllegalArgumentException: local part cannot be "null" when creating a 
QName
        at javax.xml.namespace.QName.(QName.java:214)
        at 
com.ctc.wstx.dom.DOMWrappingReader.constructQName(DOMWrappingReader.java:1284)
        at 
com.ctc.wstx.dom.DOMWrappingReader.getName(DOMWrappingReader.java:460)
        at 
org.codehaus.xfire.util.stax.DepthXMLStreamReader.getName(DepthXMLStreamReader.java:110)
        at 
org.codehaus.xfire.service.binding.WrappedBinding.readMessage(WrappedBinding.java:41)
        at 
org.codehaus.xfire.soap.handler.SoapBodyHandler.invoke(SoapBodyHandler.java:42)
        at 
org.codehaus.xfire.handler.HandlerPipeline.invoke(HandlerPipeline.java:110)
        at 
org.codehaus.xfire.transport.DefaultEndpoint.onReceive(DefaultEndpoint.java:61)

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
https://issues.apache.org/activemq/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to