Error in ejbCreate using a Test Web Service
Hi,
I'm new to the Bea and j2ee worlds and I'm following the steps of "Getting Started: Enterprise JavaBeans" in "Tutorials".
I've done "Step 4: Test the EJBs" but during the test (with a Test Web Service) these exceptions raised:
Exception in hello
javax.transaction.TransactionRolledbackException: Error in ejbCreate:: javax.ejb.EJBException: nested exception is: javax.naming.NameNotFoundException: While trying to look up comp/env/ejb/MyVisitBean in /app/ejb/MyEJBProject.jar#Hello.; remaining name 'comp/env/ejb/MyVisitBean'
javax.naming.NameNotFoundException: While trying to look up comp/env/ejb/MyVisitBean in /app/ejb/MyEJBProject.jar#Hello.; remaining name 'comp/env/ejb/MyVisitBean'
javax.ejb.EJBException: nested exception is: javax.naming.NameNotFoundException: While trying to look up comp/env/ejb/MyVisitBean in /app/ejb/MyEJBProject.jar#Hello.; remaining name 'comp/env/ejb/MyVisitBean'
; nested exception is:
javax.ejb.EJBException: nested exception is: javax.naming.NameNotFoundException: While trying to look up comp/env/ejb/MyVisitBean in /app/ejb/MyEJBProject.jar#Hello.; remaining name 'comp/env/ejb/MyVisitBean'
Caused by: javax.ejb.EJBException: nested exception is: javax.naming.NameNotFoundException: While trying to look up comp/env/ejb/MyVisitBean in /app/ejb/MyEJBProject.jar#Hello.; remaining name 'comp/env/ejb/MyVisitBean'
... 46 more
at weblogic.jndi.internal.BasicNamingNode.newNameNotFoundException(BasicNamingNode.java:897)
at weblogic.jndi.internal.ApplicationNamingNode.lookup(ApplicationNamingNode.java:150)
at weblogic.jndi.internal.WLEventContextImpl.lookup(WLEventContextImpl.java:256)
at weblogic.jndi.internal.WLContextImpl.lookup(WLContextImpl.java:359)
at weblogic.jndi.factories.java.ReadOnlyContextWrapper.lookup(ReadOnlyContextWrapper.java:45)
at weblogic.jndi.internal.AbstractURLContext.lookup(AbstractURLContext.java:130)
at javax.naming.InitialContext.lookup(InitialContext.java:347)
at hello.HelloBean.ejbCreate(HelloBean.java:27)
at hello.Hello_oztp1s_Impl.ejbCreate(Hello_oztp1s_Impl.java:135)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:324)
at weblogic.ejb20.pool.StatelessSessionPool.createBean(StatelessSessionPool.java:172)
at weblogic.ejb20.pool.StatelessSessionPool.getBean(StatelessSessionPool.java:110)
at weblogic.ejb20.manager.StatelessManager.preInvoke(StatelessManager.java:140)
at weblogic.ejb20.internal.BaseEJBObject.preInvoke(BaseEJBObject.java:137)
at weblogic.ejb20.internal.StatelessEJBObject.preInvoke(StatelessEJBObject.java:69)
at hello.Hello_oztp1s_EOImpl.hello(Hello_oztp1s_EOImpl.java:29)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:324)
at com.bea.wlw.runtime.core.control.EJBControlImpl.invoke(EJBControlImpl.jcs:665)
at com.bea.wlw.runtime.core.dispatcher.DispMethod.invoke(DispMethod.java:377)
at com.bea.wlw.runtime.core.container.Invocable.invoke(Invocable.java:423)
at com.bea.wlw.runtime.core.container.Invocable.invoke(Invocable.java:396)
at com.bea.wlw.runtime.jcs.container.JcsProxy.invoke(JcsProxy.java:388)
at helloControl.helloBeanCtrl.hello(helloBeanCtrl.ctrl)
at helloControl.helloBeanCtrlTest.hello(helloBeanCtrlTest.jws:22)
Everything has gone well until Step 3. I've done everything tutorial has said (ejb-local-ref, etc..) but it doesn't work.
Probably it's a stupid error, but I don't know where I have to look for.
Thank you and sorry, but I've never seen Bea Workshop!
m
Hi
You can use a java web service to publish a Web service from a Java class.
A wizard creates the WSDL document and deployment files needed to publish your code as a Web service. After you select the class and methods you want to publish, the wizard generates deployment descriptors, a JAX-RPC mapping file, and a WSDL document that can be deployed to an application server.
You can refer : \bpel\samples\tutorials\102.InvokingProcesses\ws sample to invoke a WS using JAX-RPC Call.
Hope that helps!
Cheers
A
Similar Messages
-
Hi.
Could you please help me to resolve this issue.
I have SCOM 2012 installed to monitor environment with Exchnage 2010 SP3. There are 2 sites with Exchnage servers within the organization. There are 2 mailboxes being created to test both sites.
I am getting following alert:
Alert: WebServices connectivity (Internal) transaction failure - The credentials can't be used to test Web Services.
description: The test mailbox was not initialized. Run new-TestCasConnectivityUser.ps1 to ensure that the test mailbox is created.
Detailed information:
[Microsoft.Exchange.Monitoring.CasHealthUserNotFoundException]: The user wasn't found in Active Directory. UserPrincipalName: extest*****@****.local. Additional error information: [System.Security.SecurityException]:
Logon failure: unknown user name or bad password.
Diagnostic command: "Test-WebServicesConnectivity -MonitoringContext:$true -TrustAnySSLCertificate:$true -LightMode:$true"
EventSourceName: MSExchange Monitoring WebServicesConnectivity Internal
I have tried the next steps:
1. Verified that mailbox is exist and it's not locked (same for the second mailbox)
2. Deleted those mailboxes and created a new using new-TestCasConnectivityUser.ps1 verified that this mailbox is visible on all DC's accross the forest (both mailboxes)
and that temporary password was accepted;
3. Cleared the cache on the SCOM 2012;
4. Still getting the same alert
I will really appriciate any help.
Thanks.Hi,
Hope these posts help you:
http://thoughtsonopsmgr.blogspot.ca/2013/11/exchange-server-2010-mp-no-synthetic.html
https://social.technet.microsoft.com/Forums/systemcenter/en-US/437f2bbb-cd96-40c3-8c56-6d4d176a9520/exchange-2010-mp-constantly-throws-webservices-connectivity-internal-transaction-failure?forum=operationsmanagermgmtpacks
Natalya
### If my post helped you, please take a moment to Vote as Helpful and\or Mark as an Answer -
Error while executing Test Web Service
Hi,
I get an error while trying to test the web service deployed on Weblogic 10.3.1 through jdeveloper 11.1.1.1.0.
This simple web service is created by following the example in http://www.oracle.com/technology/products/jdev/11/cuecards111/j2ee_set_16/ccset16_ALL.html
After deploying the web service, the Test Web service Event in the Enterpise manager results in error. The error is as follows : -
The selected operation processRating could not be invoked.
An exception occured while invoking the webservice operation. Please see logs for more details.
oracle.sysman.emSDK.webservices.wsdlapi.SoapTestException: oracle.fabric.common.PolicyEnforcementException
+ java.lang.Exception: oracle.sysman.emSDK.webservices.wsdlapi.SoapTestException: oracle.fabric.common.PolicyEnforcementException at oracle.sysman.emas.model.wsmgt.WSTestModel.invokeOperation(WSTestModel.java:570) at oracle.sysman.emas.view.wsmgt.WSView.invokeOperation(WSView.java:381) at oracle.sysman.emas.view.wsmgt.WSView.invokeOperation(WSView.java:298) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at com.sun.el.parser.AstValue.invoke(AstValue.java:157) at com.sun.el.MethodExpressionImpl.invoke(MethodExpressionImpl.java:283) at org.apache.myfaces.trinidadinternal.taglib.util.MethodExpressionMethodBinding.invoke(MethodExpressionMethodBinding.java:53) at org.apache.myfaces.trinidad.component.UIXComponentBase.broadcastToMethodBinding(UIXComponentBase.java:1245) at org.apache.myfaces.trinidad.component.UIXCommand.broadcast(UIXCommand.java:183) at oracle.adf.view.rich.component.fragment.ContextSwitchingComponent$1.run+…………………………..
Has anyone encountered this error ?
Thanks.HI,
RFc is not called becuase:
1. we tried RFC debuggin with proper user. it never stopped at break point.
2. TCODE: sxmb_moni in PI did not show any entry for incoming messages.
The import bindings are proper. We tried using .execute(1) , nothing happened.
We are able execute freely avaliable Web service but not the one exposed from PI.
Hence we feel their is problem between PDF and PI itself.
The user we put in the pop up is SERVICE USER. The PI consultant uses the same user and is able to execute but from PDF we are not able to execute.
We also tried with a DIALOG USER with same roles and authhorizations as the SERVICE USER. BUt still it did not execute.
Thanks and Regards,
Aditya Deshpande
Edited by: Aditya Deshpande on Nov 16, 2009 1:00 PM -
503 Service not available error while testing web service in SOAMANAGER
Hi guys,
We have created a web service in ABAP and want to test it in soamanager.
When trying to test it using the "Open Web Service navigator for selected binding" link in web service administration page we get the error page--
503 Service not available
Error: -6
Version: 7000
Component: J2EE Server
Date/Time: Thu Jul 30 10:40:50 2009
Module: http_j2ee.c
Line: 820
Server: cmphr_HRC_10
Error Tag:
Detail: Cannot reach external Application Server on localhost:51000
we have enabled the wsdl service in SICF and also the APP SOA MANAGER service.
Can anyone please help.
Thanks in advance.
Regards
PrinceHi,
Detail: Cannot reach external Application Server on localhost:51000
51000 is the port when the j2ee engine runs. As you dont have java stack am afraid this would not work.
Regards,
Vamshi. -
Error on page when trying to test web service in EM
Hi,
I've developed a couple of web services in JDeveloper and tested them through Enterprise Manager. But the latest service won't work as expected. When I press "Test Web Service" for this particular port I get the message "Error on page" and
"Line: 94
Char: 1
Error: Object expected
Code: 0"
For the other web services the possible input parameters are shown as an HTML form and you can also choose to use an XML source. But this won't work in this case. No input parameters are shown and you can't choose XML source.
My question is of course the reason for this behaviour. And secondly; are the possible input parameters retrieved from the xsd file or from somewhere else? Could there be an error in it causing the problem? I'd be happy to provide some code, although right now I'm not sure which code snippet is appropriate.
Thanks in advance!
KerstinUpdate:
Now I see that there are in fact two error messages. The second one is the one presented above. But the first one says:
Line: 145
Char: 97
Error: Expected ';'
Code: 0
My question now is to what file it is referring?? Is it to ProjectAccountingPort.js that is automatically created? THen why is it not properly created??
Please, please help me with this! The deadline is in a few days... -
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 -
How to copy List item from one list to another using SPD workflow using HTTP call web service
Hi,
How to copy List item from one list to another using SPD workflow using HTTP call web service.
Both the Lists are in different Web applications.
Regards, Shreyas R SHi Shreyas,
From your post, it seems that you are using SharePoint 2013 workflow platform in SPD.
If that is the case, we can use Call HTTP web service action to get the item data, but we cannot use Call HTTP web service to create a new item in the list in another web application with these data.
As my test, we would get Unauthorized error when using Call HTTP web service action to create a new item in a list in another web application.
So I recommend to achieve this goal programmatically.
More references:
https://msdn.microsoft.com/en-us/library/office/jj164022.aspx
https://msdn.microsoft.com/en-us/library/office/dn292552.aspx?f=255&MSPPError=-2147217396
Thanks,
Victoria
TechNet Community Support
Please remember to mark the replies as answers if they help, and unmark the answers if they provide no help. If you have feedback for TechNet Support, contact
[email protected] -
Is it possible to test Web Service operation from Browser
Hi,
I'm new with Web Logic and Web Service.
Weblogic version: 10.3.5
SOAP Web Service with RPC/Literal message format
Created a Web Service and deployed that onto Web Logic.
Also managed to get the WSDL page. However, when i tried to invoke one of the method from a web browser, it gives me a 404 Error. Not found.
WSDL URL
http://localhost:7778/self_service-self_service-context-root/self_servicePort?WSDL
Method:
<WL5G3N0:operation name="trivialProc">
<WL5G3N3:operation soapAction="http://package/Self_service.wsdl/trivialProc"/>
<WL5G3N0:input>
<WL5G3N3:body use="literal" parts="String_1 Integer_2 String_3" namespace="http://package/Self_service.wsdl"/>
</WL5G3N0:input>
<WL5G3N0:output>
<WL5G3N3:body use="literal" namespace="http://package/Self_service.wsdl"/>
</WL5G3N0:output>
</WL5G3N0:operation>
Is it possible to test Web Service method through browser?
I used Web Service on OC4J previously, and I was able to test the method directly from a web browser.
Thanks
Regards,
Andiyou can test web service using testclient option in weblogic
for more information please check below link
http://docs.oracle.com/cd/E23943_01/apirefs.1111/e13952/taskhelp/webservices/TestAWebService.html
http://docs.oracle.com/cd/E13224_01/wlw/docs100/guide/webservices/WSTutorial/tutWebSvcStep4.html
Regards,
Sunil P -
HTTP 404 on ESB Test Web Service
Hi,
I cannot test my ESB service anymore cause, when i click on Test Web Service page of my Enterprise Manager, I receive an HTTP 404 error.
I can't see any error log which colud help my understand the reason for this.
Hoping it can help: this situation started few days ago, while i was trying to create an AQ JMS queue, modifying some configuration files like application.xml, jms.xml and data-sources.xml
I'll appreciate any kind of helpHi,
I've figured out the cause for previous quoted problem:
in default-web-site.xml configuration file of /j2ee/home I've found a propery ohs-routing set to false.
In forum's thread "Use HTTPS to access webservice on standalone OC4J" that property wasn't set, so I removed it and magically now it works!
My question now is, which event caused such a change in default-web-site.xml file? How can I prevent or even controll it?
Thank you,
Lisa -
Create Lead with Oracle BPEL process using Siebel CRMOD web service
I'm trying to create a lead in the siebel OD (hosted) with a oracle BPEL process and using the siebel web service (2.0). In my bpel process I've been able to
1. Login to OD and get a session id
2. create the partner link using Siebel OD (version 2.0) wsdl for Lead
3. Assign the session id to the partner link
4. Assign the inputs (lastname, firstname, leadowner, viewMode=Personal, lovLanguageMode=LDC) to lead
5. Call the leadInsert operation on the partner link
However, when I deploy and execute the bpel process it breaks after calling the leadInsert with the following error message:
+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
<remoteFault xmlns="http://schemas.oracle.com/bpel/extension"><part name="code"><code>Server</code>
</part><part name="summary"><summary>The record with search specification '' in business component 'Lead' (integration component 'Lead') has been deleted by another user since it was retrieved.(SBL-EAI-04289)</summary>
</part><part name="detail"><detail><detail>
<siebelf:siebdetail xmlns:siebelf="http://www.siebel.com/ws/fault" xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/">
<siebelf:logfilename xmlns:siebelf="http://www.siebel.com/ws/fault" xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/">OnDemandServicesObjMgr_enu_138636.log</siebelf:logfilename>
<siebelf:errorstack xmlns:siebelf="http://www.siebel.com/ws/fault" xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/">
<siebelf:error xmlns:siebelf="http://www.siebel.com/ws/fault" xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/">
<siebelf:errorcode xmlns:siebelf="http://www.siebel.com/ws/fault" xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/">(SBL-DAT-00494)</siebelf:errorcode>
<siebelf:errorsymbol xmlns:siebelf="http://www.siebel.com/ws/fault" xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/"/>
<siebelf:errormsg xmlns:siebelf="http://www.siebel.com/ws/fault" xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/">The record with search specification '' in business component 'Lead' (integration component 'Lead') has been deleted by another user since it was retrieved.(SBL-EAI-04289)</siebelf:errormsg>
</siebelf:error>
</siebelf:errorstack>
</siebelf:siebdetail>
</detail>
</detail>
</part></remoteFault>
+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Any feedback as to what I'm doing worng woull be greatly appreciated.
Thanks,
--manojHi,
We are also using BPEL to send data out to SIEBEL CRMOD.
I've created a proxy that deals with authentication and session management.
All you have to do is to deploy the proxy as a war file and refrence it as the end-point of your partner link.
Code is here:
http://another-soa-blog.blogspot.com/2010/02/oracle-siebel-on-demand-session-and.html
Regards,
Fred. -
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 insightHi,
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 Specify Metadata When Adding Content Using iTunes U Web Service?
I've been developing Java applications using iTunes U Web service and uploaded content to iTunes U site using iTunes U Web service without problem. Now I want to add metadata fields (name, artist name, album name, etc.) for the tracks I uploaded. It seems to me that "AddTrack" will do. So I tested it but it neither adds a track under the specified group nor updates metadata fields for an existing track. It turned out "MergeTrack" actually updates metadata fields for an existing track. So is there any way to specify metadata at the time of adding content using iTunes U Web service? And what exactly does AddTrack do? This is all about contents hosted by iTunes U site and no RSS is involved.
I'm referring to the "AddTrack" method in iTunes U Web service:
http://deimos.apple.com/rsrc/doc/iTunesUAdministrationGuide/iTunesUWebServices/c hapter18_section_21.html#//appleref/doc/uid/AdminGuide-CH13-SW26Thanks for all the replies. My question is whether there is any way to specify metadata WHEN adding content using iTunes U Web service. Specifying metadata AFTER adding content can be achieved by MergeTrack (weird naming) and it does work.
As for setting track level meta-data in the media file and then upload it, there're several reasons against that, among which are:
1. Some track metadata are context-dependent. A video about buildings on Michigan Ave in Chicago can be track #2 in a history course and described as "historic view of the Magnificent Mile", but the same media can also be track #5 in a landscape design course and described as something like "contemporary architecture". Setting these metadata in the media file itself is not the preferred way to do it since it implies maintaining a version of the same media for any course/group it gets uploaded to.
2. Setting metadata in a location separate from the media file helps track the metadata change and search for media without digging into the media itself.
3. If MergeTrack "updates" metadata, there got to be some other method that "creates" metadata - that's what a well-designed API should look like. And setting metadata in the media file is not an equivalent to a "create metadata" method call. In rickwolf's term, that implicit AddTrack should actually be made explicit so the party uploading content can explicitly specify metadata instead of having iTunes U extract metadata from the media.
It is still not clear what "AddTrack" does exactly, maybe rickwolf is right - it's only relevant to tracks created through RSS.
So it seems to me there is no other way to specify metadata WHEN adding content using iTunes U Web service than setting metadata in the media file. To me it is more like a design flaw.
Message was edited by: Stone Xiang
Message was edited by: Stone Xiang
Message was edited by: Stone Xiang -
Why JDEVADF11.1.1.3 can not test web service in IE for Integrated WebLogic
Hi,
Testing a web service deployed to Integrated WebLogic Server.
1.When you deploy the web service to Integrated WebLogic Server, examine the contents of the log window. Find http://IP_address:port/Project1-context-root/MyWebService1
2.Copy the URL and paste it into browser. The browser shows a simple page which lists the operations available on the service.
3.Enter a parameter, and click Enter. The result from the web service is displayed.
My question:
Why only display Web Services Endpoint and Information . Can not have Enter a parameter and operations available on the service.
HttP analyzer test web service is OK.
ThanksHi,
That is because you are looking at the endpoint information.
If you want to test the service in a browser, then you can use the Weblogic Test Client.
When your Integrated WLS is running, point the browser to the following url: http://localhost:7101/wls_utc/
Thanks,
Vishal -
Unknown Error while communicating with O365 BEC Web Service
Hi Guys,
When I try to add a new mail user in O365 Exchange, one strange error is thrown.
Are any guys kind enough to help me ?
Here is the script and the error.
PS C:\Users\o365-user> $cred = New-Object -TypeName System.Management.Automation.PSCredential -ArgumentList
'[email protected]', $(ConvertTo-SecureString -String '*******' -AsPlainText -Force)
PS C:\Users\o365-user> $session = New-PSSession -ConfigurationName Microsoft.Exchange -ConnectionUri 'https:
//ps.outlook.com/powershell/' -Credential $cred -Authentication Basic -AllowRedirection
WARNING: Your connection has been redirected to the following URI:
"https://pod51053psh.outlook.com/powershell-liveid?PSVersion=4.0 "
PS C:\Users\o365-user> Import-PSSession $session
WARNING: The names of some imported commands from the module 'tmp_zkc5sid4.gpq' include unapproved verbs that might
make them less discoverable. To find the commands with unapproved verbs, run the Import-Module command again with the
Verbose parameter. For a list of approved verbs, type Get-Verb.
ModuleType Version Name ExportedCommands
Script 1.0 tmp_zkc5sid4.gpq {Add-AvailabilityAddressSpace, Add-DistributionGroupMember...
PS C:\Users\o365-user> $users=Get-MailUser
PS C:\Users\o365-user> New-MailUser -Name '[email protected]' -DisplayName 'Test LIU'
-MicrosoftOnlineServicesID '[email protected]' -Password $(ConvertTo-SecureString -String '*****' -AsPlainText -Force)
Unknown Error while communicating with O365 BEC Web Service (Exception type
"Microsoft.Exchange.Management.BecWebService.CouldNotCreateBecSyncServiceException", message=
"Microsoft.Exchange.Management.BecWebService.CouldNotCreateBecSyncServiceException: Couldn't create BEC Web Service:
The matching certificate for certificateSubject CN=ExoProvToO365.outlook.com, OU=Microsoft Corporation, O=Microsoft
Corporation, L=Redmond, S=WA, C=US couldn't be found.
Parameter name: certificateSubject ---> System.ArgumentException: The matching certificate for certificateSubject
CN=ExoProvToO365.outlook.com, OU=Microsoft Corporation, O=Microsoft Corporation, L=Redmond, S=WA, C=US couldn't be
found.
Parameter name: certificateSubject
at Microsoft.Exchange.Security.Cryptography.X509Certificates.TlsCertificateInfo.FindFirstCertWithSubjectDistinguishe
dName(String certificateSubject, Boolean checkForValid)
at Microsoft.Exchange.Management.BecWebService.BecWebServiceHelper.CreateService(Uri url)
--- End of inner exception stack trace ---
at Microsoft.Exchange.Management.BecWebService.BecWebServiceHelper.InvokeWithRetry[TResponse](Action operation)
at Microsoft.Exchange.Management.BecWebService.BecWebServiceHelper.GetUserByUpn(GetUserByUpnRequest request)
at Microsoft.Exchange.ProvisioningAgent.BecWebServiceLiveIdManager.GetMemberType(SmtpAddress memberName)", inner
message "System.ArgumentException: The matching certificate for certificateSubject CN=ExoProvToO365.outlook.com,
OU=Microsoft Corporation, O=Microsoft Corporation, L=Redmond, S=WA, C=US couldn't be found.
Parameter name: certificateSubject
at Microsoft.Exchange.Security.Cryptography.X509Certificates.TlsCertificateInfo.FindFirstCertWithSubjectDistinguishe
dName(String certificateSubject, Boolean checkForValid)
at Microsoft.Exchange.Management.BecWebService.BecWebServiceHelper.CreateService(Uri url)")
+ CategoryInfo : NotSpecified: (0:Int32) [New-MailUser], RecipientTaskException
+ FullyQualifiedErrorId : [Server=SG2PR01MB0540,RequestId=d97a193e-91a7-4430-ac64-6b7003f5b9b0,TimeStamp=4/23/2015
9:37:58 AM] [FailureCategory=Cmdlet-RecipientTaskException] 3F9FDA25,Microsoft.Exchange.Management.RecipientTasks
.NewMailUser
+ PSComputerName : pod51053psh.outlook.com
PS C:\Users\o365-user> New-ManagementRoleAssignment -Role 'ApplicationImpersonation' -User 'test1_1@smokeazu
rebeta5.onmicrosoft.com'
Couldn't find a user with the identity "[email protected]".
+ CategoryInfo : NotSpecified: (:) [New-ManagementRoleAssignment], ManagementObjectNotFoundException
+ FullyQualifiedErrorId : [Server=SG2PR01MB0540,RequestId=88777637-298d-4bb1-972f-b61161566a57,TimeStamp=4/23/2015
9:37:59 AM] [FailureCategory=Cmdlet-ManagementObjectNotFoundException] 921A76AD,Microsoft.Exchange.Management.Rba
cTasks.NewManagementRoleAssignment
+ PSComputerName : pod51053psh.outlook.com
PS C:\Users\o365-user> New-ManagementRoleAssignment -Role 'Mailbox Search' -User '[email protected]
microsoft.com'
Couldn't find a user with the identity "[email protected]".
+ CategoryInfo : NotSpecified: (:) [New-ManagementRoleAssignment], ManagementObjectNotFoundException
+ FullyQualifiedErrorId : [Server=SG2PR01MB0540,RequestId=2b64d3a2-97da-4de5-be8c-00ad73452456,TimeStamp=4/23/2015
9:38:00 AM] [FailureCategory=Cmdlet-ManagementObjectNotFoundException] 921A76AD,Microsoft.Exchange.Management.Rba
cTasks.NewManagementRoleAssignment
+ PSComputerName : pod51053psh.outlook.com
PS C:\Users\o365-user> Remove-PSSession $session
PS C:\Users\o365-user>
Thanks
Budlion LIUHello,
Or you can also ask on Exchange Online Forum:
https://social.technet.microsoft.com/Forums/msonline/en-US/home?forum=onlineservicesexchange
Thanks,
Please remember to mark the replies as answers if they help and unmark them if they provide no help. If you have feedback for TechNet Subscriber Support, contact
[email protected]
Simon Wu
TechNet Community Support -
Load testing web service with JMeter
Hi,
Has anyone had success with using JMeter to load test Web Service generated by Jdev and deploy on iAS904?
Thanks,
Charles Lihi
Calling user needs authorization object S_SERVICE
regards
afzal
Maybe you are looking for
-
MS Project Server 2010 gives me the following error when I try to click on the [No Group] group: Error message: The group "" cannot be found. You tried to display a view that references a group that is not available. Specify a different group for the
-
Metric threshold and Response Action
Hello, I have a problem regarding the metric thresholds in Oracle 10gR2. I would like to set a response action for the "Tablespace full in percent"-metric, but until now I wasn't successful with that. I tried the following steps (sorry, if I sometime
-
Please see my full T440s review here: https://www.youtube.com/watch?v=D1GdvPLqjdQ
-
I have a form containing several other ADF Faces components. The first component is a selectOneChoice and I use it to trigger a PPR request. The purpose of this request is to conditionnally re-display the jsf components according to the selection (hi
-
How do I fix this? I already tried to recompile them. SDO_GEO_ADDR TYPE BODY INVALID SDO_INDEX_METHOD_10I TYPE BODY INVALID SDO_NETWORK_MANAGER_I TYPE BODY INVALID SDO_NN OPERATOR INVALID SDO_NN_DISTANC