Yvdl,
If you want to omit the namespace prefix to you CreatePullPoint element
in the second example, you would have to specify xmlns= instead of
xmlns:b= when declaring namespaces. However... I'm guessing that this
is just a copy-paste error while posting the message and that you
actually tried it with the correct namespace declarations, right?
Because even with the correct namespace declarations in there, it still
throws the NullPointerException when using CreatePullPoint instead of
b:CreatePullPoint. In my mind, it should work however. Could you open
a JIRA issue for it so we can look into it?
Regards,
Gert
yvdl wrote:
Hi
I'm testing the Servicemix WSNotification (CreatePullPoint) using the SOAPUI
tool.
I use the two following SOAP messages in order to perform the
"CreatePullPoint" operation.
The following message 1) is working well while message 2) does'nt.
1) <soapenv:Envelope
xmlns:soapenv=”http://schema.xmlsoap.org/soap/envelope”
xmlns:b=”http://docs.oasis-open.org/wsn/b-2”
<soapenv:Header />
<soapenv:Body>
<b:CreatePullPoint
xmlns:b=”http://docs.oasis-open.org/wsn/b-2” />
</soapenv:Body>
</soapenv:Envelope>
2) <soapenv:Envelope
xmlns:soapenv=”http://schema.xmlsoap.org/soap/envelope”
xmlns:b=”http://docs.oasis-open.org/wsn/b-2”
<soapenv:Body>
<CreatePullPoint xmlns=”http://docs.oasis-open.org/wsn/b-2” />
</soapenv:Body>
</soapenv:Envelope>
Can anybody explain me why Servicemix seems to not understand message 2)
(error "HTTP/1.1 500 javalangNullPointerException" is returned) ?
Thanks in advance
Yvdl