Https call using a http binding in soa

Hi,
I am trying to do an https call using soa suite 11g.I am using http binding for the same:
Below is the url I am trying to call
https://test.b2b2.rbs.gxs.com/invoke/URLTest/simpleReceive
Below is the header which needs to be passed to the call
<Headers>
<Content-Type>application/HTTPstream</Content-Type>
<actionrequest>upload</actionrequest>
<userid>ADT00368</userid>
<password>ADT00368</password>
<receiverid>RBOSNL2A</receiverid>
<datatype>XML</datatype> (optional)
</Headers>
I have 2 questions here
1.I have installed the certificate from the secured site in the weblogic server.Still I am getting error "unable to access the below url"
https://test.b2b2.rbs.gxs.com/invoke/URLTest/simpleReceive.
2. second question is how to send the above mentioned header information in the https call?
Regards,
Naresh

But while testing how will I pass the header?
<Headers>
<Content-Type>application/HTTPstream</Content-Type>
<actionrequest>upload</actionrequest>
<userid> ADT00368</userid>
<password> ADT00368</password>
<receiverid>ABNAMHTIN</receiverid>
<datatype>XML</datatype>
</Headers>

Similar Messages

  • Would like to disable HTTP and use only HTTPS yet I get side effects

    Hello,
    I have established a secure connection between the AS ABAP and AS Java.
    I would like assure that all communication between the servers is using https and for that, as a test, I have deactivated the http service using SMICM transaction.
    The only side effect I could recognize so far is that the Web Dynpro for ABAP stuff doesn't work through transaction SE80, the working area simply doesn't come up. If I activate HTTP again it is working.
    Am I doing the right thing by disabling HTTP completely and if yes, what else do I need to do in order to prevent this side effect from happening?
    Roy

    humuhumunukunukuapuaa wrote:
    If I get some nice approvals on my app spree in 10 days, I would like to close Talbots and Abercrombie and Fitch store cards. Total CL for the 2 is $2,700 ($1,350 each)  but I can make up for that closure and utilization loss by getting quite a bit more than those amounts on majors during my app spree. Talbots has only been open 4 months, A&F one year. I have other cards that are the same age or older so should not majorly affect AaoA. Thoughts? I know some will say don't close cards, but they're store cards and I don't need to be responsible for store cards I don't use.If you have no use for them and don't foresee using them in the future then you should probably close them out.  They won't affect your AAoA as the cards will stay in your reports for 10 years.  No sense in keeping cards that you don't want just to take up room in your sock drawer.

  • BlazeDS Secure-amf (https) still uses amf (http)

    Hello,<br /><br />BlazeDS works perfect, but when i bring my services-config, proxy-config and remoting-config to Secure then I get the following error:<br /><br />500 Internal Server Error. BlazeDS is stil trying to connect to: http://<servername>:<port>/blazeds/messagebroker/amf<br /><br />But i removed every amf-channel using amf! Why is BlazeDS still trying to connect on the amf channel?? (HTTP).<br /><br />My channel definitions are:<br /><br />-- services-config.xml --<br /><channel-definition id="my-secure-amf" class="mx.messaging.channels.SecureAMFChannel"><br />            <endpoint url="https://<servername>:<portssl>/blazeds/messagebroker/amfsecure" class="flex.messaging.endpoints.SecureAMFEndpoint"/><br />            <properties><br />                <add-no-cache-headers>false</add-no-cache-headers><br />            </properties><br />        </channel-definition><br /><br />-- remoting-config.xml --<br /><default-channels><br />       <channel ref="my-secure-amf"></channel><br /></default-channels>

    I have already found the problem. When you want to use amf-secure instead of amf beware that you disable all amf configurations. Then blazeds will try to connect with http instead off https. This wil give overhead.

  • How to configure https connection using a http proxy in weblogic server

    Hi,
    I have a proxy in Aqualogic Service Bus that points to a https external service. Our development environment internet access is supported by a http proxy server. The ALSB proxy fails to connect, with the following error message:
    <con:fault xmlns:con="http://www.bea.com/wli/sb/context">
    <con:errorCode>BEA-380002</con:errorCode>
    <con:reason>
    Tried all: *1 addresses, but could not connect over HTTPS to server: sitenet43.serasa.com.br port: 443*
    </con:reason>
    <con:location>
    <con:node>RouteTo_ConsultarSerasa</con:node>
    <con:path>request-pipeline</con:path>
    </con:location>
    </con:fault>
    I've added the following parameters to jvm args:
    -Dhttp.proxyHost=10.128.0.50
    -Dhttp.proxyPort=3126
    -Dhttp.proxyUser=<someUserName>
    -Dhttp.proxyPassword=<somePassword>
    Accessing the page in Internet Explorer or Firefox is working fine. Somebody knows any additional configuration to this case?
    Thanks in advance
    Rogério Cruz

    In osb you can configure a HTTP proxy server. Once this is done all BS http/https requests will be through the configured proxy server.
    http://download.oracle.com/docs/cd/E13159_01/osb/docs10gr3/consolehelp/global_resources.html#wp1137225
    Manoj

  • Send from file to http server and save http/xml response to another file

    Hallo,
    is there anybody who made running simple think. Read xml file, send it to http server using plain HTTP adapter and then wait for response which is to be saved as another file?
    ThanX a lot.
    Honza Vrzak

    Hello Honza,
    I've made running these two asynchronous scenario. Maybe that might help you?
    1.a) FileAdapter picks up XML and sends it to XI2.0
    1.b) XI uses PlainHTTP-Adapter to sends the message to Webserver
    1.c) HTTPRequestHandler (written in C#) receives the XML and writes it to HD.
    2.a) JavaScript sending an XML to PlainHTTP adapter of XI2.0.
    2.b) XI sends the message to FileAdapter
    2.c) FileAdapter writes the XML to HD
    What you need is an synchrounus scenario and I think I remember that the fileadapter is not able to work synchrounus. So I think you have to combine these two scenarious to one.
    Regards Björn

  • Options apart from using the http binding adapter

    In calling secured restful web services, what are the options apart from using the http binding adapter from BPEL/SOA 11.1.1.4.
    Pointers to examples highly appreciated.

    Hi,
    Have a look at this...
    http://technology.amis.nl/2009/12/15/the-oracle-soa-suite-11g-httpbinding-or-another-way-to-call-restful-services-from-soa-composite-applications/
    Cheers,
    Vlad

  • HTTP binding in SOA

    hello,
    i have a requirement to invoke a .jsp((http://*********/*******/**.jsp)) page and use the methods in there ...... HTTP binding is the way to invoke that tro BPEL/SOA i think ..... please advice.... actually wats the use of HTTP binding adapter in SOA ?
    i have a .jsp link(http://*********/*******/**.jsp) which has methods ... please let me know how i can add that to SOAP UI to test.....
    Thanks in advance....

    But while testing how will I pass the header?
    <Headers>
    <Content-Type>application/HTTPstream</Content-Type>
    <actionrequest>upload</actionrequest>
    <userid> ADT00368</userid>
    <password> ADT00368</password>
    <receiverid>ABNAMHTIN</receiverid>
    <datatype>XML</datatype>
    </Headers>

  • Is it possible to reduce the number of HTTP calls when using a ReportViewer control?

    My application is written in .Net 4 using Visual Studio 2010 (version 10 of the ReportViewer control). The report in question contains a lot of data in the dropdowns used for parameter selection. For example, one dropdown contains 95k options and another
    uses 24k options (I know this is bad design, but we need to keep it as-is for this release). When I use Fiddler to profile the report, I see that it makes a lot of HTTP calls and a majority return the same dataset. There are three phases of loading data. Each
    one initiates a series of HTTP calls.
    Loading the initial header with the filter controls (dropdowns, textboxes, etc).
    Changing one of the dropdowns that has a dependent dropdown (start date/end date)
    Loading the final report after clicking the View Report button
    In total, 13 HTTP calls are made and 10 of those are returning the same 10MB of data. The final report only returns 13 records, but the whole process of loading the report filters, changing report filters and loading the report require 130MB of data to be
    exchanged. This is an extreme example, but we do have other reports that are doing the same with smaller amounts of data.
    My question: is there any way to modify the ReportViewer or the SSRS server to reduce the number of calls? Is this related to ViewState? Please understand that I am new to Reporting Services and have a lot to learn.

    Hi rodeofive,
    As per my understanding, the issue is a performance issue. And it is caused by there are thousands of values in the drop-down list of parameters in the report.
    To work around this issue, I suggest you should make some changes in the report. For example, we can add additional two parameters with multiple keywords ahead, one for the dropdown contains 95k options, another for dropdown contains 24k options. Then all
    of available values which are begin with the keywords will display in the parameter list. In this scenario, we can create cascading parameters. One is a keyword parameter, and the other parameter is the drop-down list that based on the keyword to display the
    available values.
    For more details about the method, please refer to the following FAQ:
    http://social.msdn.microsoft.com/Forums/sqlserver/en-US/8de6c783-9cb4-4b95-9be8-b59bc0049866/forum-faqhow-do-i-add-a-search-feature-in-the-parameter-with-long-drop-down-list?forum=sqlreportingservices#8de6c783-9cb4-4b95-9be8-b59bc0049866
    Hope this helps.
    Thanks,
    Katherine Xiong
    Katherine Xiong
    TechNet Community Support

  • How to copy List item from one list to another using SPD workflow using HTTP call web service

    Hi,
    How to copy List item from one list to another using SPD workflow using HTTP call web service.
    Both the Lists are in different Web applications.
    Regards, Shreyas R S

    Hi Shreyas,
    From your post, it seems that you are using SharePoint 2013 workflow platform in SPD.
    If that is the case, we can use Call HTTP web service action to get the item data, but we cannot use Call HTTP web service to create a new item in the list in another web application with these data.
    As my test, we would get Unauthorized error when using Call HTTP web service action to create a new item in a list in another web application.
    So I recommend to achieve this goal programmatically.
    More references:
    https://msdn.microsoft.com/en-us/library/office/jj164022.aspx
    https://msdn.microsoft.com/en-us/library/office/dn292552.aspx?f=255&MSPPError=-2147217396
    Thanks,
    Victoria
    TechNet Community Support
    Please remember to mark the replies as answers if they help, and unmark the answers if they provide no help. If you have feedback for TechNet Support, contact
    [email protected]

  • Flex IO error# 2032 when using IE7 for parallel https calls across two servers

    Hi,
    Weeks back I faced a wierd issue in the behaviour of flashplayer running on IE7 which is invoking parallel https calls. I have two SSL enabled servers one is listening on port 443 and the other is listening on port 8443 but both running in the same domain. I developed a flex client (using httpservice class) which sends parallel https requests to these two servers. When the number of parallel requests increases say more than 5 requests to each server, the fault handler was encountered with the error message:
    [RPC Fault faultString="HTTP request error" faultCode="Server.Error.Request" faultDetail="Error: [IOErrorEvent type="ioError" bubbles=false cancelable=false eventPhase=2 text="Error #2032: Stream Error. URL: https://servlet"]. URL: https://servlet"]
    I used some http tracer tools to check if the request jumps out of the browser but that didnt happen. I am 100% sure that I am using the correct url. I was totally helpless . This worked without any issues in IE8 or Chrome or Firefox. This made me think about increasing the number of concurrent connections for IE7 by modifying the windows registry. But still no difference in the behaviour.
    After breaking my head for a long days, I got one solution which would work. This issue is happening only if we are sending https requests to different ports in the same domain. So rather than moving one among the two servers to a new domain, I got a new DNS name for the same destination. So presently I got two DNS names pointing to the same machine in which both the servers are mounted.
    After this it really worked cool!!! Now that I am using a separate DNS name for the server listening on port 8443 and the old DNS name is used to hit the server listening on 443. And I am happy that its working fine without any issues .
    But can anyone tell me if this is really an IE7 issue or do we have anyother solution to fix this.
    Please share ur thoughts..

    Hi,
    I am building a mobile employee directory and for that I am using Flash Builder 4.6/AIR 3.1.0. I am using RESTful web service to get XML results and to display on my mobile application. I am getting the same below error when accessing the webservice from mobile app (Android - Galaxy Tab 7 inch).
    Error: [IOErrorEvent type="ioError" bubbles=false cancelable=false eventPhase=2 text="Error # 2032"] URL: http://adfdevp.alshaya.com:7013/RESTEmployeeDetails-EmployeeDetails-co">http://adfdevp.alshaya.com:7013/RESTEmployeeDetails-EmployeeDetails-co ntext-root/jersey/restlabhttp://adfdevp.alshaya.com:7013/RESTEmployeeDetails-http://adfdevp.als haya.com:7013/RESTEmployeeDetails-EmployeeDetails-co ntext-root/jersey/restlabEmployeeDetails-context-root/jersey/restlab
    The same code is working in Flash Builder 4.6. I have checked Network Monitor to "Disabled" before deploying to mobile. What am i doing wrong here? I am pasting my code below-
    <?xml version="1.0" encoding="utf-8"?>
    <s:View xmlns:fx="http://ns.adobe.com/mxml/2009"
       xmlns:s="library://ns.adobe.com/flex/spark" title="HomeView" xmlns:dao="dao.*"
       xmlns:mx="library://ns.adobe.com/flex/mx">
    <fx:Script>
       <![CDATA[
        import mx.collections.ArrayCollection;
        import mx.collections.IList;
        import mx.collections.XMLListCollection;
        import mx.events.FlexEvent;
        import mx.rpc.events.FaultEvent;
        import mx.rpc.events.ResultEvent;
        import mx.rpc.xml.SimpleXMLDecoder;
        import mx.utils.ArrayUtil;
        import valueObjects.EmployeeDetail;
        [Bindable]
        private var myXml:XML;
        [Bindable]
        public var resultCollection:IList;
        public function handleXml(event:ResultEvent):void
         var xmlListCollection:XMLListCollection = new XMLListCollection(event.result.children());
         var xmlListCollectionValues:XMLListCollection = new XMLListCollection(event.result.emp.children());
         var resultArray:Array = xmlListCollection.toArray();
         var resultArrayValues:Array = xmlListCollectionValues.toArray();
         var objEmployeeDetails:EmployeeDetail;
         var resultCollection:ArrayCollection = new ArrayCollection();
         var j:int = 0;
         for(var i:int=0;i<resultArray.length;i++){
          objEmployeeDetails = new EmployeeDetail();
          objEmployeeDetails.brand = resultArrayValues[j];
          objEmployeeDetails.division = resultArrayValues[j+1];
          objEmployeeDetails.email = resultArrayValues[j+2];
          objEmployeeDetails.employee_name = resultArrayValues[j+3];
          objEmployeeDetails.employee_number = resultArrayValues[j+4];
          objEmployeeDetails.grade = resultArrayValues[j+5];
          objEmployeeDetails.mobile = resultArrayValues[j+6];
          objEmployeeDetails.position = resultArrayValues[j+7];
          j = j + 8;
          resultCollection.addItem(objEmployeeDetails);
         list.dataProvider = resultCollection;
         //return resultCollection;
        public function handleFault(event:FaultEvent):void
         //Alert.show(event.fault.faultDetail, "Error");             
        protected function sesrchEmployee():void
         xmlRpc.send();
       ]]>
    </fx:Script>
    <fx:Declarations>
       <dao:EmployeeDAO id="srv"/>
       <mx:HTTPService id="xmlRpc"
           url="http://adfdevp.alshaya.com:7013/RESTEmployeeDetails-EmployeeDetails-co ntext-root/jersey/restlab"
           result="handleXml(event)"
           fault="handleFault(event)"
           resultFormat="e4x" showBusyCursor="true">
        <mx:request xmlns="">
         <data>{key.text}</data>
         <data>{key1.text}</data>
        </mx:request>
       </mx:HTTPService>
    </fx:Declarations>
    <s:navigationContent/>
    <s:titleContent>
       <s:VGroup width="100%">
       <s:HGroup width="100%">
        <s:Label top="40" paddingTop="10" paddingRight="13" height="29" text="Employee Name:"/>
        <s:TextInput id="key" width="559"/>
       </s:HGroup>
       <s:HGroup width="100%">
        <s:Label height="30" paddingTop="10" text="Employee Number:"/>
        <s:TextInput id="key1" width="100%"/>
       </s:HGroup>
       </s:VGroup>
    </s:titleContent>
    <s:actionContent>
       <s:Button icon="@Embed('assets/search.png')" click="sesrchEmployee()"/> 
    </s:actionContent>
    <s:List id="list" top="0" bottom="0" left="0" right="0" 
        change="navigator.pushView(EmployeeDetails, list.selectedItem)">
       <s:itemRenderer>
        <fx:Component>
         <s:IconItemRenderer label="{data.employee_name}"
              messageField="position">
         </s:IconItemRenderer>
        </fx:Component>
       </s:itemRenderer>
    </s:List>
    </s:View>
    Please help me to resolve this issue as soon as possible. Appreciate your quick response in this regard.
    Thanks,
    Murtaza Ghodawala
    Mobile: +965 97180549
    [email protected]

  • WCF Published Orch - Could not find a base address that matches scheme http for the endpoint with binding MetadataExchangeHttpBinding

    I have an orchestration published as a web service.  It was working fine on our test environment, we deployed to production, and now getting this error.  The website wouldn't go in the BizTalk MSI, so we copied the files.  We reset the Authentication
    to match the test system (we are using Basic Auth).
    When we try to browse the webservice in the browser, it prompt for userid/password, we enter it, then it gives the following error. 
    I'm not even sure what it means by "base address", if URL was https://prod.mydomain.com/myapp/myservice.svc, would https://prod.mydomain.com be the based address? In the test environment, the URL is https://test.mydomain.com/myapp/myservice.svc. 
    In both environments, we have a customer calling this webservice.
    Also, I don't know what it means "scheme http".  We are using https:... on the URL.
    I'm thinking this is either security related, something to do with the app pool being different, or maybe something to do with bindings. 
    Thanks,
    Neal Walter
    http://MyLifeIsMyMessage.net
    Web.config:
        <services>
          <!-- Note: the service name must match the configuration name for the service implementation. -->
          <service name="Microsoft.BizTalk.Adapter.Wcf.Runtime.BizTalkServiceInstance" behaviorConfiguration="ServiceBehaviorConfiguration">
            <endpoint name="HttpMexEndpoint" address="mex" binding="mexHttpBinding" bindingConfiguration="" contract="IMetadataExchange" />
            <!--<endpoint name="HttpsMexEndpoint" address="mex" binding="mexHttpsBinding" bindingConfiguration="" contract="IMetadataExchange" />-->
          </service>
        </services>
      </system.serviceModel>
        <system.webServer>
            <security>
                <authorization>
                    <remove users="*" roles="" verbs="" />
                    <add accessType="Allow" users="myCustomer" />
                </authorization>
            </security>
        </system.webServer>
    Server Error in '/eSecuritelIn' Application.
    Could not find a base address that matches scheme http for the endpoint with binding MetadataExchangeHttpBinding. Registered
    base address schemes are [https].
    Description:
    An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the
    code. Exception Details: System.InvalidOperationException: Could not find a base address that matches scheme http for the endpoint with binding MetadataExchangeHttpBinding. Registered base address schemes are [https].
    Source Error:
    An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using
    the exception stack trace below.
    Stack Trace:
    [InvalidOperationException: Could not find a base address that matches scheme http for the endpoint with binding MetadataExchangeHttpBinding. Registered base address schemes
    are [https].]
       System.ServiceModel.ServiceHostBase.MakeAbsoluteUri(Uri relativeOrAbsoluteUri, Binding binding, UriSchemeKeyedCollection baseAddresses) +16582113
       System.ServiceModel.Description.ConfigLoader.LoadServiceDescription(ServiceHostBase host, ServiceDescription description, ServiceElement serviceElement, Action`1
    addBaseAddress) +1082
       System.ServiceModel.ServiceHostBase.ApplyConfiguration() +156
       System.ServiceModel.ServiceHostBase.InitializeDescription(UriSchemeKeyedCollection baseAddresses) +215
       System.ServiceModel.ServiceHost..ctor(Object singletonInstance, Uri[] baseAddresses) +400
       Microsoft.BizTalk.Adapter.Wcf.Runtime.WebServiceHost`3..ctor(IsolatedReceiverType isolatedReceiver, BizTalkServiceInstance serviceInstance, Uri[] baseAddresses)
    +36
       Microsoft.BizTalk.Adapter.Wcf.Runtime.WebServiceHostFactory`3.CreateServiceHost(String constructorString, Uri[] baseAddresses) +533
       System.ServiceModel.HostingManager.CreateService(String normalizedVirtualPath) +1413
       System.ServiceModel.HostingManager.ActivateService(String normalizedVirtualPath) +50
       System.ServiceModel.HostingManager.EnsureServiceAvailable(String normalizedVirtualPath) +1172
    [ServiceActivationException: The service '/eSecuritelIn/eSecuritelIn_OrchPublished_RepairEquipmentService.svc' cannot be activated due to an exception during compilation. 
    The exception message is: Could not find a base address that matches scheme http for the endpoint with binding MetadataExchangeHttpBinding. Registered base address schemes are [https]..]
       System.Runtime.AsyncResult.End(IAsyncResult result) +901424
       System.ServiceModel.Activation.HostedHttpRequestAsyncResult.End(IAsyncResult result) +178702
       System.Web.AsyncEventExecutionStep.OnAsyncEventCompletion(IAsyncResult ar) +107
    Version Information: Microsoft .NET Framework Version:4.0.30319; ASP.NET
    Version:4.0.30319.272

    When you want to migrate Web Applications from one environment to other there are multiple ways to achieve it.
    1) Migrate in MSI- Export MSI and select the option for your Web Application, however I don't recommend this option
    2) Is to browse the folder for Web Application(Right click on web app and browse). Copy this folder(normally within inetpub folder) and take it to the inetpub folder of other environment. Later from the IISManager create application.
    Are you not using the same Binding file?
    Check you web.config file and see if the endpoint is configured for mexHTTpBinding.
    Old: binding="mexHttpBinding"
    New: binding="mexHttpsBinding"
    web.config snippet:
    <services>
    <service behaviorConfiguration="ServiceBehavior" name="LIMS.UI.Web.WCFServices.Accessioning.QuickDataEntryService">
    <endpoint behaviorConfiguration="AspNetAjaxBehavior" binding="webHttpBinding" bindingConfiguration="webBinding"
    contract="LIMS.UI.Web.WCFServices.Accessioning.QuickDataEntryService" />
    <endpoint address="mex" binding="mexHttpsBinding" contract="IMetadataExchange" />
    </service>
    Also look into the below article- How to fix: "Could not find a base
    address that matches scheme http for the endpoint with binding WebHttpBinding" Errors
    Moving to https = Could not find a base address that matches scheme
    Thanks,
    Prashant
    Please mark this post accordingly if it answers your query or is helpful.

  • How to pass http header in outbound HTTP Binding?

    I have to call a Rest service from my composite. The Rest service needs couple of Headers. I'm using HTTP Binding for this call.
    How can I set the HTTP headers in the HTTP Binding outbound call ?
    Thanks
    --Sreeny                                                                                                                                                                                                                                                                                                                                                                                                                                                   

    1. Right-click on HTTP binding adapter and select "configure WS policy"
    2. Under security, click on "+" sign and add oracle/wss_http_token_client_policy
    3.Go to Oracle Weblogic Admin console
    Under Security Realms->myrealm->Users and Groups-> New User.
    Add username/password
    4.Go to Oracle Weblogic Enterprise Manager(EM)
    Right click on Weblogic Domain->mydomain(it could be anyname or SOAClusterDomain)
    select Security->credentials
    Create a key named "mykey" (or any name) under oracle.wsm.security with the same username/password you have given on step 3.

  • Service call error: The provided URI scheme 'https' is invalid; expected 'http'.

    I am making a service to service call on Server 2012R2 via https and I receive the error above.  Works fine via http: . Both services are hosted in the .Net v2.0 app pool on the same VM.
    Below are the bindings from the web.config files for both client and provider.
    Client:
      <bindings>
        <wsDualHttpBinding>
          <binding name="wsDualHttp" receiveTimeout="02:00:00" maxReceivedMessageSize="8388608">
            <readerQuotas maxStringContentLength="8388608" maxNameTableCharCount="32768" />
            <security mode="None" />
          </binding>
        </wsDualHttpBinding>
        <wsHttpBinding>
          <binding name="wsHttp" maxReceivedMessageSize="8388608">
            <readerQuotas maxStringContentLength="8388608" maxNameTableCharCount="32768" />
            <security mode="None"/>
          </binding>
          <binding name="wsHttpMessageEncryption" maxReceivedMessageSize="8388608">
            <readerQuotas maxStringContentLength="8388608" maxNameTableCharCount="32768" />
            <security mode="Message">
              <message clientCredentialType="None" negotiateServiceCredential="true" />
            </security>
          </binding>
          <binding name="wsHttps" maxReceivedMessageSize="8388608">
            <readerQuotas maxStringContentLength="8388608" maxNameTableCharCount="32768" />
            <security mode="Transport">
              <transport clientCredentialType="None" proxyCredentialType="None" realm=""/>
              <message clientCredentialType="Certificate" algorithmSuite="Default" />
            </security>
          </binding>
        </wsHttpBinding>
      </bindings>
    Provider:
    <bindings>
          <basicHttpBinding>
             <binding name="basicHttpBinding" closeTimeout="00:01:00" openTimeout="00:01:00" receiveTimeout="00:10:00" sendTimeout="00:01:00" allowCookies="false"
    bypassProxyOnLocal="false" hostNameComparisonMode="StrongWildcard" maxBufferSize="4194304" maxBufferPoolSize="524288" maxReceivedMessageSize="4194304" messageEncoding="Text" textEncoding="utf-8"
    transferMode="Buffered" useDefaultWebProxy="true">
               <readerQuotas maxDepth="32" maxStringContentLength="4194304" maxArrayLength="16384" maxBytesPerRead="4096" maxNameTableCharCount="16384"/>
    < security mode="Transport" />
            </binding>
          </basicHttpBinding>
    < /bindings> 

    Hi John Babilon,
    For creating a HTTPS WCF Service, we need to setup the IIS and configure the web.config file. For example it requires an SSL certificate to be registered with IIS and we need to use the mexHttpsBinding binding for the IMetadataExchange contract or setting
    the httpsGetEnabled="true".
    For more information, please try to refer to the following articles:
    #How to: Configure an IIS-hosted WCF service with SSL:
    https://msdn.microsoft.com/en-us/library/hh556232%28v=vs.110%29.aspx?f=255&MSPPError=-2147217396 .
    #Seven simple steps to enable HTTPS on WCF:
    http://www.codeproject.com/Articles/36705/simple-steps-to-enable-HTTPS-on-WCF-WsHttp-bindi .
    Besides, it will be better if you can post your config file with endpoint and other configuration as well in here.
    Thanks for your understanding.
    Best Regards,
    Amy Peng
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

  • Problem setting Unicode (utf-8) in http header using tomcat

    Hi:
    I am trying to set a file name in utf-8 to http header using the following code:
    response.setContentType("text/html; charset=utf-8");
    response.setHeader("Content-disposition", "attachment; filename=&#35299;&#27770;.zip");
    // I actually has file name in utf-8 here to set to the header, and I know that the name is correctly
    // and I also looked into the response object MimeHeaders object and saw the head is correctly there
    then write the content of zip file using ServletOutputStream.
    The problem I have is that the file name is not displayed correctly when prompted to save or open in the pop up window next. I found out using Fiddler that the request header is wrong:
    Content-disposition: attachment; filename=&#65533;zn&#65533;�.zip
    I am using Tomcat 5.0.28. Any idea how to get this working?
    Thanks in advance!

    You are setting the charset for the content to be UTF-8. (That is why the method is called setContentType.) But HTTP headers are not part of the content and so that has no effect on the header.
    The original specification for HTTP only allowed US-ASCII characters in headers. It is possible that more recent versions have features that allow for non-ASCII header data, but I don't know if that is the case or how you would use those features if they exist.

  • Change over from a simple Xml call to a rpc-Http call ....

    Hi there,
    I need to change over from a simple Xml call:
    <mx:XML id="urlsGeneral" source="http://www.mySite.com//.../AFS.xml"/>
    to a rpc-Http call which is updating the readout if Xml is changed at any time.
    I forgot to mention the most important item yet a very simple one: I need this only to be displayed in a title etc, and NOT a datagrid or else example below.
    title="{urlsGeneral.urlGeneral.(@name==0).age}
    I tried a lot today, but just can't get it right as the id="urlsGeneral" is always the problem.
    Any help would be appriciated !!! Thanks in advance. regards aktell2007
    <urlsGeneral>
    <urlGeneral>
    <name>Jim</name>
    <age>32</age>
    </urlGeneral>
    <urlGeneral>
    <name>Jim</name>
    <age>32</age>
    </urlGeneral>
    </urlsGeneral>
    Another call:
    <mx:Script>
    <![CDATA[
    import mx.collections.ArrayCollection;
    import mx.rpc.events.ResultEvent;
    public var myData:ArrayCollection;
    protected function myHttpService_resultHandler(event:ResultEvent):void {
    myData = event.result.urlsGeneral.urlGeneral;
    ]]>
    </mx:Script>
    <mx:HTTPService
    id="myHttpService"
    url="http://www.mySite.com//..../AFS.xml"
    result="myHttpService_resultHandler(event)"/>
    Preferable I wanted something like this to work:
    <mx:Script>
    <![CDATA[
    import mx.rpc.events.FaultEvent;
    import mx.managers.CursorManager;
    import mx.controls.Alert;
    import mx.rpc.events.ResultEvent;
    import mx.rpc.xml.SimpleXMLDecoder;
    // Don't use here as it is already used in .swc !
    /* import mx.rpc.http.HTTPService; */
    private var myHTTP:HTTPService;
    private function initConfigCall():void {
    myHTTP = new HTTPService();
    myHTTP.url = "com/assets/data/changesAppAIRPIOne001.xml";
    myHTTP.send();
    myHTTP.resultFormat = "xml";
    myHTTP.addEventListener(ResultEvent.RESULT, resultHandler);
    myHTTP.addEventListener(FaultEvent.FAULT, faultHandler);
    CursorManager.setBusyCursor();
    private function resultHandler(evt:ResultEvent):void {
    var xmlStr:String = evt.result.toString();
    var xmlDoc:XMLDocument = new XMLDocument(xmlStr);
    var decoder:SimpleXMLDecoder = new SimpleXMLDecoder(true);
    var resultObj:Object = decoder.decodeXML(xmlDoc);
    // Removed [0] on single node !
    appUpdateAvl.text = resultObj.application.configApp.appNewUpDate;
    appLastChanged.text = resultObj.application.configApp.appLastChanged;
    appChangedSections.text = resultObj.application.configApp.appChangedSections;
    CursorManager.removeBusyCursor();
    myHTTP.disconnect();
    private function faultHandler(event:mx.rpc.events.FaultEvent):void {
    var faultInfo:String="fault details: "+event.fault.faultDetail+"\n\n";
    faultInfo+="fault faultString: "+event.fault.faultString+"\n\n";
    mx.controls.Alert.show(faultInfo,"Fault Information");
    var eventInfo:String="event target: "+event.target+"\n\n";
    eventInfo+="event type: "+event.type+"\n\n";
    mx.controls.Alert.show(eventInfo,"Event Information");
    CursorManager.removeBusyCursor();
    myHTTP.disconnect();
    ]]>
    </mx:Script>

    Hi again,
    These days there are more quetions than answeres on any forum, and very seldom anybody shares the answer if they lucky enough to work it out so here is my answer for the above question
    Change over from a simple Xml call to a rpc-Http call ....
    I had it all along as a commend noted: // Removed [0] on single node !
    So instead of title="{urlsGeneral.urlGeneral.(@name==0).age} it would be now title="{resultObj.urlsGeneral.urlGeneral.[0].age} and now it works perfectly well. I hope that one or the other of you can use the answer and the code !!! regards aktell2007

Maybe you are looking for

  • How can I force the Creative Cloud Manager to detect previously installed CC applications.

    Being a tester of Windows 10, I frequently have issues with updates and have to completely reinstall windows, this means that I lose my CC installs if I don't keep them on a separate drive. However, the issue is that if I do keep them on a separate d

  • Error while registering Oracle JDBC Diagnosability Mbeans?

    Hi, I have installed Oracle 11g 11.1.0.6.0. I am facing problem while executing any command in sql Developer. Below the frame an error message is shown : Error while registering Oracle JDBC Diagnosability Mbeans? and while executing any query like 's

  • VERY slow backup to external Hard Drive

    I have an older external HD case (New Motion) with a Western Digital 120GB Hard Drive that I use for backup, firewire only. I use this drive on my old slot loading iMac G3 (10.3.8) and it runs very fast, copying 16GB from the iMac to the backupin abo

  • Login function in DW CS3

    I am using a WAMP 1.7.3 and it seems that my login function under the server behaviours installs the appropriate code but when I view it in my browser it gives me an error. However, if I do the same thing under my DW MX 2004 version creating a login

  • Error: Empty document found - proceed without sending message.

    Hi, I am using FCC in my Sender CC. Error:  Information     Channel CC_XXXXXXXXXXXXXXXXXX: Converted complete file content to XML format.           Warning     Channel CC_XXXXXXXXXXXX: Empty document found - proceed without sending message. Thnaks, S