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

Priya Sharma commented on OFBIZ-2954:
-------------------------------------

Hello All, 
I am trying to use this service to fetch the party address for a third party 
API, and since the "auth" is set as false in the service definition, I am not 
sending the userLogin in the service context. And it should work in my opinion.

But unfortunately, the service returns the error as -
{code:java}
Error in Service [getPartyPostalAddress]: You must be logged in to complete the 
[Get the postal address of the party] process.
 [java] 2019-03-12 15:12:09,884 |http-nio-8443-exec-5 |TransactionUtil |W| 
Calling transaction setRollbackOnly; this stack trace shows where this is 
happening:
 [java] java.lang.Exception: Error in Service [getPartyPostalAddress]: You must 
be logged in to complete the [Get the postal address of the party] 
process.{code}

> Service to get the party postal address
> ---------------------------------------
>
>                 Key: OFBIZ-2954
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-2954
>             Project: OFBiz
>          Issue Type: Improvement
>          Components: party
>            Reporter: Abdullah Shaikh
>            Assignee: Jacques Le Roux
>            Priority: Minor
>             Fix For: Trunk
>
>         Attachments: OFBIZ-2954_Service to get the party postal 
> address.patch, OFBIZ-2954_Service to get the party postal address.patch
>
>
> There are services to get the party telephone (getPartyTelephone) & email 
> (getPartyEmail), but no service to get the party postal address.
> We should have a getPartyPostalAddress service, therefore, I have attached a 
> patch for the service.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to