We are having an issue with the webservicequery() function where the function cl

We are having an issue with the webservicequery() function where the function claims that the called web service method is not available. The method is infact there (I've called it successfully from SoapUI and from a Call Web Service smart service). It seems like there may be an old WSDL cached for this function (the called method was added after the initial version of the WSDL).

The (anonymised) error message coming back from the function is:

The operation [{http://soap.mydomain.com/}getFlatEmployeesForSupervisorSearch] is not present in the binding [{http://soap.mydomain.com/}EmployeeWebServiceServiceSoapBinding].
Available operations in that binding: [
{http://soap.mydomain.com/}getFullEmployeesForSupervisor,
{http://soap.mydomain.com/}getFlatEmployeesForSupervisor,
{http://soap.mydomain.com/}getAllCurrentJobs,
{http://soap.mydomain.com/}getEmployeeStatusDetails,
{http://soap.mydomain.com/}searchDetailEmployee
]

OriginalPostID-148048

OriginalPostID-148048

  Discussion posts and replies are publicly visible

Parents
  • I mean the syntax of your webservicequery() arguments. Per the documentation

    operation (Text): The operation on the web service to invoke. The value that should be passed here is found in the WSDL as the value of the name attribute of the <wsdl:operation> element within the <wsdl:binding> element that corresponds to the selected <wsdl:port> element. The name must be prefixed with the target namespace of the WSDL, and that namespace must be surrounded by braces. For example, if the target namespace of the wsdl is "http://example.org" and the name attribute of the <wsdl:operation> element is "echoHello," the value for this parameter would be {http://example.org}echoHello.

    If you can confirm the operation is properly passed into the wsConfig object then you can coordinate via support case the restart of the application server to clear the WSDL cache.
Reply
  • I mean the syntax of your webservicequery() arguments. Per the documentation

    operation (Text): The operation on the web service to invoke. The value that should be passed here is found in the WSDL as the value of the name attribute of the <wsdl:operation> element within the <wsdl:binding> element that corresponds to the selected <wsdl:port> element. The name must be prefixed with the target namespace of the WSDL, and that namespace must be surrounded by braces. For example, if the target namespace of the wsdl is "http://example.org" and the name attribute of the <wsdl:operation> element is "echoHello," the value for this parameter would be {http://example.org}echoHello.

    If you can confirm the operation is properly passed into the wsConfig object then you can coordinate via support case the restart of the application server to clear the WSDL cache.
Children
No Data