NetTalk Central

Author Topic: p_web.ParseHTML not returning anything  (Read 2979 times)

joep

  • Jr. Member
  • **
  • Posts: 51
    • View Profile
    • Email
p_web.ParseHTML not returning anything
« on: March 25, 2021, 07:26:59 AM »
I created a new webservice with a NetWebserviceMethod
In the processed code embed I consume the incoming xml and create a few records in SQL Server.
All the actions work.
And at the end I want to notify the person or system that sended the xml to consume.

In my old service I could do this with  "p_web.ParseHTML(XmlResponse,1,len(XmlResponse),NET:NoHeader)"
Since I moved to a NetWebserviceMethod the p_web.ParseHTML isn't returning anything.

XmlResponse  is a simple xmlstring which notifice the other person or system that the incoming xml is consumed correctly

Has Anyone an idea why p_web.ParseHTML isn't working?

Regards,
Joep

joep

  • Jr. Member
  • **
  • Posts: 51
    • View Profile
    • Email
Re: p_web.ParseHTML not returning anything
« Reply #1 on: March 29, 2021, 10:44:53 PM »
The call was in the wrong embed and I used the Return in the properties in stead to return it as a field.
Solved