Would appreciate someone will help me on how to create a simple html file with js to call a webservice /wsdl.
Please be noted that I have already generated a simple “Hello world” webservice provider and consumer in Designer. An agent was run to test the webservice and running fine. The problem I have now is I am not sure how to call this ws from webpage? Any ideas?
Many many thx ahead.
Subject: Attached my wsdl
hi there,
I am very new to web services, here’s my sample code for wsdl. Is anyone have idea to call from Java Script? I know is pretty simple but I just not sure how to do it. Would appreciate for help. Many many thx ahead.
<wsdlsoap:binding style=“rpc” transport=“http://schemas.xmlsoap.org/soap/http”/>
<wsdlsoap:operation soapAction=“hello”/>
<wsdlsoap:body encodingStyle=“http://schemas.xmlsoap.org/soap/encoding/” namespace=“urn:DefaultNamespace” use=“encoded”/>
<wsdlsoap:body encodingStyle=“http://schemas.xmlsoap.org/soap/encoding/” namespace=“urn:DefaultNamespace” use=“encoded”/>
<wsdlsoap:address location=“https://sund1.sunway.com.my:443/AppDev/WahMan/WS.nsf/HWJP?OpenWebService”/>
Subject: Did you check Carl’s link?
There was plenty of good information if you went to Carl’s link, the first link on the page had pretty much everything you needed.
You may look for a WSDL vaidation service to check your WSDL against. You can find several validators here: http://bit.ly/P5KWiA