cforms II User Forum

Registration is currently disabled.
Guest

FAQs

Lost password?
Advanced Search:

— Forum Scope —



— Match —



— Forum Options —




Wildcard usage:
*  matches any number of characters    %  matches exactly one character

Minimum search word length is 4 characters - maximum search word length is 84 characters

Topic RSS Related Topics
Submitting form data to SOAP webservice
July 5, 2011
10:40 pm
Andy Smiff
Guest

Hello everyone,

 

I started using CForms and love it…however, my client has requested that the forms I am creating submit their data to a SOAP webservice.

 

Is this possible with CForms? 

 

I assumed that using the "Send form data to an alternative page:" option in the form admin would help with this but wanted to clarify a few issues.

 

  1. Can CForms still handle the field validation through AJAX if this option is used?
  2. Would I need to modify or add anything to allow the form to submit to a SOAP web service?
Any help would be greatly appreciated.
Cheers,
Andy
July 2, 2013
3:16 pm
hviricel
Guest

Hi everybody !

I have same problematic,

Andy, do you find a solution for SOAP webservice with CForms.

Thanks a lot

Hugo

July 8, 2013
4:17 pm
TheWebGuy
Guest

Hey guys!

Yep, it's very possible to use CForms for SOAP transactions. I've done it a couple of different ways, but the method you use will depend on your endpoint requirements. If it's a .Net based endpoint, you'll probably want to use a cURL based method method like this: CForms to MethodCRM: Getting dirty with SOAP

If it's not strict, you can just use SoapClient in your myfunctions.php instead:

SoapClient Manual

Hope that helps. 

Forum Timezone: Europe/Berlin

Most Users Ever Online: 959

Currently Online:
25 Guest(s)

Currently Browsing this Page:
1 Guest(s)

Top Posters:

tracedef: 43

mores: 21

Gyrus: 20

frozenwaste: 18

asuffredini: 15

photoworks: 14

Member Stats:

Guest Posters: 3712

Members: 1463

Moderators: 3

Admins: 2

Forum Stats:

Groups: 1

Forums: 4

Topics: 5310

Posts: 18671

Newest Members: juredujmovic, dreamkeeper, rajattyagi, wrokaa, lukass

Moderators: Paul (421), cnymike (8), sonika (95)

Administrators: Oliver (6400), Nicky (3)