AAALfredo

Absent Member.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
2008-12-13
05:13
291 views
consuming WS from Javascript
Hi everyone, I tried to consume my sample web service for add two values and return the result.
I ran the WSDL to JS function and I created a JS library to consume the JS from the WSDL but I got the following error:
Bad arg(2) oper = (display,process.option)
Cannot evaluate expression (display,process.option)
Cannot evaluate expression (display,process.option)
Script 'LlamarWSSumatoria' line 19: ERROR TypeError: sumaResponse has no properties at char 1
Error deserializing response: Error trying to generate object lib.Service.soap_Envelope: TypeError: lib.Service has no properties
I'm attaching my JS and the WSDL to JS library.
Any help is greatly appreciated.
Regards
Alfredo
I ran the WSDL to JS function and I created a JS library to consume the JS from the WSDL but I got the following error:
Bad arg(2) oper = (display,process.option)
Cannot evaluate expression (display,process.option)
Cannot evaluate expression (display,process.option)
Script 'LlamarWSSumatoria' line 19: ERROR TypeError: sumaResponse has no properties at char 1
Error deserializing response: Error trying to generate object lib.Service.soap_Envelope: TypeError: lib.Service has no properties
I'm attaching my JS and the WSDL to JS library.
Any help is greatly appreciated.
Regards
Alfredo
2 Replies
AAALfredo

Absent Member.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
2008-12-14
17:16
Deepa George

Absent Member.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
2011-07-01
14:55
Kindly let me know if this issue has been solved.
If so, it would be great, if you could please share it.
Thanks in advance.
Deepa