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);

Similar Messages

  • Issue with SOAP Adapter calling a Web Service

    I have built the Scenario outlined in the webblog https://www.sdn.sap.com/irj/sdn/weblogs?blog=/pub/wlg/3408. [original link is broken] [original link is broken] [original link is broken] [original link is broken] [original link is broken] [original link is broken] [original link is broken]
    I received the following error message in XI Monitoring:
    <?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
    - <!--  Aufruf eines Adapters
      -->
    - <SAP:Error xmlns:SAP="http://sap.com/xi/XI/Message/30" xmlns:SOAP="http://schemas.xmlsoap.org/soap/envelope/" SOAP:mustUnderstand="1">
      <SAP:Category>XIAdapter</SAP:Category>
      <SAP:Code area="PARSING">ADAPTER.SOAP_EXCEPTION</SAP:Code>
      <SAP:P1 />
      <SAP:P2 />
      <SAP:P3 />
      <SAP:P4 />
      <SAP:AdditionalText>soap fault: System.Web.Services.Protocols.SoapException: Server was unable to process request. ---> System.Data.SqlClient.SqlException: Procedure or Function 'Research_GetCompanyIndustry' expects parameter '@Symbol', which was not supplied. at System.Data.SqlClient.SqlConnection.OnError(SqlException exception, Boolean breakConnection) at System.Data.SqlClient.SqlInternalConnection.OnError(SqlException exception, Boolean breakConnection) at System.Data.SqlClient.TdsParser.ThrowExceptionAndWarning(TdsParserStateObject stateObj) at System.Data.SqlClient.TdsParser.Run(RunBehavior runBehavior, SqlCommand cmdHandler, SqlDataReader dataStream, BulkCopySimpleResultSet bulkCopyHandler, TdsParserStateObject stateObj) at System.Data.SqlClient.SqlDataReader.ConsumeMetaData() at System.Data.SqlClient.SqlDataReader.get_MetaData() at System.Data.SqlClient.SqlCommand.FinishExecuteReader(SqlDataReader ds, RunBehavior runBehavior, String resetOptionsString) at System.Data.SqlClient.SqlCommand.RunExecuteReaderTds(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, Boolean async) at System.Data.SqlClient.SqlCommand.RunExecuteReader(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, String method, DbAsyncResult result) at System.Data.SqlClient.SqlCommand.RunExecuteReader(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, String method) at System.Data.SqlClient.SqlCommand.ExecuteReader(CommandBehavior behavior, String method) at System.Data.SqlClient.SqlCommand.ExecuteReader() at Invesbot.WebService.StockQuotes.GetQuote(String symbol) in c:Inetpubvhostsinvesbot_comwsApp_CodeStockQuotes.cs:line 81 --- End of inner exception stack trace ---</SAP:AdditionalText>
      <SAP:ApplicationFaultMessage namespace="" />
      <SAP:Stack />
      <SAP:Retry>M</SAP:Retry>
      </SAP:Error>
    I checked the SOAP Adapter which is green. I also checked the webblogs in the XI Forum concerning similar error messges as it doesn't seem to be a new problem. But I didn't find an answer to my issue.
    Anybody any idea what could be the issue in this case.
    Thanks in advance.
    Alex

    Hi Alex,
    in the mentioned weblog a web service "Distance" is used, but your monitor entry say, that you call the web service "StockQuotes". So I think you have put a wrong URL in your receiver SOAP adapter.
    The error comes from the web service server. It says that the request message is wrong. The element "Symbol" is missing.
    Regards
    Stefan

  • Why do I get parsing errors with my WSDL URL for Web Services usage

    Hi,
    I am puzzled with the errors I get when I want to create a Web Service datastore.
    Scenario: I have created a SAP Web Service from CRM using SOAMANAGER. The WSDL URL produced by SOAMANAGER is accessibile when pasting the URL directly in Internet Explorer. WSDL URL [http://UXCIQ0M.WDF.SAP.CORP:50076/sap/bc/srt/wsdl/srvc_CBDCB34C89C29304E10000000A4282C0/wsdl11/allinone/ws_policy/document?sap-client=504]
    When using the WSDL URL in the Web Service datastore URL field, I get the error An error occurred while importing metadata: WSDLException; faultcode=PARSER_ERROR: Problem parsing: The element type "br" must be terminated by matching tag "/br". (BODI-1111469) (BODI-1112446)
    When I save the WSDL defintion in a local file and use a local file path, I get the errors An error occurred while importing metadata: WSDLException (at /wsdl:definitions/wsdl:portype/wsp:Policy): faultcode=INVALID_WSDL: Encountered unexpected element 'Policy. (BODI-1111469) (BODI-1112446)
    My questions:
    - Why do I get different parsing errors despite the fact that the XML is the same?
    - The WSDL is generated by SOAMANAGER. Shouldn't it work directly when integrating with Web Services generated from an SAP environment?
    - Is this related to confiurgation issue? I have set the Job Manager to Support adapter, message broker and SNMP communication
    - What is the difference between the datastore of type Adapter and the datastore Web Service? In the white paper [http://www.sdn.sap.com/irj/boc/go/portal/prtroot/docs/library/uuid/20bd5e60-11f9-2b10-2bbb-b5109cceff08?quicklink=index&overridelayout=true] it is mentioned to use the Adapter type to consume a Web Service. It is not clear to me why we have those 2 types.
    Thanks & Best Regards
    Isabelle

    Some updates on this issue, which might help others in the community.
    - Data Service doesn't support ws_policy.
    - SAP NetWeaver 7.0 SOAMANAGER generate WDSL with ws_policy. In future releases, it is possible to specify not to use ws_policy
    - In most cases, replacing ws_policy with standard  in the URL directly, works. It doesn't work with Data Services :(.
    - Replacing ALL ws_policy in the XML directly is currently the only way to have the WSDL definition being parsed properly by Data Services.

  • Problems with deep request structure in web service

    I'm having problems when trying to consume an Enterprise Service-like web service in my Web Dynpro application. The web service FindXByElements has a request-structure as follows:
    XByElementsQuery
    -ProcessingConditions
    -QueryHitsMaximumNumberValue
    -QueryHitsUnlimitedIndicator
    -XSelectionByElements
    -ID
    -Year
    Regarding the structures on level two, the structure ProcessingConditions are of the global data type "WITHOUT_LASTRETURNED_QueryProcessingConditions" and are therefore typed. The structure XSelectionByElements on the other hand are just a "level" in the request structure and are therefore not typed. Both structures have occurrence 1 so they have to be filled with input data.
    The code in wdDoInit in the Component Controller looks like this:
    QueryXInModel model = new QueryXInModel();
    wdContext.nodeRequest_FindXByElements().bind(wdContext.createRequest_FindXByElementsElement(new Request_FindXByElements(model)));
    wdContext.currentRequest_FindXByElementsElement().modelObject().setXByElementsQuery(new XByElementsQuery_Sync(model));
    //Processing structure
    wdContext.currentXByElementsQueryElement().modelObject().setProcessingConditions(new WITHOUT_LASTRETURNED_QueryProcessingConditions(model));
    //Selection structure
    wdContext.currentXByElementsQueryElement().modelObject().setXSelectionByElements(new XSelectionByElements(model));
    The last row generates the following exception:
    java.lang.IllegalArgumentException: Cannot perform write operation 'setRelatedModelObject' on target role: Class 'XSelectionByElements' is not compatible to class '$002fWsdlDefinitions$002fWsdlTypes$002fXsdSchema$002fXsdComplexType$005b3$005d$002fXsdSequence$002fXsdElement$005b2$005d$002fXsdComplexType' of target role 'XSelectionByElements' in model class 'XByElementsQuery_Sync'
    There seems to be a problem to bind a non-typed structure element to a context node since the processing structure is working fine but the selection structure are not.
    What am I doing wrong, anyone got any clues?
    /Oskar

    Hi
    QueryXInModel model = new QueryXInModel();
    wdContext.nodeRequest_FindXByElements().bind(wdContext.createRequest_FindXByElementsElement(new Request_FindXByElements(model)));
    wdContext.currentRequest_FindXByElementsElement().modelObject().setXByElementsQuery(new XByElementsQuery_Sync(model));
    //Processing structure
    wdContext.currentXByElementsQueryElement().modelObject().setProcessingConditions(new WITHOUT_LASTRETURNED_QueryProcessingConditions(model));
    //Selection structure
    wdContext.currentXByElementsQueryElement().modelObject().setXSelectionByElements(new XSelectionByElements(model));
    XByElementsQuery
    ProcessingConditions
    QueryHitsMaximumNumberValue
    QueryHitsUnlimitedIndicator
    XSelectionByElements
    ID
    Year
    as
              QueryXInModel model = new QueryXInModel();
               Request_FindXByElement  request = new Requst_FindXByElement();
                ProcessCondition   processCond  = new  ProcessCondition(model);
                QueryHitsMaximumNumberValue  qhMaxNumValues = QueryHitsMaximumNumberValue(model);
          QueryHitsUnlimitedIndicator  qhUnLimind = new QueryHitsUnlimitedIndicator(model);
            XSelectionByElements  selecByEle = new XSelectionByElements(model);
                     processCond.set....();                         
                     qhMaxNumValues .set...();
               and so on
                    request.set....();
    wdcontext.nodeReqestFindX..bind(request);
      in the above during the values you will automatically get the set values .

  • SOAP-Request to external Web Service Failed with GENERAL_ERROR PART UKNOWN

    Hi,
    i have generated a Consumer Proxy with the following WSDL File:
    <?xml version="1.0" encoding="UTF-8"?>
    <!-- Mit XMLSpy v2010 rel. 2 (http://www.altova.com) von Ralph Rothe (n/a) bearbeitet -->
    <wsdl:definitions xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:http="http://schemas.xmlsoap.org/wsdl/http/" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/" xmlns:mime="http://schemas.xmlsoap.org/wsdl/mime/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:tns="http://new.webservice.namespace" targetNamespace="http://new.webservice.namespace">
            <wsdl:types>
                   <xs:schema targetNamespace="http://new.webservice.namespace" elementFormDefault="qualified"/>
            </wsdl:types>
            <wsdl:message name="greetAnfrage">
                   <wsdl:part name="user" type="xs:string"/>
            </wsdl:message>
            <wsdl:message name="greetAntwort">
                   <wsdl:part name="return" type="xs:string"/>
            </wsdl:message>
            <wsdl:portType name="TestServerPortType">
                   <wsdl:operation name="getResults">
                           <wsdl:input message="tns:greetAnfrage"/>
                           <wsdl:output message="tns:greetAntwort"/>
                   </wsdl:operation>
            </wsdl:portType>
            <wsdl:binding name="TestServerBinding" type="tns:TestServerPortType">
                   <soap:binding style="rpc" transport="http://schemas.xmlsoap.org/soap/http"/>
                   <wsdl:operation name="getResults">
                           <soap:operation soapAction="urn:#NewOperation" style="rpc"/>
                           <wsdl:input>
                                   <soap:body use="literal"/>
                           </wsdl:input>
                           <wsdl:output>
                                   <soap:body use="literal"/>
                           </wsdl:output>
                   </wsdl:operation>
            </wsdl:binding>
            <wsdl:service name="TestServerService">
                   <wsdl:port name="TestServerPort" binding="tns:TestServerBinding">
                           <soap:address location="http://92.79.135.41/soap/server.php"/>
                   </wsdl:port>
            </wsdl:service>
    </wsdl:definitions>
    If i testing the Error "GENERAL ERROR - PART UNKNOWN (NULL) occur. A payload trace with SRT_UTIL i show a correct response.

    Hi,
    i have generated a Consumer Proxy with the following WSDL File:
    <?xml version="1.0" encoding="UTF-8"?>
    <!-- Mit XMLSpy v2010 rel. 2 (http://www.altova.com) von Ralph Rothe (n/a) bearbeitet -->
    <wsdl:definitions xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:http="http://schemas.xmlsoap.org/wsdl/http/" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/" xmlns:mime="http://schemas.xmlsoap.org/wsdl/mime/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:tns="http://new.webservice.namespace" targetNamespace="http://new.webservice.namespace">
            <wsdl:types>
                   <xs:schema targetNamespace="http://new.webservice.namespace" elementFormDefault="qualified"/>
            </wsdl:types>
            <wsdl:message name="greetAnfrage">
                   <wsdl:part name="user" type="xs:string"/>
            </wsdl:message>
            <wsdl:message name="greetAntwort">
                   <wsdl:part name="return" type="xs:string"/>
            </wsdl:message>
            <wsdl:portType name="TestServerPortType">
                   <wsdl:operation name="getResults">
                           <wsdl:input message="tns:greetAnfrage"/>
                           <wsdl:output message="tns:greetAntwort"/>
                   </wsdl:operation>
            </wsdl:portType>
            <wsdl:binding name="TestServerBinding" type="tns:TestServerPortType">
                   <soap:binding style="rpc" transport="http://schemas.xmlsoap.org/soap/http"/>
                   <wsdl:operation name="getResults">
                           <soap:operation soapAction="urn:#NewOperation" style="rpc"/>
                           <wsdl:input>
                                   <soap:body use="literal"/>
                           </wsdl:input>
                           <wsdl:output>
                                   <soap:body use="literal"/>
                           </wsdl:output>
                   </wsdl:operation>
            </wsdl:binding>
            <wsdl:service name="TestServerService">
                   <wsdl:port name="TestServerPort" binding="tns:TestServerBinding">
                           <soap:address location="http://92.79.135.41/soap/server.php"/>
                   </wsdl:port>
            </wsdl:service>
    </wsdl:definitions>
    If i testing the Error "GENERAL ERROR - PART UNKNOWN (NULL) occur. A payload trace with SRT_UTIL i show a correct response.

  • Ical won't sync with yahoo calendar. Get error....There was an unexpected error with the request (domain CalDAVErrorDomain / error 1 / description 'The collection at "/dav/xyx/Inbox/" is not an inbox.').

    Hello, I get the below error when I start iCal and it tries to sync with my Yahoo Calendar. Any thoughts?
    There was an unexpected error with the request (domain CalDAVErrorDomain / error 1 / description 'The collection at "/dav/xyx/Inbox/" is not an inbox.').

    I am having same problem - I've added events to Ical and it's not updating in my Yahoo calendar. Getting this message: There was an unexpected error with the request (domain CalDAVErrorDomain / error 1 / description 'The collection at "/dav/mcarthur_c/Inbox/" is not an inbox.').

  • "There was an unexpected error with the request on subscribed calendars (error -1)"

    I have been subscribing to my wife's work and home calendars since she started using an iPad mini late December. Suddenly, today, nothing will sync to it. If I try to update, the iCal app fails to pick her work calendar, saying "There was an unexpected error with the request on subscribed calendars (error -1)." Her iPad has the current iOS.
    I tried re-sending the 'subscribe to my calendar' email (with a link) from her iPad, but trying to open that link results in the same message.
    Our computers all run Mac OSX 10.6.8 and iCal 4.0.4.
    I don't really know if my iPhone 4S is picking up her calendar info. I have never been able to see if/how an iOS retrieves cloud data when accessed.
    Any help appreciated.

    You will find that the calendar's URL bevins with ical.mac.com. The mac.com domain was one of MobileMe's website hosting domains, and with the closure of MobileMe none of its hosting works, including the CalDAV server which was used by a number of subscription calendars - mostly third-party but also some Apple ones: you would think, wouldn't you, that at least Apple would be aware of this. In fact a few days ago, following a similar query, I went through about twenty randomly chosen calendars in Apple's list, and only two of them worked. Most of the rest were ical.mac.com ones (there were a few with other servers which had also gone dead).
    These calendars are no longer available, and won't be until the authors wake up and find somewhere else to host them.

  • Application-to-application authentication using Calendar Web Services

    Calendar Web Services
    Application-to-application authentication
    (Proxy authentication)
    Abstract:
    Application-to-application authentication allows services to trust other services without having to authenticate the end-user making use of these services. The Calendar Web Services offers an application-to-application authentication mechanism called “Proxy Authentication”.
    What is Proxy Authentication?
    The Calendar Web Services Proxy Authentication is a solution that was developed by the Oracle Calendar team and is similar to what SSO would be to the web. Proxy Authentication allows any application developed using the Calendar Web Services Toolkit to establish a trusted authentication link to the Calendar Server via the Calendar Web Services.
    What do I need to get Proxy Authentication going?
    -     The Calendar Web Services Toolkit 9.0.4.2.X (Calendarlet.jar)
    -     The Calendar Web Services 9.0.4.2.X (OCAS)
    -     The Calendar Server 9.0.4.2.X (Calserv)
    -     Oracle Internet Directory 9.0.4.X (OID)
    Your collaboration suite deployment MUST be configured in a way where the Calendar Server is connected to the OID (done by default). This is fundamental given that Proxy Auth is designed to extensively use the OID security schemes.
    How to configure Proxy Authentication?
    You must have:
    1.     Access to the OID administrator account.
    2.     Access to the ldap tools ($ORACLE_HOME/ldap/bin).
    3.     Access to the Oracle Calendar Server administrator password.
    OID Configuration
    Create an entry for your application product in OID
    The following entry needs to be created:
    - cn=OracleContext
    - cn=Products
    - cn=MyApplicationProduct
    The MyApplicationProduct.ldif will look like:
    dn: cn= MyApplicationProduct, cn=Products, cn=OracleContext
    objectClass: orclContainer
    objectClass: top
    The command to add the entry is
    ./ldapadd -h HOSTNAME.COM -p OIDPORT -D "cn=orcladmin" -w PASSWROD -f ./MyApplicationProduct.ldif
    Where [HOSTNAME.COM] is the OID server hostname, [PASSWROD] is the password for the OID directory and [OIDPORT] is the OID port.
    Create an application entity for MyAppName in OID
    The following entry needs to be added to the OID:
    - cn=OracleContext
    - cn=Products
    - cn= MyApplicationProduct
    - orclApplicationCommonName=MyAppName
    The MyAppName.ldif will look like:
    dn: orclApplicationCommonName= MyAppName,
    cn= MyApplicationProduct, cn=Products,
    cn=OracleContext
    objectClass: orclApplicationEntity
    objectClass: top
    orclApplicationCommonName: MyAppName
    userpassword: test1
    The command to add the entry is
    ./ldapadd -h HOSTNAME.COM -p OIDPORT -D "cn=orcladmin" -w PASSWORD -f ./MyAppName.ldif
    Ensure the entry is properly configured
    Perform an LDAP search to locate the entry's distinguished name:
    "orclApplicationCommonName= MyAppName,
    cn= MyApplicationProduct, cn=Products,
    cn=OracleContext"
    ./ldapsearch -h HOSTNAME.COM -p OIDPORT -D "cn=orcladmin" -w PASSWROD
    -b "cn= MyApplicationProduct,cn=Products,cn=OracleContext"
    "objectclass=orclApplicationEntity" "c"
    Grant proxy privileges to the new application entity
    This creates an entry in OID:
    - dc=com
    - dc=oracle
    - dc=us
    - cn=OracleContext
    - cn=Products
    - cn=Calendar
    - cn=UserProxyPrivilege
    - uniquemember:
    orclApplicationCommonName= MyAppName,
    cn= MyApplicationProduct, cn=Products,
    cn=OracleContext
    From the $ORACLE_HOME/ocal/bin
    ./unioidconf -grantproxyprivilege \
    "orclApplicationCommonName= MyAppName,
    cn= MyApplicationProduct, cn=Products,
    cn=OracleContext"
    NOTE: you need the calendar server admin password.
    How to use Proxy Authentication?
    Once successfully done configuring your OID and Calendar Server, you must start the real work; coding. It is actually simple to implement.
    In your Java application, you will simply change the BasicAuth class with the ProxyAuth class. You then set the end-user identity, along with the proxy application name and proxy application password, you registered a moment ago.
    Ex:
    ProxyAuth auth = new ProxyAuth();
    auth.setApplicationName("orclApplicationCommonName=MyAppName, cn=MyApplicationProduct, cn=Products, cn=OracleContext");
    auth.setApplicationPassword(“test1”);
    auth.setName(myUserId);
    Your application will no longer need to pass the end-user’s password to the Calendar Web Services. From now on, it is your application’s responsibility to authenticate the end-user.
    Frederic Leblanc

    I found the solution:
    Using the CalendaringResponse.getReceiveBuffer() and getSendBuffer() methods, the soap request looks something like this:
    Sendbuffer: <?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:ProxyAuth xmlns:auth="http://www.oracle.com/WebServices/Calendaring/Authentication/1.0/"><ApplicationName>orclApplicationCommonName=MyAppName,cn=MyApplicationProduct, cn=Products, cn=OracleContext</ApplicationName><ApplicationPassword>testpw1</ApplicationPassword><Name>king</Name></auth:ProxyAuth>
    </SOAP-ENV:Header>
    <SOAP-ENV:Body>
    <cwsl:Search xmlns:cwsl="http://www.oracle.com/WebServices/Calendaring/1.0/"><CmdId>MySearchCommandID-1</CmdId><vQuery><From>VEVENT</From><Where>DTEND &gt;= '20061007T220000Z' AND DTSTART &lt;= '20061014T215900Z'</Where></vQuery></cwsl:Search>
    </SOAP-ENV:Body>
    </SOAP-ENV:Envelope>

  • 401 Unauthorized Error When calling a SharePoint REST web service from SharePoint 2013 Workflow

    We have our Workflow Manger installed on the same server as our SharePoint 2013 WFE development environment. When creating a SharePoint 2013 Workflow all Calls to a SharePoint 2013 REST web service results in a 401 Unauthorized error.
    As an example I created a simple workflow that should return a JSON result. The REST Url returns the results in the browser without error.
    Set Variable:webServiceUrl to https://<hostnamedsitecollection>/_vti_bin/client.svc/web/lists/getbytitle('ISR%20Approvers')/Items?$select=Title&$filter=Title%20eq%20%27General%27
    then Build{...} Dictionary (Output to Variable:requestHeaders)
    then Call [%Variable:webServiceUrl%] HTTP web service with request (ResponseContent to Variable:responseContent |ResponseHeaders to responseHeaders | ResponseStatusCode to Variable:responseCode)
    The RequestHeader is set to the requestHeaders variable though the web service call properties
    then Log Variable:responseCode to the workflow history list
    After manually running the workflow in SharePoint on a list item in the ISR Approvers list it Logs "Unauthorized" in the Workflow History Log. It does this with every SharePoint REST web service call that I have tried through the workflow.
    It doesn't have anything to do with the Workflow Manger being installed on the same machine as the SharePoint WFE does it?
    Thank You for any insight

    Hi,
    According to your post, my understanding is that you had 401 Unauthorized Error when calling a SharePoint REST web service from SharePoint 2013 Workflow.
    Please make sure you use the ‘Call HTTP Web Service’ correctly.
    You can enter the URL into the brower to check whether it is correctly.
    You need to
    create the Request header requestHeaders
    using a Dictionary:
    Accept : application/json;odata=verbose
    Content-Type : application/json;odata=verbose
    To associate the
    requestHeaders variable, select the Call action
    property, set the RequestHeaders property to
    requestHeaders.
    Please refer to the following articles:
    Working with Web Services in SharePoint 2013 Workflows using SharePoint Designer 2013
    Calling the SharePoint 2013 Rest API from a SharePoint Designer
    Workflow
    In addtion, you need to make sure you install the workflow manager correctly.
    More information:
    Install and configure workflow for SharePoint Server 2013
    Known Issues in Workflow Manager 1.0
    Troubleshooting Workflow Manager 1.0 Management and Execution
    Best Regards,
    Linda Li
    Linda Li
    TechNet Community Support

  • How to view the SOAP message in a web service call + Urgent

    Hi All,
    Iam trying to test a web service call(Iam using CXF). But I need to view SOAP message sent to web service or need to debug the web service call. Please help me on this regard with example.

    Yes. to find any tcp monitor, define a listen port number, task host and port number, changing your request to listen post, then you can monitor TCP/IP like
    HTTP/1.1 200 OK
    Set-Cookie: JSESSIONID=7A00BD65EF7516AD8947359A25C4D98B; Path=/ComponentName
    Content-Type: text/xml;charset=utf-8
    Date: Wed, 20 Oct 2004 15:45:03 GMT
    Server: Apache-Coyote/1.1
    Connection: close
    <?xml version="1.0" encoding="UTF-8"?>
    <soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
    <soapenv:Body>
    <ns1:testObjectResponse soapenv:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" xmlns:ns1="urn:ComponentName">
    <testObjectReturn href="#id0"/>
    </ns1:testObjectResponse>
    <multiRef id="id0" soapenc:root="0" soapenv:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" xsi:type="ns2:MyObject" xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/" xmlns:ns2="urn:ComponentName">
    <name xsi:type="xsd:string">Set Name</name>
    <value xsi:type="xsd:string">set Value</value>
    </multiRef>
    </soapenv:Body>
    </soapenv:Envelope>
    Lixin

  • Error while trying to publish a web service in UDDI client

    hi
      i m getting this error when trying to publish my web service in UDDI client.I have
    configured my uddi client using Visual Administrator.I created a  local test registry.The name of my  registry is QuickCarRentalRegistry_Local.I created this at admin level.I also tried at level 1 Tier.But it was giving the same error.
    The error is "<b> Internet Explorer Script Error</b>".my ie version is 7.0
    In my alert window it displays error: 'ur_txt' is undefined.
    Regards
    mythri.

    Hi mythri.
    Did you find a way out of this error? Could you share the solution with me? Because I am facing a problem that looks just like the one you had.
    Thanks in advance.
    Renan

  • Problem with signed SAML assertion and Web Services Manager

    Folks,
    I’m having some issues trying to generate a proper signed SAML assertion using JDeveloper 10.1.3. I am securing a java proxy class using the wizard as described in http://www.oracle.com/technology/products/jdev/howtos/1013/wssecure/10gwssecurity_howto.html .
    On the OWSM side, I have a service that I am securing with SAML - Verify WSS 1.0 Token. If I set the "Allow signed assertions only" property to false I can complete the service call. However, when it is set to true I am receiving the following fault: javax.xml.rpc.soap.SOAPFaultException: SAML token verification failed.
    When I examine the message going to OWSM in a packet analyzer, it is missing the signature in the SAML assertion. The <saml:Assertion> tags looks like:
          <saml:Assertion MajorVersion="1" MinorVersion="1"
                          xmlns="urn:oasis:names:tc:SAML:1.0:assertion"
                          xmlns:saml="urn:oasis:names:tc:SAML:1.0:assertion"
                          AssertionID="yM0oqZgF0N1a1td6yzKgOQ22"
                          IssueInstant="2007-01-23T17:15:27Z"
                          Issuer="HealthMarkets_s3">
            <saml:Conditions NotBefore="2007-01-23T17:15:27Z"
                             NotOnOrAfter="2007-01-24T17:15:27Z"/>
            <saml:AuthenticationStatement AuthenticationInstant="2007-01-23T17:15:27Z"
                                          AuthenticationMethod="urn:oasis:names:tc:SAML:1.0:am:password">
              <saml:Subject>
                <saml:NameIdentifier Format="urn:oasis:names:tc:SAML:1.1:nameid-format:unspecified">client_s3</saml:NameIdentifier>
                <saml:SubjectConfirmation>
                  <saml:ConfirmationMethod>urn:oasis:names:tc:SAML:1.0:cm:sender-vouches</saml:ConfirmationMethod>
                </saml:SubjectConfirmation>
              </saml:Subject>
            </saml:AuthenticationStatement>
          </saml:AssertionI have selected the Sign Outbound Messages in step 3 of the Secure Web Proxy Wizard. This step uses the DSA-SHA1 algorithm.
    Any help is greatly appreciated.
    Thanks in advance,
    Joseph

    Thanks for the response. I am not using any pages for this application yet... just calling the web service from SOAP UI or any Web Service testing tool causes the problem.
    All that has to be done to replicate it is to build a simple EJB 3.0 JPA bean using the entities from tables wizard and then add named query as follows:
    @NamedQuery(name = "BomHeader.findByDesc", query = "select o from BomHeader o where o.bomDesc like :p_bomDesc")
    then build a session bean with the wizard that includes the JPA persistence unit and the entity and subsequently use the wizard to wrap the session bean in a web service.
    The whole replication process should take 5 minutes if you have some database tables to work with. It breaks when the web service is called.
    Thanks in advance

  • Is complex type request supported by web service data set?

    I just installed OBIEE 11g and tried to create data models with web services. It works fine for web services that takes simple data types and returns complex data types. But if the request to the web service is a complex type, it doesn't work. On the Edit Data Set page, I selected "true" for Complex Type. After I entered WSDL url, it populated the Web Service dropdown, but not the Method dropdown. Any ideas?
    The other problem I am having with web service data set is that it seems to ignore the attributes in the xml response. Only xml element is recognized.
    e.g. in <trigger priority="0" font_size="0"/>, priority and font_size are ignored in the data set. Please advise. Thanks.

    Hi,
    In this usecase , you can DnD the <serviceOperationName>_parameters as an ADF from. Then DnD the operation as a method. The methods input arg value is automatically set to the parameterIterator.currentRow.DataProvider. This works fine.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       

  • Request handling in web service

    Hi guys,
    is there a way to "handle" the request within a web service (like HTTPrequest obj in servlets)? i.e. for retrieving the context and so on .. ?
    thanks to anybody who will answer me
    J.

    Hi guys,
    is there a way to "handle" the request within a web
    service (like HTTPrequest obj in servlets)? i.e. for
    retrieving the context and so on .. ?
    thanks to anybody who will answer me
    J.See if this works for you. Have your service impl class also
    implement javax.xml.rpc.server.ServiceLifecycle. Then you'll
    have to add an init() and destroy() method (see the javadocs).
    If you declare a ServletEndpointContext field, then in
    init you can do
    public void init(Object context) {
    myServletEndpointContext = (ServletEndpointContext) context;
    and in subsequent methods do
    myHttpSession = servletEndpointContext.getHttpSession()
    (don't do this part in init, do it during business method calls)
    Cheers,
    Bobby

  • HP 7520 Photosmart scanning error message: Unable to connect to Web Services

    After many successful efforts in the past, suddenly I cannot scan to email on my HP Photosmart 7520. I have tried several of the solutions posted to no avail. I keep getting the error message "Unable to connect to Web Services. Confirm Iternet access and try again." I'm on Mac OS X. Very frustrating; I would appreciate help.

    Hello skagitsusan,
    Welcome to the HP Support Forums!
    I am not 100% as to the steps you have tried in attempt to resolve the Scan to Email issue on the 7520, but I would like to offer the steps I have given in another Thread.
    Re: Trouble scanning using Photosmart 6520 <---
    The steps will cover your printer, even though they are different Photosmarts.
    Let me know if this works.
    JERENDS
    I work on behalf of HP
    Please click “Accept as Solution” if you feel my post solved your issue, it will help others find the solution.
    Click the “Kudos Thumbs Up" to the left of the reply button to say “Thanks” for helping!

Maybe you are looking for

  • Why wont my itunes import my tracks into my library?

    I have Windows 8 and recently updated my iTunes. Yesterday I was importing Cd's normally and with no problems. Today I decided to import a Cd (brand new) and it seemed to be doing so without issues, seeing as the tracks were being imported and green

  • How can I get apps in English only?, How can I get apps in English only?

    I am having difficulty with the Apps, as they are mostly in mandarin,Cantonese,German or Korean. Is there any way I can get Apps in English only? Kindly explain. Thanks, Uzzihash1

  • On startup itunes library empty!! - help

    A friend called me just now he's a new Mac user on an inherited ibook G3, 10.3.9. He started up his ibook today and the itunes library is empty. Understandibly he is freaking out and learnig the lesson of reasons to have a good backup strategy. Howev

  • Oracle database 10g RAc an ASM configuration

    Hi all, I want to ask to everybody something about Oracle 10g RAC and ASm configuration. We plan to migrate to Oracle 10g from 9i, and we will begin configuring oracle but we have to decide which configuration are the best. Our materials are bellow:

  • BlackBerry Q10 shuts down automatically

    My BlackBerry Q10 shuts down automatically. I do not switch it of by myself, the device does by it self. Solved! Go to Solution.