Hi Greg,
You could try adding additional logging in 
applications/party/minilang/contact/PartyContactMechServices.xml - 
within the <simple-method method-name="findPartyFromEmailAddress"> 
section you can add a few log calls:

     <simple-method method-name="findPartyFromEmailAddress" 
short-description="Find partyId from email address">
         <set field="input.filterByDate" value="Y"/>
         <set field="input.inputFields.infoString" 
from-field="parameters.address"/>
         <set field="caseInsensitive" 
from-field="parameters.caseInsensitive"/>
         <if-empty field="caseInsensitive">
             <property-to-field resource="general.properties" 
property="mail.address.caseInsensitive" field="caseInsensitive" 
default="N"/>
         </if-empty>
         <set field="input.inputFields.infoString_ic" 
from-field="caseInsensitive"/>
         <if-empty field="parameters.fromDate">
             <set field="input.filterByDate" value="Y"/>
             <else>
                 <set field="input.filterByDateValue" 
from-field="parameters.fromDate"/>
             </else>

         </if-empty>


         <log level="info" message="findPartyFromEmailAddress Input: 
${input}"/>

         <!-- try primary email address -->
         <set field="input.inputFields.contactMechPurposeTypeId" 
value="PRIMARY_EMAIL"/>
         <set field="input.entityName" value="PartyContactDetailByPurpose"/>
         <call-service service-name="performFindItem" in-map-name="input">
             <results-to-map map-name="results"/>
         </call-service>
         <!-- any other email address -->
         <if-empty field="results.item">
             <log level="info" message="findPartyFromEmailAddress: No 
match on Primary Email. "/>
             <set field="input.entityName" value="PartyAndContactMech"/>
             <clear-field 
field="input.inputFields.contactMechPurposeTypeId"/>
             <call-service service-name="performFindItem" 
in-map-name="input">
                 <results-to-map map-name="results"/>
             </call-service>

         </if-empty>

         <if-empty field="results.item">
             <log level="info" message="findPartyFromEmailAddress: No 
match on alternate contact mechanism."/>

         </if-empty>


         <if-not-empty field="results.item">


             <log level="info" message="findPartyFromEmailAddress found: 
${results.item}"/>

             <field-to-result field="results.item.partyId" 
result-name="partyId"/>
             <field-to-result field="results.item.contactMechId" 
result-name="contactMechId"/>
         </if-not-empty>

     </simple-method>


Not sure if that helps.

Jason


On 28/01/2019 14:38, Greg Finlayson wrote:
> Hi Jacques
>
> Excellent. I have my day job to attend to also!
>
> Regards,
> Greg Finlayson DipLaw GDLP(Merit)
> Australian Lawyer
> Diaspora Legal
> 10 Talbot Street
> Erindale SA 5066
> T: +61 8 73250080
> M:+61 4 3131 3073
>
>
> Liability limited by a scheme approved under Professional Standards 
> Legislation
>
>
>
> This email is confidential and may also be subject to legal professional 
> privilege. You should delete this email if you are not the named recipient or 
> a person authorised to receive this email on behalf of the named recipient.
>
> -----Original Message-----
> From: Jacques Le Roux [mailto:jacques.le.r...@les7arts.com]
> Sent: Tuesday, 29 January 2019 12:54 AM
> To: user@ofbiz.apache.org
> Subject: Re: Debugging SOAP processing
>
> Hi Greg,
>
> If nobody beats me on it I should be able to help you. Just that I have no 
> time at the moment...
>
> Jacques
>
> Le 28/01/2019 à 14:56, Greg Finlayson a écrit :
>> So I am trying to use findPartyFromEmailAddress SOAP service from a .NET  
>> client.
>>
>> I know the username and password arguments are getting passed correctly, 
>> because if I change them to be incorrect, then I get errors. However I just
>> get a
>>
>> http-nio-8443-exec-1
>>
>>
>>
>> RequestHandler Ran Event soap:# from [request], result is null
>>
>> (not exactly that because this software doesn't let me use the square 
>> brackets as they appear).
>>
>> How to debug this? The function ought be returning the partyID. Is there a 
>> more detailed logging of the call to SOAP which can be turned on in OFBIz?
>>
>> Regards,
>>
>> *Greg FinlaysonDipLaw GDLP(Merit) 
>> <https://diaspora.legal/index.php/en/team/indonesian-speaking-lawyer/>*
>>
>> *Australian Lawyer*
>>
>> *Diaspora Legal <https://diaspora.legal/>*
>>
>> 10 Talbot Street <http://diaspora.legal/index.php/en/contact/locations/>__
>>
>> _Erindale SA 5066 <http://diaspora.legal/index.php/en/contact/locations/>_
>>
>> T: +61 8 73250080
>>
>> M:+61 4 3131 3073
>>
>> Liability limited by a scheme approved under Professional Standards 
>> Legislation
>>
>> peradiCOE 
>> <http://www.psc.gov.au/lawlink/psc/ll_psc.nsf/pages/psc_consumer_info>Kangaroo
>>  Visa <https://kangaroovisa.com/>Gold Alliance New Logo 1
>> <https://www.lawsocietysa.asn.au/LSSA/Community/Gold_Alliance_Firms.aspx>International_Bar_Logo
>>  <https://www.ibanet.org/>
>>
>> ------------------------------------------------------------------------------------------------------------------------------------------------------
>>
>> This email is confidential and may also be subject to legal professional 
>> privilege. You should delete this email if you are not the named recipient
>> or a person authorised to receive this email on behalf of the named 
>> recipient.
>>

Reply via email to