Public Member Functions | Static Public Attributes

ServiceTest Class Reference

Collaboration diagram for ServiceTest:
Collaboration graph
[legend]

Public Member Functions

def __init__
def test_net_SessionCreate

Static Public Attributes

string name = "test_Sabre"
string client_file_name = "SessionCreateRQService_client.py"
string types_file_name = "SessionCreateRQService_types.py"
string server_file_name = "SessionCreateRQService_server.py"

Detailed Description

Test case for Sabre Web service

Definition at line 42 of file test_Sabre.py.


Member Function Documentation

def test_net_SessionCreate (   self )
_________________________________ Mon Jan  2 13:41:22 2006 REQUEST:
<SOAP-ENV:Envelope xmlns:SOAP-ENC="http://schemas.xmlsoap.org/soap/encoding/" xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" xmlns:ZSI="http://www.zolera.com/schemas/ZSI/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><SOAP-ENV:Header></SOAP-ENV:Header><SOAP-ENV:Body xmlns:ns1="http://www.opentravel.org/OTA/2002/11"><ns1:SessionCreateRQ><ns1:POS><ns1:Source PseudoCityCode="SF"></ns1:Source></ns1:POS></ns1:SessionCreateRQ></SOAP-ENV:Body></SOAP-ENV:Envelope>
_________________________________ Mon Jan  2 13:41:22 2006 RESPONSE:
Server: Netscape-Enterprise/6.0
Date: Mon, 02 Jan 2006 21:41:21 GMT
Content-Length: 1568
Content-Type: text/xml; charset="utf-8"
Soapaction: ""

<?xml version="1.0" encoding="UTF-8"?>
<soap-env:Envelope xmlns:soap-env="http://schemas.xmlsoap.org/soap/envelope/"><soap-env:Header><wsse:Security xmlns:wsse="http://schemas.xmlsoap.org/ws/2002/12/secext"/></soap-env:Header><soap-env:Body><soap-env:Fault><faultcode>soap-env:Client.ConversationIdRequired</faultcode><faultstring>Conversation id required</faultstring><detail><StackTrace>com.sabre.universalservices.base.session.SessionException: errors.session.USG_CONVERSATION_ID_REQUIRED
at com.sabre.universalservices.gateway.control.SecurityInterceptor.executeOnRequest(SecurityInterceptor.java:111)
at com.sabre.universalservices.base.interceptor.Interceptor.execute(Interceptor.java:113)
at com.sabre.universalservices.base.interceptor.InterceptorChain.applyInterceptors(InterceptorChain.java:32)
at com.sabre.universalservices.base.interceptor.InterceptorManager.process(InterceptorManager.java:116)
at com.sabre.universalservices.gateway.control.WSGateway.onMessage(WSGateway.java:297)
at com.sabre.universalservices.gateway.control.WSGateway.handleRequest(WSGateway.java:208)
at com.sabre.universalservices.gateway.control.WSGateway.doPost(WSGateway.java:156)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:760)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at com.iplanet.server.http.servlet.NSServletRunner.invokeServletService(NSServletRunner.java:919)
at com.iplanet.server.http.servlet.NSServletRunner.Service(NSServletRunner.java:483)
</StackTrace></detail></soap-env:Fault></soap-env:Body></soap-env:Envelope>
E

Definition at line 55 of file test_Sabre.py.


The documentation for this class was generated from the following file: