web services - SAS Webservice: wrong response to a SOAP request -


I have a registered registered process that combines two numbers.

 % sum =% SYSEVALF (and NUM1 + and NUM2); Data_null_; File _webout; Put "End SUM"; Run;   

The stored procedure is registered to give a stream, both input variables are registered as numeric, _webout the output parameter is registered as a string (Registration of this parameter does not change anything

Nothing is included in it

I am using SOAPUI to create a SOAP envelope based on the automatically created WSDL file. Soap Request:

  & lt; Soapenv: envelope xmlns: soap = "http://schemas.xmlsoap.org/soap/envelope/" xmlns: biw = "http://www.sas .com / xml / namespace / biwebservices" & gt; & Lt; Soapenv: header / & gt; & Lt; Soapenv: body & gt; & Lt; BIW: wSDL_Test & gt; & Lt; BIW: Parameters & gt; & Lt; - Optional: - & gt; & Lt; BIW: NUM1 & gt; 1 & lt; / BIW: NUM1 & gt; & Lt; - Optional: - & gt; & Lt; BIW: NUM2 & gt; 1 & lt; / BIW: NUM2 & gt; & Lt; / BIW: parameters & gt; & Lt; / BIW: wSDL_Test & gt; & Lt; / Soapenv: Body & gt; & Lt; / Soapenv: envelope & gt;   

I expect a response with number 2, but I get it instead:

  & lt; Soapenv: envelope xmlns: soapenv = "http: // schemas.xmlsoap.org/soap/envelope/"> & Lt; Soapenv: body & gt; & Lt; N: wSDL_TestResponse xmlns: n = "http://www.sas.com/xml/namespace/biwebservices" & gt; & Lt; N: wSDL_TestResult & gt; & Lt; N: stream & gt; & Lt; N: _WEBOUT contentType = "text / html; charset = windows-1252" & gt; & Lt; N: Value & gt; MgO = & lt; / N: value & gt; & Lt; / N: _WEBOUT & gt; & Lt; / N: stream & gt; & Lt; / N: wSDL_TestResult & gt; & Lt; / N: wSDL_TestResponse & gt; & Lt; / Soapenv: Body & gt; & Lt; / Soapenv: envelope & gt;   

The value "MGO =" is being added regardless of two pairs. If I call on the stored procedure which is converted into a website with SAS Easy or middle level WebStard Process app, then I get a right response with the desired amount.

This is my first webservice and I am using it as a POC for something else. I think it should be very simple, but I'm not sure what this is. Any help is appreciated!

Regards, Vasilij

This is 2, it's just 64 encoded base. Go and type Mgo = in the decode box

I believe SOAPUI has an option to detect the reaction. It has been for some years of its use

Comments

Popular posts from this blog

java - ImportError: No module named py4j.java_gateway -

python - Receiving "KeyError" after decoding json result from url -

.net - Creating a new Queue Manager and Queue in Websphere MQ (using C#) -