Authentication type for  cl_http_client= create_by_url

Hi All,
I am trying to understand how to set authentication type
for "cl_http_client=>create_by_url".
It is currently defaulting to client certificate.
ICM log: "auth_type=3 (USE_CLIENT_CERT)) "
I need to set to no authentication as server requires password/user as url parms.
If I use an RFC dest I can set to "No logon" but then I cannot append user/pass to the url.
Any help appeciated
Thanks in advance
Allan

you can just use the following code sample.
concatenate
'http://<siteaddress>/<loginpage>?<useridparameternameincalledsystem>='
'useridtobepassedtocalledsystem' '&<passwordfilenameincalledsystem>=<password>' into wf_String .
call method cl_http_client=>create_by_url
    exporting
      url                = wf_string
    importing
      client             = http_client
    exceptions
      argument_not_found = 1
      plugin_not_active  = 2
      internal_error     = 3
      others             = 4.
where did you find that its using SSL?
in case if the called url required ssl certificate, then you can to download the certificate from that system and load it in ABAP system and use the sslid to pass it to create_by_url method.
Regards
Raja

Similar Messages

  • Setting Defualt Authentication type to Enterprise in Full Client - strange

    Hi Folks,
    I am having issue setting up default authentication type in full client.
    My users here use Desktop Intelligence for their reporting. We have configured Windows AD authentication for them and they are logging to one of the server via Citrix where BO Client is installed. When users select Windows AD from the authentication type, for the first time it works well, because, they dont have to enter username or password, as they are logging thru Citrix to the server with their Windows AD account. Now here is what happens, when second time they go in the server, their default type is set to Windows AD as they login to DeskI using AD last time, but this time, the OK button is blurred and to my understanding it becomes active if you enter username or password, which in my situation, they have dont have to.
    So they select Windows AD from the drop down button and then the OK button is enabled. This is not right as they are already in Windows AD mode. So I thought to make the defualt authentication mode to Enterprise, no matter whatever they login lastly. This way they will have to select Windows AD and the problem will go away. Or if someone knows how to resolve my situation, please advice. Otherwise, please help me how and where can I set the autheication type to Enterprise by defualt for full client. I have only client products installed on this particular server.
    Thanks a lot,
    Bhaumik
    BOXIR2 SP2 full version, Citrix

    The ok button thing was a bug fixed in SP3. Now beware SP3 and above SP's client version have another bug which breaks all clients using AD/LDAP fixed in FP3.3. The server version of the SP does not have that bug. If you fix the bug you will not have to set the enterprise type.
    It's by design to remember that last login (that may be something you can stop but I never tried and don't know how to).
    Regards,
    Tim

  • Authentication types and roaming

    What is the appropriate authentication type for continuously connected apps?
    I recently implemented a wireless solution using 1240AGs, 4425 controllers and WLC.
    I?m testing intermec CK31 handhelds connected to an oracle telnet based WMS.
    I have WPA2+AES and PEAP authentication enabled.
    When the handhelds roam from one AP to the next, it appears to be re-authenticating. This causes the connection and IP to drop and re-establish just slow enough to cause problems with maintaining a session the oracle WMS.
    I can see the units re-authenticating in the ACS logs.
    Any help or discussion would be appreciated.

    EAP-Fast or LEAP are probably your best shot.
    Good Luck
    Scott

  • Using OLAP Connection for SAP BW based on authentication type Prompt

    We try to use an OLAP Connection based on authentication type Prompt. This should cause a dialog to popup where the user can enter credentials for SAP BW. This works fine for Analysis for OLAP, but not in Web Intelligence and Design Studio.
    In design studio the following message appears:
    failed to connect to "BA1CLNT100"
    Configuration of destination
    customized_guid:FnTHdVPWmQ4AMLQAAD4XL4cAAFBWmWVp is incomplete:
    Parameter user id missing: neither user nor user alias nor sso ticket nor certificate is specified.
    Does anyone know if this feature is supported and what causes this error?

    Hi,
    Can you check the option "Disallow insecure incoming RFC connections" from CMC >> SAP Authentication and see if it helps.
    -Ambarish-

  • Invalid content type for SOAP: TEXT/HTML; HTTP 500 Internal Server Error

    Hi,
    I have this error on a SOAP Receiver Channel: invalid content type for SOAP: TEXT/HTML; HTTP 500 Internal Server Error
    I've found several threads on SDN Forums about similar errors, but I did not find a solution for my problem yet.
    I checked this blog: /people/shabarish.vijayakumar/blog/2008/01/08/troubleshooting--rfc-and-soap-scenarios-updated-on-20042009  Pt.6 applies to my situation, but the proposed solution doesn't solve the problem.
    TRACE Messaging System
    u2026
    2011-06-06 10:59:41.822 Success Delivering to channel: CC_SOAP_RCV_XXX
    2011-06-06 10:59:41.823 Success MP: entering1
    2011-06-06 10:59:41.825 Success MP: processing local module localejbs/sap.com/com.sap.aii.af.soapadapter/XISOAPAdapterBean
    2011-06-06 10:59:41.828 Success SOAP: request message entering the adapter with user J2EE_GUEST
    2011-06-06 10:59:42.012 Error SOAP: call failed: java.io.IOException: invalid content type for SOAP: TEXT/HTML; HTTP 500 Internal Server Error
    2011-06-06 10:59:42.014 Success SOAP: sending a delivery error ack ...
    2011-06-06 10:59:42.014 Success SOAP: sent a delivery error ack
    u2026
    Message Details
    Address   http://aaa.bbb.be:54000/MessagingSystem/receive/AFW/XI 
    Credential   PasswordCredential(PIISUSER):password=******** 
    Transport Headers   accept-encoding=gzip sap-xi-messageid=4DEA11FE90003094E10000000AE908B4 content-length=7520 http=POST host= aaa.bbb.be:54000 user-agent=SAP NetWeaver Application Server (1.0;711) content-type=multipart/related;boundary=SAP_4DEA47CEAD3A5138E10000000AE908B4_END;type="text/xml";start="" soapaction="http://sap.com/xi/XI/Message/30" 
    Configuration Details SOAP Communication Channel
    SOAP Receiver Channel
    No modules configured
    Do not use SOAP Envelope  -> NOT checked
    If I type the target URL in browser it opens (no login required) and I see the available web services.
    Anyone any idea what's the reason for this error?
    Thanks in advance
    Kind Regards
    Edmond Paulussen

    Hi Edmond,
    We faced similar problem & found alternative.
    Try out, if it works for u as well.
    1) Use HTTP Adapter instead of SOAP.
    Transport Protocol : HTTP 1.0
    Message Protocol : XI Payload in HTTP Body
    Adapter Engine : Integration Server
    Addressing type : URL Address.
    Target Host:
    Service Number :
    Path Prefix:
    Authentication type : we hv used Ananymus login, as our login details in payload header.
    Content Type : application/soap+xml;charset=UTF-8( this is IMP).
    Header Fields.
    Name         value
    Host           target host
    XI Payload Manipulation
    XML Code : UTF-8
    Hope, this helps...
    -santosh.

  • Problem in CMC login with SAP authentication type

    Hi,
    We have installed the SAP Integration kit successfully for BO XI R2 & when I logon to CMC i am able to enable the SAP authentication and import the roles from the SAP BW system as well. But when I try to login into CMC using the 'Authentication type' as SAP it doesn't display the textboxes for entering  System ID and Client details. Can you please tell me how to fix this?
    Also I see that the CMC & Infoview authentication type drop down list are not the same. The CMC has the authentication types available as 'SAP,LDAP & Enterprise' where as Infoview has 'Enterprise, LDAP & AD'.
    Is this an issue with the Plugins? do i need to do some settings on the Tomcat ?
    Please help me out in this..
    Thanks in advance!
    Phani.

    Thanks for your update Jac...yes thats correct. Also I had to include authPlugExt.properties file in the tomcat/shared/classes, which i did not include previously. The SAP infoview is working fine now.
    Just one more question, in CMC login doesn't the SAP authentication require sap system & client id as its inputs? (in XI R2). I noticed that I was able to login with SAP user id's (without mentioning system details) , that have been added when I have imported the SAP roles to BO.

  • Error: invalid content type for SOAP: TEXT/HTML; HTTP 400 Bad Request

    Hi Gurus,
    i am hardly fighting with this error in Communication Channel Monitoring:
    Message processing failed. Cause: com.sap.engine.interfaces.messaging.api.exception.MessagingException: java.io.IOException: invalid content type for SOAP: TEXT/HTML; HTTP 400 Bad Request
    SOAP: call failed: java.io.IOException: invalid content type for SOAP: TEXT/HTML; HTTP 400 Bad Request
    This is my scenario.
    I do a File to SOAP Scenario. in SXI_MONITOR everything is fine.
    My CommChan is a SOAP Receiver
    HTTP
    SOAP 1.1
    Central Adapter Engine
    Target URL is https --> i check url for correctness
    Configure User Authentication is checked and username and pw are given and are correct.
    Configure Certificate Authentication is checked are working
    Configure Proxy is checked and Host and port are povided.
    SOAP Action is provided
    In Tab Module
    if have this Processing Sequence
    1     localejbs/AF_Modules/MessageTransformBean     Local Enterprise Bean     transform
    2     sap.com/com.sap.aii.af.soapadapter/XISOAPAdapterBean     Local Enterprise Bean     1
    and this Module configuration (and only this)
    transform     Transform.ContentType     text/xml;charset=utf-8
    (according to /people/sobhithalaxmi.kata/blog/2009/07/21/cost-free-edi-integration-using-message-transformation-bean)
    As far as i understand that my http header should have Content-Type: text/xml;charset=utf-8 now. I don't understand why Communication Channel Monitoring shows an error according to content TEXT/HTML.
    Can anyone help me with that?
    Is it possible that Transform.ContentType does not work for SOAP Receiver Adapter?
    is there any chance to view the HTTP-Header of the outgoing SOAP Request (with PI Transaction / Java Enironment) to convince myself that the HTTP Header is text/xml?
    Thank you in advance and Best Regards
    Udo

    Hi Thanks for your fast replies.
    The Provider of the Endpoint tells me that he needs text/xml as content-type. When I sent a message to the given Endpoint via SOAP UI I can see in the HTTP LOG of SOAP UI that the Endpoint is also sending text/xml back.
    Below you find the Details log out of the CommChan Monitoring.
    2011-04-29 11:37:45 Information The message status was set to TBDL.
    2011-04-29 11:37:45 Information Retrying to deliver message to the application. Retry: 3
    2011-04-29 11:37:45 Information The message was successfully retrieved from the receive queue.
    2011-04-29 11:37:45 Information The message status was set to DLNG.
    2011-04-29 11:37:45 Information Delivering to channel: getxxxxx_In  <---- name of my SOAP Receiver CommChan
    2011-04-29 11:37:45 Information Transform: using Transform.Class:  $identity
    2011-04-29 11:37:45 Information Transform: transforming the payload ...
    2011-04-29 11:37:45 Information Transform: successfully transformed
    2011-04-29 11:37:45 Information SOAP: request message entering the adapter with user J2EE_GUEST
    2011-04-29 11:37:46 Error SOAP: call failed: java.io.IOException: invalid content type for SOAP: TEXT/HTML; HTTP 400 Bad Request
    2011-04-29 11:37:46 Information SOAP: sending a delivery error ack ...
    2011-04-29 11:37:46 Information SOAP: sent a delivery error ack
    2011-04-29 11:37:46 Error SOAP: error occured: com.sap.engine.interfaces.messaging.api.exception.MessagingException: java.io.IOException: invalid content type for SOAP: TEXT/HTML; HTTP 400 Bad Request
    2011-04-29 11:37:46 Error Adapter Framework caught exception: java.io.IOException: invalid content type for SOAP: TEXT/HTML; HTTP 400 Bad Request
    2011-04-29 11:37:46 Error Delivering the message to the application using connection SOAP_http://sap.com/xi/XI/System failed, due to: com.sap.engine.interfaces.messaging.api.exception.MessagingException: java.io.IOException: invalid content type for SOAP: TEXT/HTML; HTTP 400 Bad Request.
    2011-04-29 11:37:46 Error The message status was set to NDLV.
    What i am missing is a hint on the Message Transform Bean and a on a successfull sending process.
    What i also tried already:
    i also activated the checkbox "Do not use SOAP Envelop" in CommChan Configuration. The Result you see below (the last log entry is on first line - so read from bottom to top)
    Message processing failed. Cause: com.sap.engine.interfaces.messaging.api.exception.MessagingException: SOAP: response message contains an error XIAdapter/HTTP/ADAPTER.HTTP_EXCEPTION - HTTP 400 Bad Request
    error in response
    call completed
    request entering
    Message processing started
    As you can see there is a "call completed" and "error in response" log entry. This is missing in in the first Log. So i guess the error is still in the sending process.
    Installing additional Software on the PI and use them to find out what the HTTP Request is is not possible as system access is very strict and limited :/

  • EROR: java.io.IOException: invalid content type for SOAP: TEXT/HTML

    hi group,
    my problem is related to scenario HTML to WebService in which im trying to send a request to a free webservice on internet and retrieving the response back and showing it in my html page.
    scenario in detail:
    i have a html page deployed on my tomcat server at my local m/c. in which im taking a email string and sending it to webservice which checks whether the email string has a valid email format or not and in response, webservice returns a boolean true/false depending on the email string. i want to show this boolean result n my html page.i have configured HTTP adaptor and SOAP adaptor for this and interfaces are scynchronus.
    im able to send my request to webservice and getting the response also...i checked in trace..it shows message request sent and response recieved...here is the trace..
    http://hcl3sap:50000/MessagingSystem/receive/AFW/XI</Trace>
      <Trace level="3" type="T">User = PIISUSER</Trace>
      <Trace level="3" type="T">Cached =</Trace>
      <Trace level="3" type="T">Creating HTTP-client</Trace>
      <Trace level="3" type="T">HTTP-client: creation finished</Trace>
      <Trace level="3" type="T">Security: Basic authentication</Trace>
      <Trace level="3" type="T">Serializing message object...</Trace>
      <Trace level="3" type="T">HTTP-client: sending http-request...</Trace>
      <Trace level="3" type="T">HTTP-client: request sent</Trace>
      <Trace level="3" type="T">HTTP-client: Receiving http-response...</Trace>
      <Trace level="3" type="T">HTTP-client: response received</Trace>
      <Trace level="3" type="T">HTTP-client: checking status code...</Trace>
      <Trace level="3" type="T">HTTP-client: status code = 200</Trace>
      <Trace level="3" type="T">Deserializing message object...</Trace>
      <Trace level="3" type="T">HTTP-client: closing...</Trace>
      </Trace>
    but i get an error java.io.IOException: invalid content type for SOAP: TEXT/HTML after that,
    Does anyone know where im going wrong....
    regrds

    you are very correct..i used SOAP reciever as http://www.webservicex.net/ValidateEmail.asmx?wsdl and SOAP Action as http://www.webservicex.net/IsValidEmail but getting the same error.
    and if you look in the trace above it says that my request actually went to webservice and got a response also (response code 200)  but i think after recieving the message from webservice something is wrong. either mapping is not correct...(but i tested that ..it works fine) or could be my company firewall is prohibiting the message sent by webservice to XI server (i have given proxy settings with password also)...im NOT sure on this ....
    second thing i noticed in moni while examining the trace was....message payload under "Message Branch According to Receiver List " shows this value
      <?xml version="1.0" encoding="UTF-8" ?>
    - <ns1:IsValidEmail xmlns:ns1="http://www.webservicex.net">
      <ns1:Email>samWhgf.com</ns1:Email>
      </ns1:IsValidEmail>
    and then in just next step "Request Message Mapping" payload is 
    <?xml version="1.0" encoding="UTF-8" ?>
    <ns1:IsValidEmail xmlns:ns1="http://www.webservicex.net" />
    i dont know really why payload is getting appended and if it is correct or not? but after this step further payload goes in this appended format only till call adaptor...if this is so i assume my message is going to webservice as
      <?xml version="1.0" encoding="UTF-8" ?>
      <ns1:IsValidEmail xmlns:ns1="http://www.webservicex.net" /> 
    which is not the proper format to be recieved by the webservice without any input value i.e "samWhgf.com"
    im confused on this ..whether this is the route cause or any other...i have been trying to figure out the root cause from some days but still unsuccessful.
    please provide ur valuable inputs.
    regrds
    Sameer

  • Webservice hell -  invalid content type for SOAP: TEXT/HTML

    Hi All
    I'm trying to call a webservice in XI and getting the dreaded  "invalid content type for SOAP: TEXT/HTML" error.
    Running it in XMLSpy it works perfectly well, but not in XI.
    Here are some screenshots:
    1) The Request sent from XMLSpy
    [XMLSpy Request - Successful|http://www.host-images.com/u/files/3spjf72drc9ncjhtiovo.jpg]
    2) The successful response to XMLSpy
    [XMLSpy response|http://www.host-images.com/u/files/c3u8k9bplpzu8z6il61a.jpg]
    3) Here is the error in XI in RWB, together with the XML payload
    [XML and RWB error|http://www.host-images.com/u/files/9ex5dhqua9y07lhpja09.jpg]
    4) Here is the SOAP Comms Channel
    [Comms channel|http://www.host-images.com/u/files/w6pa90yy0nkly628535i.jpg]
    Note:
    1. The 'Target URL' and the 'SOAP Action' are taken directly from the parameters used successfully in XMLSpy
    2. I have already added 'localejbs/AF_Modules/MessageTransformBean' / 'Transform.ContentType' / text/xml;charset=utf-8
    I woul really appreciate some help with this, as I'm getting kind of desparate.
    Thanks in advance.

    Hi Mark / All
    Thanks for the info.  I have some additional questions please:
    1.  Regarding SOAP 1.2
    It apears that the WSDL provided allows for both 1.1 and 1.2.  Infact, when I sent the SOAP request in XMLSpy, the first thing I see if a pop-up window asking me to select 1) OrderServiceSoap or OrderServiceSoap12 ...
    [XMLSpy|http://www.host-images.com/u/files/g50y9xohakbhb7j5v3w4.jpg]
    However I don't see this option when I use the WSDL in XI, only a list:
    [XI|http://www.host-images.com/u/files/230urvn7okvb4jbad1o8.jpg]
    How can I emulate selecting the the non-1.2 version in XI?
    2.  Probably irrelevant but,  If I tick 'Do not use SOAP envelope'  option on the CC I get:
    MP: exception caught with cause com.sap.aii.af.ra.ms.api.RecoverableException: SOAP: response message contains an error XIAdapter/HTTP/ADAPTER.HTTP_EXCEPTION - HTTP 407 Proxy Authentication Required ( The ISA Server requires authorization to fulfill the request. Access to the Web Proxy filter is denied.  )
    Can anyone confirm if this is a consequence of ticking ''Do not use SOAP envelope', or if it indicates a underlying problem with the Proxy credentials I have entered.
    Thanks again.

  • How can I use authentication type in sending/receiving a message

    Dear all,
    I am building a mail client program. I have a problem: I don't know use javamail to authenticate to mail server in while send/receive messages. I know some authentication types as PLAIN, LOGIN, CRAM-MD5, DIGIT-MD5, NTLM and GSSAPI. and I tried use "mail.imap.sasl.mechanisms" property, but it do not work. Any suggestion is helpful for me. Thanks!

    Thank for quick your reply,
    I checked with Imap protocol to receive message. The mail server supported authentication type: Plain and Login. Below is code:
          Properties props = System.getProperties();
          String socketFactoryClass = "javax.net.SocketFactory";
          String host = account.getIncomingHost();
          int port = Integer.valueOf(account.getIncomingPort());
          String fallback = "mail.imap.socketFactory.fallback";
          String imapSocketFactoryClass = "mail.imap.socketFactory.class";
          String emailAddress = account.getIncomingUser();
          props.put("mail.mime.base64.ignoreerrors", "true");
          if (account.isIncomingSsl()) {
            MailSSLSocketFactory socketFactory = this.getSSLSocketFactory(host);
            if (account.getSecureAuthsIncoming().equalsIgnoreCase("starttls"))
              props.put("mail.imap.starttls.enable", true);
            else
              props.put("mail.imap.ssl.enable", "true");
            props.put("mail.imap.ssl.socketFactory", socketFactory);
            props.put("mail.imap.sasl.mechanisms", account.getAuthMechsIncoming());
          props.put(fallback, "false");
          props.put(imapSocketFactoryClass, socketFactoryClass);
          Session session = Session.getInstance(props, null);
          String protocolName = "imap";
          if (Utils.isGmailAccount(emailAddress))
            protocolName = imaps;
          IMAPStore imapStore = (IMAPStore) session.getStore(protocolName);
          try {
            imapStore.connect(host, port, emailAddress, account.getIncomingPassword());
          } catch (Exception e) {.....}account.getAuthMechsIncoming() return authentication types, this instance is Login or Plain(as I tested). By the way, I have a problem how to check authentication types supported by server(as Evolution Mail on Ubuntu has)?. sorry for my English. Thank for your consider time.

  • "Authentication Type" greyed out in Advanced Wireless Settings (WRT54G)

    I wish to change my Authentication Type from Auto to Shared Key in my Wireless -> Advanced Wireless Settings section of my web-based admin utility. However, it's been greyed out for some reason.
    I understand that the Shared Key mode is more secure than the Auto mode, therefore I wish to change it. Would anyone happen to know as to why this would be greyed out like this and how I can fix it so that I can have access to the options? I'm using WRT54G V.6 with firmware v.1.01.1 (the latest one from linksys). TIA.

    I think I figured it out. I'm currently using WPA Personal mode and as I understand it, only WEP mode applies to whether you're using an Open System or Shared Key. Can someone please confirm this for me? TIA.

  • Having thousands of Host-Named Site Collections - which authentication type?

    So Microsoft seems to state the claims + Host-Named Site Collection (HNSC) approach is the way to go forward.
    Assuming we have thousands of site collections, and we don't want to go with good ol' NTLM authentication as our claim authentication type, then how should we authenticate?
    Both Kerberos and SAML would be a nightmare to manage, since for Kerberos we need to register a Service Principal Name (SPN) per HNSC. For SAML we would end up in a similar situation, since this would require us to configure a relying party
    + realm for every HNSC.

    Please see the documentation on using managed paths with host named site collections.
    http://technet.microsoft.com/en-us/library/cc288637(v=office.14).aspx#section5
    You would be very unlikely to have thousands of individual host names, I would never recommend such an architecture to a customer.  Instead, you are much more likely to use managed paths (/sites/, /personal/, etc) in combination with host names, significantly
    reducing the number of individual host names while still allowing you to easily scale to thousands of site collections.
    In Office 365, each tenant is provisioned with 3 top-level host names (<tenant>.sharepoint.com, <tenant>-public.sharepoint.com, and <tenant>-my.sharepoint.com), all subsequent site collections are provisioned using managed paths.
    Note that this is not really a question particular to HNSC.  If you decide to not use host-named site collections but want to use individual host names using web applications, you get far less.  According to our Software Boundaries and
    Limits document, you get maximum 20 web applications per farm with a maximum 5 AAMs per web application, yielding a maximum 100 individual host names. 
    http://technet.microsoft.com/en-us/library/cc262787.aspx
    While you can achieve more host names using HNSC, I would strongly discourage this design and instead seek to leverage managed paths. 
    Kirk Evans
    Architect, Azure Modern Apps Center of Excellence
    Microsoft Corporation
    Microsoft Certified Master, SharePoint 2010
    http://blogs.msdn.com/kaevans

  • Content-Type for POST request

    Hi all again,
    I am setting content-type in the header to "text/xml"  yet when I do a POST sap sends as content-type
    "application/x-www-form-urlencoded". Is there something else I need to set to make it post with text/xml ?
      cl_http_client=>create_by_url( EXPORTING url = url
                                               ssl_id = 'ANONYM'
                                     IMPORTING client = http_client ).
    * create HTTP client object
    *  cl_http_client=>create_by_destination( EXPORTING DESTINATION = 'ZTOLLREQUEST'
    *                                 IMPORTING client = http_client ).
                                                                                    * Set HTTP headers
      http_client->request->set_header_field( name = '~request_method'
      value = 'POST' ).
      http_client->request->set_header_field( name = 'Content-Type'
      value = 'text/xml' ).
    *  http_client->request->set_header_field( name = 'Authorization'
    *  value = auth_string ).
    *  http_client->request->set_header_field( name = 'sap-password'
    *  value = 'ymous' ).
                                                                                    * Set payload
      http_client->request->set_cdata( xml_string ).
                                                                                    * send and receive
      CALL METHOD http_client->send
        EXCEPTIONS
          http_communication_failure = 1
          http_invalid_state         = 2.
    regards
    Allan

    i havent tried this (setting content type) when using create by url . may be try just the create method and then set the remaining part of the url as headers ~request_uri parameter. something like below.
    call method cl_http_client=>create
      exporting
        host          = 'www.webservicex.net'
        service       = '80'
        scheme        = '1'
        proxy_host    =  wf_proxy
        proxy_service =  wf_port
      importing
        client        = http_client.
    http_client->propertytype_logon_popup = http_client->co_disabled.
    wf_user = user .
    wf_password = password .
    call method http_client->authenticate
      exporting
        proxy_authentication = 'X'
        username             = wf_user
        password             = wf_password.
    call method http_client->request->set_header_field
      exporting
        name  = '~request_method'
        value = 'POST'.
    call method http_client->request->set_header_field
      exporting
        name  = '~server_protocol'
        value = 'HTTP/1.1'.
    call method http_client->request->set_header_field
      exporting
        name  = '~request_uri'
        value = '/airport.asmx'.
    Regards
    Raja

  • SMTPAuthenticationException:504 5.7.4 Unrecognized authentication type

    Hi Folks,
    we have a 3rd party system that wants to send automated emails externally, I have setup a new receive connector on our cashub servers just to allow this server to be able to use our exchange as a relay, I've checked all the forums about how to do it and
    followed all the recommended instructions.
    we've been testing the 3rd party system to see in the emails get sent correctly and they are not, when I check the logs I get the below , can anyone suggest anything I haven't already tried?
    thanks in advance.
    Owen.
    error message 1:
    Exception information:
    --------------------------------------------------1
    Quiksoft.EasyMail.SMTP.SMTPAuthenticationException:504 5.7.4 Unrecognized authentication type
       at Quiksoft.EasyMail.SMTP.SMTP.?(String A_0, EmailMessage A_1, ? A_2, SMTPQueueType A_3, Boolean A_4)
       at Quiksoft.EasyMail.SMTP.SMTP.Send(EmailMessage MessageObj)
       at Odyssey.Workflow.WorkflowEmailActionNode.SendEmail(String to, String cc, String from, String bcc, String subject, String body, MailFormat bodyFormat, String[] attachments, Boolean deleteAttachmentsAfterSend, String smtpServerName, Boolean isAuth,
    Int32 smtpPort, String smtpLogin, String smtpPassword)
       at Odyssey.Workflow.WorkflowEmailActionNode.SendEmail(String to, String cc, String from, String bcc, String subject, String body, MailFormat bodyFormat, String attachment, Boolean deleteAttachmentsAfterSend, String smtpServer, Boolean isAuth, Int32
    smtpPort, String smtpLogin, String smtpPassword)
       at Odyssey.Workflow.Generated.LOCKEDResourceNotificationEmailCallAssigned_v43.EmailExternal_Logic()
    error message 2:
    Workflow Worker Action failed
    Exception information:
    --------------------------------------------------1
    System.InvalidOperationException:The worker experienced an error in 'Run'.
       at Odyssey.Workflow.Actions.WorkflowWorkerAction.RunWorker(WorkflowDom dom, WorkflowWorker worker, AuditWriter& writer)
       at Odyssey.Workflow.Actions.WorkflowWorkerAction.Run(IActionExecutionContext context)
    --------------------------------------------------2
    Quiksoft.EasyMail.SMTP.SMTPAuthenticationException:504 5.7.4 Unrecognized authentication type
       at Quiksoft.EasyMail.SMTP.SMTP.ᜀ(String A_0, EmailMessage A_1, ᜄ A_2, SMTPQueueType A_3, Boolean A_4)
       at Quiksoft.EasyMail.SMTP.SMTP.Send(EmailMessage MessageObj)
       at Odyssey.Workflow.WorkflowEmailActionNode.SendEmail(String to, String cc, String from, String bcc, String subject, String body, MailFormat bodyFormat, String[] attachments, Boolean deleteAttachmentsAfterSend, String smtpServerName, Boolean
    isAuth, Int32 smtpPort, String smtpLogin, String smtpPassword)
       at Odyssey.Workflow.WorkflowEmailActionNode.SendEmail(String to, String cc, String from, String bcc, String subject, String body, MailFormat bodyFormat, String attachment, Boolean deleteAttachmentsAfterSend, String smtpServer, Boolean isAuth,
    Int32 smtpPort, String smtpLogin, String smtpPassword)
       at Odyssey.Workflow.Generated.LOCKEDResourceNotificationEmailCallAssigned_v44.EmailExternal_Logic()
       at Odyssey.Workflow.Generated.LOCKEDResourceNotificationEmailCallAssigned_v44.IsExternalResource_Navigate()
       at Odyssey.Workflow.Generated.LOCKEDResourceNotificationEmailCallAssigned_v44.HasAssignmentType_Navigate()
       at Odyssey.Workflow.Generated.LOCKEDResourceNotificationEmailCallAssigned_v44.IsitavalidEmailAddress_Navigate()
       at Odyssey.Workflow.Generated.LOCKEDResourceNotificationEmailCallAssigned_v44.IsBREAKDOWNTask_Navigate()
       at Odyssey.Workflow.Generated.LOCKEDResourceNotificationEmailCallAssigned_v44.Run()
       at Odyssey.Workflow.Actions.WorkflowWorkerAction.RunWorker(WorkflowDom dom, WorkflowWorker worker, AuditWriter& writer)
    error message 3:
    Entity Audit Error Message
    Entity Type: Odyssey.Workflow.WorkflowDom
    Entity id: 34
    Email External: Unexpected exception
    Exception information:
    --------------------------------------------------1
    Quiksoft.EasyMail.SMTP.SMTPAuthenticationException:504 5.7.4 Unrecognized authentication type
       at Quiksoft.EasyMail.SMTP.SMTP.ᜀ(String A_0, EmailMessage A_1, ᜄ A_2, SMTPQueueType A_3, Boolean A_4)
       at Quiksoft.EasyMail.SMTP.SMTP.Send(EmailMessage MessageObj)
       at Odyssey.Workflow.WorkflowEmailActionNode.SendEmail(String to, String cc, String from, String bcc, String subject, String body, MailFormat bodyFormat, String[] attachments, Boolean deleteAttachmentsAfterSend, String smtpServerName, Boolean
    isAuth, Int32 smtpPort, String smtpLogin, String smtpPassword)
       at Odyssey.Workflow.WorkflowEmailActionNode.SendEmail(String to, String cc, String from, String bcc, String subject, String body, MailFormat bodyFormat, String attachment, Boolean deleteAttachmentsAfterSend, String smtpServer, Boolean isAuth,
    Int32 smtpPort, String smtpLogin, String smtpPassword)
       at Odyssey.Workflow.Generated.LOCKEDResourceNotificationEmailCallAssigned_v44.EmailExternal_Logic()
    hope these errors help!

    Hi,
    Based on my knowledge, Exchange 2010 does not allow inbound unauthenticated mail by default.
    I suggest configuring the default receive connector to allow "anonymous".
    Found a similar thread for your reference:
    Error in establishing SMTP connection, Error: 504 5.7.4 Unrecognized authentication type
    http://social.technet.microsoft.com/Forums/en-US/93ad411a-0da2-4494-a45e-8cbb793aeca9/error-in-establishing-smtp-connection-error-504-574-unrecognized-authentication-type?forum=exchange2010
    Hope it is helpful
    Thanks
    Mavis
    Mavis Huang
    TechNet Community Support

  • Authentication failed for realm level_15

    hi,
    I'm trying to configure HTTP server to authenticate users with AAA platform. I get the following error while trying to connect with Cisco Configuration Pro:
    TNRTAGCS01002#
    Apr 23 15:29:42.129 CET: HTTP AAA Login-Authentication List name: default
    Apr 23 15:29:42.165 CET: HTTP: Authentication failed for realm level_15 or view_access
    Apr 23 15:29:42.165 CET: HTTP: Authentication failed for level 15
    Apr 23 15:29:44.193 CET: HTTP AAA Login-Authentication List name: default
    Apr 23 15:29:44.225 CET: HTTP: Authentication failed for realm level_15 or view_access
    Apr 23 15:29:44.225 CET: HTTP: Authentication failed for level 15
    Here's the AAA config:
    aaa new-model
    aaa group server tacacs+ TACACS_group
    server {A}
    server {B}
    tacacs-server host A key A1
    tacacs-server host B key B1
    ip tacacs source-interface GigabitEthernet0/0.1900
    aaa authentication login default group TACACS_group local
    aaa authentication enable default none
    aaa authorization config-commands
    aaa authorization commands 1 default group TACACS_group if-authenticated
    aaa authorization commands 15 default group TACACS_group if-authenticated
    aaa accounting exec default
    action-type start-stop
    group TACACS_group

    Hi,
    Yes, local authentication does work.
    I added below the HTTP configuration:
    ip http server
    ip http authentication aaa login-authentication default
    no ip http secure-server
    I thought that HTTP would use the default method list for authentication. Is that possible or should I define a seperate AAA method list?
    By the way, I always rate helpful posts

Maybe you are looking for