Does SALT support persistent HTTP connection? - Service Architecture Leveraging Tuxedo (SALT)

I'm trying SOAP Async using WS-Addressing.
I wanted to re-use the same HTTP 1.1 connection, my HTTP headers are:
POST /test HTTP/1.1
Host: 172.24.154.170:2222
User-Agent: gSOAP/2.7
Content-Type: text/xml; charset=utf-8
Content-Length: 640
Connection: Keep-Alive
SOAPAction: "ToUpperWS"
as you see, I even specified Connection: Keep-Alive header, but SALT always sends:
HTTP/1.1 202 Accepted
Connection: close
Content-Length: 0
and closes the connection!
How to force it to keep the connection open?
Connection establishment will become very heavy when I add SSL into mix.
Please help! 

Hi,
Unfortunately that is a designed behavior for WSA ... Currently there is no workaround for this.
Regards,
Wayne

Related

Problems using SES WSRP portlet

Hi,
I have registered the wsrp portlet as described in the docs (http://download.oracle.com/docs/cd/E10502_01/doc/search.1018/e10418/wsrp.htm), but see an error when I try out the portlet on a portal page.
The following is printed in the portlet region: Error: Could not get markup. The cookie or session is invalid or there is a runtime exception.
I have traced the communication between portal server and search server, and see that there is an error in the soap communication on the initCookie soap action. The error message is as follows: Missing <wsse:Security> in SOAP Header
Any clues on what might be causing this problem?
Here are more details on the soap communication:
POST /sesPortlet/portlets/WSRPBaseService HTTP/1.1
Host: <servername>:<portno>
Connection: keep-alive, TE
TE: trailers, deflate, gzip, compress
User-Agent: RPT-HTTPClient/0.3-3
Oracle-ECID: 85565930365,1
SOAPAction: "urn:oasis:names:tc:wsrp:v1:initCookie"
Accept-Encoding: gzip, x-gzip, compress, x-compress
Content-type: text/xml; charset=UTF-8
Content-length: 481
<?xml version="1.0" encoding="UTF-8"?>
<env:Envelope xmlns:env="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:ns0="urn:oasis:names:tc:wsrp:v1:types"><env:Body><ns0:initCookie><ns0:registrationContext><ns0:registrationHandle>C:10.0.0.18:7db937:11831a77e8f:-7ffe</ns0:registrationHandle><ns0:registrationState/></ns0:registrationContext></ns0:initCookie></env:Body></env:Envelope>
HTTP/1.1 500 Internal Server Error
Date: Tue, 19 Feb 2008 16:47:49 GMT
Server: Oracle Containers for J2EE
Content-Length: 374
Connection: Keep-Alive
Keep-Alive: timeout=15, max=100
Content-Type: text/xml; charset=UTF-8
SOAPAction: ""
<env:Envelope xmlns:env="http://schemas.xmlsoap.org/soap/envelope/"><env:Header/><env:Body><env:Fault xmlns:wsse="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd"><faultcode>wsse:InvalidSecurity</faultcode><faultstring>Missing <wsse:Security> in SOAP Header</faultstring><faultactor></faultactor></env:Fault></env:Body></env:Envelope>
Regards,
Rune

SOA Suite Problem 2: Proxy Settings and  Local/Remote BPEL Processes

Hello all again,
I have continued doing some tests as, for instance, setting Proxy Settings editing the obsetenv.bat file
(See the URL http://www.oracle.com/technology/products/ias/bpel/htdocs/orabpel_technotes.tn003.html) but
the problem continues.
Besides, I have noticed another weird issue! With a Protocol Analyzer I have seen that my system is requesting
something related to "dmsoc4j"!!! You can see below, the request and the response corresponding to this issue.
Now, the new question is: Why OAS has trying to recover this info from the outside and not locally?
On the other hand, if I write this URL in the web navigator, the corresponding info is loaded correctly.
Here is the HTTP conversation:
HTTP Request (My Desktop/Laptop--->Proxy):
GET http://AABG-es:8888/dmsoc4j/Spy?format=tbml&operation=get&value=false&units=true&description=true&version=9.0.4 HTTP/1.1
Cache-Control: no-cache
Pragma: no-cache
Oracle-ECID: xxx.xxx.xxx.xxx:yyyyy:zzzzzzzzzzzzz:zzz, 1
User-Agent: Java/1.5.0_06
Host: AABG-es:8888
Accept: text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2
Proxy-Connection: keep-alive
Content-type: application/x-www-form-urlencoded
HTTP Request (My Desktop/Laptop--->Proxy):
HTTP/1.1 502 Bad Gateway
Date: Mon, 07 Apr 2008 16:03:19 GMT
Content-Length: 338
Content-Type: text/html
Server: NetCache appliance (NetApp/6.0.6P1D4)
Proxy-Connection: close
<HTML>
<HEAD><TITLE>502 Bad Gateway</TITLE></HEAD>
<BODY>
<H1>Bad Gateway</H1>
<H4>
The following error occurred:<P>
[code=DNS_HOST_NOT_FOUND] The host name was not found during the DNS lookup. Contact your system administrator if the problem is not found by retrying the URL.
</H4>
<HR>
Please contact the administrator.
</BODY>
</HTML>
Thanks in advance!
Best regards,
user629401.

Authorization tag in  http header

While making an end point call using the webservice control the authorization tag is getting added to the http header. This is causing 401 errors when going over SSL . We are adding the credentials as part of the SOAP header.
Why / How is the Authorization Basic tag getting created? Also how can we eliminate it?
****************** tcpmon output shown below
POST /DMIntegration/ContentService HTTP/1.1
User-Agent: BEA WebLogic Server 10.3.0.0
Content-Type: text/xml; charset=utf-8
SOAPAction: ""
Authorization: Basic U334567dGFsVXNlcjpQb3J0YW1234==
Host: 10.157.44.155:7080
Accept: text/html, image/gif, image/jpeg, */*; q=.2
Connection: Keep-Alive
Content-Length: 1834
******************
Thanks,
- Shankar

SOAP request header issue in SelfService

Hello
I'm having an issue with the SOAP request for the web service 'SelfServiceTemplateRule'.
The SOAP header that is being sent from the SelfService app does not contain the UsernameToken or PasswordText. It does contain the SessionType attribute though.
The following is the message being sent to the server:
POST /custappsvcs_enu/start.swe?SWEExtSource=WebService&SWEExtCmd=Execute&WSSOAP=1 HTTP/1.1
Host: cube:7000
Connection: Keep-Alive, TE
TE: trailers, deflate, gzip, compress
User-Agent: Oracle HTTPClient Version 10h
SOAPAction: "document/http://siebel.com/SelfService/Common/Setup:SelfServiceTemplateRuleQueryPage"
Accept-Encoding: gzip, x-gzip, compress, x-compress
Content-type: text/xml; charset=UTF-8
Content-length: 1165
     <env:Envelope
     xmlns:env="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsd="http://www.w3.org/2001/XMLSchema"
     xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:ns0="http://siebel.com/SelfService/Common/Setup"
     xmlns:ns1="http://www.siebel.com/SelfService/Common/TemplateRule/Data" xmlns:ns2="http://www.siebel.com/SelfService/Common/TemplateRule/Id"
     xmlns:ns3="http://www.siebel.com/SelfService/Common/TemplateRule/Query">
     <env:Header><sbh:SessionType xmlns:sbh="http://siebel.com/webservices">None</sbh:SessionType></env:Header>
     <env:Body><ns0:SelfServiceTemplateRuleQueryPage_Input><ns0:NamedSearchSpec/><ns3:ListOfSSTemplateRule pagesize="100" recordcountneeded="true">
     <ns3:SSTemplateRule><ns3:ModId/><ns3:ConditionTypeCode/><ns3:ConditionValue/><ns3:CatalogueCategoryId/>
     <ns3:EffectiveEndDate/><ns3:EffectiveStartDate/><ns3:PageTypeCode/><ns3:RowId/><ns3:TemplateName/><ns3:WebSiteId/></ns3:SSTemplateRule>
     </ns3:ListOfSSTemplateRule>
     <ns0:ExecutionMode>ForwardOnly</ns0:ExecutionMode><ns0:LOVLanguageMode>LIC</ns0:LOVLanguageMode><ns0:ViewMode>All</ns0:ViewMode><ns0:PickListName/>
     </ns0:SelfServiceTemplateRuleQueryPage_Input></env:Body></env:Envelope>
The SelfServiceConfiguration.properties file contains the following values:
SIEBEL_PROXY_USER_NAME=GUESTCST
SIEBEL_PROXY_PASSWORD=Gst#####
I have tested the target web service using SoapUI and obtained a valid response.
Would someone be able to provide some guidance on how to correct this issue? Can this be corrected through administration of the SelfService application?
thanks
Jonn 
Hi John,
What is the issue here? Userid and password not bening sent to Siebel web server. If yes, then thats not an issue :). Thats how it works.SelfServiceTemplateRuleQueryPage doesn't need any user id and password to send back the response.
Vikram 
Hello
Thanks for the reply. I had my Anonymous User Pool configured wrong.
Jonn

WebLogic 10.3.3 Web Services

Hi all,
I had implemented a WebLogic WebServices and the services are working with UserName token authentication.
I had issues when trying to establish a stateful session using cookies.
I use HTTPURLConnection to connect to my WebServices and the Http request header contains the following
POST /myadapter/services/AuthenticationService HTTP/1.1
Content-Type: text/xml
SOAPAction: Login
User-Agent: Java/1.6.0_14
Host: localhost:8989
Accept: text/html, image/gif, image/jpeg, *; q=.2, /; q=.2
Connection: keep-alive
Content-Length: 688
I was expecting the WebServices will send back a cookie in the Http response header, but it doesn't.
Is there any configuration that I can use to instruct my WebServices to sendback a cookie?
Do I need to add code to send back a cookie?
Thanks
Steve

Categories

Resources