Hi Phuong
Thanks for your reply. So everything is telling me that SOAP 1.2 is supported. Am I missing something really simple? This request generates the correct response when applied in SOAP UI.
Many Thanks
Claire
My SOAP 1.2 requests....first the web_service_call
Action()
{
web_service_call( "StepName=GetMovement_101",
"SOAPMethod=MovementService|MovementServicePort|GetMovement",
"ResponseParam=response",
"Service=MovementService",
"ExpectedResponse=SoapResult",
"Snapshot=t1416568484.inf",
BEGIN_ARGUMENTS,
"xml:GetMovementRequest="
"<GetMovementRequest>"
"<MovementId>06AACD3B-2B4D4-E36A-23EC-CC33838EE63</MovementId>"
"<Verbosity>ALL</Verbosity>"
"</GetMovementRequest>",
END_ARGUMENTS,
BEGIN_RESULT,
END_RESULT,
LAST);
return 0;
}
Replay Log:
Virtual User Script started at : 21/11/2014 11:15:19
Starting action vuser_init.
Ending action vuser_init.
Running Vuser...
Starting iteration 1.
Starting action Action.
Action.c(4): Web service call "GetMovement_101" started
Action.c(4): Error:InvokeMethod failure: Response is not well-formed XML..
Action.c(4): Error:ExtractResultArg failure: Object reference not set to an instance of an object..
Action.c(4): Error:Web service call "GetMovement_101" execution failed
Ending action Action.
Ending iteration 1.
Ending Vuser...
Starting action vuser_end.
Ending action vuser_end.
Vuser Terminated.
Now the soap_request....(please note, I've depersonalized my URL, and one of my soap envelopes)
Action()
{
soap_request("StepName=SOAP Request",
"URL=http://myUrl/myDir1/myDir2/MovementServicePort",
"SOAPEnvelope="
"<soap:Envelope xmlns:soap=\"http://www.w3.org/2003/05/soap-envelope\" xmlns:v1=\"http://myCompany/myDir3/myDir4/MovementService/V1\">"
"<soap:Header></soap:Header>"
"<soap:Body>"
"<v1:GetMovementRequest>"
"<v1:MovementId>06AACD3B-2B4D4-E36A-23EC-CC33838EE63</v1:MovementId>"
"<v1:Verbosity>ALL</v1:Verbosity>"
"</v1:GetMovementRequest>"
"</soap:Body>"
"</soap:Envelope>",
"SOAPAction=",
"ResponseParam=response",
"Snapshot=t1416569411.inf",
LAST);
return 0;
}
Replay Log..
Virtual User Script started at : 21/11/2014 11:30:34
Starting action vuser_init.
Ending action vuser_init.
Running Vuser...
Starting iteration 1.
Starting action Action.
Action.c(4): SOAP request "SOAP Request" started
Action.c(4): The "SOAP Request" SOAP request response content is not XML
Action.c(4): SOAP request "SOAP Request" was successful
Ending action Action.
Ending iteration 1.
Ending Vuser...
Starting action vuser_end.
Ending action vuser_end.
Vuser Terminated.