14 years ago
Two request be posted,when I use Authorization function
After I use Authorization function and post the soap request,I check the http log in soap ui I found strange things :here are two request post which was show in the below
the different place in request headers ,I marked with red color. I don't understand why suap ui will send no Authorization header request.
Is it a bug or there is something I needed to set?
Wed May 09 11:42:53 CST 2012:DEBUG:>> "POST /sms/ws/charging/chargingResultV1 HTTP/1.1[\r][\n]"
Wed May 09 11:42:53 CST 2012:DEBUG:>> "Accept-Encoding: gzip,deflate[\r][\n]"
Wed May 09 11:42:53 CST 2012:DEBUG:>> "Content-Type: text/xml;charset=UTF-8[\r][\n]"
Wed May 09 11:42:53 CST 2012:DEBUG:>> "SOAPAction: ""[\r][\n]"
Wed May 09 11:42:53 CST 2012:DEBUG:>> "User-Agent: Jakarta Commons-HttpClient/3.1[\r][\n]"
Wed May 09 11:42:53 CST 2012:DEBUG:>> "Host: ecnshux3168:8080[\r][\n]"
Wed May 09 11:42:53 CST 2012:DEBUG:>> "Content-Length: 350[\r][\n]"
Wed May 09 11:42:53 CST 2012:DEBUG:>> "[\r][\n]"
Wed May 09 11:42:53 CST 2012:DEBUG:>> "<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:v1="http://ws.drutt.com/msdp/mci/charging/v1">[\n]"
Wed May 09 11:42:53 CST 2012:DEBUG:>> " <soapenv:Header/>[\n]"
Wed May 09 11:42:53 CST 2012:DEBUG:>> " <soapenv:Body>[\n]"
Wed May 09 11:42:53 CST 2012:DEBUG:>> " <v1:chargingResult>[\n]"
Wed May 09 11:42:53 CST 2012:DEBUG:>> " <transactionId>11002</transactionId>[\n]"
Wed May 09 11:42:53 CST 2012:DEBUG:>> " <succeedList/>[\n]"
Wed May 09 11:42:53 CST 2012:DEBUG:>> " <failList/>[\n]"
Wed May 09 11:42:53 CST 2012:DEBUG:>> " </v1:chargingResult>[\n]"
Wed May 09 11:42:53 CST 2012:DEBUG:>> " </soapenv:Body>[\n]"
Wed May 09 11:42:53 CST 2012:DEBUG:>> "</soapenv:Envelope>"
---------------------------------------------------------------------------------------------------------------
Wed May 09 11:42:53 CST 2012:DEBUG:>> "POST /sms/ws/charging/chargingResultV1 HTTP/1.1[\r][\n]"
Wed May 09 11:42:53 CST 2012:DEBUG:>> "Accept-Encoding: gzip,deflate[\r][\n]"
Wed May 09 11:42:53 CST 2012:DEBUG:>> "Content-Type: text/xml;charset=UTF-8[\r][\n]"
Wed May 09 11:42:53 CST 2012:DEBUG:>> "SOAPAction: ""[\r][\n]"
Wed May 09 11:42:53 CST 2012:DEBUG:>> "User-Agent: Jakarta Commons-HttpClient/3.1[\r][\n]"
Wed May 09 11:42:53 CST 2012:DEBUG:>> "Content-Length: 350[\r][\n]"
Wed May 09 11:42:53 CST 2012:DEBUG:>> "Authorization: Basic bWFuYWdlckBkcnV0dC5jb206bWFuYWdlcg==[\r][\n]"
Wed May 09 11:42:53 CST 2012:DEBUG:>> "Host: ecnshux3168:8080[\r][\n]"
Wed May 09 11:42:53 CST 2012:DEBUG:>> "[\r][\n]"
Wed May 09 11:42:53 CST 2012:DEBUG:>> "<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:v1="http://ws.drutt.com/msdp/mci/charging/v1">[\n]"
Wed May 09 11:42:53 CST 2012:DEBUG:>> " <soapenv:Header/>[\n]"
Wed May 09 11:42:53 CST 2012:DEBUG:>> " <soapenv:Body>[\n]"
Wed May 09 11:42:53 CST 2012:DEBUG:>> " <v1:chargingResult>[\n]"
Wed May 09 11:42:53 CST 2012:DEBUG:>> " <transactionId>11002</transactionId>[\n]"
Wed May 09 11:42:53 CST 2012:DEBUG:>> " <succeedList/>[\n]"
Wed May 09 11:42:53 CST 2012:DEBUG:>> " <failList/>[\n]"
Wed May 09 11:42:53 CST 2012:DEBUG:>> " </v1:chargingResult>[\n]"
Wed May 09 11:42:53 CST 2012:DEBUG:>> " </soapenv:Body>[\n]"
Wed May 09 11:42:53 CST 2012:DEBUG:>> "</soapenv:Envelope>"
the different place in request headers ,I marked with red color. I don't understand why suap ui will send no Authorization header request.
Is it a bug or there is something I needed to set?
Wed May 09 11:42:53 CST 2012:DEBUG:>> "POST /sms/ws/charging/chargingResultV1 HTTP/1.1[\r][\n]"
Wed May 09 11:42:53 CST 2012:DEBUG:>> "Accept-Encoding: gzip,deflate[\r][\n]"
Wed May 09 11:42:53 CST 2012:DEBUG:>> "Content-Type: text/xml;charset=UTF-8[\r][\n]"
Wed May 09 11:42:53 CST 2012:DEBUG:>> "SOAPAction: ""[\r][\n]"
Wed May 09 11:42:53 CST 2012:DEBUG:>> "User-Agent: Jakarta Commons-HttpClient/3.1[\r][\n]"
Wed May 09 11:42:53 CST 2012:DEBUG:>> "Host: ecnshux3168:8080[\r][\n]"
Wed May 09 11:42:53 CST 2012:DEBUG:>> "Content-Length: 350[\r][\n]"
Wed May 09 11:42:53 CST 2012:DEBUG:>> "[\r][\n]"
Wed May 09 11:42:53 CST 2012:DEBUG:>> "<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:v1="http://ws.drutt.com/msdp/mci/charging/v1">[\n]"
Wed May 09 11:42:53 CST 2012:DEBUG:>> " <soapenv:Header/>[\n]"
Wed May 09 11:42:53 CST 2012:DEBUG:>> " <soapenv:Body>[\n]"
Wed May 09 11:42:53 CST 2012:DEBUG:>> " <v1:chargingResult>[\n]"
Wed May 09 11:42:53 CST 2012:DEBUG:>> " <transactionId>11002</transactionId>[\n]"
Wed May 09 11:42:53 CST 2012:DEBUG:>> " <succeedList/>[\n]"
Wed May 09 11:42:53 CST 2012:DEBUG:>> " <failList/>[\n]"
Wed May 09 11:42:53 CST 2012:DEBUG:>> " </v1:chargingResult>[\n]"
Wed May 09 11:42:53 CST 2012:DEBUG:>> " </soapenv:Body>[\n]"
Wed May 09 11:42:53 CST 2012:DEBUG:>> "</soapenv:Envelope>"
---------------------------------------------------------------------------------------------------------------
Wed May 09 11:42:53 CST 2012:DEBUG:>> "POST /sms/ws/charging/chargingResultV1 HTTP/1.1[\r][\n]"
Wed May 09 11:42:53 CST 2012:DEBUG:>> "Accept-Encoding: gzip,deflate[\r][\n]"
Wed May 09 11:42:53 CST 2012:DEBUG:>> "Content-Type: text/xml;charset=UTF-8[\r][\n]"
Wed May 09 11:42:53 CST 2012:DEBUG:>> "SOAPAction: ""[\r][\n]"
Wed May 09 11:42:53 CST 2012:DEBUG:>> "User-Agent: Jakarta Commons-HttpClient/3.1[\r][\n]"
Wed May 09 11:42:53 CST 2012:DEBUG:>> "Content-Length: 350[\r][\n]"
Wed May 09 11:42:53 CST 2012:DEBUG:>> "Authorization: Basic bWFuYWdlckBkcnV0dC5jb206bWFuYWdlcg==[\r][\n]"
Wed May 09 11:42:53 CST 2012:DEBUG:>> "Host: ecnshux3168:8080[\r][\n]"
Wed May 09 11:42:53 CST 2012:DEBUG:>> "[\r][\n]"
Wed May 09 11:42:53 CST 2012:DEBUG:>> "<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:v1="http://ws.drutt.com/msdp/mci/charging/v1">[\n]"
Wed May 09 11:42:53 CST 2012:DEBUG:>> " <soapenv:Header/>[\n]"
Wed May 09 11:42:53 CST 2012:DEBUG:>> " <soapenv:Body>[\n]"
Wed May 09 11:42:53 CST 2012:DEBUG:>> " <v1:chargingResult>[\n]"
Wed May 09 11:42:53 CST 2012:DEBUG:>> " <transactionId>11002</transactionId>[\n]"
Wed May 09 11:42:53 CST 2012:DEBUG:>> " <succeedList/>[\n]"
Wed May 09 11:42:53 CST 2012:DEBUG:>> " <failList/>[\n]"
Wed May 09 11:42:53 CST 2012:DEBUG:>> " </v1:chargingResult>[\n]"
Wed May 09 11:42:53 CST 2012:DEBUG:>> " </soapenv:Body>[\n]"
Wed May 09 11:42:53 CST 2012:DEBUG:>> "</soapenv:Envelope>"