The OnCommand API Services 1.0 is now GA.
To learn more OnCommand API Services, read http://community.netapp.com/t5/Technology/Too-Many-Management-Tools-Giving-You-A-Headache-OnCommand-API-Services-Might-Be/ba-p/103125 on the NetApp Technology blog. For more details on this GA release, read the product release notes on NetApp Support site.
Hi,
In previous versions i had no problems but with the new 11.1.1.1.0 version i can not get updates. If i go to Help -> Check for Updates and click next i get an error that JDev can not connect to the Internet. If i click cancel the details link shows the following error stack:
java.net.UnknownHostException: www.oracle.com
at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:177)
at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:366)
at java.net.Socket.connect(Socket.java:519)
at java.net.Socket.connect(Socket.java:469)
at sun.net.NetworkClient.doConnect(NetworkClient.java:163)
at sun.net.www.http.HttpClient.openServer(HttpClient.java:394)
at sun.net.www.http.HttpClient.openServer(HttpClient.java:529)
at sun.net.www.http.HttpClient.<init>(HttpClient.java:233)
at sun.net.www.http.HttpClient.New(HttpClient.java:306)
at sun.net.www.http.HttpClient.New(HttpClient.java:323)
at sun.net.www.protocol.http.HttpURLConnection.getNewHttpClient(HttpURLConnection.java:837)
at sun.net.www.protocol.http.HttpURLConnection.plainConnect(HttpURLConnection.java:778)
at sun.net.www.protocol.http.HttpURLConnection.connect(HttpURLConnection.java:703)
at sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1026)
at oracle.ideimpl.webupdate.CheckMasterListRunnable.run(CheckMasterListRunnable.java:147)
at java.lang.Thread.run(Thread.java:619)
All other internet traffic is no problem and the previous jdev release can connect without a problem. If i add www.oracle.com to my /etc/hosts file i does work but then i can not login to otn in the next steps. Any ideas?
Kind regards,
Andre Jochems
Similar Messages
-
I recently switched my application that uses EWS from an on-premise Exchange Server to Exchage Online through Office356.
The process worked just fine for several days, then I started getting the following errors;
Error accessing [USERNAME] email account.; ExchangeWebServices Inbox Error: Error, ErrorServerBusy, The server cannot service this request right now. Try again later. -->
This has been happening for the past 14 hours now.
I contacted my Office365 support team and they acted like they had never heard of the Exchange Web Services API, so no help there.
I can access the mailbox using the O365 web portal and I can access the mailbox account using the Outlook 2013 desktop client. The issue seems specific to EWS
My program is a Windows service, written in VB.Net. It connects to EWS, goes to the user account inbox, iterates through the inbox extracting attachments from messages, then moves the messages to a saved folder below the inbox.
I created the wrapper for EWS that I can reference in my project code using the following, run from an elevated VS2012 command prompt;
wsdl.exe /namespace:ExchangeWebServices /out:EWS.cs https://outlook.office365.com/ews/services.wsdl /username:[email protected] /password:p@ssw0rd
csc /out:EWS_E2K13_release /target:library EWS.cs
I bind to EWS in my class, using the following code;
Imports System.Net
Imports ExchangeWebServices
Public Class Exchange2013WebServiceClass
Private ExchangeBinding As New ExchangeServiceBinding
Public Sub New(ByVal userEmail As String, ByVal userPassword As String, ByVal URL As String)
ExchangeBinding.Credentials = New NetworkCredential(userEmail, userPassword)
ExchangeBinding.Url = URL
End Sub
The error that is logged gets triggered when my code makes a call to the following method;
Public Function GetInboxMessageIDs() As ArrayOfRealItemsType
Dim returnInboxMessageIds As ArrayOfRealItemsType = Nothing
Dim errMsg As String = String.Empty
'Create the request and specify the travesal type.
Dim FindItemRequest As FindItemType
FindItemRequest = New FindItemType
FindItemRequest.Traversal = ItemQueryTraversalType.Shallow
'Define which item properties are returned in the response.
Dim ItemProperties As ItemResponseShapeType
ItemProperties = New ItemResponseShapeType
ItemProperties.BaseShape = DefaultShapeNamesType.IdOnly
'Add properties shape to the request.
FindItemRequest.ItemShape = ItemProperties
'Identify which folders to search to find items.
Dim FolderIDArray(0) As DistinguishedFolderIdType
FolderIDArray(0) = New DistinguishedFolderIdType
FolderIDArray(0).Id = DistinguishedFolderIdNameType.inbox
'Add folders to the request.
FindItemRequest.ParentFolderIds = FolderIDArray
Try
'Send the request and get the response.
Dim FindItemResponse As FindItemResponseType
FindItemResponse = ExchangeBinding.FindItem(FindItemRequest)
'Get the response messages.
Dim ResponseMessage As ResponseMessageType()
ResponseMessage = FindItemResponse.ResponseMessages.Items
Dim FindItemResponseMessage As FindItemResponseMessageType
If ResponseMessage(0).ResponseClass = ResponseClassType.Success Then
FindItemResponseMessage = ResponseMessage(0)
returnInboxMessageIds = FindItemResponseMessage.RootFolder.Item
Else
'' Server error
Dim responseClassStr As String = [Enum].GetName(GetType(ExchangeWebServices.ResponseClassType), ResponseMessage(0).ResponseClass).ToString
Dim responseCodeStr As String = [Enum].GetName(GetType(ExchangeWebServices.ResponseCodeType), ResponseMessage(0).ResponseCode).ToString
Dim messageTextStr As String = ResponseMessage(0).MessageText.ToString
Dim thisErrMsg As String = String.Format("ExchangeWebServices Inbox Error: {0}, {1}, {2}", responseClassStr, responseCodeStr, messageTextStr)
errMsg = If(errMsg.Equals(String.Empty), String.Empty, errMsg & "; ") & thisErrMsg
End If
Catch ex As Exception
'errMsg = String.Join("; ", errMsg, ex.Message)
errMsg = If(errMsg.Equals(String.Empty), String.Empty, errMsg & "; ") & ex.Message
End Try
If Not errMsg.Equals(String.Empty) Then
returnInboxMessageIds = Nothing
Throw New System.Exception(errMsg)
End If
Return returnInboxMessageIds
End Function
Since the code worked just fine for several days and then suddenly stopped working with a server busy error, I have to think that this is some type of limit or throttling by EWS on the account. I process several thousand emails per day, in chunks of 300
at a time.
But I have no idea how to check for any limits exceeded. I am nowhere close to my O365 mailbox size limit. Right now, there are over 4,000 messages in my inbox, and growing.
Thanks in advance for any ideas you can offer.
DaveAll the API's EWS, MAPI, ActiveSync,Remote powershell are throttled on Office365 (based around what 1 particular user could resonably do). If you have had a read of this already i would recommend
http://msdn.microsoft.com/en-us/library/office/jj945066(v=exchg.150).aspx
You can't adjust or even find your current throttle usage so you have to try to design your code around living inside the default limits. If your using One Service Account to access multiple Mailboxes (or if that account is because used across multiple
applications) that can cause problems. In this case using EWS Impersonation is good solution as described in
http://blogs.msdn.com/b/exchangedev/archive/2012/04/19/more-throttling-changes-for-exchange-online.aspx (this basically means the Target Mailbox is charged instead of the Service Account).
Looking at the code one thing I notice missing is your don't appear to be paging the results of FindItems, also have versioned your requests to Exchagne2013. eg ". When the value of the
RequestServerVersion element indicates Exchange 2010 or an earlier version of Exchange, the server sends a failure response with error code
ErrorServerBusy. If the value of the RequestServerVersion
element indicates a version of Exchange starting with Exchange 2010 SP1
or Exchange Online, and the client is using paging, EWS may return a
partial result set instead of an error"
To Page FindItems Correctly you should use the IndexedPageViewType class and page the Items at no more the 1000 at a time eg something like
IndexedPageViewType indexedPageView = new IndexedPageViewType();
indexedPageView.BasePoint = IndexBasePointType.Beginning;
indexedPageView.Offset = 0;
indexedPageView.MaxEntriesReturned = 1000;
indexedPageView.MaxEntriesReturnedSpecified = true;
FindItemType findItemrequest = new FindItemType();
findItemrequest.Item = indexedPageView;
findItemrequest.ItemShape = new ItemResponseShapeType();
findItemrequest.ItemShape.BaseShape = DefaultShapeNamesType.IdOnly;
BasePathToElementType[] beAdditionproperties = new BasePathToElementType[3];
PathToUnindexedFieldType SubjectField = new PathToUnindexedFieldType();
SubjectField.FieldURI = UnindexedFieldURIType.itemSubject;
beAdditionproperties[0] = SubjectField;
PathToUnindexedFieldType RcvdTime = new PathToUnindexedFieldType();
RcvdTime.FieldURI = UnindexedFieldURIType.itemDateTimeReceived;
beAdditionproperties[1] = RcvdTime;
PathToUnindexedFieldType ReadStatus = new PathToUnindexedFieldType();
ReadStatus.FieldURI = UnindexedFieldURIType.messageIsRead;
beAdditionproperties[2] = ReadStatus;
findItemrequest.ItemShape.AdditionalProperties = beAdditionproperties;
DistinguishedFolderIdType[] faFolderIDArray = new DistinguishedFolderIdType[1];
faFolderIDArray[0] = new DistinguishedFolderIdType();
faFolderIDArray[0].Mailbox = new EmailAddressType();
faFolderIDArray[0].Mailbox.EmailAddress = "[email protected]";
faFolderIDArray[0].Id = DistinguishedFolderIdNameType.inbox;
bool moreAvailible = false;
findItemrequest.ParentFolderIds = faFolderIDArray;
int loopCount = 0;
do
FindItemResponseType frFindItemResponse = esb.FindItem(findItemrequest);
if (frFindItemResponse.ResponseMessages.Items[0].ResponseClass == ResponseClassType.Success)
foreach (FindItemResponseMessageType firmtMessage in frFindItemResponse.ResponseMessages.Items)
Console.WriteLine("Number of Items retreived : " + ((ArrayOfRealItemsType)firmtMessage.RootFolder.Item).Items.Length);
if (firmtMessage.RootFolder.IncludesLastItemInRange == false)
moreAvailible = true;
else
moreAvailible = false;
((IndexedPageViewType)findItemrequest.Item).Offset += ((ArrayOfRealItemsType)firmtMessage.RootFolder.Item).Items.Length;
Console.WriteLine("Offset : " + ((IndexedPageViewType)findItemrequest.Item).Offset);
if (firmtMessage.RootFolder.TotalItemsInView > 0)
foreach (ItemType miMailboxItem in ((ArrayOfRealItemsType)firmtMessage.RootFolder.Item).Items)
Console.WriteLine(miMailboxItem.Subject);
else
throw new Exception("error " + frFindItemResponse.ResponseMessages.Items[0].MessageText);
} while (moreAvailible);
The support people should be able to help you as long as you can get past the first level. The EWS Managed API has a RequestId header that gets submitted with requests
http://blogs.msdn.com/b/exchangedev/archive/2012/06/18/exchange-web-services-managed-api-1-2-1-now-released.aspx . In theory they should be able to take this and then from the Logs tell more information about why your request failed etc.
Cheers
Glen -
EWS The server cannot service this request right now. Try again later.
html,body{padding:0;margin:0;font-family:Verdana,Geneva,sans-serif;background:#fff;}html{font-size:100%}body{font-size:.75em;line-height:1.5;padding-top:1px;margin-top:-1px;}h1{font-size:2em;margin:.67em 0}h2{font-size:1.5em}h3{font-size:1.16em}h4{font-size:1em}h5{font-size:.83em}h6{font-size:.7em}p{margin:0
0 1em;padding:0 .2em}.t-marker{display:none;}.t-paste-container{;left:-10000px;width:1px;height:1px;overflow:hidden}ul,ol{padding-left:2.5em}a{color:#00a}code, pre{font-size:1.23em}
Hi,
I do have a problem that Exchange 2013 CU7 is giving mit a "The server cannot service this request right now. Try again later." when trying to access some accounts using EWS and impersonation.
I know there might be throttling involved and for that I did make an separate policy and assigned it to the users (EWS andthe mailbox - just in case...)
Here is what I got from the EWS logs:
.007Z,f973ffeb-b1fa-4946-a9b4-acb047ea1b37,15,0,1044,21,,NTLM,true,[email protected],domain,ExchangeServicesClient/0.0.0.0,Target=None;Req=Exchange2007_SP1/Exchange2007_SP1;,192.168.0.100,EWS15MB1,EWS15MB3.domain,FindItem,200,1041,,ErrorServerBusy,[email protected],,,cc91dc21f4c542acb64f196ec47ae727,c314fd38-a24e-4bcb-992e-e009c7adcb4e,PrimaryServer,LocalTask,0,1,0,1,0,0,1,0,0,,,,,,,,,0
Max,0 Max,,,,EWS_BO,0.1067,[C],0,0,10,390,,,5,0,,6,15,695,713,,,BackEndAuthenticator=WindowsAuthenticator;TotalBERehydrationModuleLatency=0;AuthzFlags=AuthzSkipTokenGroups;FindItemQueryFilter=(True);AQS=False;MailboxTypeCacheSize=2039;S:WLM.Cl=InternalMaintenance;S:ServiceTaskMetadata.ADCount=0;S:WLM.Type=Ews;S:FCI.MBXT=Primary;S:ServiceTaskMetadata.ADLatency=0;S:WLM.Int=True;S:FCI.QS=;S:ServiceTaskMetadata.RpcCount=10;S:ServiceTaskMetadata.RpcLatency=420;S:WLM.SvcA=False;S:FCI.VF=All;S:ServiceTaskMetadata.WatsonReportCount=0;S:ServiceTaskMetadata.ServiceCommandBegin=16;S:ServiceTaskMetadata.ServiceCommandEnd=711;S:ActivityStandardMetadata.Component=Ews;S:WLM.BT=Ews;S:BudgetMetadata.MaxConn=Unlimited;S:BudgetMetadata.MaxBurst=Unlimited;S:BudgetMetadata.BeginBalance=$null;S:BudgetMetadata.Cutoff=Unlimited;S:BudgetMetadata.RechargeRate=Unlimited;S:BudgetMetadata.IsServiceAct=False;S:BudgetMetadata.LiveTime=00:00:00.2343945;S:BudgetMetadata.EndBalance=$null;S:FCI.CVT=689;S:FCI.CSIT=70;S:FCI.CSIC=0;S:FCI.CSIQ=2;S:FCI.CSISTC=2;S:FCI.CSIG=54;S:FCI.CRIT=613;S:FCI.CRIC=340;S:FCI.CRIQ=2;S:FCI.CRIG=381;S:FCI.CRIET=0;S:FCI.CRINI=160;S:FCI.CRIMBT=0;S:FCI.CRIMET=7;S:FCI.CRIMP=0;S:FCI.CRIMAR=37;S:FCI.CVU=False;Dbl:WLM.TS=713;Dbl:BudgUse.T[]=715.151611328125;I32:ADR.C[dc1]=1;F:ADR.AL[dc1]=3.1106;Dbl:CCpu.T[CMD]=312.5;I32:RPC.C[EWS15mb1.fb00df0b-8bdd-4dee-81a3-1696ea8bd747]=10;Dbl:RPC.T[EWS15mb1.fb00df0b-8bdd-4dee-81a3-1696ea8bd747]=420;I32:ROP.C[EWS15mb1.fb00df0b-8bdd-4dee-81a3-1696ea8bd747]=80768493;I32:MAPI.C[EWS15mb1.fb00df0b-8bdd-4dee-81a3-1696ea8bd747]=23;Dbl:MAPI.T[EWS15mb1.fb00df0b-8bdd-4dee-81a3-1696ea8bd747]=420;I32:MB.C[EWS15mb1.fb00df0b-8bdd-4dee-81a3-1696ea8bd747]=10;F:MB.AL[EWS15mb1.fb00df0b-8bdd-4dee-81a3-1696ea8bd747]=42;Dbl:ST.T[EWS15mb1.fb00df0b-8bdd-4dee-81a3-1696ea8bd747]=59;I32:ATE.C[dc1.domain-]=1;F:ATE.AL[dc1.domain-]=0;Dbl:STCPU.T[EWS15mb1.fb00df0b-8bdd-4dee-81a3-1696ea8bd747]=46,,ExceptionHandler_Execute=Microsoft.Exchange.Services.Core.Types.ServerBusyException:
The server cannot service this request right now. Try again later. at Microsoft.Exchange.Services.Core.Search.NormalQueryView.ThrowIfFindCountLimitExceeded(UInt32 viewLength) at Microsoft.Exchange.Services.Core.Search.NormalQueryView.RetrieveCalendarViewData(Object[][]
view Int32 rowsToGet) at Microsoft.Exchange.Services.Core.Search.CalendarPageView.ApplyPostQueryPaging(Object[][] view) at Microsoft.Exchange.Services.Core.Search.NoGrouping.IssueQuery(QueryFilter query Folder
folder SortBy[] sortBy BasePagingType paging ItemQueryTraversal traversal PropertyDefinition[] propsToFetch RequestDetailsLogger logger) at Microsoft.Exchange.Services.Core.FindItem.FindItemsInParent(IdAndSession
folderIdAndSession) at Microsoft.Exchange.Services.Core.FindItem.Execute() at Microsoft.Exchange.Services.Core.ExceptionHandler`1.Execute(CreateServiceResult createServiceResult Int32 index GenerateMessageXmlForServiceError
generateErrorXml);,
And here is the throttling policy I'm using for those users.
ThrottlingPolicyScope : Regular
IsServiceAccount : False
AnonymousMaxConcurrency : 1
AnonymousMaxBurst : 120000
AnonymousRechargeRate :420000
AnonymousCutoffBalance : 720000
EasMaxConcurrency : 10
EasMaxBurst : 480000
EasRechargeRate : 1800000
EasCutoffBalance : 600000
EasMaxDevices : 100
EasMaxDeviceDeletesPerMonth : Unlimited
EasMaxInactivityForDeviceCleanup : Unlimited
EwsMaxConcurrency : Unlimited
EwsMaxBurst : Unlimited
EwsRechargeRate : Unlimited
EwsCutoffBalance : Unlimited
EwsMaxSubscriptions : Unlimited
ImapMaxConcurrency : Unlimited
ImapMaxBurst : 3600000
ImapRechargeRate : 600000
ImapCutoffBalance : Unlimited
OutlookServiceMaxConcurrency : 27
OutlookServiceMaxBurst : 300000
OutlookServiceRechargeRate : 900000
OutlookServiceCutoffBalance : 3000000
OutlookServiceMaxSubscriptions : 5000
OutlookServiceMaxSocketConnectionsPerDevice : 4
OutlookServiceMaxSocketConnectionsPerUser : 12
OwaMaxConcurrency : 20
OwaMaxBurst : 480000
OwaRechargeRate : 1800000
OwaCutoffBalance : Unlimited
OwaVoiceMaxConcurrency : 3
OwaVoiceMaxBurst : 75000
OwaVoiceRechargeRate : 375000
OwaVoiceCutoffBalance : 525000
PopMaxConcurrency : 20
PopMaxBurst : 3600000
PopRechargeRate : 600000
PopCutoffBalance : Unlimited
PowerShellMaxConcurrency : 18
PowerShellMaxBurst : Unlimited
PowerShellRechargeRate : Unlimited
PowerShellCutoffBalance : Unlimited
PowerShellMaxTenantConcurrency :
PowerShellMaxOperations : Unlimited
PowerShellMaxCmdletsTimePeriod : Unlimited
ExchangeMaxCmdlets : Unlimited
PowerShellMaxCmdletQueueDepth : Unlimited
PowerShellMaxDestructiveCmdlets : Unlimited
PowerShellMaxDestructiveCmdletsTimePeriod : Unlimited
PowerShellMaxCmdlets : Unlimited
PowerShellMaxRunspaces : Unlimited
PowerShellMaxTenantRunspaces :
PowerShellMaxRunspacesTimePeriod : Unlimited
PswsMaxConcurrency : 18
PswsMaxRequest : Unlimited
PswsMaxRequestTimePeriod : Unlimited
RcaMaxConcurrency : Unlimited
RcaMaxBurst : 150000
RcaRechargeRate : 900000
RcaCutoffBalance : Unlimited
CpaMaxConcurrency : Unlimited
CpaMaxBurst : Unlimited
CpaRechargeRate : Unlimited
CpaCutoffBalance : Unlimited
MessageRateLimit : Unlimited
RecipientRateLimit : Unlimited
ForwardeeLimit : Unlimited
DiscoveryMaxConcurrency : 15
DiscoveryMaxMailboxes : 20000
DiscoveryMaxKeywords :2000
DiscoveryMaxPreviewSearchMailboxes : 5000
DiscoveryMaxStatsSearchMailboxes : 1000
DiscoveryPreviewSearchResultsPageSize : 2000
DiscoveryMaxKeywordsPerPage : 500
DiscoveryMaxRefinerResults : 500
DiscoveryMaxSearchQueueDepth : 128
DiscoverySearchTimeoutPeriod : 30
PushNotificationMaxConcurrency : 20
PushNotificationMaxBurst : Unlimited
PushNotificationRechargeRate : Unlimited
PushNotificationCutoffBalance : Unlimited
PushNotificationMaxBurstPerDevice : 10
PushNotificationRechargeRatePerDevice : 6
PushNotificationSamplingPeriodPerDevice : 600000
EncryptionSenderMaxConcurrency : 200
EncryptionSenderMaxBurst : 4800000
EncryptionSenderRechargeRate : 18000000
EncryptionSenderCutoffBalance : Unlimited
EncryptionRecipientMaxConcurrency : 20
EncryptionRecipientMaxBurst : 480000
EncryptionRecipientRechargeRate : 1800000
EncryptionRecipientCutoffBalance : Unlimited
ComplianceMaxExpansionDGRecipients : 10000
ComplianceMaxExpansionNestedDGs : 25
IsLegacyDefault : False
Diagnostics :
Do you have an idea how to get rid of this?
Thank you.
Regards
CarstenHi,
This issue occurs because the EWS monitoring detects that the limit for the requests that are from a Client Access server to a Mailbox server was reached. Therefore, the Client Access server returns an ErrorServerBusy response code to all EWS requests to
the Mailbox server.
To work around this issue, make the following changes in the Web.config file on the Client Access server, The Web.Config file is located in the following path: Drive\Program Files\Microsoft\Exchange Server\V15\ClientAccess\exchweb\ews
1. Find the following code in the Web.config file:
<add key="MbxServerEnableConcurrencyControl" value="true" />
Change the MbxServerEnableConcurrencyControl value from true to
false.
2. Add the following line of code into the Web.config file:
<add key="DefaultFindCountLimit" value="2000" />
<add key="MdbFairUnhealthyLatencyThreshold" value="500" />
3. Reset IIS to check this issue.
If this issue persists, I suggest to create a new throttling policy with unlimited settings and applying the policy to those users.
New-ThrottlingPolicy EWSRCAunlimited
Get-ThrottlingPolicy EWSRCAunlimited | Set-ThrottlingPolicy -EWSPercentTimeInAD:$null -EWSFindCountLimit:$null -EWSPercentTimeInMailboxRPC:$null -EWSMaxConcurrency:$null -EWSFastSearchTimeoutInSeconds:$null -EWSMaxSubscriptions:$null -EWSPercentTimeInCAS:$null
-RCAPercentTimeInCAS:$null -RCAPercentTimeInMailboxRPC:$null -RCAMaxConcurrency:$null -RCAPercentTimeInAD:$null
Set-Mailbox username -ThrottlingPolicy EWSRCAunlimited
Best Regards. -
How to send a encrypted packet to the REST API Service using Fiddler or Post Man
Hi,
I am trying to send encrypted (AES) JSON packet to the REST API on the Azure cloud using tools like Fiddler.
I am trying to use POST method and attaching the encrypted .aes file to the Fiddler tool.
I am getting the 3 types of error messages.
1) HTTP/1.1 502 Fiddler - DNS Lookup Failed
2) HTTP/1.1 500 Internal Server Error
3) HTTP/1.1 407 Proxy Authentication Required
I have tried with my company network and tried with external internet connection also.
Please help me.
Thank you!
Regards,
KrishnaHi,
you can create a simple rest api on the Azure cloud, and then try to use fiddler to do some test, so that we can exclude the environment issue.
Regards -
How to retrieve all the tasks for a UserView with the worklist api 10.1.3.1
Hi,
I have defined a custom view for user jcooper. The view just displays all the current uncompleted tasks for jcooper.
I want to use the worklist api to retrieve all the tasks in the view. I first tried it with the following function call:
taskQueryService.queryViewTasks(workflowContext,viewName, null, null, 0, 0);
assuming that the viewId in the corresponding java-doc corresponds to the name of the view..However this doesn't work and the method returns a null reference. So viewId is something different than a viewName. Because I cannot find the corresponding viewId for my view (not looked in the db yet, but I don't want to use these ids in my app), I tried the method:
client.getUserMetadataService().getUserTaskViewList(workflowContext, Partcipant participant);
However I did not find a method to retrieve a Partipant instance for jcooper in the worklflow api documentation.
My question now is if someone can help me out to retrieve all the tasks for a specific view. I should be possible I think...
Thanks!
Kind regards,
-TomThe second argument (Participant) was added to handle the use case where one user such as an admin or manager needs to retrieve user metadata of another user (offcourse with the required security checks). We will try to do a future enhancement such that if the pariticipant is passed as null then we will assume the metadata is to be retrieved for the workflow context user.
For now you can define a simple method to create a participant from a workflow context as follows and pass this as an argument to the UserMetadataService call:
private Participant createParticipant(workflowContext)
Participant participant = new oracle.bpel.services.workflow.common.model.ObjectFactory().createParticipant();
participant.setName(workflowContext.getUser();
participant.setRealm("jazn.com");
participant.setType("USER");
return participant;
// code to retrieve task list...
UserViewList views = client.getUserMetadataService().getUserTaskViewList(
workflowContext, createParticipant(workflowContext))
... -
I want to use an old 3 GS iPhone that is no longer in service as a phone now as just an iPod to play music. When I connect the phone to the computer with iTunes running, iTunes says it can't connect to the device because it didn't get a valid response from the device. How can I get the system to recognize the phone, and let me rename it as my iPod, instead of my phone?
As an aside, the current installed operating system on this old iPhone is 4.2.1, but that wasn't one of the selectable options in the operating system list dropdown below. Don't know if that makes any difference.Hi maddogdne,
Welcome to the Support Communities!
The article below may be able to help you with this.
Click on the link to see more details and screenshots.
Using an iPhone without a wireless service plan
http://support.apple.com/kb/ht3406
Cheers,
- Judy -
Welcome to the Azure App Service API Apps Preview Forum!
Welcome to the forum! This forum is for support of our customers who are using API Apps. Feel free to post any questions you have related to API Apps.
The Azure App Service API Apps Team
Jim Cheshire | MicrosoftHey Mikael!
I actually was struggling through pretty much the same things at the same time that you were.
The EventTriggered extension is actually in the Microsoft.Azure.AppService.ApiApps.Service namespace, so without a using directive for that it will not be happy.
I created a library to help with the metadata generation required for Triggers, and did a write-up on exactly what it takes to create both a polling and push trigger (with a few more samples) here: https://github.com/nihaue/TRex#building-a-polling-trigger-api-app
Hopefully having that combined with
the official docs, and also
Sameer's sample can get you on the right track.
Hope that helps! -
After 04 months of purchase of iphone 5 the lock button is too hard. At times its not working at all. The phone has been purchased in USA now I'm not getting service in India. After all whats the point in spending so much amount without any service.
The warranty says that Apple may restrict service of an iPhone to the country of sale, and any reliable salesperson will tell you that if you tell them that you plan to use the iPhone in another country. Such service restrictions are common with cellphones and are by no means limited to Apple's phones.
Sorry, but if your iPhone requires service, you will need to send it to someone you know in the US who can get it serviced and then send it back to you.
Regards. -
I have been listening to iturnes radion on my computer for months. now i get an error.
"an error occurred while contacting the radio tuning service. Check your internet connection, or try again later".
I have reset the cache but nothing seems to help. Any help???
55AnnieSomebody suggested clearing the Store cache. I don't know why that would affect the radio. Seems to have not worked for some, worked for a few or maybe they imagined it. Many other posts about this if you browse the forum.
This is happening to some people some of the time in some places, but then not affecting people in other places, or in the same place at different times. You try to guess what is going on. Hasn't happened to me. Maybe it's my iTunes 7.5, or maybe it's luck of the draw since I never use iTunes radio.
Complain to Apple:
http://www.apple.com/feedback/itunesapp.html
Oh, don't expect Apple to say anything about this -- that's not their style. -
Using the UWL API inside a Web Service
I wrote a Web Service to get the number of new tasks and the total number of tasks for a user like it is displayed in the UWL in the DefaultView.
The numbers are retrieved by the following code:
user = com.sap.security.api.UMFactory.getAuthenticator().getLoggedInUser();
// JNDI lookup for getting the service because we are not in the PRT container
Hashtable env = new Hashtable();
env.put(Context.INITIAL_CONTEXT_FACTORY, "com.sapportals.portal.prt.registry.PortalRegistryFactory");
InitialContext initialContext = new InitialContext(env);
uwlService = (IUWLService) initialContext.lookup("/broker/services/" + IUWLService.ALIAS_KEY);
if (uwlService == null) {
throw new Exception("Cannot get UWL Service");
context = new UWLContext();
if (user == null) {
throw new Exception("No user");
context.setUser(user);
context.setLocale(user.getLocale());
session = uwlService.beginSession(context, 200);
context.setSession(session);
context.setAllowBackEndConnections(true);
itemManager = uwlService.getItemManager(context);
UWLView view = uwlService.getViewManager(context).getView("DefaultView", context);
if (view != null) {
QueryProperties properties = new QueryProperties();
properties.setMaxNumberOfItemsToFetch(0);
QueryResult result = itemManager.getItemsForView(context, view, properties, null);
totals = itemManager.getTotalAndEmphasizedItemCountForView(context, view, "", null);
In the first step I chose basic authentication. When debugging I see that the web service gets the information about the logged on user. The UWLService, item manager, session and view, all of them are determined resp. created.
But when calling getItems the UWL exception "Logged in users context or session doesn't exist" is thrown.
When calling the same functionality from Web Dynpro everything works fine.
Service and session are determined like this
uwlService = (IUWLService) WDPortalUtils.getServiceReference(IUWLService.ALIAS_KEY);
context = new UWLContext();
IUser user = WDClientUser.getLoggedInClientUser().getSAPUser();
wdContext.currentUIStateElement().setUserName(user.getFirstName() + " " + user.getLastName());
context.setUser(user);
context.setLocale(WDResourceHandler.getCurrentSessionLocale());
session = uwlService.getUwlSessionForWebDynproClient(context);
Does anyone know how to work with the UWL API in a web service context?
Thanks in advance
AntjeHi Experts,
We are also facing the same issue as of Yomesh.
The strange part here is that, yesterday, the code was fetching the User and we were able to run the whole web service.
Suddenly, this doesnt seems to be working today. And after debugging, we found that, the User is not being returned with the below code:
user = UMFactory.getAuthenticator().getLoggedInUser(wsContext.getHttpServletRequest(), null);
Any help is highly appreciated.
Thanks in Advance!!
BR,
Uday -
Addon has failed to connect to the DI API. Service Not found
Hi
I've upgraded database B1 8.8 SP0 PL11 to B1 8.8 SP0 PL15.
Addon was complied on B1 8.8. SP0 PL11 envrionment.
I've error message when I started addon.
Addon_Name addon has failed to connect to the DI API.
Error Details:
Service not found.
DI API was uninstalled and re installed.
And I deleted SM_OBS_DLL directory.
But I can not resolve this issue.
Please help me,
JoanneHi Joanne,
I had exactly the same problem with patch 15 after an upgrade from 8.8 patch 13. The SBO client didn't automatically update so I had to use Add/Remove programs to remove the old client and DI API and then the new client install failed from the B1_SHR folder with a 1158 error (no description).
What I did to correct it was install the DI API from the <servername>\B1_SHR\B1DIAPI folder and then run the client install afterwards. This time the client install worked fine and I can run addons that use the DI API. I think there was some registry entry issues, maybe with the upgrader or the client installer.
Kind Regards,
Owen -
I phone 4 32 gb has been showing NO SERVICE since a day now and I'm out of town changed the sim, restored power, but no change in status!
Sometimes putting it in Airplane mode for 30 seconds, then turning Airplane mode off again will fix this. If not, try Settings>General>Reset>Reset Network Settings.
-
My Services are from 3 Network UK, what should i do to get my phone number corrected in iTunes as it is displaying still the old number I was given at the time of purchase wheras it is now changed on my request
Try Settings > General > Reset > Reset Network Settings on your device.
Note you may have to re-enter stored Wi-Fi passwords after using this feature.
tt2 -
How to create activity workflow based on the Web API 2 services
Hi,
We have Web API 2 services and we want create activity workflow based on the Web API 2 services.
Web API 2 services provide some application operations and based on this operations we would like to create custom activity workflow.
Question:
Is that possible?
Could you please give best practices to create activity workflow based on the Web API 2 services ?
Thanks for your support.HI Max_P,
Welcome to workflow forum.
ASP.NET Web API is a framework that makes it easy to build HTTP services that reach a broad range of clients, including browsers and mobile devices. ASP.NET Web API is an ideal platform for building RESTful applications on the .NET Framework.
I researched relevant topic about creating workflow application using Web API 2, I just found these resources about it.
Learn About ASP.NET Web API
Hope it helps.
Best regards,
Angie
We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
Click
HERE to participate the survey. -
There has been no signal in Springdale, UT for hours today. there is no way to contact Verizon (Calling or Web Chat). Service has been deteriorating for the past two years in the area. Worse fact is no one at the company seems to care. Right now the immediate issue is no service. I cannot do business this way.
You used the data. Verizon can not see what it was sued for. However your phone can see whats apps used the data. go to settings-data usage- there will be a place that says data usage cycle. line the dates up with your cycle. then there will be a bar graph below that extend bother white bars one all the way to the left and one all the way to the right. after those are extended below that will be a list of apps, there should be one that used over 2 gb and that will show you what app used that data in her purse
Maybe you are looking for
-
How to verify that standby and primary are working correctly or not
Hi, Oracle Version : 10.2.0.1.0 OperatingSystem : WindowsXp I have configured a stand by database on my local database.Here i would like to know weather by stand by is configured correctly and working fine are not. Please help me. Thank & Regards Poo
-
In this case, can I modify swing GUI out of swing thread?
I know the Swing single thread rule and design (Swing is not thread safe). For time-consuming task, we are using other thread to do the task and we use SwingUtilities.invokeAndWait() or SwingUtilities.invokeLater (or SwingWorker) to update Swing GUI.
-
What (and where) is .dat0283.000 in Snow Leopard?
My MacBook Pro (5,1--late 2008; 15") running Snow Leopard (OS X 10.6.8) has been very slow lately so I ran a program called EtreCheck. What it reports (among other things) is that .dat0283.000 and .dat03c4.000 are invalid. I used Spotlight to search
-
Hi Experts I'm reading SSIS book to learn SSIS. My background is also programming but never work with VB and C. In SSIS book there is a topic of Script Task and in this topic the author uses Script Task and use VB but it is so confusing but if somebo
-
Modify the standard settings of PPP daemon?
Hi, I like to connect a USB device via AT commands and PPP. The PPP daemon has predefined standard options. Is there any possibility to change those standard settings?