SOAP Authentication.

Hi All:
I created SOAP to SOAP Scenario and sending message using WD application for testing.
Now can I disable the Authentication of PI  while sending a message to SOAP adapter?
Regards,
Farooq

Hi,
I dont think this is possible.
User id authentication is SOAP Adapter Component level ie. Service User level right ?
Refer SAP Note- 856597
http://help.sap.com/saphelp_nw2004s/helpdata/en/fc/5ad93f130f9215e10000000a155106/frameset.htm
Regards.,
Divya

Similar Messages

  • Sender SOAP Authentication

    Hi All,
    We are having a scenario with SOAP adapter on the sender side and RFC adapter on the receiver side . The BAPI in the external SAP system is exposed as webservice through this interface .
    When we are trying to invoke this webservice through an external program its asking for userid and password to get into the XI system . (The external program that we are using is the JAX RPC sprng framework).
    I know that its possible to remove this basic authentication after modifying in the sda file. But we don't want to do that . Infact we would like to supply the username and password from the external program .
    Is there any way to do that.
    Are there any tweaks while creating the wsdl file so that it won't ask for the userid and password? Any extra tags to be included in the WSDL document ?
    Hoping to get a reply.
    Thanks & Regards,
    Rahul.
    Edited by: Rahul Thunoli on Apr 11, 2008 8:36 PM

    Hi,
    Check this link..  Soap to RFC
    configure SOAP to RFC scenario without secure channel
    For that chose "Https without client authentication" as an option while configuring communication channel in ID.
    Regards,
    Srini

  • J2EE SOAP Authentication

    I have a SOAP sender channel with HTTPS without authentication, do not use SOAP envelope.  When typing the URL in the browser, I get a pop-up for user/password.  What is this?  Is this to authenticate against J2EE?  If so, is there a particular user configured in NWA for this?  I have read other blogs saying XIAPPLUSER, and I'm wondering if this user is configured in NWA somewhere to authenticate SOAP messages?

    Hi,
    The authentication is SAP standard basic authentication. You have to key in SAP login detail. You can disable this in visual admin, kindly search on sdn for the method. Pls take note that this will disable all the authentication for SOAP adapter.

  • SOAP AUthentication not working

    Hi Experts,
    I have a scenario in which the data is picked from a file location and then the SOAP receiver CC posts the data to a sharepoint portal.
    The issue I am facing is that when the portal guys allow anonymous login, my data reaches the portal but when they give authorisation to a particular user, the data fails with unauthorisation error.
    I have tried all the forums and blogs but was unable to solve this issue. I even tried the transform bean in the module tab of the CC but the error still remains.
    Can anyone suggest a work around which I can use in order to make the scenario working?

    Hi
    The issue I am facing is that when the portal guys allow anonymous login, my data reaches the portal but when they give authorisation to a particular user, the data fails with unauthorisation error.
    -->You are getting the error when the portal guys are restricted to particular user.For that try with the ASSIGNED USERS in the Sender Agreement in your ID.I am not sure about this but try with that and also refer the Following thread  which explains clearly about the ASSIGNED USERS .
    Re: SQL to ORACLE
    Thanks

  • Error with SOAP Request to calendar web service

    Hi
    I'm sending the following SOAP request to a calendar web service to create an appointment in the calendar. The response returns what seems to be a syntax error ("The Create method did not have a proper element in the request") but I can't see the cause of the fault. Any suggestions on what it may be? It's an 11g DB.
    Many thanks
    -x-POST-x-
    POST /ocws-bin/ocas.fcgi HTTP/1.0
    Content-Type: text/xml; charset="utf-8"
    Content-Length: 993
    SOAPAction: SOAPAction: "http://www.oracle.com/WebServices/Calendaring/1.0/Create"
    Connection: close
    <SOAP-ENV:Envelope
    xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/">
    <SOAP-ENV:Header><auth:BasicAuth xmlns:auth="http://soap-authentication.org/2002/01/">
    <Name>CalendarName</Name><Password>CalendarPassword</Password>
    </auth:BasicAuth> </SOAP-ENV:Header>
    <SOAP-ENV:Body><cwsl:Create xmlns:cwsl="http://www.oracle.com/WebServices/Calendaring/1.0/"><CmdId>ITS APPOINTMENT</CmdId><iCalendar>
    <vcalendar prodid="-//Oracle//Calendaring//Calendarlet//EN" version="2.0">
    <vevent><class>PUBLIC</class>
    <description>Calendar Body</description>
    <dtstart value="DATE-TIME">20102905T120000</dtstart>
    <duration>P00DT0H30M00S</duration>
    <location>Location of user</location>
    <summary>Incident ID - (name of user])</summary>
    <uid>XGjRVnpReQALNsILlBlvcyXGCoUyXF</uid>
    <x-oracle-eventtype>APPOINTMENT</x-oracle-eventtype>
    <priority>5</priority>
    </vevent>
    </vcalendar>
    </iCalendar></cwsl:Create></SOAP-ENV:Body></SOAP-ENV:Envelope>
    -x-RESPONSE-x-
    HTTP/1.1 500 Internal Server Error
    Date: Thu, 27 May 2010 08:22:16 GMT
    Server: Apache/2.2.4 (Unix) mod_ssl/2.2.4 OpenSSL/0.9.7a mod_fastcgi/2.4.6
    OCAS-ProcTime: 407
    Connection: close
    Content-Type: text/xml; charset=utf-8
    <soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" soap:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/">
    <soap:Body>
    <soap:Fault>
    <faultcode>soap:Server.Error::System::SOAPRequest</faultcode>
    <faultstring>The Create method did not have a proper element in the request</faultstring>
    <detail>
    <cwsl:Error xmlns:cwsl="http://www.oracle.com/WebServices/Calendaring/1.0/">
    <Class>Error::System::SOAPRequest</Class>
    <Code>0020-00-00-00000034</Code>
    <Line>3180</Line>
    <FileName>SOAPRequestHandler.cpp,v</FileName>
    <Version>1.57</Version>
    <LastMod>2007/05/30 21:13:25</LastMod>
    <Author>pscattol</Author>
    <Date>Thu May 27 09:22:16 2010</Date>
    <PID>26152</PID>
    <TID>3044838304</TID>
    <Level>Error</Level>
    </cwsl:Error>
    </detail>
    </soap:Fault>
    </soap:Body>
    </soap:Envelope>

    Hi,
    I am having problem using dii client, while sending a
    request to c# webservice. error follows
    QName QNAME_TYPE_STRING = new QName(NS_XSD,
    "string");
    call.setReturnType(QNAME_TYPE_STRING);
    call.setOperationName(new QName(BODY_NAMESPACE_VALUE,
    "GetDetails"));
    call.addParameter("String_1", QNAME_TYPE_STRING,
    ParameterMode.IN);Do you need another call to addParameter here?
    String[] params = { "02", "2004" };
    String result = (String)call.invoke(params);

  • Failed to create a daily note

    I have successed to create a appointment using the sample code in the document of Oracle® Calendar Application Developer’s Guide,but failed to create a daily note.
    main code like this
    oracle.calendar.soap.iCal.iCalendar ical =
    new oracle.calendar.soap.iCal.iCalendar();
    oracle.calendar.soap.iCal.vCalendar vcal =
    new oracle.calendar.soap.iCal.vCalendar();
    vevent = new oracle.calendar.soap.iCal.vEvent();
    ical.addvCalendar(vcal);
    vcal.addvComponent(vevent);
    // set the vEvent attributes
    vevent.setEventClass(m_eventClass);
    // Start time
    vevent.setDtStart(k_startTime);
    // Duration
    vevent.setDuration(k_baseDuration);
    // Location
    vevent.setLocation(k_baseLocation);
    // Summary
    vevent.setSummary(m_testName);
    // UID
    vevent.setUid(m_uid);
    // Event type
    vevent.setXEventType(m_xEventType);
    // Description
    vevent.setDescription(ical.toString());
    oracle.calendar.soap.client.CreateCommand create =
    new oracle.calendar.soap.client.CreateCommand();
    create.setCmdId(m_cmdid);
    create.setiCalendar(ical);
    // Create the Oracle Calendar client SOAP stub
    // and set the basic authentication header
    System.out.println("Creating the Oracle Calendar client SOAP stub");
    oracle.calendar.soap.client.Calendarlet cws =
    new oracle.calendar.soap.client.Calendarlet();
    // Login
    if (cws == null) {
    return;
    Initialization myInit = new Initialization();
    myInit.initBasicAuth(cws, "test", "12345",
    "http://myhost:7777/ocws-bin/ocas.fcgi");
    // Next, make the SOAP call
    System.out.println("Making the SOAP call");
    oracle.calendar.soap.client.CalendaringResponse response =
    cws.Create(create.getElement());
    My call method is:
    MyEventCreateTest myEventCreateTest =
    new MyEventCreateTest("20060715", "PT01H00M",
    "Somewhere exotic", "MyEventCreateTest8",
    "MyEventCreateTest-UID-8",
    oracle.calendar.soap.iCal.vEvent.k_eventClassPublic,
    vEvent.k_eventTypeDailyNote,
    "CommandID-MyEventCreateTest", false);
    myEventCreateTest.run();
    and the log is:
    Creating the Oracle Calendar client SOAP stub
    Making the SOAP call
    SOAP send buffer:
    <?xml version='1.0' encoding='UTF-8'?>
    <SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
    <SOAP-ENV:Header>
    <auth:BasicAuth xmlns:auth="http://soap-authentication.org/2002/01/"><Name>test</Name><Password>12345</Password></auth:BasicAuth>
    </SOAP-ENV:Header>
    <SOAP-ENV:Body>
    <cwsl:Create xmlns:cwsl="http://www.oracle.com/WebServices/Calendaring/1.0/">
    <CmdId>CommandID-MyEventCreateTest</CmdId><iCalendar><vcalendar prodid="-//Oracle//Calendaring//Calendarlet//EN" version="2.0"><vevent><class>PUBLIC</class><description>iCalendar
    vcalendar
    vcalendar.version:2.0
    vcalendar.prodid:-//Oracle//Calendaring//Calendarlet//EN
    vevent
    vevent.class:PUBLIC
    vevent.x-oracle-eventtype:DAILY NOTE
    vevent.dtstart:20060715
    vevent.duration:PT01H00M
    vevent.location:Somewhere exotic
    vevent.summary:MyEventCreateTest8
    vevent.uid:MyEventCreateTest-UID-8
    </description><dtstart>20060715</dtstart>
    <duration>PT01H00M</duration><location>Somewhere exotic</location><summary>MyEventCreateTest8</summary>
    <uid>MyEventCreateTest-UID-8</uid><x-oracle-eventtype>DAILY NOTE</x-oracle-eventtype></vevent></vcalendar></iCalendar></cwsl:Create>
    </SOAP-ENV:Body>
    </SOAP-ENV:Envelope>
    SOAP receive buffer:
    <?xml version="1.0" encoding="utf-8" ?>
    <soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" soap:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/">
    <soap:Body>
    <soap:Fault>
    <faultcode>soap:Server.Error::System::SOAPRequest</faultcode>
    <faultstring>The Create method did not have a proper element in the request</faultstring>
    <detail>
    <cwsl:Error xmlns:cwsl="http://www.oracle.com/WebServices/Calendaring/1.0/">
    <Class>Error::System::SOAPRequest</Class>
    <Code>0020-00-00-00000034</Code>
    <Line>3028</Line>
    <FileName>SOAPRequestHandler.cpp,v</FileName>
    <Version>1.46</Version>
    <LastMod>2005/07/05 15:02:04</LastMod>
    <Author>fleblanc</Author>
    <Date>Fri Jul 14 16:47:41 2006</Date>
    <PID>15299</PID>
    <TID>3046071216</TID>
    <Level>Error</Level>
    </cwsl:Error>
    </detail>
    </soap:Fault>
    </soap:Body>
    </soap:Envelope>
    Creating CreateReply
    Unable to create CreateReply
    Thanks
    null

    Hi,
    You also need to set the event parameter "m_dtstartvalue" when creating daily notes and day events, as follows:
    vevent.setDtStartValue(vEvent.k_valueTypeDate);
    Regards.

  • Htmlloader 403 errors

    I have an air app which displays my site through htmlloader. The app loads up the login page of my site, and allows users to login through the app. The problem is recently, every time I try to log in, it gives my a 403 error. I've completely deleted and reuploaded my site, and even made a test site, but both come up with the same issue, It doesn't even show the login page or the admin page, just a blank 403 error page. I've noticed that when I mess with the htmlloader (ie. remove the useragent and cookies) the page wont even load at all, and just shows a blank white screen inside the app. Can anyone help me, or even tell me maybe a better or more effeciant way of doing this?

    What he meant is as follows.
    1. You do not authenticate user using wordpress authentication. You can authenticaticate using some mechanism which the AIR application can do.
    2. Once you authenticate you can access the website using the AIR application.
    Word press provides a way to external authentication. Not sure it is still supported.
    http://wordpress.org/plugins/soap-authentication/
    Hope this helps. I have not implemented this so I am not sure.

  • Not able to receive the web service response to java client - jax-rpc

    HI,
    Have a wsdl and created the java client using wscompile and got the set of files (Port, Binding, ServiceLocator, Service and all related java files).
    My java client sends the valid java request to the webserver and i could see the correct response coming back to my machine as the reply from the webserver.
    But i couldnt get the response printed using System.out.println in my java client when i invoke call.invoke() method with needed input parameters.
    Do i need to set any encoding or how do i get the response in the my java client which is returned from the webserver?

    The whole PL/SQL which fails in case it helps to solve the issue
    declare
    peticion VARCHAR2(32767);
    env VARCHAR2(32767);
    url varchar2(1000);
    http_req utl_http.req;
    http_resp utl_http.resp;
    begin
    url:='http://<HOST>:7778';
    -- soap:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/">
    -- <auth:BasicChallenge
    -- xmlns:auth="http://www.soap-authentication.org/2002/01/">
    -- <Realm>Oracle Calendar Web Services</Realm>
    -- </auth:BasicChallenge>
    peticion:='
    <soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
    <soap:Header>
    <auth:BasicAuth xmlns:auth="http://soap-authentication.org/2002/01/">
    <Name>sysadmin</Name>
    <Password>sysadmin1</Password>
    </auth:BasicAuth>
    </soap:Header>
    <soap:Body>
    <cwsl:Create xmlns:cwsl="http://www.oracle.com/WebServices/Calendaring/1.0/">
    <CmdId>Testoraptor Command 31</CmdId>
    <iCalendar>
    <vcalendar prodid="-//Oracle//Calendaring//Calendarlet//EN" version="2.0">
    <vevent>
    <class>PUBLIC</class>
    <description>a long description</description>
    <dtstart>20061003T090909</dtstart>
    <duration>60M</duration >
    <location>my location</location>
    <priority>2</priority>
    <summary>a title</summary>
    <uid>4567</uid>
    <x-oracle-eventtype>APPOINTMENT</x-oracle-eventtype>
    </vevent>
    </vcalendar>
    </iCalendar>
    </cwsl:Create>
    </soap:Body>
    </soap:Envelope>';
    http_req := utl_http.begin_request(url||'/ocws-bin/ocas.fcgi', 'POST','HTTP/1.0');
    utl_http.set_header(http_req, 'Content-Type', 'text/xml');
    utl_http.set_header(http_req, 'Content-Length', length(peticion));
    utl_http.set_header(http_req, 'SOAPAction', '"http://www.oracle.com/WebServices/Calendaring/1.0/Create"');
    utl_http.write_text(http_req, peticion);
    dbms_output.put_line (length(peticion));
    http_resp := utl_http.get_response(http_req);
    utl_http.read_text(http_resp, env);
    utl_http.end_response(http_resp);
    end;
    We have tried many different XML structures but we are not able to create an appointment.

  • Using credentials with a web service -- what our my options?

    Hi All,
    I'm trying to determine what options I have in regards to
    setting credential requirements on my web services. The two options
    seem to be:
    -Basic authentication
    -SOAP header authentication.
    I see that the WebService class has a "setCredentials"
    method, but I haven't had much success with it. Here's the
    documentation reference:
    http://livedocs.adobe.com/labs/flex/3/langref/mx/rpc/AbstractService.html#setCredentials()
    It says: "Set the credentials for the destination accessed by
    the service ... Note that services that use a proxy or a
    third-party adapter to a remote endpoint will need to
    setRemoteCredentials instead."
    Great, I'm not using a proxy, so I figured it would work. I
    thought I would try it with SOAP header auth. I setup a simple
    ASP.NET web service that users SOAP header auth, and decided to
    test it out. Attached is my complete MXML (I also tried using SSL).
    The Flash player threw the following error:
    [MessagingError message='Authentication not supported on
    DirectHTTPChannel (no proxy).']
    at mx.messaging.channels::DirectHTTPChannel/setCredentials()
    at mx.messaging::ChannelSet/setCredentials()
    at mx.messaging::MessageAgent/setCredentials()
    at mx.rpc::AbstractService/setCredentials()
    at SoapHeaderAuthenticatedServicesTest/handleLoad()
    at
    flash.events::EventDispatcher/flash.events:EventDispatcher::dispatchEventFunction()
    at flash.events::EventDispatcher/dispatchEvent()
    at mx.rpc::AbstractService/dispatchEvent()
    at mx.rpc.soap::WebService/
    http://www.adobe.com/2006/flex/mx/internal::wsdlHandler()
    at
    flash.events::EventDispatcher/flash.events:EventDispatcher::dispatchEventFunction()
    at flash.events::EventDispatcher/dispatchEvent()
    at mx.rpc.wsdl::WSDLLoader/private::checkLoadsOutstanding()
    at
    mx.rpc.wsdl::WSDLLoader/mx.rpc.wsdl:WSDLLoader::resultHandler()
    at
    flash.events::EventDispatcher/flash.events:EventDispatcher::dispatchEventFunction()
    at flash.events::EventDispatcher/dispatchEvent()
    at mx.rpc::AbstractInvoker/
    http://www.adobe.com/2006/flex/mx/internal::dispatchRpcEvent()
    at mx.rpc::AbstractInvoker/
    http://www.adobe.com/2006/flex/mx/internal::resultHandler()
    at mx.rpc::Responder/result()
    at mx.rpc::AsyncRequest/acknowledge()
    at private::DirectHTTPMessageResponder/completeHandler()
    at
    flash.events::EventDispatcher/flash.events:EventDispatcher::dispatchEventFunction()
    at flash.events::EventDispatcher/dispatchEvent()
    at flash.net::URLLoader/flash.net:URLLoader::onComplete()
    at [io]
    Interesting -- "Authentication not supported on
    DirectHTTPChannel (no proxy)" -- but the docs made it sound like
    that's precisely when you were to use setCredentials. If using a
    proxy, you would use setRemoteCredentials.
    So... what's up? How do I use setCredentials? And is it for
    use with SOAP header authentication, Basic authentication, or
    something else?

    quote:
    Originally posted by:
    pete
    ...Other times you see operations requiring credentials in
    SOAP headers...
    Pete
    This is what I'm currently pursuing. I did not have much
    success with Basic authentication (didn't work at all in IE, and,
    as you mentioned, even in browsers where it worked, if the
    username/password is wrong, the Flex UI can't intercept the login
    failure, and the user gets that ugly login popup).
    But, I'm not having much success. Here's what the SOAP
    request *should* look like, for my test web service that uses SOAP
    headers for authentication. I used a Visual Studio generated proxy
    class to make this call, and it returned the expected data from the
    web service (i.e., the SOAP authentication worked).
    <?xml version="1.0" encoding="utf-8"?>
    <soap:Envelope xmlns:soap="
    http://schemas.xmlsoap.org/soap/envelope/"
    xmlns:xsi="
    http://www.w3.org/2001/XMLSchema-instance"
    xmlns:xsd="
    http://www.w3.org/2001/XMLSchema">
    <soap:Header>
    <AuthHeader xmlns="
    http://intranet/WebServices/">
    <UserName>TestUser</UserName>
    <Password>TestPassword</Password>
    </AuthHeader>
    </soap:Header>
    <soap:Body>
    <HelloWorld xmlns="
    http://intranet/WebServices/"
    />
    </soap:Body>
    </soap:Envelope>
    Now, I want to set this up in Flex as well. Here's what I
    tried:
    // Called when the WSDL is finished loading
    public function handleLoad(event:Event):void{
    var qName : QName = new QName( "
    http://intranet/WebServices/",
    "AuthHeader" );
    var authXml : XML = <AuthHeader>
    <UserName>TestUser</UserName>
    <Password>TestPassword</Password>
    </AuthHeader>;
    var auth : SOAPHeader = new SOAPHeader( qName, authXml );
    service.addHeader(auth);
    service.HelloWorld();
    No errors are thrown by Flex, however, the SOAP
    authentication fails (I get the expected "access denied" response
    from the web service). I used Wireshark to see what traffic was
    being sent back and forth, and this is what I see for the request
    from Flex:
    <SOAP-ENV:Envelope xmlns:SOAP-ENV="
    http://schemas.xmlsoap.org/soap/envelope/"
    xmlns:s="
    http://www.w3.org/2001/XMLSchema"
    xmlns:xsi="
    http://www.w3.org/2001/XMLSchema-instance">
    <SOAP-ENV:Header></SOAP-ENV:Header>
    <SOAP-ENV:Body>
    <tns:HelloWorld xmlns:tns="
    http://intranet/WebServices/"/>
    </SOAP-ENV:Body>
    </SOAP-ENV:Envelope>
    Emphasis mine. Note that the SOAP header is empty -- what's
    going on?

  • Can't get username and password into client proxy

    Hello all,
    I am creating a client proxy using class xem_measurementImport (the doMeasurementImport method). I call this from an ABAP program, and it pushes measurement data into the EC (Environmental Compliance) system, which runs in Java.  Everything has been running well, except for one thing.  When I run the program in the foreground, it prompts me for a username and password, and when I run it in the background (it will be run that way in production), it gets a SOAP/authentication fails error message from the method, since username & password could not be supplied.  I tried to recreate my client proxy, but when it is created, the wizard does not prompt me for my name & password, which it should do, so that it can supply it to the calling program via the logical port.  Is this a configuration issue that Basis needs to address?   Thanks for any help you can give.

    gauravjlj wrote:
    because client will install the mysql not me. and I need username and password for the further programming.
    there is any file in mysql installation which can give me the username and password.
    please tell me.
    thanks
    gaurav agrawalNo. If the "client" is installing the DB (and, I assume, administrating it, I.E. removing the large security holes that exist in the default installation), then why don't you simply ask the "client" for this info a dialog?
    Otherwise, you should be providing a script in your installation package that modifies the DB to your needs, and instruct the "client" to install a "default" root password until after the script has run, and then to change the "root" password again. A Java application should definately not be worried about this stuff.

  • Integrating SmallWorld(Gis) and SAP

    Hi all
    We are trying to integrate SAP with SmallWorld. Whenever we are sending the request1 to XI server from SOAPUI, then it shows LOGON ERROR because we are not supplying username and password explicitly.
    request1
    <?xml version="1.0" encoding="windows-1252" standalone="yes" ?>
    - <SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" xmlns:SOAP-ENC="http://schemas.xmlsoap.org/soap/encoding/" xmlns:ns0="http://Query_Builder">
    - <SOAP-ENV:Header>
    - <wsse:Security xmlns:wsse="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd">
    - <wsse:UsernameToken>
      <wsse:User>user</wsse:User>
      <wsse:Password>psswd</wsse:Password>
      <wsse:sap-client>001</wsse:sap-client>
      </wsse:UsernameToken>
      </wsse:Security>
      </SOAP-ENV:Header>
    - <SOAP-ENV:Body>
    - <ns0:Query_Request_MT xmlns:ns0="http://query_builder">
      <Class>DIST_TRANSFORMER</Class>
      <Class_Type>002</Class_Type>
      <Weight_Low>0</Weight_Low>
      <Weight_High>10</Weight_High>
      </ns0:Query_Request_MT>
      </SOAP-ENV:Body>
      </SOAP-ENV:Envelope>
    whereas for the request2 as well as request1 if we provide username and password in the request properties tab in SOAPUI then
    request2
    <soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:quer="http://query_builder">
       <soapenv:Header/>
       <soapenv:Body>
          <quer:Query_Request_MT>
             <Class>DIST_TRANSFORMER</Class>
             <Class_Type>002</Class_Type>
             <Weight_Low>0</Weight_Low>
             <Weight_High>10</Weight_High>
          </quer:Query_Request_MT>
       </soapenv:Body>
    </soapenv:Envelope>
    it gives the correct output.
    But we are intending to send the username and password details with the request itself instead of supplying them explicitly.
    Thanks in advance
    Sam

    >>But we are intending to send the username and password details with the request itself instead of supplying them explicitly.
    The standard way for SOAP authentication is the HTTP User Name and Password only. If you dont want rhis you can probably go for digital certificates.

  • The Event read query was not supported

    I have an error during a Search request in my collab suite calendar.
    Here the soap message :
    <SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/"
    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
    xmlns:xsd="http://www.w3.org/2001/XMLSchema">
    <SOAP-ENV:Header>
    <auth:BasicAuth xmlns:auth="http://soap-authentication.org/2002/01/">
    <Name>lde</Name>
    <Password>xxxx</Password>
    </auth:BasicAuth>
    </SOAP-ENV:Header>
    <SOAP-ENV:Body>
    <cwsl:Search xmlns:cwsl="http://www.oracle.com/WebServices/Calendaring/1.0/">
    <CmdId>test</CmdId>
    <vQuery>
    <From>VEVENT</From>
    <Where>DTSTART >= '20061002T000000Z' AND DEND <= '20061002T235959Z'</Where>
    <x-oracle-searchhandle></x-oracle-searchhandle>
    <x-oracle-timestamp>20061002T113300Z</x-oracle-timestamp>
    </vQuery>
    </cwsl:Search>
    </SOAP-ENV:Body>
    </SOAP-ENV:Envelope>
    And the reply is :
    <soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" soap:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/">
    <soap:Body>
    <soap:Fault>
    <faultcode>soap:Server.Error::Data::CalEvent</faultcode>
    <faultstring>The Event read query was not supported</faultstring>
    <detail>
    <cwsl:Error xmlns:cwsl="http://www.oracle.com/WebServices/Calendaring/1.0/">
    <Class>Error::Data::CalEvent</Class>
    <Code>000C-07-00-00000023</Code>
    <Line>306</Line>
    <FileName>UniapiQuery.cpp,v</FileName>
    <Version>1.2</Version>
    <LastMod>2005/04/26 16:47:36</LastMod>
    <Author>kelsaid</Author>
    <Date>Mon Oct 02 11:48:16 2006</Date>
    <PID>30834</PID>
    <TID>1124678576</TID>
    </cwsl:Error>
    </detail>
    </soap:Fault>
    </soap:Body>
    </soap:Envelope>
    I haven't any errors with this sample.
    <SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/"
    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
    xmlns:xsd="http://www.w3.org/2001/XMLSchema">
    <SOAP-ENV:Header>
    <auth:BasicAuth xmlns:auth="http://soap-authentication.org/2002/01/">
    <Name>lde</Name>
    <Password>xxxxx</Password>
    </auth:BasicAuth>
    </SOAP-ENV:Header>
    <SOAP-ENV:Body>
    <cwsl:Search xmlns:cwsl="http://www.oracle.com/WebServices/Calendaring/1.0/">
    <CmdId>test</CmdId>
    <vQuery>
    <From>VEVENT</From>
    </vQuery>
    </cwsl:Search>
    </SOAP-ENV:Body>
    </SOAP-ENV:Envelope>
    Message was edited by:
    Ludovic DESSEMON

    I resolved my problem. It was a syntax error :
    <Where>DTSTART >= '20061002T000000Z' AND DTEND <= '20061002T235959Z'</Where>
    and not :
    <Where>DTSTART >= '20061002T000000Z' AND DEND <= '20061002T235959Z'</Where>

  • XAIWSServlet$WSAuthenticationException: java.io.IOException

    I am using CCB 2.3, getting the below Error when i try to create new pending status Notification download Staging Record in main menu...
    - 2010-05-11 19:34:09,940 [Log4j Connection Listener] INFO (cobol.host.LocalLogServer) Connected to client at /192.168.2.3
    - 2010-05-11 19:34:10,049 [Remote JVM:2 Main ] INFO (cobol.host.RemoteJVM) Remote JVM 2 setup complete
    - 2010-05-11 20:58:58,986 [http-6500-6] INFO (support.context.CacheManager) Registering cache 'FieldMetaDataRepository'
    - 2010-05-11 20:58:59,189 [http-6500-6] INFO (api.serviceinterception.InterceptorRepository) Processing interceptor declaration ServiceConfig.xml
    - 2010-05-11 20:58:59,189 [http-6500-6] INFO (api.serviceinterception.ServiceInterceptors) Registering change interceptor class com.splwg.wfmi.workforce.AppointmentInterceptor
    - 2010-05-11 20:58:59,204 [http-6500-6] INFO (api.serviceinterception.ServiceInterceptors) Registering read interceptor class com.splwg.wfmi.workforce.AppointmentInterceptor
    - 2010-05-11 20:58:59,204 [http-6500-6] INFO (api.serviceinterception.InterceptorRepository) Interceptor declaration CMServiceConfig.xml not found on the classpath; skipping Interceptor processing
    - 2010-05-11 20:58:59,298 [http-6500-6] INFO (support.context.CacheManager) Registering cache 'MetaInformationRepository'
    - 2010-05-11 21:43:07,246 [http-6500-6] ERROR (xai.servlet.XAIWSServlet) java.io.IOException: Server returned HTTP response code: 401 for URL: http://HARI:6500/XAIApp/classicxai
    com.splwg.xai.servlet.XAIWSServlet$WSAuthenticationException: java.io.IOException: Server returned HTTP response code: 401 for URL: http://HARI:6500/XAIApp/classicxai
         at com.splwg.xai.servlet.XAIWSServlet.authenticateUser(XAIWSServlet.java:149)
         at com.splwg.xai.servlet.XAIWSServlet.doPost(XAIWSServlet.java:81)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:710)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
         at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
         at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
         at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)
         at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:175)
         at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:433)
         at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:128)
         at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
         at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
         at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:286)
         at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:844)
         at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:583)
         at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:447)
         at java.lang.Thread.run(Thread.java:595)
    Caused by: java.io.IOException: Server returned HTTP response code: 401 for URL: http://HARI:6500/XAIApp/classicxai
         at sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1170)
         at com.splwg.xai.server.WSAuthenticationImpl.getResponse(WSAuthenticationImpl.java:257)
         at com.splwg.xai.server.WSAuthenticationImpl.authenticateHTTPHeaderInformation(WSAuthenticationImpl.java:122)
         at com.splwg.xai.servlet.XAIWSServlet.attemptClassicAuthentication(XAIWSServlet.java:160)
         at com.splwg.xai.servlet.XAIWSServlet.authenticateUser(XAIWSServlet.java:139)
         ... 16 more

    Why classicxai and not xaiserver ?
    Do you have WS-Security specification within your SOAP Header?
    classicxai is for pre-2.2 XAI transactions and it does not support WS-Security.
    Also verify and review your settings for 'Attempt Classic Authentication' and 'Enforce SOAP Authentication' parameters under XAI Options.

  • Publish Event Calendar as Portlet

    Is it possible to publish an event calendar as a portlet? I know I can do this with a users calendar, but I have not found a way to do it with an event calendar.

    Hi,
    Officially this was never tested OR tried from what I can recall. You could try to use proxy authentication (see the posting I did about Application to Application authentication) and specify the event calendar unique id (much like you would specify a user calendar unique id) in the SOAP authentication header.
    Perhaps this may work.
    Frederic Leblanc

  • Publish Event Calendar to Internet Portal

    Is there any way to publish and Event Calendar to a Portal???

    Hi,
    Officially this was never tested OR tried from what I can recall. You could try to use proxy authentication (see the posting I did about Application to Application authentication) and specify the event calendar unique id (much like you would specify a user calendar unique id) in the SOAP authentication header.
    Perhaps this may work.
    Frederic Leblanc

Maybe you are looking for