axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Robert Lazarski (Jira)" <j...@apache.org>
Subject [jira] [Commented] (AXIS2-5981) AXIS2 1.7.9 lower cases element name in ServiceClient object sendReceive() method
Date Mon, 06 Apr 2020 13:59:00 GMT

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

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

For my own axis2 projects since 2005 I've always defined a namespace, I don't remember when
it became mandatory but anyways try coding a namespace in the form of.

"http://mycompany.com/myservice"

The namespace doesn't have to be a valid FQDN or even match the service name. Just be consistent
on both the client and server sides. 

There are code examples and unit tests in the source code. Can you simple add a namespace
following the docs?

> 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


Mime
View raw message