You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@servicemix.apache.org by yvdl <ya...@spacebel.be> on 2008/03/10 16:57:06 UTC
Default namespace not understood by servicemix
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
--
View this message in context: http://www.nabble.com/Default-namespace-not-understood-by-servicemix-tp15950848s12049p15950848.html
Sent from the ServiceMix - User mailing list archive at Nabble.com.
Re: Default namespace not understood by servicemix
Posted by yvdl <ya...@spacebel.be>.
Hi Gert
Thanks, I created an Issue about this topic.
Yvdl
Yvdl,
JIRA is name of the issue tracking system we use for the ServiceMix
project. You can access it at
https://issues.apache.org/activemq/secure/Dashboard.jspa. After you
register, you can use the "Create Issue" link at the top to open a new
issue.
Gert
--
View this message in context: http://www.nabble.com/Default-namespace-not-understood-by-servicemix-tp15950848s12049p15977940.html
Sent from the ServiceMix - User mailing list archive at Nabble.com.
Re: Default namespace not understood by servicemix
Posted by Gert Vanthienen <ge...@skynet.be>.
Yvdl,
JIRA is name of the issue tracking system we use for the ServiceMix
project. You can access it at
https://issues.apache.org/activemq/secure/Dashboard.jspa. After you
register, you can use the "Create Issue" link at the top to open a new
issue.
Gert
yvdl wrote:
> Hi Gert
>
> Thanks for your answer. I'm not used to Nabble, so what do you mean exactly
> by "open a JIRA".
>
> Yvdl
>
>
> Gert Vanthienen wrote:
>
>> 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
>>>
>>>
>>>
>>>
>>>
>>
>> -----
>> ---
>> Gert Vanthienen
>> http://www.anova.be
>>
>>
>
>
Re: Default namespace not understood by servicemix
Posted by yvdl <ya...@spacebel.be>.
Hi Gert
Thanks for your answer. I'm not used to Nabble, so what do you mean exactly
by "open a JIRA".
Yvdl
Gert Vanthienen wrote:
>
> 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
>>
>>
>>
>>
>
>
>
> -----
> ---
> Gert Vanthienen
> http://www.anova.be
>
--
View this message in context: http://www.nabble.com/Default-namespace-not-understood-by-servicemix-tp15950848s12049p15975691.html
Sent from the ServiceMix - User mailing list archive at Nabble.com.
Re: Default namespace not understood by servicemix
Posted by Gert Vanthienen <ge...@skynet.be>.
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
>
>
>
>