You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@servicemix.apache.org by "Guillaume Nodet (JIRA)" <ji...@apache.org> on 2006/08/18 22:05:28 UTC
[jira] Commented: (SM-548) QName not being created
[ https://issues.apache.org/activemq/browse/SM-548?page=comments#action_36807 ]
Guillaume Nodet commented on SM-548:
------------------------------------
Could you paste the exact content of the in message ?
Also you may want to try replacing the wstx-asl-2.9.3.jar in the servicemix distribution by this one:
http://woodstox.codehaus.org/3.0.0/wstx-asl-3.0.0.jar
> 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