Testing of mail to file senario
hi,
all i have done a mail to file senario
now i want to now how i can test that .
it is just a semple mail to file senario.
HI
u can check with this actually this blog is used to test the soap scenarios. it may give some idea to test that..
/people/community.user/blog/2006/09/19/xi-webservice-studio--a-plain-jane-soap-tool
/people/siva.maranani/blog/2005/03/01/testing-xi-exposed-web-services
regards
Kishore
Similar Messages
-
Mail -- XI --- File senario......
Hi
I have done mail adapter.... the xi server is picking up only read mails.... not unread mails... i have nearly 273 read mails in my inbox but its not picking up all the mails its picking only 12 mails....my requirement is the xi server has to pick unread mail from the inbox and it has to send this to the destination folder... but in destination folder i am getting the file like this::
<?xml version="1.0" encoding="UTF-8"?>
<ns0:File_Message_Type xmlns:ns0="http://mailtofiledemo.com/ravi"></ns0:File_Message_Type>
i am using pop3 transport protocol...
so please help me.....
Thanks & Regards
Ravi Shankar BHi,
Try giving POP3.
and correct address.. pop3://etc... Remember to give the name of the folder from where the message have to be picked.
Regards
Suraj
Message was edited by: S.R.Suraj -
Receiver Determination Problem In Mail to File Scenario.
Hi All,
I am trying to do Mail to File Scenario. I defined two business systems, one s/w component in SLD and in IR I defined a DataType , MessageType and Two MessageInterfaces. In ID these are mail adapter settings I gave :-
Message Protocol :- POP3
Message Protocol :- XIPAYLOAD
MAIL ATTRIBUTES -- Enabled checkbox for "Use Mail Package"
Content Encoding - "base64"
Enabled checkbox for "Keep Attachments"
DEFAULT XI PARAMTERS --
Default Interface Namespace -- http://mtf
Default Interface Name -- mtf_mi1
And in Modules Tab I also defined the "PayloadSwapBean" module and swap.keyName and swap.keyValue.
Infact I followed all the steps specified in /people/michal.krawczyk2/blog/2005/12/18/xi-sender-mail-adapter--payloadswapbean--step-by-step
But in SXMB_MONI this is the error I am getting :-
<b><?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
- <!-- Receiver Identification
-->
- <SAP:Error xmlns:SAP="http://sap.com/xi/XI/Message/30" xmlns:SOAP="http://schemas.xmlsoap.org/soap/envelope/" SOAP:mustUnderstand="1">
<SAP:Category>XIServer</SAP:Category>
<SAP:Code area="RCVR_DETERMINATION">NO_RECEIVER_CASE_BE</SAP:Code>
<SAP:P1 />
<SAP:P2 />
<SAP:P3 />
<SAP:P4 />
<SAP:AdditionalText />
<SAP:ApplicationFaultMessage namespace="" />
<SAP:Stack>No receiver could be determined</SAP:Stack>
<SAP:Retry>N</SAP:Retry>
</SAP:Error></b>
Please help me out.
Thanks All,
Madhu.Hi,
Please verify letter by letter if you haven't make a typo here:
Default Interface Namespace -- http://mtf
Default Interface Name -- mtf_mi1
please also make a test of your scenario in integration directory
please also do not use best efort quality of service
/wg
Message was edited by:
Wojciech Gasiorowski -
Download & save pdf file (mail to file scenario)
Hi All,
I have a simple scenario (mail to file), in which pdf file is being attached to incoming mail message. Attachment is "downloaded" (using localejbs/AF_Modules/PayloadSwapBean adaptor module(.
Since no mapping required, the used "Integrated Configuration".
my scenario works fine, no ERR and pdf file is created at target directory.
When I'm trying to open the file the adobe is showing to following err msg:
"Adobe Reader could not open 'xi_output.pdf' because it is either not a supported file type or because the has been damaged.."
What can be done, to bypass the problem? Please advice.
Regards,
UriHi,
>>>The only difference is that my current scenario is based on "Integrated Configuration", does it make sense?
hmm this should work in the very same way with ICO but I never tested it with it frankly speaking
but the adapter module works on the same adapter as without ICO so why should there be a difference
(the swaping is done before the message is delivered to the IE or AAE processing)
but you can try writing a note to SAP to crosscheck if this module works with local AAE
Regards,
Michal Krawczyk -
OAB URL not found in Test E-mail Autoconfiguration
Hello, we are having issues implementing the Offline Address Book. I had everything working fine prior to preparing to remove my Exchange 2003 server.
This started happening after i changed from one address book to another. I have a UC certificate with all the correct FQDN, NetBios, and DNS names. This issue is affecting both internal and external users (OLAW).
From the client side if you do a Test E-mail autoconfiguration there is no "OAB URL" under the "OOF URL", where there used to be one.
I am able to access https://outlook.mydomain.com/autodiscover/autodiscover.xml & https://outlook.mydomain.com/oab/<GUID>/oab.xml from the inside as well as the outside and I get the XML text.
Here are some results from the EMC
Get-ClientAccessServer | fl
Name : <CASServer>
OutlookAnywhereEnabled : True
AutoDiscoverServiceCN : <CASServer>
AutoDiscoverServiceClassName : ms-Exchange-AutoDiscover-Service
AutoDiscoverServiceInternalUri : https://outlook.mydomain.com/Autodiscover/Autodiscover.xml
AutoDiscoverServiceGuid : 77378f46-2c66-4aa9-a6a6-3e7a48b19596
AutoDiscoverSiteScope : {<Default First Site Name>}
IsValid : True
OriginatingServer : ds-app1.corp.mydomain.com
ExchangeVersion : 0.1 (8.0.535.0)
DistinguishedName : CN=CASServer,CN=Servers,CN=Exchange Administrative Group
OHF23SPDLT),CN=Administrative Groups,CN=<OrganizationName>,C
osoft Exchange,CN=Services,CN=Configuration,DC=corp,DC=mydomain,DC=com
Identity : CASServer
Guid : d29ec49e-7f8c-414c-81c1-80e7ad322638
ObjectCategory : corp.mydomain.com/Configuration/Schema/ms-Exch-Exchange-Se
ObjectClass : {top, server, msExchExchangeServer}
WhenChanged : 10/4/2007 5:24:51 PM
WhenCreated : 8/28/2007 4:04:22 PM
Get-WebServicesDirectory | fl
InternalNLBBypassUrl :
Name : EWS (Default Web Site)
InternalAuthenticationMethods : {Basic, Ntlm, WindowsIntegrated}
ExternalAuthenticationMethods : {Basic, Ntlm, WindowsIntegrated}
BasicAuthentication : True
DigestAuthentication : False
WindowsAuthentication : True
MetabasePath : IIS://CASServer.corp.mydomain.com/W3SVC/1/ROOT/EWS
Path : C:\Program Files\Microsoft\Exchange Server\ClientAccess\exchw
Server : <CASServer>
InternalUrl : https://outlook.mydomain.com/EWS/Exchange.asmx
ExternalUrl : https://outlook.mydomain.com/EWS/Exchange.asmx
AdminDisplayName :
ExchangeVersion : 0.1 (8.0.535.0)
Identity : <CASServer>\EWS (Default Web Site)
Guid : 41c65fc5-3ec2-4b21-b9d6-eadb69ff4376
ObjectCategory : corp.mydomain.com/Configuration/Schema/ms-Exch-Web-Services
al-Directory
ObjectClass : {top, msExchVirtualDirectory, msExchWebServicesVirtualDirecto
WhenChanged : 9/11/2007 2:50:01 PM
WhenCreated : 8/28/2007 4:07:24 PM
OriginatingServer : ds-app1.corp.mydomain.com
IsValid : True
Get-OabVirtualdirectory | fl
Name : OAB (Default Web Site)
PollInterval : 5
OfflineAddressBooks : {Offline Address Book}
RequireSSL : True
MetabasePath : IIS://CASServer.corp.mydomain.com/W3SVC/1/ROOT/OAB
Path : C:\Program Files\Microsoft\Exchange Server\ClientAccess\OAB
Server : <CASServer>
InternalUrl : https://CASServer.corp.mydomain.com/oab
InternalAuthenticationMethods : {WindowsIntegrated}
ExternalUrl : https://outlook.mydomain.com/OAB
ExternalAuthenticationMethods : {WindowsIntegrated}
AdminDisplayName :
ExchangeVersion : 0.1 (8.0.535.0)
DistinguishedName : CN=OAB (Default Web Site),CN=HTTP,CN=Protocols,CN=CasSERVER
ervers,CN=Exchange Administrative Group (FYDIBOHF23SPDLT),CN=A
strative Groups,CN=Dynasplint Systems,CN=Microsoft Exchange,CN
ices,CN=Configuration,DC=corp,DC=mydomain,DC=com
Identity : CASServer\OAB (Default Web Site)
Guid : 1477428c-6b87-4991-bf4e-ce29e94e6ea5
ObjectCategory : corp.mydomain.com/Configuration/Schema/ms-Exch-OAB-Virtual-D
ory
ObjectClass : {top, msExchVirtualDirectory, msExchOABVirtualDirectory}
WhenChanged : 11/16/2007 10:17:46 AM
WhenCreated : 11/15/2007 3:04:41 PM
OriginatingServer : ds-app1.corp.mydomain.com
IsValid : True
Test-OutlookWebServices -identity administrator | ft * -AutoSize -Wrap
Id Type Message
1003 Information About to test AutoDiscover with the e-mail address [email protected].
1013 Error When contacting https://mydomain.com/Autodiscover/Autodiscover.xml received the error The remote server returned an error: (401) Unauthorized.
1006 Error Failed to contact AutoDiscover
Anyone have suggestions?Hello, we are having issues implementing the Offline Address Book. I had everything working fine prior to preparing to remove my Exchange 2003 server.
This started happening after i changed from one address book to another. I have a UC certificate with all the correct FQDN, NetBios, and DNS names. This issue is affecting both internal and external users (OLAW).
From the client side if you do a Test E-mail autoconfiguration there is no "OAB URL" under the "OOF URL", where there used to be one.
I am able to access
https://outlook.mydomain.com/autodiscover/autodiscover.xml & <a href="https://outlook.mydomain.com/oab//oab.xml" title="https://outlook.mydomain.com/oab/%3CGUID%3E/oab.xml">https://outlook.mydomain.com/oab/<GUID>/oab.xml from the inside as well
as the outside and I get the XML text.
Just resolved this issue with Microsoft support. The 3 users not receiving < OAB URL > from autodiscover.xml had a specific (and the wrong) OAB configured in their AD Object setting "msExchUseOAB", instead of being "< not set >". With the entries
for "msExchUseOAB" cleared, OAB settings were obtained from Autodiscover. -
To relocate mail.log, mail.log_current file to specific folder
Hi
We have configured CommSuite 6 in single host. The output of imsimta version:
Sun Java(tm) System Messaging Server 7.0-0.04 32bit (built Jun 20 2008)
libimta.so 7.0-0.04 32bit (built 01:01:00, Jun 20 2008)
Using /opt/sun/comms/messaging/config/imta.cnf
SunOS mail 5.10 Generic_120012-14 i86pc i386 i86pc
Output of imta_tailor file:
IMTA_USER=mailsrv
IMTA_USER_USERNAME=nobody
IMTA_WORLD_GROUP=mail
IMTA_LOG=/logs/messaging/imta
IMTA_PRIMARY_LOG=/logs/messaging/imta/mail.log_current
IMTA_SECONDARY_LOG=/logs/messaging/imta/mail.log_yesterday
IMTA_TERTIARY_LOG=/logs/messaging/imta/mail.log
We need to relocate mail.log, mail.log_current, mail.log_yesterday file to specific folder.
After above setting we cannot be able to relocate above file.
Pl. help us.
Thanks
P.K.world.group wrote:
We have configured CommSuite 6 in single host. The output of “imsimta version”:Please note that CommSuite 6 update 1 is now available and it is advisable that you upgrade using the "commpkg upgrade" command.
IMTA_LOG=/logs/messaging/imta
IMTA_PRIMARY_LOG=/logs/messaging/imta/mail.log_current
IMTA_SECONDARY_LOG=/logs/messaging/imta/mail.log_yesterday
IMTA_TERTIARY_LOG=/logs/messaging/imta/mail.logThese parameters are now ignored as per the Messaging Server 7.0 release notes:
http://wikis.sun.com/display/CommSuite6/Messaging+Server+7.0+Release+Notes#MessagingServer7.0ReleaseNotes-Ignoredimtatailorsettings
We need to relocate mail.log, mail.log_current, mail.log_yesterday file to specific folder. You can relocate the MTA log directory through the use of symlinks.
Regards,
Shane. -
When I have video clips on my timeline, they do not play in the monitor screen. I hear the sound track but can not see the image. To test if my new files are somehow the problem, I went back and used video files that I used successfully a year ago, and they no longer play in the monitor window. I hear the sound track, but do not see any video. Have I changed some setting that controls video playback in the monitor window?
Randy Ruttger
Thanks for the follow up.
Missing in this equation were the version of Premiere Elements that you were using and the computer operating system on which it was running. But...
The deed is done. But.....Until now and after you went ahead and moved to version 12, we now learn what version of Premiere Elements you were using. We still do not know the computer operating system involved.
You just said Premiere Elements 10. Premiere Elements 10 is hit by a serious known display issue if the computer uses a NVIDIA GeForce video card/graphics card. In this issue, the only remedy is to roll back the driver version to about May 2013. The description of the problem and how to do the roll back are described in one of the Announcements at the top of this forum. What video card/graphics card does your computer use?
On another front, Adobe will be releasing a new version of Premiere Elements any day now. No one but Adobe knows the feature set for the new version. That type of information is announced at the moment of release of the new version.
So the remedy to the problem that you presented in this thread could have been...
1. Rolling back the NVIDIA GeForce driver version to about May 2013 if possible (Windows 8 or 8.1 64 bit, may not be possible)
2. Move to another version of Premiere Elements (which you did)
I offer the above for consideration so that you can review your decisions. We are pleased to learn that Premiere Elements 12/12.1 works for you.
Please do not hesitate to ask questions and ask for clarifications, but remember that the answers are in the details.
Best wishes,
ATR -
A problem while implementing a file to file senario
hi all :
There is some problem while implement a file to file senario. the file couldn't be sent or recieved.
and as I try to check Check the Sender File Adapter Status via
Runtime Workbench -> Component Monitoring -> Communication Channel Monitoring ,
It is found that Adapter Engine has error status with red light. Is it why the file couldn't be sent?
Could you please tell me how to make Adapter Engine available?
Thank you very much!!!Hi Sony
Error getting JPR configuration from SLD. Exception: No entity of class SAP_BusinessSystem for EC1.SystemHome.cnbjw3501 found
No access to get JPR configuration
Along with what experts suggested
What is the type of Business system is this. Standalone Java?
JPR can have problem if you have a business system thats not ABAP/Java type if this system is not having a SAP TS in landscape then create Java type.
Thanks
Gaurav -
AutoDiscover is a new feature in Exchange 2007, to provide access to Microsoft Exchange features (OAB, Availability service, UM) for Outlook 2007
clients or later.
We can determine whether problems related to AutoDiscover via OWA.
For example:
OOF is not working in Outlook Client but it is working in OWA.
When we realized this issue is not related to Outlook Client side and network side after performing some troubleshooting steps, it should be something
abnormal on AutoDiscover.
There is a common tool to check AutoDiscover in Outlook, Test E-mail AutoConfiguration.
Today, we will introduce AutoDisocver and “Test E-mail AutoConfiguration” in details. Hope it is helpful for AutoDiscover troubleshooting and self-learning.
1. Differences between “Test E-mail AutoConfiguration” and other tools
The “Test-OutlookWebServices” cmdlet allows us to test the functionality of the following services:
Autodisocver
Exchange Web Services
Availability Service
Offline Address Book
When we run “Test-OutlookWebServices”, it returns all the web services’ states.
However, some information are useless for some scenarios.
For example:
We just want our Exchange 2010 Server working internally. So it is unnecessary to enable Outlook Anywhere.
However, when we run “Test-OutlookWebServices”, it returns Outlook Anywhere errors because the Outlook Anywhere does not need to been enabled.
In contrast, using “Test E-mail Autodiscover” is more intuitive.
If there is any problems, it will return error code from the test result, like 0x8004010F etc. We can do some research from TechNet articles or MS
KBs.
Although it is difficult to say where the specific problem is just via the error codes, we can combine with IIS logs to perform troubleshooting and
find the root of problem.
2. How to use “Test E-mail AutoConfiguration” Tool
a. Open Outlook, we can find there is an Outlook Icon at the right bottom of System tray. Holding down “Ctrl” button and right click the Outlook Icon, we will see “Test E-mail
AutoConfiguration” option. Please see Figure 01.
Figure 01
b. Click “Test E-mail AutoCofiguration” and input user name, uncheck the “Use Guessmart” and “Secure Guessmart Authentication” checkboxes, then click “Test”. Please see
Figure 02.
Figure 02
c. “Test E-mail AutoConfiguration” result panel and log panel. Please see Figure 03 and Figure 04.
Figure 03
Figure 04
3. How to understand “Test E-mail AutoConfiguration” result
According to the Figure 03, we found there are many URLs in the “Test E-mail AutoConfiguration” result panel. Let us understand the details of these
URLs.
If we these URLs are not the correct ones, we can re-setting or re-creating them via commands.
- Internal OWA URL:
https://vamwan310.vamwan.com/owa/
OWA internal access.
- External OWA URL:
https://mail.vamwan.com/owa/
OWA external access.
- Availability service URL:
https://vamwan310.vamwan.com/EWS/Exchange.asmx
Free/Busy, OOF and meeting suggestions.
- OOF URL:
https://vamwan310.vamwan.com/EWS/Exchange.asmx
Out of Office access.
- OAB URL:
https://vamwan310.vamwan.com/OAB/023ef307-b18a-4911-a52c-de26700f6173/
OAB access.
- Exchange Control Panel URL:
https://vamwan310.vamwan.com/ecp/
ECP access.
4. AutoDiscover Tips
- AutoDiscover Service itself is a web application running on the AutoDiscover virtual directory (not a server service) designed to provide connection information to various
clients.
- The AutoDiscover service is automatically installed and configured when CAS role is added to any Exchange Server.
- AutoDisocver virtual directory is created in IIS within the Default Web Site.
- A Sercive-Connection-Point (SCP) object is created in AD.
- The SCP contains a URL to the AutoDiscover service. This is for intranet clients so they do not have to use DNS to locate the AutoDiscover service.
- In AD this object is located at the following location:
DC=<domain>, CN=Configuration, CN=Services, CN=Microsoft Exchange, CN=First Organization, CN=Administrative Groups, CN=Exchange Administrative
Group, CN=Servers, CN=<CAS Name>, CN=Protocols, CN=AutoDiscover, CN=<CAS Name>
- Setup creates the AutoDiscover URL based on the following structure:
<CASNetbiosName>.domain.com/AutoDiscover/AutoDiscover.xml
If a PKI certificate is not already present, a self-signed certificate is installed on the Default Web Site.
To help allow this certificate pass the Issues to test it is set up with a Subject Alternative Name containing urls.
If a PKI certificate is present, that certificate is utilized and configured for use in IIS.
The Outlook Provider is used to configure separate settings for the Exchange PRC protocol (internal to network), Outlook Anywhere (Exchange HTTP protocol), and WEB:
EXCH, EXPR, WEB
The
EXCH and EXPR setting are vital for the proper configuration of Outlook.
5. AutoDiscover Workflow
General Process flow:
There are various components surrounding the AutoDiscover Service and all are necessary to complete a request. Including IIS, AutoDiscover service
itself, the provider, and AD.
a.
Client constructs service URL and submits Autodiscover Request. First attempt to locate the SCP object in AD. So, DNS is not needed.
b.
IIS Authenticates User.
c.
Is the Autodiscover service in the appropriate forest?
+ If YES.
1)
Parse/Validate Request
2)
Is there a provider that can service the Request?
++ If YES
a)
Config provider processes request and returns config settings.
b)
Return config setting to client
++ If NO
Inform client we cannot process request
+ If NO.
Redirect client to Autodiscover service in the appropriate forest.
Methods to find Autodiscover services: SCP and DNS
Domain-joined
a. Find SCP first.
The SCP contains the URL to the AutoDiscover service.
URL: https://CAS01.contoso.com(CAS’ FQDN)/AutoDiscover/AutoDiscover.xml
If more than one SCP object is found in AD (it means there are multiple CAS servers in the Exchange organization), Outlook client will choose one of the SCP entries that
are in the same site to obtain the AutoDisocover URL.
b. If we cannot find SCP object, then Outlook client will use DNS to locate AutoDiscover.
Outlook parses out the domain (SMTP suffix) via your EmaiAddress, then attempts to connect to the predetermined order of URLs via the suffix.
For example: If my email address is
[email protected]
Outlook tries POST commands to the following order of URLs:
https://contoso.com/autodiscover/autodiscover.xml
https://autodiscover.contoso.com/autodiscover/autodiscover.xml
NOTE: The URLs above is by design, hardcode
and cannot be changed.
c.
If those fail, Outlook tries a simple redirect to another URLs in IIS:
http://contoso.com/autodiscover/autodiscover.xml
http://autodiscover.contoso.com/autodiscover/autodiscover.xml
If none of these URLs work then DNS is most likely not set up correctly.
We can test that by pinging one of the above URLs.
If that is successful, we must ensure the URLs contoso.com or autodiscover.contoso.com are actually pointing to the CAS server.
If the ping fails then there is a chance that DNS is not set up correctly so be sure to check that the URLs are even registered.
NOTE: If contoso.com is a non-CAS server,
we should add a Host record with just AutoDiscover. And point that entry to your CAS server that is running AutoDiscover.
d.
If still failed, we can use DNS SRV lookup for _autodiscover._tcp.contoso.com, then “CAS01.contoso.com” returned. Outlook will ask permission from the user to continue
with AutoDiscover to post to https://CAS01.contoso.com/autodiscover/autodiscover.xml
Non-Domain-joined
It first tries to locate the Autodiscover service by looking up the SCP object in AD. However the client is unable to contact AD, it tries to locate
the Autodiscover service by using DNS.
Then, same as step b, c, d in
Domain-joined scenario.
6. How to change the AutoDiscover
service location order forcibly?
By default, Outlook client locates AutoDiscover service in that order above.
We can also change the order forcibly.
a.
If we want to locate AutoDiscover service via one of the autodiscover URLs, please running following command in EMS:
Set-ClientAccessServer -identity <servername> -AutodiscoverServiceInternalUri https://autodiscover.contoso.com/autodiscover/autodiscover.xml(URL
that you want)
b. If we want to locate AutoDiscover service via
SRV record, please follows this KB to set up SRV:
http://support.microsoft.com/kb/940881
7. How to check AutoDiscover Healthy
a. We should make sure the AutoDiscover
is healthy before using AutoDiscover to perform troubleshooting.
b.
We can browse following URL in IE explorer:
https://autodiscover.vamwan.com/autodiscover/autodiscover.xml
If it returns “code 600”, that means AutoDiscover is healthy.
Screenshot as below:
c. AutoDiscover itself returns errors to the requesting client if the incoming request does not contain the appropriate information to complete a
request.
The following table explains the possible errors that could be returned.
Error Value
Description
600
Mailbox not found and a referral could not be generated.
601
Address supplied is not a mailbox. The provided email address is not something a client can connect to. It could
be a group or public folder.
602
Active Directory error.
603
Others.
The 600 “Invalid Request” error is returned because a user name was not passed to the service. That is OK for this test because this does confirm
the service is running and accepting requests.
d.
If AutoDiscover service is not working well, I suggest re-building the AutoDiscover Virtual Directory for testing.
Steps as below:
1) Running following command in EMS to remove the AutoDiscover VD (we cannot delete it via EMC):
Remove-AutodiscoverVirtualDirectory -Identity "CAS01\autodiscover(autodiscover.contoso.com)"
Please refer:
http://technet.microsoft.com/en-us/library/bb124113(v=exchg.141).aspx
2)
Running following command in EMS to verify whether we have removed the AutoDisocver VD successfully:
Get-AutodiscoverVirtualDirectory | FL
Please refer:
http://technet.microsoft.com/en-us/library/aa996819(v=exchg.141).aspx
3)
Running following command in EMS to re-creating a new AutoDiscover VD:
New-AutodiscoverVirtualDirectory -Websitename <websitename> -BasicAuthentication:$true -WindowsAuthentication:$true
Please refer:
http://technet.microsoft.com/en-us/library/aa996418(v=exchg.141).aspx
8. Common issues
a. Outlook Disconnection
Issue and Troubleshooting
Issue:
Sometimes the Outlook clients cannot connect to the Exchange server after migrating to a new Exchange server or changing to new CAS. The Outlook clients
always connect to the old CAS server.
Troubleshooting:
To solve this issue, we should change the SCP via following command:
Set-ClientAccessServer -Identity
<var>CAS_Server_Name</var> -AutodiscoverServiceInternalUri
https://mail.contoso.com(newCAS’FQDN)/autodiscover/autodiscover.xml
b. Autodiscover
Certificate issue
Tips on Certificate:
Exchange requires a certificate to run an SSL protocol such as HTTPS. We can use the certificate that supports subject alternate names (SAN) in Exchange.
This is to allow the certificate to support resources that have different names, such as Outlook Anywhere and the Autodisocver Web application.
Issue and Troubleshooting
Issue:
We receiver the Certificate Principal Mismatch error when we use a SAN certificate.
Troubleshooting:
1) Please determine the FQDN that the client
uses to access the resource. Steps as below:
OutlookàToolsàAccount
SettingsàE-mailàclick
the Exchange accountàChangeàMore
SettingsàConnectionàExchange
Proxy Settingsànote the FQND that list in the
Only connect to proxy servers that have this principal name in their certificate box.
2)
Please using EMS to determine the value for the CerPrincipalName attribute: Get-OutlookProvider
This command returns the result for the EXPR name.
3)
Please re-setting the CertPrincipalName attribute to match the FQDN via following command:
Set-OutlookProvider EXPR –CertPrincipalName: “msstd:<FQDN the certificate is issued to>”
9. Resource for reference:
Autodiscover and Exchange 2007
http://technet.microsoft.com/en-us/library/bb232838(v=exchg.80).aspx
White Paper: Understanding the Exchange 2010 Autodiscover Service
http://technet.microsoft.com/en-us/library/jj591328(v=exchg.141).aspx
Certificate Principal Mismatch
http://technet.microsoft.com/en-us/library/aa998424(v=exchg.80).aspx
Please click to vote if the post helps you. This can be beneficial to other community members reading the thread.HI,
I get following? when run the test? user is login to Domain A but accessing exchange in Domain B? -
Mail to File: Use filename from MailBody to store attachement on filesystem
Hi
I have a Mail to File scenario. The mail contains a body and one binary attachment. The goal is to store the binary attachment on the filesystem with a specific filename which should come from the mail body.
So I have to use PayloadSwapBean to have the attachment. But after this I can't access the mail body through a mapping to store the filename from the body content in DynamicConfiguraton (Adapter Specific Message Properties).
How can I transport the filename from the mail body from the mail sender adapter to the file receiver adapter? Is this only possible with an self-written adapter module?
Thx
manuku> In the meantime I found a very easy solution (without adapter module). The solution was to switch the PayloadSwapBean from the MailSenderAdatper to the FileReceiverAdapter. Due to this small change the mail content was as normal payload present for eg. message mapping. So I was able to use the dynamic configuration to generate the dynamic filename.
Hi Tobias,
I should read the requirements more carefully. You wanted the filename from payload, I gave you a solution for reading the attachment name of the mail
Cheers
Stefan -
Mail to File - how to read the attachment file name from the subject.
I need to use the SHeaderSUBJECT's value in the receiver file adapter's variable substitution.
This is a Mail to File scenario without design part where the attachment file name comes in the subject of the mail.
I see the below in the dynamicconfiguration section. How can i retrive the value from dynamicconfiguration section to the filename.
<SAP:DynamicConfiguration xmlns:SAP="http://sap.com/xi/XI/Message/30" xmlns:SOAP="http://schemas.xmlsoap.org/soap/envelope/" SOAP:mustUnderstand="1">
<SAP:Record namespace="http://sap.com/xi/XI/System/Mail" name="SHeaderSUBJECT">PlainAttachment.txt</SAP:Record>
</SAP:DynamicConfiguration>
Points will be rewarded.Try to use sthg like this in a UDF :
DynamicConfiguration conf = (DynamicConfiguration) container.getTransformationParameters().getStreamTransformationConstants.DYNAMIC_CONFIGURATION);
DynamicConfigurationKey key = DynamicConfigurationKey.create(http://sap.com/xi/XI/System/Mail,SHeaderSUBJECT);
String value = conf.get(key);
or in a JAVA mapping :
DynamicConfiguration dynConf = (DynamicConfiguration) param.get(StreamTransformationConstants.DYNAMIC_CONFIGURATION);
DynamicConfigurationKey dynKey = DynamicConfigurationKey.create((http://sap.com/xi/XI/System/Mail,SHeaderSUBJECT);
String keyValue = dynConf.get(dynKey);
param is the map object from the execute() method of your mapping ...
Hope this helps
Chris
Edited by: Christophe PFERTZEL on Apr 23, 2008 11:34 AM -
Problem in Proxy to FIle senario.
Hi ,
I have a simple proxy to file senario, which is working fine.
The problem is that i have to put one more file on the FTP server which has some text of 7 characters that denotes that the Proxy was successful. This second file should only be created after the the first file is successfully created.
One of the solutions is to create to create one more proxy and put the two proxies into a specific queue so they are triggered one after the another.
Do you have any other solution expect this ??
Thanks.
Harpreet DaphuHarpreet.... You do not need two proxies.... Create one proxy with a flag
the purpose of the flag is to indicate whether the record sent is the message payload or the last control record(success/Failure..).. Map the structure of the proxy according to your original msg and the control record.
Use interface determination to specify both the mapping....Make sure that you specify the original fsg first and chk the maintain order option...so the control rec is posted only if the msg record is succesful
Alternativbely make the proxy EOIO..
here is a link to help you with Proxy EOIO -> /people/arulraja.ma/blog/2006/08/18/xi-reliable-messaging-150-eoio-in-abap-proxies
You still need two mapping...but u dont need the maintain order option.
I personallly would tryu the first option..
regards
Arvind R -
Testing of SOAP to FILE Scenario
Hi all
I have done with SOAP to FILE scenario.
--> while defining web service what we need to give in the URL????
--> How to test this SOAP to FILE scenario to see wheather it is working fine or not, what are the all options
Thanks
DheerajHi Dheeraj,
Definitely you can test it through the microsoft infopath tool.
steps to follow:
Executing wsdl File Using Microsoft Info Path
1.>Click on the design a from template
2.>Select the Web service icon and click ok
3.>Select the radio button u2018receive and submit datau2019 and click on next.
4.>Enter the path of the generated wsdl which u have saved and click next.
5.>Select the interface and click next
6.>Select the interface and click next.
7.>Double click on parameters.
8.>Double click on the parameter (which you want to send as request). Then click on the query field and click ok.
9.>Click next. And click Finish
10.>Now drag the query fields on the data fields to the left side. And click preview.
Please follow these steps I hope you will be able to test it.
Thanks and regards,
Nutan -
Mail or File Adapter are not running without SLD
Hi,
is it correct, that all adapters on java stack are not running while where is no connection to SLD? (Idoc and http are working because they run in abap stack)
We have just one SLD (no replicated SLD) for our PI 7.0 and we can see, that mail or file adapter are getting errors if the sld instance is down.
What can we do to avoid this behaviour because the admins wanna patch the SolMan and the SLD is running there.
Is it possible to run the integration engine without SLD?
Thanx a lot
WolfgangWe have just one SLD (no replicated SLD) for our PI 7.0 and we can see, that mail or file adapter are getting errors if the sld instance is down.
SLD lookups are made at various levels of message excution. When message pass from Adapter Engine to Inetgration Engine, SLD lookups helps in identifying the correct address of IE. Therefore it will always affect the java (AE) based adapters.
What can we do to avoid this behaviour because the admins wanna patch the SolMan and the SLD is running there.
Its better not to try avoiding this standard behavior.
For your patching requirement, you must perform it when the message traffic is low e.g. during weekends. Usually everywhere such patching and upgrade are done on weekends as the downtime is acceptable in that duration.
Regards,
Prateek -
IDOC to File Senario - Mapin error
Hi,
I am trying IDOC to File Senario using XI. I am stuck while message mapping.
I need to map IDOC : MATMAS.MATMAS01 (Material numbaer and Matrial description ) to File.
I have imported IDOC : MATMAS.MATMAS01 in IR.
Created target Data type/ message type/ message interface:
Target Data type structutre:
DT_Matdesc Complex type (Node)
Matno Element 0...1
Matdesc Element 0...1
Using graphical message mapping I am trying to map the the Fields from Idoc structure to Target structure, But I am geting Internal error. Can anyone help me out.
Waiting for the reply.
Thanks in advance.
Shweta.Hi,
I am not able to activate Message Mapping. On activation it gives below error.
Error:
Internal error while checking object Message Mapping MM_Matdesc1 | urn:namespace:santosh (TRAINING, VERSION 1.1 of ssingh); see details
Details Error:
Internal error while checking object Message Mapping
MM_Matdesc1 | urn:namespace:santosh (TRAINING, VERSION
1.1 of ssingh); see details (CHECK_EXCEPTION)
Internal error while checking object Message Mapping
MM_Matdesc1 | urn:namespace:santosh (TRAINING, VERSION
1.1 of ssingh); see details (CHECK_EXCEPTION)
Compilation process error : CreateProcess: null\bin\javac
-J-Xmx512m @D:/usr/sap/RXI/DVEBMGS00/j2ee/cluster/server0/./temp/classpath_resolver/Map544be4d0b04a11dbb43e005056b72d1d/O1170151922621.txt
@D:/usr/sap/RXI/DVEBMGS00/j2ee/cluster/server0/./temp/classpath_resolver/Map544be4d0b04a11dbb43e005056b72d1d/S1170151922621.txt
error=2
I am not able to trace out the error.
Maybe you are looking for
-
Empty Grantee drop-down in web interface?
Having two schemas, sample1 and sample2, with a table in sample2 that I want visible to sample1, I want to apply the GRANT statement to that table with sample1 as the grantee. Using the web interface, after selecting the table Object Browser, selecti
-
Adobe Premiere Elements 9 - Mosaic Effect
Hi. I have a video where I want to apply the mosaic effect as an inverse (i.e I want the center of my video to be clear but the outside surroundings to be mosaic). I work at a company where we can not take people on our produciton floor so we are sho
-
Cannot connect wirelessly to timecapsule
Hello, Until a few days ago, my macbook pro mid-2010 (OS X 10.6.8) happily connected wirelessly to the my TimeCapsule. When I boot Windows laptop happily connects to the TimeCapsule. Also I have no problem with connection to other WIFI spots. However
-
Generate an page based on an word-document
Hi, i have to create an webpage/document based on an Worddocument (may be an .dot) or pdf .... there i should select values from database like: Dear .... name from database, courses which attend the user and so on ... Could anybody give me a clue how
-
Right Click Tools - Incorrect Info displayed
I noticed that the Maintenance Windows tab on the Advanced Collection Information (right click tools) doesn't display the information correctly. It shows incorrect Names and Durations. Anyone else have this problem?