Henry Breen
New Member
I am trying to call an operation on a WSDL but I am getting and error
On the WSDL the operation is defined as:
<operation name="mobilePurchase">
<input>
<soap:body use="literal"/>
</input>
<output>
<soap:body use="literal"/>
</output>
</operation>
My code is structured as.
The moment I run the MobilePurchase operation I get the error "Failure initializing SOAP Call: Error creating SOAP Call object for operation mobilePurchase: operation name defined, but not referenced in the WSDL document (11762)"
Any help would be greatly appreciated.
Failure initializing SOAP Call: Error creating SOAP Call object for operation mobilePurchase: operation name defined, but not referenced in the WSDL document (11762)
On the WSDL the operation is defined as:
<operation name="mobilePurchase">
<input>
<soap:body use="literal"/>
</input>
<output>
<soap:body use="literal"/>
</output>
</operation>
My code is structured as.
DEFINE VARIABLE w-mobile AS HANDLE NO-UNDO.
DEFINE VARIABLE w-mobileinner AS HANDLE NO-UNDO.
DEFINE VARIABLE w-request AS LONGCHAR NO-UNDO.
DEFINE VARIABLE w-response AS LONGCHAR NO-UNDO.
w-mobileinner:CONNECT("-WSDL 'url'") NO-ERROR.
RUN MobileServicePortType SET w-mobile ON w-mobileinner NO-ERROR.
RUN MobilePurchase IN w-mobile (INPUT w-request, OUTPUT w-response)
NO-ERROR.
The moment I run the MobilePurchase operation I get the error "Failure initializing SOAP Call: Error creating SOAP Call object for operation mobilePurchase: operation name defined, but not referenced in the WSDL document (11762)"
Any help would be greatly appreciated.