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
(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 Finlayson DipLaw
GDLP(Merit) Australian Lawyer 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. |
Administrator
|
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. > |
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:[hidden email]] Sent: Tuesday, 29 January 2019 12:54 AM To: [hidden email] 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. > |
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:[hidden email]] > Sent: Tuesday, 29 January 2019 12:54 AM > To: [hidden email] > 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. >> |
Administrator
|
Thanks Jason,
Your message has been moderated. Please subscribe to the user ML for such questions and then use your email client rather than the Nabble forum (as the forum says to you) See also why here http://ofbiz.apache.org/mailing-lists.html You will get a better support , it's more fair to share with everybody and people can answer you directly on the ML rather than directly to you The wider the audience the better the answers you might get Also it's more work for moderators who have to accept your messages as long as you have not subscribed. I'll personally no longer accept them (other moderators still could) Thanks Jacques Le 28/01/2019 à 16:31, Jason RJ a écrit : > 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:[hidden email]] >> Sent: Tuesday, 29 January 2019 12:54 AM >> To: [hidden email] >> 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. >>> |
Administrator
|
No worries Jason,
Indeed there was a quirk, you are subscribed as [hidden email] Sincerely let's forget it and if it reproduces we will see ;) Thanks for your feedback Jacques Le 28/01/2019 à 17:43, Jason RJ a écrit : > Sorry Jacques, > > Not sure why this went through moderation, I am subscribed to the mailing list, and I did reply from my mail client, are you able to tell why it failed? > > Many Thanks, > > Jason > > On 28/01/2019 16:37, Jacques Le Roux wrote: >> Thanks Jason, >> >> Your message has been moderated. >> >> Please subscribe to the user ML for such questions and then use your email client rather than the Nabble forum (as the forum says to you) >> See also why here http://ofbiz.apache.org/mailing-lists.html >> >> You will get a better support , it's more fair to share with everybody and people can answer you directly on the ML rather than directly to you >> The wider the audience the better the answers you might get >> >> Also it's more work for moderators who have to accept your messages as long as you have not subscribed. >> I'll personally no longer accept them (other moderators still could) >> >> Thanks >> >> Jacques >> >> Le 28/01/2019 à 16:31, Jason RJ a écrit : >>> 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:[hidden email]] >>>> Sent: Tuesday, 29 January 2019 12:54 AM >>>> To: [hidden email] >>>> 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. >>>>> |
Free forum by Nabble | Edit this page |