You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-dev@axis.apache.org by "Robert Lazarski (Jira)" <ji...@apache.org> on 2020/04/01 18:47:00 UTC

[jira] [Commented] (AXIS2-5981) AXIS2 1.7.9 lower cases element name in ServiceClient object sendReceive() method

    [ https://issues.apache.org/jira/browse/AXIS2-5981?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17073088#comment-17073088 ] 

Robert Lazarski commented on AXIS2-5981:
----------------------------------------

Looking at the unit tests and my own projects, for debugging purposes I suggest trying System.out.println(OMElement) orĀ OMElement.getFirstElement().getText() with the response from ServiceClient.sendReceive(payload) .

Seems like runid is part of your client code. If you still have problems in that area, please paste an entire stack trace.

> AXIS2 1.7.9 lower cases element name in ServiceClient object sendReceive() method
> ---------------------------------------------------------------------------------
>
>                 Key: AXIS2-5981
>                 URL: https://issues.apache.org/jira/browse/AXIS2-5981
>             Project: Axis2
>          Issue Type: Bug
>          Components: kernel
>    Affects Versions: 1.7.9
>         Environment: Windows 10 Enterprise Build 10.0.18363
>            Reporter: Steve Schaefer
>            Priority: Major
>
> I've upgraded from AXIS2 1.3 to 1.7.9 and the call to my SOAP service stopped working. It's returning the exception "org.apache.axis2.AxisFault: while trying to invoke the method org.apache.axiom.om.OMElement.getText() of a null object loaded from local variable 'runidNode'". I can see that I'm passing the mixed case runID into the sendReceive() method but the SOAP service is receiving it all lower case? I get the same error if I call the service from Postman with all lowercase "runid" element.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

---------------------------------------------------------------------
To unsubscribe, e-mail: java-dev-unsubscribe@axis.apache.org
For additional commands, e-mail: java-dev-help@axis.apache.org