It works fine being called from a PERL SOAP-LITE application at a
command prompt. But when called via CFINVOKE in CF I get:
Could not generate stub objects for web service invocation.
Name: http://huckfinn.umsl.edu/soap/TLCAudit.wsdl. WSDL:
http://huckfinn.umsl.edu/soap/TLCAudit.wsdl. java.io.IOException:
Emitter failure. There is an undefined binding (TLCAudit_Binding) in the
WSDL document. Hint: make sure is fully qualified. It is recommended
that you use a web browser to retrieve and examine the requested WSDL
document for correctness. If the requested WSDL document can't be
retrieved or it is dynamically generated, it is likely that the target
web service has programming errors.
I am using the BabelFish example with added parms.
<cfinvoke
webservice='http://huckfinn.umsl.edu/soap/TLCAudit.wsdl'
method="SubmitAudit"
translationmode="en_es"
inputParam1="TEP"
inputParam2="123456789"
inputParam3="Dars"
inputParam4="blah"
returnVariable="status">
I've tried " instead of ' and viceversa, actual names instead of
inputParam1,2, etc.
Here is the simple minded Java SOAP service
package umsl.Dars;
public class TLCAudit {
public String SubmitAudit (String Gate, String Stuno, String User,
String Name) {
return new String ("Gate:" + Gate + " Student number:"+Stuno + "
User/Name:" + User+"/"+Name); } }
Here is the WSDL:
<?xml version="1.0" encoding="UTF-8"?>
<definitions name="TLCAudit"
targetNamespace="http://huckfin.umsl.edu/soap/TLCAudit.wsdl"
xmlns="http://schemas.xmlsoap.org/wsdl/"
xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/"
xmlns:tns="http://huckfin.umsl.edu/wsdl/TLCAudit.wsdl"
xmlns:xsd="http://www.w3.org/2001/XMLSchema">
<message name="SubmitAuditRequest">
<part name="Gate" type="xsd:string"/>
<part name="Stuno" type="xsd:string"/>
<part name="User" type="xsd:string"/>
<part name="Pass" type="xsd:string"/>
</message>
<message name="SubmitAuditResponse">
<part name="status" type="xsd:string"/>
</message>
<portType name="TLCAudit_PortType">
<operation name="SubmitAudit">
<input message="tns:SubmitAuditRequest"/>
<output message="tns:SubmitAuditResponse"/>
</operation>
</portType>
<binding name="TLCAudit_Binding" type="tns:TLCAudit_PortType">
<soap:binding style="rpc"
transport="http://schemas.xmlsoap.org/soap/http"/>
<operation name="SubmitAudit">
<soap:operation soapAction="SubmitAudit"/>
<input>
<soap:body
encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"
namespace="urn:examples:tlcaudit" use="encoded"/>
</input>
<output>
<soap:body
encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"
namespace="urn:examples:tlcaudit" use="encoded"/>
</output>
</operation>
</binding>
<service name="TLCAudit_Service">
<documentation>WSDL File for TLC Dars Audit
Submission</documentation>
<port binding="tns:TLCAudit_Binding" name="TLCAudit_Port">
<soap:address
location="http://huckfinn.umsl.edu/soap/servlet/rpcrouter"/>
</port>
</service>
</definitions>
Thanks for any help!
[Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings] [Donations and Support]

