Home » Eclipse Projects » Eclipse Titan » How to convert WSDL/SOAP into TTCN-3(TTCN-3 WSDL)
| | | |
Re: How to convert WSDL/SOAP into TTCN-3 [message #1766619 is a reply to message #1766601] |
Fri, 23 June 2017 13:51 |
|
Hi Yann,
I have attached the updated package.
I switched to HTTPS and updated the url
Here's the relevant part of the formatted log:
Sent on HTTP_PCO to system @HTTPmsg_Types.Connect : {
hostname := "www.w3schools.com",
portnumber := 443,
use_ssl := true
}
15:45:00.623510 SOAP_demo.ttcn:286 Message enqueued on HTTP_PCO from system @HTTPmsg_Types.Connect_result : {
client_id := 5
} id 1
15:45:00.623653 SOAP_demo.ttcn:287 Start timer t0: 3 s
15:45:00.623751 SOAP_demo.ttcn:291 Matching on port HTTP_PCO succeeded: matched
15:45:00.623819 SOAP_demo.ttcn:291 Receive operation on port HTTP_PCO succeeded, message from system(): @HTTPmsg_Types.Connect_result : {
client_id := 5
} id 1
15:45:00.623877 SOAP_demo.ttcn:291 Message with id 1 was extracted from the queue of HTTP_PCO.
15:45:00.624131 SOAP_demo.ttcn:297 Sent on HTTP_PCO to system @HTTPmsg_Types.HTTPMessage : {
request := {
client_id := 5,
method := "POST",
uri := "/xml/tempconvert.asmx",
version_major := 1,
version_minor := 1,
header := {
{
header_name := "Host",
header_value := "www.w3schools.com"
},
{
header_name := "Content-Length",
header_value := "236"
},
{
header_name := "Content-Type",
header_value := "text/xml; charset=utf-8"
},
{
header_name := "SOAPAction",
header_value := "https://www.w3schools.com/xml/FahrenheitToCelsius"
}
},
body := "<soap:Envelope xmlns:soap='http://schemas.xmlsoap.org/soap/envelope/' xmlns='https://www.w3schools.com/xml/'>
<soap:Body>
<FahrenheitToCelsius>
<Fahrenheit>100</Fahrenheit>
</FahrenheitToCelsius>
</soap:Body>
</soap:Envelope>
"
}
}
15:45:00.829307 SOAP_demo.ttcn:298 Message enqueued on HTTP_PCO from system @HTTPmsg_Types.HTTPMessage : {
response := {
client_id := 5,
version_major := 1,
version_minor := 1,
statuscode := 200,
statustext := "OK",
header := {
{
header_name := "Cache-Control",
header_value := "private, max-age=0,public"
},
{
header_name := "Content-Type",
header_value := "text/xml; charset=utf-8"
},
{
header_name := "Date",
header_value := "Fri, 23 Jun 2017 13:45:00 GMT"
},
{
header_name := "Server",
header_value := "Microsoft-IIS/7.5"
},
{
header_name := "X-AspNet-Version",
header_value := "4.0.30319"
},
{
header_name := "X-Frame-Options",
header_value := "SAMEORIGIN"
},
{
header_name := "X-Powered-By",
header_value := "ASP.NET"
},
{
header_name := "Content-Length",
header_value := "415"
}
},
body := "<?xml version=\"1.0\" encoding=\"utf-8\"?><soap:Envelope xmlns:soap=\"http://schemas.xmlsoap.org/soap/envelope/\" xmlns:xsi=\"http://www.w3.org/2001/XMLSchema-instance\" xmlns:xsd=\"http://www.w3.org/2001/XMLSchema\"><soap:Body><FahrenheitToCelsiusResponse xmlns=\"https://www.w3schools.com/xml/\"><FahrenheitToCelsiusResult>37.7777777777778</FahrenheitToCelsiusResult></FahrenheitToCelsiusResponse></soap:Body></soap:Envelope>"
}
} id 2
15:45:00.829474 SOAP_demo.ttcn:301 Matching on port HTTP_PCO succeeded: matched
15:45:00.829611 SOAP_demo.ttcn:301 Receive operation on port HTTP_PCO succeeded, message from system(): @HTTPmsg_Types.HTTPMessage : {
response := {
client_id := 5,
version_major := 1,
version_minor := 1,
statuscode := 200,
statustext := "OK",
header := {
{
header_name := "Cache-Control",
header_value := "private, max-age=0,public"
},
{
header_name := "Content-Type",
header_value := "text/xml; charset=utf-8"
},
{
header_name := "Date",
header_value := "Fri, 23 Jun 2017 13:45:00 GMT"
},
{
header_name := "Server",
header_value := "Microsoft-IIS/7.5"
},
{
header_name := "X-AspNet-Version",
header_value := "4.0.30319"
},
{
header_name := "X-Frame-Options",
header_value := "SAMEORIGIN"
},
{
header_name := "X-Powered-By",
header_value := "ASP.NET"
},
{
header_name := "Content-Length",
header_value := "415"
}
},
body := "<?xml version=\"1.0\" encoding=\"utf-8\"?><soap:Envelope xmlns:soap=\"http://schemas.xmlsoap.org/soap/envelope/\" xmlns:xsi=\"http://www.w3.org/2001/XMLSchema-instance\" xmlns:xsd=\"http://www.w3.org/2001/XMLSchema\"><soap:Body><FahrenheitToCelsiusResponse xmlns=\"https://www.w3schools.com/xml/\"><FahrenheitToCelsiusResult>37.7777777777778</FahrenheitToCelsiusResult></FahrenheitToCelsiusResponse></soap:Body></soap:Envelope>"
}
} id 2
15:45:00.829729 SOAP_demo.ttcn:301 Message with id 2 was extracted from the queue of HTTP_PCO.
15:45:00.829783 SOAP_demo.ttcn:318 vl_char_body"<?xml version=\"1.0\" encoding=\"utf-8\"?><soap:Envelope xmlns:soap=\"http://schemas.xmlsoap.org/soap/envelope/\" xmlns:xsi=\"http://www.w3.org/2001/XMLSchema-instance\" xmlns:xsd=\"http://www.w3.org/2001/XMLSchema\"><soap:Body><FahrenheitToCelsiusResponse xmlns=\"https://www.w3schools.com/xml/\"><FahrenheitToCelsiusResult>37.7777777777778</FahrenheitToCelsiusResult></FahrenheitToCelsiusResponse></soap:Body></soap:Envelope>"
15:45:00.829953 SOAP_demo.ttcn:330 Sent on HTTP_PCO to system @HTTPmsg_Types.Close : {
client_id := 5
}
BR
Elemer
|
|
| |
Goto Forum:
Current Time: Fri Apr 19 20:48:36 GMT 2024
Powered by FUDForum. Page generated in 0.03056 seconds
|