You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ode.apache.org by "Kristian Koehler (JIRA)" <ji...@apache.org> on 2007/10/22 10:51:50 UTC
[jira] Created: (ODE-200) NullPointer in Warning Message
NullPointer in Warning Message
------------------------------
Key: ODE-200
URL: https://issues.apache.org/jira/browse/ODE-200
Project: ODE
Issue Type: Bug
Components: JBI Integration
Reporter: Kristian Koehler
Attachments: ode.patch
Hi
the outResponse method in OdeConsumer class checks if a PartnerRoleMessageExchange is present. If not a warning message is generated. But this warning wants to print out the MexID from the objekt that's not found. ;-)
See attached patch.
Kristian
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
Re: Issue with the Management Interface
Posted by Alex Boisvert <bo...@intalio.com>.
On 10/23/07, Prasanna Rajaperumal <pr...@soa-matrix.com> wrote:
>
> I have issued the listAllProcesses from the ServiceClientUtil. And the
> response message from ODE ends this way
>
>
> </ns:process-info></process-info-list></axis2ns140:listAllProcessesResponse></soapenv:Body></soapenv:Envelope>
>
> axis2ns140:listAllProcessesResponse - What is this element?
It is the SOAP RPC response
wrapper<http://www.ws-i.org/Profiles/BasicProfile-1.1-2004-08-24.html#Response_Wrappers>.
When I try to read the response using
> resultDocument = ProcessInfoListDocument.Factory.parse(
> result.getXMLStreamReader());
>
> org.apache.xmlbeans.XmlException: error: The document is not a
> process-info-list@http://www.apache.org/ode/pmapi/types/2006/08/02/:
> document element mismatch got listAllProcessesResponse@
> http://www.apache.org/ode/pmapi
>
> I get this error.
>
> So That extra element is causing this error and I checked the WSDL and
> message definition is fine.
> I am not able to figure out the reason why this element is being added to
> the response and from where?
You were on the right path... you just need to unwrap the RPC response first
by doing the following,
// extract message part "process-info-list"
OMElement part = result.getFirstChildWithName(new QName(null,
"process-info-list"));
// parse tProcessInfoList type
resultDocument = ProcessInfoListDocument.Factory.parse(
part.getXMLStreamReader());
regards,
alex
Issue with the Management Interface
Posted by Prasanna Rajaperumal <pr...@soa-matrix.com>.
I have a question
I have issued the listAllProcesses from the ServiceClientUtil
And the response message from ODE ends this way
</ns:process-info></process-info-list></axis2ns140:listAllProcessesResponse></soapenv:Body></soapenv:Envelope>
axis2ns140:listAllProcessesResponse - What is this element?
When I try to read the response using
resultDocument = ProcessInfoListDocument.Factory.parse(result.getXMLStreamReader());
org.apache.xmlbeans.XmlException: error: The document is not a process-info-list@http://www.apache.org/ode/pmapi/types/2006/08/02/: document element mismatch got listAllProcessesResponse@http://www.apache.org/ode/pmapi
I get this error.
So That extra element is causing this error and I checked the WSDL and message definition is fine.
I am not able to figure out the reason why this element is being added to the response and from where?
Any help would be very much appreciated.
Prasanna Rajaperumal
[jira] Resolved: (ODE-200) NullPointer in Warning Message
Posted by "Matthieu Riou (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/ODE-200?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Matthieu Riou resolved ODE-200.
-------------------------------
Resolution: Fixed
Fix Version/s: 1.2
Assignee: Matthieu Riou
Patch applied, thanks a lot for the contribution!
> NullPointer in Warning Message
> ------------------------------
>
> Key: ODE-200
> URL: https://issues.apache.org/jira/browse/ODE-200
> Project: ODE
> Issue Type: Bug
> Components: JBI Integration
> Reporter: Kristian Koehler
> Assignee: Matthieu Riou
> Fix For: 1.2
>
> Attachments: ode.patch
>
>
> Hi
> the outResponse method in OdeConsumer class checks if a PartnerRoleMessageExchange is present. If not a warning message is generated. But this warning wants to print out the MexID from the objekt that's not found. ;-)
> See attached patch.
> Kristian
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Updated: (ODE-200) NullPointer in Warning Message
Posted by "Kristian Koehler (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/ODE-200?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Kristian Koehler updated ODE-200:
---------------------------------
Attachment: ode.patch
patch
> NullPointer in Warning Message
> ------------------------------
>
> Key: ODE-200
> URL: https://issues.apache.org/jira/browse/ODE-200
> Project: ODE
> Issue Type: Bug
> Components: JBI Integration
> Reporter: Kristian Koehler
> Attachments: ode.patch
>
>
> Hi
> the outResponse method in OdeConsumer class checks if a PartnerRoleMessageExchange is present. If not a warning message is generated. But this warning wants to print out the MexID from the objekt that's not found. ;-)
> See attached patch.
> Kristian
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Updated: (ODE-200) NullPointer in Warning Message
Posted by "Matthieu Riou (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/ODE-200?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Matthieu Riou updated ODE-200:
------------------------------
Fix Version/s: (was: 1.3)
1.2
> NullPointer in Warning Message
> ------------------------------
>
> Key: ODE-200
> URL: https://issues.apache.org/jira/browse/ODE-200
> Project: ODE
> Issue Type: Bug
> Components: JBI Integration
> Reporter: Kristian Koehler
> Assignee: Matthieu Riou
> Fix For: 1.2
>
> Attachments: ode.patch
>
>
> Hi
> the outResponse method in OdeConsumer class checks if a PartnerRoleMessageExchange is present. If not a warning message is generated. But this warning wants to print out the MexID from the objekt that's not found. ;-)
> See attached patch.
> Kristian
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.