[
https://issues.apache.org/activemq/browse/SM-548?page=comments#action_36808 ]
Phillip Anderson commented on SM-548:
-------------------------------------
Here is the Message Exchange being sent out from our component.
Sending MessageExchange over DeliveryChannel, me = MessageExchange[
id: ID:jopdev01.int.gestalt-llc.com-58960-1155931679511-7:0
status: Active
role: provider
service: {http://nettoolkit.gestalt.com/encoding}encoding
endpoint: encoding
in: <?xml version="1.0" encoding="UTF-8"?><e:Envelope
xmlns:e="http://schemas.xmlsoap.org/soap/envelope/">
<e:Body>
<ping>
<pingRequest>
<request xmlns="http://pingpongws.nettoolkit.gestalt.com">hel
lo</request>
</pingRequest>
</ping>
</e:Body>
</e:Envelope>
out: <?xml version="1.0" encoding="UTF-8"?><e:Envelope
xmlns:e="http://schemas.xmlsoap.org/soap/envelope/">
<e:Body>
<ping>
<pingRequest>
<request xmlns="http://pingpongws.nettoolkit.gestalt.com">hel
lo</request>
</pingRequest>
</ping>
</e:Body>
</e:Envelope>
]
> 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