Exchange 2013 - The XML document ended unexpectedly
ExchangeService service = new ExchangeService(ExchangeVersion.Exchange2013);
service.Url = new Uri(exchangeUrl);
service.Credentials = new NetworkCredential(cred.Username, cred.Password);
FolderId parentFolderId = new FolderId(WellKnownFolderName.Calendar, mailbox);
var item = UserConfiguration.Bind(service, name, parentFolderId,
UserConfigurationProperties.BinaryData);
item.BinaryData = value;
item.Update();
Everytime when I'm calling the Exchange Web Services for Exchange 2013 I'm getting the following message...
Microsoft.Exchange.WebServices.Data.ServiceXmlDeserializationException: The XML document ended unexpectedly.
at Microsoft.Exchange.WebServices.Data.EwsXmlReader.Read()
at Microsoft.Exchange.WebServices.Data.SoapFaultDetails.ParseDetailNode(EwsXmlReader reader)
at Microsoft.Exchange.WebServices.Data.SoapFaultDetails.Parse(EwsXmlReader reader, XmlNamespace soapNamespace)
at Microsoft.Exchange.WebServices.Data.ServiceRequestBase.ReadSoapFault(EwsServiceXmlReader reader)
at Microsoft.Exchange.WebServices.Data.ServiceRequestBase.ProcessWebException(WebException webException)
at Microsoft.Exchange.WebServices.Data.ServiceRequestBase.GetEwsHttpWebResponse(IEwsHttpWebRequest request)
at Microsoft.Exchange.WebServices.Data.ServiceRequestBase.ValidateAndEmitRequest(IEwsHttpWebRequest& request)
at Microsoft.Exchange.WebServices.Data.MultiResponseServiceRequest`1.Execute()
at Microsoft.Exchange.WebServices.Data.ExchangeService.GetUserConfiguration(String name, FolderId parentFolderId, UserConfigurationProperties properties)
at Microsoft.Exchange.WebServices.Data.UserConfiguration.Bind(ExchangeService service, String name, FolderId parentFolderId, UserConfigurationProperties properties)
I the dev environment everything is working fine, but not in integration. Any ideas? Please help.
Thanks,
Bernhard
It sounds like it failing to parse the SOAP response that's coming back from EWS, you need to enable tracing and have a look at the response
http://msdn.microsoft.com/en-us/library/office/dd633676(v=exchg.80).aspx , are you running the same Service Pack/Rollup version in dev and production?
Cheers
Glen
Similar Messages
-
Exchange 2007 - The XML document ended unexpectedly.
Hello,
I'm trying to connect with a exchange server 2007 sp3 through EWS.
I can connect but when I try to retrieve a calendar item I'm getting this error:
The XML document ended unexpectedly.
It seems that the EWS/Exchange isn't well configurated.
I tried it in the EWSEditor and the result is the same.
I checked the connectivity in the shell and all the results were ok.
Any new idea to test?
Thanks!Did you ever get a fix for this, i have the exact same issue and my MAC clients cannot use ews.
-
The XML document builds on itself when called twice. Help!!!
When I run the Sample program for the Oracle classgen for Java
the XML document node repeats itself when called the second
time. This is what I mean:
import oracle.xml.classgen.*;
import oracle.xml.parser.*;
public class TestWidl
static WIDL w1 = new WIDL();
public static void main (String args[])
test();
test();
static void test ()
try
DTD dtd = w1.getDTDNode();
w1.setNAME("WIDL1");
w1.setVERSION(WIDL.VERSION_1_0);
SERVICE s1 = new SERVICE("Service1", "Service_URL");
s1.setINPUT("File");
s1.setOUTPUT("File");
BINDING b1 = new BINDING("Binding1");
b1.setTYPE(BINDING.TYPE_INPUT);
BINDING b2 = new BINDING("Binding2");
b2.setTYPE(BINDING.TYPE_OUTPUT);
VARIABLE v1 = new VARIABLE("Variable1",
VARIABLE.NULLOK_FALSE);
v1.setTYPE(VARIABLE.TYPE_STRING);
v1.setUSAGE(VARIABLE.USAGE_INTERNAL);
v1.setVALUE("value");
VARIABLE v2 = new VARIABLE("Variable2",
VARIABLE.NULLOK_TRUE);
v2.setTYPE(VARIABLE.TYPE_STRING1);
v2.setUSAGE(VARIABLE.USAGE_HEADER);
VARIABLE v3 = new VARIABLE("Variable3",
VARIABLE.NULLOK_FALSE);
v3.setTYPE(VARIABLE.TYPE_STRING2);
v3.setUSAGE(VARIABLE.USAGE_FUNCTION);
v3.setMASK("mask");
CONDITION c1 = new CONDITION("CRef1", "CMatch1");
c1.setSERVICE("Service1");
c1.setTYPE(CONDITION.TYPE_SUCCESS);
CONDITION c2 = new CONDITION("CRef2", "CMatch2");
c2.setTYPE(CONDITION.TYPE_RETRY);
CONDITION c3 = new CONDITION("CRef3", "CMatch3");
c3.setSERVICE("Service3");
c3.setTYPE(CONDITION.TYPE_FAILURE);
REGION r1 = new REGION("Region1", "Start", "End");
b1.addNode(r1);
b1.addNode(v1);
b1.addNode(c1);
b1.addNode(v2);
b2.addNode(c2);
b2.addNode(v3);
w1.addNode(s1);
w1.addNode(b1);
w1.addNode(b2);
w1.validateContent();
w1.print(System.out);
catch (Exception e)
System.out.println(e.toString());
e.printStackTrace();
The XML output looks like this:
First Call to test():
<?xml version = '1.0' encoding = 'ASCII'?>
<!DOCTYPE WIDL SYSTEM "file:/home/hmiranda/tmp/WIDL_dtd.txt">
<WIDL NAME="WIDL1" VERSION="1.0">
<SERVICE NAME="Service1" URL="Service_URL" INPUT="File"
OUTPUT="File"/>
<BINDING NAME="Binding1" TYPE="Input">
<REGION NAME="Region1" START="Start" END="End"/>
<VARIABLE NAME="Variable1" NULLOK="False" TYPE="String"
USAGE="Internal" VALUE="value"/>
<CONDITION REF="CRef1" MATCH="CMatch1" SERVICE="Service1"
TYPE="Success"/>
<VARIABLE NAME="Variable2" NULLOK="True" TYPE="String1"
USAGE="Header"/>
</BINDING>
<BINDING NAME="Binding2" TYPE="Output">
<CONDITION REF="CRef2" MATCH="CMatch2" TYPE="Retry"/>
<VARIABLE NAME="Variable3" NULLOK="False" TYPE="String2"
USAGE="Function" MASK="mask"/>
</BINDING>
</WIDL>
Second Call to test:
Please note how service1 repeats itself. I would expect that
the XML string would look like the first output:
How can I fix this??
<?xml version = '1.0' encoding = 'ASCII'?>
<!DOCTYPE WIDL SYSTEM "file:/home/hmiranda/tmp/WIDL_dtd.txt">
<WIDL NAME="WIDL1" VERSION="1.0">
<SERVICE NAME="Service1" URL="Service_URL" INPUT="File"
OUTPUT="File"/>
<BINDING NAME="Binding1" TYPE="Input">
<REGION NAME="Region1" START="Start" END="End"/>
<VARIABLE NAME="Variable1" NULLOK="False" TYPE="String"
USAGE="Internal" VALUE="value"/>
<CONDITION REF="CRef1" MATCH="CMatch1" SERVICE="Service1"
TYPE="Success"/>
<VARIABLE NAME="Variable2" NULLOK="True" TYPE="String1"
USAGE="Header"/>
</BINDING>
<BINDING NAME="Binding2" TYPE="Output">
<CONDITION REF="CRef2" MATCH="CMatch2" TYPE="Retry"/>
<VARIABLE NAME="Variable3" NULLOK="False" TYPE="String2"
USAGE="Function" MASK="mask"/>
</BINDING>
<SERVICE NAME="Service1" URL="Service_URL" INPUT="File"
OUTPUT="File"/>
<BINDING NAME="Binding1" TYPE="Input">
<REGION NAME="Region1" START="Start" END="End"/>
<VARIABLE NAME="Variable1" NULLOK="False" TYPE="String"
USAGE="Internal" VALUE="value"/>
<CONDITION REF="CRef1" MATCH="CMatch1" SERVICE="Service1"
TYPE="Success"/>
<VARIABLE NAME="Variable2" NULLOK="True" TYPE="String1"
USAGE="Header"/>
</BINDING>
<BINDING NAME="Binding2" TYPE="Output">
<CONDITION REF="CRef2" MATCH="CMatch2" TYPE="Retry"/>
<VARIABLE NAME="Variable3" NULLOK="False" TYPE="String2"
USAGE="Function" MASK="mask"/>
</BINDING>
</WIDL>
Any Help is appreciated.
Hector.
nullHector Miranda (guest) wrote:
: When I run the Sample program for the Oracle classgen for Java
: the XML document node repeats itself when called the second
: time. This is what I mean:
: import oracle.xml.classgen.*;
: import oracle.xml.parser.*;
: public class TestWidl
: static WIDL w1 = new WIDL();
: public static void main (String args[])
: test();
: test();
: static void test ()
: try
: DTD dtd = w1.getDTDNode();
: w1.setNAME("WIDL1");
: w1.setVERSION(WIDL.VERSION_1_0);
: SERVICE s1 = new SERVICE("Service1", "Service_URL");
: s1.setINPUT("File");
: s1.setOUTPUT("File");
: BINDING b1 = new BINDING("Binding1");
: b1.setTYPE(BINDING.TYPE_INPUT);
: BINDING b2 = new BINDING("Binding2");
: b2.setTYPE(BINDING.TYPE_OUTPUT);
: VARIABLE v1 = new VARIABLE("Variable1",
: VARIABLE.NULLOK_FALSE);
: v1.setTYPE(VARIABLE.TYPE_STRING);
: v1.setUSAGE(VARIABLE.USAGE_INTERNAL);
: v1.setVALUE("value");
: VARIABLE v2 = new VARIABLE("Variable2",
: VARIABLE.NULLOK_TRUE);
: v2.setTYPE(VARIABLE.TYPE_STRING1);
: v2.setUSAGE(VARIABLE.USAGE_HEADER);
: VARIABLE v3 = new VARIABLE("Variable3",
: VARIABLE.NULLOK_FALSE);
: v3.setTYPE(VARIABLE.TYPE_STRING2);
: v3.setUSAGE(VARIABLE.USAGE_FUNCTION);
: v3.setMASK("mask");
: CONDITION c1 = new CONDITION("CRef1", "CMatch1");
: c1.setSERVICE("Service1");
: c1.setTYPE(CONDITION.TYPE_SUCCESS);
: CONDITION c2 = new CONDITION("CRef2", "CMatch2");
: c2.setTYPE(CONDITION.TYPE_RETRY);
: CONDITION c3 = new CONDITION("CRef3", "CMatch3");
: c3.setSERVICE("Service3");
: c3.setTYPE(CONDITION.TYPE_FAILURE);
: REGION r1 = new REGION("Region1", "Start", "End");
: b1.addNode(r1);
: b1.addNode(v1);
: b1.addNode(c1);
: b1.addNode(v2);
: b2.addNode(c2);
: b2.addNode(v3);
: w1.addNode(s1);
: w1.addNode(b1);
: w1.addNode(b2);
: w1.validateContent();
: w1.print(System.out);
: catch (Exception e)
: System.out.println(e.toString());
: e.printStackTrace();
: The XML output looks like this:
: First Call to test():
: <?xml version = '1.0' encoding = 'ASCII'?>
: <!DOCTYPE WIDL SYSTEM "file:/home/hmiranda/tmp/WIDL_dtd.txt">
: <WIDL NAME="WIDL1" VERSION="1.0">
: <SERVICE NAME="Service1" URL="Service_URL" INPUT="File"
: OUTPUT="File"/>
: <BINDING NAME="Binding1" TYPE="Input">
: <REGION NAME="Region1" START="Start" END="End"/>
: <VARIABLE NAME="Variable1" NULLOK="False" TYPE="String"
: USAGE="Internal" VALUE="value"/>
: <CONDITION REF="CRef1" MATCH="CMatch1"
SERVICE="Service1"
: TYPE="Success"/>
: <VARIABLE NAME="Variable2" NULLOK="True" TYPE="String1"
: USAGE="Header"/>
: </BINDING>
: <BINDING NAME="Binding2" TYPE="Output">
: <CONDITION REF="CRef2" MATCH="CMatch2" TYPE="Retry"/>
: <VARIABLE NAME="Variable3" NULLOK="False" TYPE="String2"
: USAGE="Function" MASK="mask"/>
: </BINDING>
: </WIDL>
: Second Call to test:
: Please note how service1 repeats itself. I would expect that
: the XML string would look like the first output:
: How can I fix this??
: <?xml version = '1.0' encoding = 'ASCII'?>
: <!DOCTYPE WIDL SYSTEM "file:/home/hmiranda/tmp/WIDL_dtd.txt">
: <WIDL NAME="WIDL1" VERSION="1.0">
: <SERVICE NAME="Service1" URL="Service_URL" INPUT="File"
: OUTPUT="File"/>
: <BINDING NAME="Binding1" TYPE="Input">
: <REGION NAME="Region1" START="Start" END="End"/>
: <VARIABLE NAME="Variable1" NULLOK="False" TYPE="String"
: USAGE="Internal" VALUE="value"/>
: <CONDITION REF="CRef1" MATCH="CMatch1"
SERVICE="Service1"
: TYPE="Success"/>
: <VARIABLE NAME="Variable2" NULLOK="True" TYPE="String1"
: USAGE="Header"/>
: </BINDING>
: <BINDING NAME="Binding2" TYPE="Output">
: <CONDITION REF="CRef2" MATCH="CMatch2" TYPE="Retry"/>
: <VARIABLE NAME="Variable3" NULLOK="False" TYPE="String2"
: USAGE="Function" MASK="mask"/>
: </BINDING>
: <SERVICE NAME="Service1" URL="Service_URL" INPUT="File"
: OUTPUT="File"/>
: <BINDING NAME="Binding1" TYPE="Input">
: <REGION NAME="Region1" START="Start" END="End"/>
: <VARIABLE NAME="Variable1" NULLOK="False" TYPE="String"
: USAGE="Internal" VALUE="value"/>
: <CONDITION REF="CRef1" MATCH="CMatch1"
SERVICE="Service1"
: TYPE="Success"/>
: <VARIABLE NAME="Variable2" NULLOK="True" TYPE="String1"
: USAGE="Header"/>
: </BINDING>
: <BINDING NAME="Binding2" TYPE="Output">
: <CONDITION REF="CRef2" MATCH="CMatch2" TYPE="Retry"/>
: <VARIABLE NAME="Variable3" NULLOK="False" TYPE="String2"
: USAGE="Function" MASK="mask"/>
: </BINDING>
: </WIDL>
: Any Help is appreciated.
: Hector.
Move
WIDL w1 = new WIDL();
out of test() and modify it as
public class TestWidl
static WIDL w1 = new WIDL(); ...
and this will work.
Oracle XML Team
http://technet.oracle.com
Oracle Technology Network
null -
Remove first line in the XML Document
Hi Friends,
In my File to File scenario when ever new mesg is appending to file at receiver side,it should remove <?xml version="1.0" encoding="ISO-8859-1"?> tag from the XML Document.This means <?xml version="1.0" encoding="ISO-8859-1"?> tag should appear once in a document.Plz suggest me to do this.
Thanks
pullarao.Hi there,
you can either use XSLT (with output type="text") or Java, using the code:
try {
DocumentBuilderFactory docBuilderFactory = DocumentBuilderFactory.newInstance();
DocumentBuilder docBuilder = docBuilderFactory.newDocumentBuilder();
Document doc = docBuilder.parse(in);
TransformerFactory tf = TransformerFactory.newInstance();
Transformer trans = tf.newTransformer();
trans.setOutputProperty(OutputKeys.OMIT_XML_DECLARATION, "yes");
DOMSource source = new DOMSource(doc);
OutputStream out = new ByteArrayOutputStream();
trans.transform(source, new StreamResult(out));
} catch (...
But as Bhavesh said, append mode is not recommended for XML files.
Best approach is collect pattern on BPM.
Regards,
Henrique. -
String representation of the xml document
hi, I have created the following xml document using the DOM api. I want to the "function" to return a "string" - which represents the xml document i created. How do u do that?
As of now it doesnt return anything...
How do u return the entire xml document as character data..? just like
<root><elements>data</elements></root>....
anyhelp would be great.
import java.io.*;
import javax.xml.parsers.DocumentBuilderFactory;
import javax.xml.parsers.DocumentBuilder;
import org.w3c.dom.*;
public class test1{
private static void function()throws IOException, DOMException{
DocumentBuilderFactory dbf = DocumentBuilderFactory.newInstance ();
DocumentBuilder db = dbf.newDocumentBuilder ();
Document doc = db.newDocument ();
Element record = doc.createElement ("record");
Element name = doc.createElement ("name");
Element address = doc.createElement ("address");
Element zip = doc.createElement ("zip");
Text nameText = doc.createTextNode("bill");
Text addressText = doc.createTextNode("128, washington");
Text zipText = doc.createTextNode("10000");
doc.appendChild(record);
record.appendChild(name);
name.appendChild(nameText);
record.appendChild(address);
address.appendChild(addressText);
record.appendChild(zip);
zip.appendChild(zipText);
public static void main (String argv [])throws Exception {
function();
}Brent,
Looks like you're using the Sun Java Parser. I'll show you how to do it with the Oracle XML Parser and you can extrapolate...
Document doc = new XMLDocument();
// Stuff here to build up the DOM Doc
// with elements, etc.
// Print the Document to a String
StringWriter sw = new StringWriter();
// Wrap the stringwriter in a printwriter
PrintWriter pw = new PrintWriter(sw);
// Print to the printwriter
((XMLDocument)doc).print(pw);
// return the string from the stringwriter
return sw.toString(); -
Not able to validate the xml document against DTD using SAX
Hi ,
i am not able to validate xml document against its DTD using SAX parser even after setting setValidating = true. even if the file is not correct according to DTD , it is not throwing any exception. what could be the reason.? please help..
kranthi
this is the code sample i used.
SAXParserFactory factory = SAXParserFactory.newInstance();
factory.setValidating(true);
try {
factory.newSAXParser().parse(new File("sample.xml"), handler);
} catch (SAXException e) {
e.printStackTrace(); System.exit(2);
} catch (ParserConfigurationException e) {
e.printStackTrace();
}Hi karthik
Thanks for your response
Actually iam a beginner in java coding hence struggling to come up with the things
I tried putting your code and onserver side i see it is returning 09:12:17,234 INFO [STDOUT] [root: null]
actually the same program i wrote in java
and the same method i was calling from the main
and it is working fine and the xml document is getting displayed one important thing to be noted here is that the factory.newDocumentBuilder().parse(new File(filename));is returing XmlDocument
and the printing takes place
but the in same method public static Document parseXMLFile(String filename, boolean b) in servlet
the line factory.newDocumentBuilder().parse(new File(filename)); is returning DeferredDocumentImpl
and this creating problem , had it returned XmlDocument
i would have printed the elements one one
but as it is returning deferredimpl
iam unable to print the elements
could you please tell me why factory.newDocumentBuilder().parse(new File(filename)); is returning DeferredDocumentImpl
in servlets but in plain java pogram it is returing XmlDocument
Thanks
Bhanu -
Error when parsing the XML document
hi all.
i have the next problem.
the sender sistem send to XI an XML. some tags send a '#' caracter.
Sender Service send:
Torre B1 - B#Unimev
when Im traying to test XML inbound, XI show the next error:
Error when parsing the XML document (Fatal Error: com.sap.engine.lib.xml.parser.ParserException: Invalid char #0x14(:main:, row:1, col:992))
XML:
<?xml version="1.0" encoding="UTF-8" ?>
- <ZDEBMAS6>
- <IDOC BEGIN="1">
- <EDI_DC40 SEGMENT="1">
<TABNAM>EDI_DC40</TABNAM>
<MANDT>300</MANDT>
<DOCNUM>0000000000339708</DOCNUM>
<DOCREL>640</DOCREL>
<STATUS>30</STATUS>
<DIRECT>1</DIRECT>
<OUTMOD>2</OUTMOD>
</EDI_DC40>
- <E1KNA1M SEGMENT="1">
<MSGFN>009</MSGFN>
<REGIO>07</REGIO>
<STCD1>20147972750</STCD1>
<FITYP>01</FITYP>
<STCDT>80</STCDT>
<STCD3>0</STCD3>
- <Z1KNA1M SEGMENT="1">
<MSGFN>009</MSGFN>
<KUNNR>0001000563</KUNNR>
<ZZSOCRCV>3100</ZZSOCRCV>
<ZZGBDAT>00000000</ZZGBDAT>
<b> <ZZAD_STREET_CO>Torre B1 - B Unimev</ZZAD_STREET_CO></b>
<ZZAD_ROOMNUM_CO>PB</ZZAD_ROOMNUM_CO>
<ZZAD_FLOOR_CO>E</ZZAD_FLOOR_CO>
<ZZAD_PSTCD1_CO>M5521AAR</ZZAD_PSTCD1_CO>
<ZZAD_CITY1_CO>Mendoza</ZZAD_CITY1_CO>
<ZZAD_REGIO_CO>07</ZZAD_REGIO_CO>
</Z1KNA1M>
<Z1ADRCM SEGMENT="1">
<MSGFN>009</MSGFN>
<KUNNR>0001000563</KUNNR>
<b><STREET>Torre B1 - B Unimev</STREET></b>
<FLOOR>PB</FLOOR>
<HOUSE_NUM2>E</HOUSE_NUM2>
<CITY1>Mendoza</CITY1>
<POST_CODE1>5521</POST_CODE1>
<COUNTRY>AR</COUNTRY>
<REGION>07</REGION>
<LANGU>S</LANGU>
</Z1ADRCM>
</E1KNA1M>
</IDOC>
</ZDEBMAS6>
Message was edited by: Rodrigo Pertierra
Message was edited by: Rodrigo PertierraHi Rodrigo,
Do you use a specific "encoding" like UTF-8 or ISO-8859-1 in your Sender CC.
Try changing the Transfer mode to Binary instead of Text.
Also go through these links:-
http://help.sap.com/saphelp_nw2004s/helpdata/en/e3/94007075cae04f930cc4c034e411e1/content.htm
Invalid char in XML from inbound IDoc
Hope this provides a solution.
Regards.
Praveen -
After migration to Exchange 2013 the old outlook clients do not automatically reconfigure
After migration to Exchange 2013 the old outlook clients do not automatically reconfigure
we use outlook 2013Hi ,
I hope you would be having exchange 2013 coexistence environment with exchange 2010 or 2007.
Autodiscover is the feature which will make the outlook profiles to configure automatically.So please make sure the following things are in place.
1.Autodiscover record on the internal dns need to be configured and it has to be resolved properly to the cas servers or else to the LB if you have.
2.Please check the autodiscover internal url.
get-clientaccessserver -identity "server name" | fl *internaluri*
3.Make sure the name used for the autodisocver and internal outlook anywhere are available on the SAN certificate installed in exchange.Same time we need to enable the installed SAN certificate for the exchange services like iis,pop,imap,smtp.
4.You need to have the autodicover name and internal outlook anywhere name on the internet explorer proxy exceptions when you have proxy servers available on your network for internet access.
Note : moreover we need an additional information's from your side about your environment.
Thanks & Regards S.Nithyanandham -
Please help to read the XML document with XMLTable
Hi Gurus,
I am not very familiar with XML parsing. It seems to me it should be very easy to get the data. For some reason, I am having a problem to get the data.
SELECT *
FROM util.hlsr_online_entries e,
XMLTABLE(
xmlnamespaces(
'http://tempuri.org/' as "dt",
'urn:schemas-microsoft-com:xml-diffgram-v1' as "dg"),
'/DataTable/dg:diffgram/DocumentElement/JrShowCustomerHeifers'
PASSING XMLTYPE(e.entry_data)
COLUMNS
SeqNo FOR ORDINALITY,
DocumentID NUMBER PATH 'DocumentID',
ClubName VARCHAR2(100) PATH 'ClubName') as test
WHERE e.ref_id = 33422
The above query does not bring any data for me. My hunts is the problem with DocumentElement tab. I have been trying a different variation to handle.
Please help me out to tune the query
I have the following XML document from the DotNet developer
<?xml version="1.0" encoding="utf-8"?>
<DataTable xmlns="http://tempuri.org/">
<xs:schema id="NewDataSet" xmlns="" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata">
<xs:element name="NewDataSet" msdata:IsDataSet="true" msdata:MainDataTable="JrShowCustomerHeifers" msdata:UseCurrentLocale="true">
<xs:complexType>
<xs:choice minOccurs="0" maxOccurs="unbounded">
<xs:element name="JrShowCustomerHeifers">
<xs:complexType>
<xs:sequence>
<xs:element name="DocumentID" type="xs:int" minOccurs="0" />
<xs:element name="ClubName" type="xs:string" minOccurs="0" />
<xs:element name="LastName" type="xs:string" minOccurs="0" />
<xs:element name="FirstName" type="xs:string" minOccurs="0" />
<xs:element name="PreferredName" type="xs:string" minOccurs="0" />
<xs:element name="Email" type="xs:string" minOccurs="0" />
<xs:element name="Exhibitor" type="xs:string" minOccurs="0" />
<xs:element name="AnimalName" type="xs:string" minOccurs="0" />
<xs:element name="RegistryNo" type="xs:string" minOccurs="0" />
<xs:element name="DateofBirth" type="xs:string" minOccurs="0" />
<xs:element name="NameofSire" type="xs:string" minOccurs="0" />
<xs:element name="SireRegistryNo" type="xs:string" minOccurs="0" />
<xs:element name="NameofDam" type="xs:string" minOccurs="0" />
<xs:element name="DamRegistryNo" type="xs:string" minOccurs="0" />
<xs:element name="Tattoo" type="xs:string" minOccurs="0" />
<xs:element name="SecondaryTattoo" type="xs:string" minOccurs="0" />
<xs:element name="UniversalIDNumber" type="xs:string" minOccurs="0" />
<xs:element name="Tattoo_Location" type="xs:string" minOccurs="0" />
<xs:element name="Secondary_Tattoo_Location" type="xs:string" minOccurs="0" />
<xs:element name="OracleBreedID" type="xs:int" minOccurs="0" />
<xs:element name="JrValidationBreedName" type="xs:string" minOccurs="0" />
<xs:element name="ValidationDate" type="xs:dateTime" minOccurs="0" />
<xs:element name="ValidatedBy" type="xs:string" minOccurs="0" />
<xs:element name="ValidationComment" type="xs:string" minOccurs="0" />
</xs:sequence>
</xs:complexType>
</xs:element>
</xs:choice>
</xs:complexType>
</xs:element>
</xs:schema>
<diffgr:diffgram xmlns:msdata="urn:schemas-microsoft-com:xml-msdata" xmlns:diffgr="urn:schemas-microsoft-com:xml-diffgram-v1">
<DocumentElement xmlns="">
<JrShowCustomerHeifers diffgr:id="JrShowCustomerHeifers1" msdata:rowOrder="0">
<DocumentID>18442</DocumentID>
<ClubName>Perrin FFA</ClubName>
<LastName>Hamman</LastName>
<FirstName>Kaily</FirstName>
<Email>[email protected]</Email>
<Exhibitor>Hamman, Kaily</Exhibitor>
<AnimalName>113</AnimalName>
<RegistryNo>C1026447</RegistryNo>
<DateofBirth>01/14/2013</DateofBirth>
<NameofSire>808 GAME DAY 808 LH</NameofSire>
<SireRegistryNo>C961101</SireRegistryNo>
<NameofDam>SADDIE 7/7 LE</NameofDam>
<DamRegistryNo>C941067</DamRegistryNo>
<Tattoo>113</Tattoo>
<SecondaryTattoo />
<UniversalIDNumber>1194F020</UniversalIDNumber>
<Tattoo_Location>TATTOO - Left Ear</Tattoo_Location>
<Secondary_Tattoo_Location />
<OracleBreedID>6383</OracleBreedID>
<JrValidationBreedName>Beefmaster</JrValidationBreedName>
<ValidationDate>2014-11-25T08:39:00-06:00</ValidationDate>
<ValidatedBy>laineyb</ValidatedBy>
<ValidationComment />
</JrShowCustomerHeifers>
<JrShowCustomerHeifers diffgr:id="JrShowCustomerHeifers2" msdata:rowOrder="1">
<DocumentID>18473</DocumentID>
<ClubName>Perrin FFA</ClubName>
<LastName>Hamman</LastName>
<FirstName>Kaily</FirstName>
<Email>[email protected]</Email>
<Exhibitor>Hamman, Kaily</Exhibitor>
<AnimalName>KPH PURPLE CORALEE 349</AnimalName>
<RegistryNo>P43461953</RegistryNo>
<DateofBirth>11/04/2013</DateofBirth>
<NameofSire>PURPLE MOXY 22X ET</NameofSire>
<SireRegistryNo>P43126458</SireRegistryNo>
<NameofDam>TCC CORKY 6603</NameofDam>
<DamRegistryNo>P42457119</DamRegistryNo>
<Tattoo>349</Tattoo>
<SecondaryTattoo>KPH</SecondaryTattoo>
<UniversalIDNumber>1194F021</UniversalIDNumber>
<Tattoo_Location>TATTOO - Left Ear</Tattoo_Location>
<Secondary_Tattoo_Location>TATTOO - Right Ear</Secondary_Tattoo_Location>
<OracleBreedID>6389</OracleBreedID>
<JrValidationBreedName>Polled Hereford</JrValidationBreedName>
<ValidationDate>2014-12-01T11:55:00-06:00</ValidationDate>
<ValidatedBy>Hannah</ValidatedBy>
<ValidationComment />
</JrShowCustomerHeifers>
<JrShowCustomerHeifers diffgr:id="JrShowCustomerHeifers3" msdata:rowOrder="2">
<DocumentID>18474</DocumentID>
<ClubName>Perrin FFA</ClubName>
<LastName>Hamman</LastName>
<FirstName>Kaily</FirstName>
<Email>[email protected]</Email>
<Exhibitor>Hamman, Kaily</Exhibitor>
<AnimalName>LANGFORDS SWEET N SOUR 4107</AnimalName>
<RegistryNo>43504761</RegistryNo>
<DateofBirth>03/02/2014</DateofBirth>
<NameofSire>LH TNT 1017</NameofSire>
<SireRegistryNo>43199794</SireRegistryNo>
<NameofDam>LANGFORDS LADY 2206 ET</NameofDam>
<DamRegistryNo>43315143</DamRegistryNo>
<Tattoo>4107</Tattoo>
<SecondaryTattoo />
<UniversalIDNumber>1194F018</UniversalIDNumber>
<Tattoo_Location>TATTOO - Left Ear</Tattoo_Location>
<Secondary_Tattoo_Location />
<OracleBreedID>6398</OracleBreedID>
<JrValidationBreedName>Hereford</JrValidationBreedName>
<ValidationDate>2014-11-24T14:26:00-06:00</ValidationDate>
<ValidatedBy>Validator</ValidatedBy>
<ValidationComment />
</JrShowCustomerHeifers>
<JrShowCustomerHeifers diffgr:id="JrShowCustomerHeifers4" msdata:rowOrder="3">
<DocumentID>18475</DocumentID>
<ClubName>Perrin FFA</ClubName>
<LastName>Hamman</LastName>
<FirstName>Kaily</FirstName>
<Email>[email protected]</Email>
<Exhibitor>Hamman, Kaily</Exhibitor>
<AnimalName>PURPLE CCC LYDIA 19A</AnimalName>
<RegistryNo>P43406978</RegistryNo>
<DateofBirth>02/05/2013</DateofBirth>
<NameofSire>PURPLE MB WOMANIZER 14UET</NameofSire>
<SireRegistryNo>P42945146</SireRegistryNo>
<NameofDam>PURPLE CMCC NASTIA 9U</NameofDam>
<DamRegistryNo>P42927201</DamRegistryNo>
<Tattoo>19A</Tattoo>
<SecondaryTattoo />
<UniversalIDNumber>1194F017</UniversalIDNumber>
<Tattoo_Location>TATTOO - Left Ear</Tattoo_Location>
<Secondary_Tattoo_Location />
<OracleBreedID>6389</OracleBreedID>
<JrValidationBreedName>Polled Hereford</JrValidationBreedName>
<ValidationDate>2014-12-01T11:55:00-06:00</ValidationDate>
<ValidatedBy>Hannah</ValidatedBy>
<ValidationComment />
</JrShowCustomerHeifers>
<JrShowCustomerHeifers diffgr:id="JrShowCustomerHeifers5" msdata:rowOrder="4">
<DocumentID>18477</DocumentID>
<ClubName>Perrin FFA</ClubName>
<LastName>Hamman</LastName>
<FirstName>Kaily</FirstName>
<Email>[email protected]</Email>
<Exhibitor>Hamman, Kaily</Exhibitor>
<AnimalName>PURPLE SGW EDEN 12B</AnimalName>
<RegistryNo>P43521932</RegistryNo>
<DateofBirth>04/02/2014</DateofBirth>
<NameofSire>RST TIME'S A WASTIN' 0124</NameofSire>
<SireRegistryNo>43123163</SireRegistryNo>
<NameofDam>PURPLE SM WONDER WOMAN 160Y</NameofDam>
<DamRegistryNo>P43235169</DamRegistryNo>
<Tattoo>12B</Tattoo>
<SecondaryTattoo>12B</SecondaryTattoo>
<UniversalIDNumber>1194F015</UniversalIDNumber>
<Tattoo_Location>TATTOO - Left Ear</Tattoo_Location>
<Secondary_Tattoo_Location>TATTOO - Right Ear</Secondary_Tattoo_Location>
<OracleBreedID>6389</OracleBreedID>
<JrValidationBreedName>Polled Hereford</JrValidationBreedName>
<ValidationDate>2014-12-01T11:56:00-06:00</ValidationDate>
<ValidatedBy>Hannah</ValidatedBy>
<ValidationComment />
</JrShowCustomerHeifers>
</DocumentElement>
</diffgr:diffgram>
</DataTable>Hi odie_63,
Good evening. I am not sure what you are suggesting. Please provide me the example how to solve the problem. I am very new to XML parsing.
In the meantime, I am having another problem to get the data because .net developer changes the webservice format. To me it is supposed to work fine. May be my eyes are getting blurred so, I can't see where I am wrong.
Thanks in advance. Please help me out.
SELECT exh.docid,exh.clubname,exh.lname,exh.fname,exh.exhibitor,exh.animalname
FROM util.hlsr_online_entries e,
XMLTABLE(
xmlnamespaces(
'http://webservices.hlsr.net/JrShowOracleService/' as "dt",
'urn:schemas-microsoft-com:xml-diffgram-v1' as "dg"),
'/dt:GetJrShowCustomerHeifersResponse/GetJrShowCustomerHeifersResult/dg:diffgram/DocumentElement/JrShowCustomerHeifers'
PASSING XMLTYPE(e.entry_data)
COLUMNS
SeqNo FOR ORDINALITY,
DocID NUMBER PATH 'DocumentID',
ClubName VARCHAR2(100) PATH 'ClubName',
LName VARCHAR2(100) PATH 'LastName',
FName VARCHAR2(100) PATH 'FirstName',
Email VARCHAR2(100) PATH 'Email',
Exhibitor VARCHAR2(100) PATH 'Exhibitor',
AnimalName VARCHAR2(100) PATH 'AnimalName',
RegNo VARCHAR2(100) PATH 'RegistryNo',
DOB VARCHAR2(100) PATH 'DateofBirth',
SireName VARCHAR2(100) PATH 'NameofSire',
SireRegNo VARCHAR2(100) PATH 'SireRegistryNo',
Dam VARCHAR2(100) PATH 'NameofDam',
DamRegNo VARCHAR2(100) PATH 'DamRegistryNo',
Tattoo VARCHAR2(100) PATH 'Tattoo',
SecTattoo VARCHAR2(100) PATH 'SecondaryTattoo',
UnivIDNum VARCHAR2(100) PATH 'UniversalIDNumber',
TattooLoc VARCHAR2(100) PATH 'Tattoo_Location',
OraBreedID NUMBER PATH 'OracleBreedID',
Breed VARCHAR2(100) PATH 'JrValidationBreedName',
ValDate VARCHAR2(100) PATH 'ValidationDate'
) as exh
WHERE e.ref_id = 33432
<GetJrShowCustomerHeifersResponse xmlns="http://webservices.hlsr.net/JrShowOracleService/">
<GetJrShowCustomerHeifersResult>
<xs:schema id="NewDataSet" xmlns="" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata">
<xs:element name="NewDataSet" msdata:IsDataSet="true" msdata:MainDataTable="JrShowCustomerHeifers" msdata:UseCurrentLocale="true">
<xs:complexType>
<xs:choice minOccurs="0" maxOccurs="unbounded">
<xs:element name="JrShowCustomerHeifers">
<xs:complexType>
<xs:sequence>
<xs:element name="DocumentID" type="xs:int" minOccurs="0"/>
<xs:element name="ClubName" type="xs:string" minOccurs="0"/>
<xs:element name="LastName" type="xs:string" minOccurs="0"/>
<xs:element name="FirstName" type="xs:string" minOccurs="0"/>
<xs:element name="PreferredName" type="xs:string" minOccurs="0"/>
<xs:element name="Email" type="xs:string" minOccurs="0"/>
<xs:element name="Exhibitor" type="xs:string" minOccurs="0"/>
<xs:element name="AnimalName" type="xs:string" minOccurs="0"/>
<xs:element name="RegistryNo" type="xs:string" minOccurs="0"/>
<xs:element name="DateofBirth" type="xs:string" minOccurs="0"/>
<xs:element name="NameofSire" type="xs:string" minOccurs="0"/>
<xs:element name="SireRegistryNo" type="xs:string" minOccurs="0"/>
<xs:element name="NameofDam" type="xs:string" minOccurs="0"/>
<xs:element name="DamRegistryNo" type="xs:string" minOccurs="0"/>
<xs:element name="Tattoo" type="xs:string" minOccurs="0"/>
<xs:element name="SecondaryTattoo" type="xs:string" minOccurs="0"/>
<xs:element name="UniversalIDNumber" type="xs:string" minOccurs="0"/>
<xs:element name="Tattoo_Location" type="xs:string" minOccurs="0"/>
<xs:element name="Secondary_Tattoo_Location" type="xs:string" minOccurs="0"/>
<xs:element name="OracleBreedID" type="xs:int" minOccurs="0"/>
<xs:element name="JrValidationBreedName" type="xs:string" minOccurs="0"/>
<xs:element name="ValidationDate" type="xs:string" minOccurs="0"/>
<xs:element name="ValidatedBy" type="xs:string" minOccurs="0"/>
<xs:element name="ValidationComment" type="xs:string" minOccurs="0"/>
</xs:sequence>
</xs:complexType>
</xs:element>
</xs:choice>
</xs:complexType>
</xs:element>
</xs:schema>
<diffgr:diffgram xmlns:msdata="urn:schemas-microsoft-com:xml-msdata" xmlns:diffgr="urn:schemas-microsoft-com:xml-diffgram-v1">
<DocumentElement xmlns="">
<JrShowCustomerHeifers diffgr:id="JrShowCustomerHeifers1" msdata:rowOrder="0">
<DocumentID>18442</DocumentID>
<ClubName>Perrin FFA</ClubName>
<LastName>Hamman</LastName>
<FirstName>Kaily</FirstName>
<Email>[email protected]</Email>
<Exhibitor>Hamman, Kaily</Exhibitor>
<AnimalName>113</AnimalName>
<RegistryNo>C1026447</RegistryNo>
<DateofBirth>01/14/2013</DateofBirth>
<NameofSire>808 GAME DAY 808 LH</NameofSire>
<SireRegistryNo>C961101</SireRegistryNo>
<NameofDam>SADDIE 7/7 LE</NameofDam>
<DamRegistryNo>C941067</DamRegistryNo>
<Tattoo>113</Tattoo>
<SecondaryTattoo/>
<UniversalIDNumber>1194F020</UniversalIDNumber>
<Tattoo_Location>TATTOO - Left Ear</Tattoo_Location>
<Secondary_Tattoo_Location/>
<OracleBreedID>6383</OracleBreedID>
<JrValidationBreedName>Beefmaster</JrValidationBreedName>
<ValidationDate>11/25/2014</ValidationDate>
<ValidatedBy>laineyb</ValidatedBy>
<ValidationComment/>
</JrShowCustomerHeifers>
<JrShowCustomerHeifers diffgr:id="JrShowCustomerHeifers2" msdata:rowOrder="1">
<DocumentID>18473</DocumentID>
<ClubName>Perrin FFA</ClubName>
<LastName>Hamman</LastName>
<FirstName>Kaily</FirstName>
<Email>[email protected]</Email>
<Exhibitor>Hamman, Kaily</Exhibitor>
<AnimalName>KPH PURPLE CORALEE 349</AnimalName>
<RegistryNo>P43461953</RegistryNo>
<DateofBirth>11/04/2013</DateofBirth>
<NameofSire>PURPLE MOXY 22X ET</NameofSire>
<SireRegistryNo>P43126458</SireRegistryNo>
<NameofDam>TCC CORKY 6603</NameofDam>
<DamRegistryNo>P42457119</DamRegistryNo>
<Tattoo>349</Tattoo>
<SecondaryTattoo>KPH</SecondaryTattoo>
<UniversalIDNumber>1194F021</UniversalIDNumber>
<Tattoo_Location>TATTOO - Left Ear</Tattoo_Location>
<Secondary_Tattoo_Location>TATTOO - Right Ear</Secondary_Tattoo_Location>
<OracleBreedID>6389</OracleBreedID>
<JrValidationBreedName>Polled Hereford</JrValidationBreedName>
<ValidationDate>12/01/2014</ValidationDate>
<ValidatedBy>Hannah</ValidatedBy>
<ValidationComment/>
</JrShowCustomerHeifers>
<JrShowCustomerHeifers diffgr:id="JrShowCustomerHeifers3" msdata:rowOrder="2">
<DocumentID>18474</DocumentID>
<ClubName>Perrin FFA</ClubName>
<LastName>Hamman</LastName>
<FirstName>Kaily</FirstName>
<Email>[email protected]</Email>
<Exhibitor>Hamman, Kaily</Exhibitor>
<AnimalName>LANGFORDS SWEET N SOUR 4107</AnimalName>
<RegistryNo>43504761</RegistryNo>
<DateofBirth>03/02/2014</DateofBirth>
<NameofSire>LH TNT 1017</NameofSire>
<SireRegistryNo>43199794</SireRegistryNo>
<NameofDam>LANGFORDS LADY 2206 ET</NameofDam>
<DamRegistryNo>43315143</DamRegistryNo>
<Tattoo>4107</Tattoo>
<SecondaryTattoo/>
<UniversalIDNumber>1194F018</UniversalIDNumber>
<Tattoo_Location>TATTOO - Left Ear</Tattoo_Location>
<Secondary_Tattoo_Location/>
<OracleBreedID>6398</OracleBreedID>
<JrValidationBreedName>Hereford</JrValidationBreedName>
<ValidationDate>11/24/2014</ValidationDate>
<ValidatedBy>Validator</ValidatedBy>
<ValidationComment/>
</JrShowCustomerHeifers>
<JrShowCustomerHeifers diffgr:id="JrShowCustomerHeifers4" msdata:rowOrder="3">
<DocumentID>18475</DocumentID>
<ClubName>Perrin FFA</ClubName>
<LastName>Hamman</LastName>
<FirstName>Kaily</FirstName>
<Email>[email protected]</Email>
<Exhibitor>Hamman, Kaily</Exhibitor>
<AnimalName>PURPLE CCC LYDIA 19A</AnimalName>
<RegistryNo>P43406978</RegistryNo>
<DateofBirth>02/05/2013</DateofBirth>
<NameofSire>PURPLE MB WOMANIZER 14UET</NameofSire>
<SireRegistryNo>P42945146</SireRegistryNo>
<NameofDam>PURPLE CMCC NASTIA 9U</NameofDam>
<DamRegistryNo>P42927201</DamRegistryNo>
<Tattoo>19A</Tattoo>
<SecondaryTattoo/>
<UniversalIDNumber>1194F017</UniversalIDNumber>
<Tattoo_Location>TATTOO - Left Ear</Tattoo_Location>
<Secondary_Tattoo_Location/>
<OracleBreedID>6389</OracleBreedID>
<JrValidationBreedName>Polled Hereford</JrValidationBreedName>
<ValidationDate>12/01/2014</ValidationDate>
<ValidatedBy>Hannah</ValidatedBy>
<ValidationComment/>
</JrShowCustomerHeifers>
<JrShowCustomerHeifers diffgr:id="JrShowCustomerHeifers5" msdata:rowOrder="4">
<DocumentID>18477</DocumentID>
<ClubName>Perrin FFA</ClubName>
<LastName>Hamman</LastName>
<FirstName>Kaily</FirstName>
<Email>[email protected]</Email>
<Exhibitor>Hamman, Kaily</Exhibitor>
<AnimalName>PURPLE SGW EDEN 12B</AnimalName>
<RegistryNo>P43521932</RegistryNo>
<DateofBirth>04/02/2014</DateofBirth>
<NameofSire>RST TIME'S A WASTIN' 0124</NameofSire>
<SireRegistryNo>43123163</SireRegistryNo>
<NameofDam>PURPLE SM WONDER WOMAN 160Y</NameofDam>
<DamRegistryNo>P43235169</DamRegistryNo>
<Tattoo>12B</Tattoo>
<SecondaryTattoo>12B</SecondaryTattoo>
<UniversalIDNumber>1194F015</UniversalIDNumber>
<Tattoo_Location>TATTOO - Left Ear</Tattoo_Location>
<Secondary_Tattoo_Location>TATTOO - Right Ear</Secondary_Tattoo_Location>
<OracleBreedID>6389</OracleBreedID>
<JrValidationBreedName>Polled Hereford</JrValidationBreedName>
<ValidationDate>12/01/2014</ValidationDate>
<ValidatedBy>Hannah</ValidatedBy>
<ValidationComment/>
</JrShowCustomerHeifers>
</DocumentElement>
</diffgr:diffgram>
</GetJrShowCustomerHeifersResult>
</GetJrShowCustomerHeifersResponse>
Thanks again. -
Hi,
I know this question has been asked a ton of times, but I haven't found any instance of this question asked for exchange 2013. Yes, I've seen Exchange 2010, Exchange 2007, but not Exchange 2013. The symptoms are all similar. Here is a description:
1 Exchange 2013 server, all roles installed.
External domain name: associates.com
Internal AD domain name: associates.local
Client installed a third party SSL certificate, but did not purchase a SAN or UC certificate, so there is one namespace on the SSL cert, and that represents the external OWA name: mail.associates.com
Now, when internal OUtlook 2010 clients start, they get the "The name of the security certificate is invalid or does not match the name of the site."
I'm just wondering if http://support.microsoft.com/kb/940726 still applies to Exchange 2013 to fix this issue. Does this article apply to Exchange 2013? If so, I will follow the above
article. If not, please direct me to any articles for Exchange 2013 that addresses this.
the autodiscoverserviceuri points to:
https://netbiosnameofmailserver.associates.local/Autodiscover/Autodiscover.xml
Thanks!
AYes, the http://support.microsoft.com/kb/940726 still applies to Exchange2013.
As per my understanding on this post;
- Poster's Exchange2013 has no SAN certificate.. (usually used for local address like; NETBIOS.Domain.lan). Be reminded that SSL providers will no longer accepts .LAN or .LOCAL in very near future.
- By default it uses local url for EWS, Autodiscover, etc.. (if you don't have SAN certificate installed in your CAS server, you would see the certi warning)
Anyway, I just want to share my case after applying the said work around long time ago (maybe some of you might encounter it as well): my Outlook still showed the certificate warning (I was just keep clicking the YES button).. I was wondering
that time what was wrong with my virtual directory settings.. until I decided to click "NO" for an answer to that certificate warning message, then voila! it didn't bug me anymore. Oh by the way, the certificate warning usually give you a hint
what triggers it like; "autodiscover.Domain.lan" on the first line of message, but in my case it just "NETBIOS.Domain.lan" (didn't make any sense, did it?).. Well, unfortunately I didn't have the chance to figure out what triggered that event.. -
Exchange 2013 - The connection to Microsoft Exchange is unavailable
Hi there,
i have some problems on my new Exchange 2013 Server: Here is the topology:
1 serveur 2012 in workgroup with the Hyper-V role
2 VM: DC2012 is the DC of the domain: intra.mydomain.com, Windows 2012
The other VM is member of the domaine, Windows 2012, Exchange 2013 SP 1 installed.
So, i have dc2012.intra.mydomain.com and mail1.intra.mydomain.com (another DC: DC2008, name: dc2008.intra.mydomain.com)
I have some troubles with the SSL and the connexion of Outlook outside the LAN.
In the LAN on a client, i launch Outlook 2010 and the autodiscver make the rest. The connexion is ok.
But i have a client not in the LAN, so i configured a SSL. I made a request. First Question:
In the ECP, Server, Certificate, i have 3 times "Microsoft Exchange Server Auth Certificate" and 3 times "Microsoft Exchange" with differents dates. Why?
I installed my PKI on the DC2012, and paste the request and download the certificate. I retuned on the exchange server in ECP, Server, Certificate and treat the pending request. In Services i checked IMAP, POP, IIS, SMTP.
Then, in Server, Server, Mail1, OutlookAnywhere, in url extternal: mail.mydomain.com and Authentification: NTLM.
In ECP, Servers, Virtual Directories i wrote the same url external and internal: mail.mydomain.com for ECP, OWA, ActiveSync, OAB.
In my DNS on the DC, i created a CNAME record for mydomain.com et i created a A record for mail. on a client if i make nslookup then mail.mydomain.com the IP is the LAN IP of my exchange server.
I modified the MX record of my public domain: mail.mydomain.com to point on my Public IP. That works.
On the client outside of the LAN, i installed the root certificate and the exchange certificate.
second question:
Why my client outside of the LAN can't connext with outlook.
Thanks a lot for your answers and sorry for the long post.
AlexI resolved my problem!
here is the solution that solved it:
actually, i tried to connect Outlook 2010 ti Exchange 2013. I knew that Exchange now connect Outllok via rpc over http(s), BUT, the Autodiscover (in LAN) transform the field server to something like that:
[email protected] , the xxx correspond to the GUID of the mailbox. So, for my remote user, i launch this command on Exchange 2013:
Get-Mailbox test | fl name, exchangeguid , it give to me the GUID, then in te field "Server" i fill ([email protected]): [email protected]
And in advanced parameters, same things i mentioned in previous post. And it works!!!!!
Thanks to me. -
Noticed at about noon that no emails had been received all day. Began to investigate and found that the MS Exchange Transport service had been set to deny email submission because it was using too much memory on the server (91%).
The error message makes me think that we may have been getting used by malware or something similar.“The Microsoft Exchange Transport service is rejecting message submissions because the service continues to consume more memory than the
configured threshold.”
There are also several warning messages that list particular IP addresses and say that a connection from that IP was denied because there were already the maximum number of connections (20).
From what I can tell, all of the IP addresses are from Taiwan.
The time period for which some emails may be missing is from close of business yesterday ( 4/3/2014) through about 12:45 today (4/4/2014).
From the time I spent reading and trying to figure out the error, I think we may need to readjust our throttling policies to prevent this from happening.
The exchange server is currently running at 90%+ CPU and 50%+ memory usage the majority of the time, and I’m not sure how to fix it.
Also, I cannot get into EMS I get a access denied message from the destination computer. (Exchange server) I want to get into there to change the throttling policy back to default, since we disabled it.
The Error reads:
The WinRM client cannot process the request. The WinRM client tried to use Kerberos authentication mechanism, but the destination computer <Exchange> returned an 'access denied' error. Change the configuration to allow Kerberos authentication
mechanism to be used or specify one of the authentication mechanism supported by the server. (How do I do this?) To use Kerberos, specify the local computer name as the remote destination. (I'm trying to use EMS while logged into the local Exchange server)
Also verify that the client computer and the destination computer are joined to a domain. (Exchange is on our domain, and the computer trying to connect is the same computer) To use basic, specify the local computer name as the remote destination, specify
Basic authentication and provide user mane and password. Possible authentication mechanisms reported by server.
At line:1 char:1
+ New-PSSession -ConnectionURI "$connectionUri" -ConfigurationName Microsoft.Excha ...
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : OpenError: (System.Manageme....RemoteRunspace:RemoteRunspace) [New-PSSession], PSRemotingTransportException + FullyQualifiedErrorId : AccessDenied,PSSessionOpenFailed
I assumed control of this exchange system already in place and I do not have much experience with exchange 2013 or server 2012. I do know 2008, but that doesn't help very much in this situation.
Recent changes to the system:
About three days ago we switch our sessions policy to allow many more connections, and I believe this caused the issue. This is what I changed it to:
Made the registry DWORD (32-bit) "Maximum Allowed Sessions Per User" and modified the value to 1000. Location of registry change @ HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\MSExchangeIS\ParametersSystem
I just changed it to 10 from the 1000. I'm hoping this solves this. So far no.
Also, I am not the best in the shell or command line interfaces. Any help would be wonderful!Hi,
Yes, could be hardware performance issue. Try recycle the Transport process and see if the issue persists.
Thanks,
Simon Wu
TechNet Community Support -
Exchange 2013 The Microsoft Exchange Search Host Controller service terminates
Hi Folks,
at our Exchange Server ( Version 15.0 (Build 775.38 / 0.1 (8.0.535.0 ) we found over 200k entrys / day saying that:
The Microsoft Exchange Search Host Controller service terminated unexpectedly. It has done this 193270 time(s). The following corrective action will be taken in 30 milliseconds: Restart the service.
The Command:
Get-MailboxDatabaseCopyStatus | fl 'Content*'
shows the following:
ContentIndexState : Failed
ContentIndexErrorMessage : An internal error occurred for the database or its index
ContentIndexVersion :
ContentIndexBacklog :
ContentIndexRetryQueueSize :
ContentIndexMailboxesToCrawl :
ContentIndexSeedingPercent :
ContentIndexSeedingSource :
i investigated a bit further:
RunspaceId : 06d7b8f6-969f-47f8-89ba-87b2fed639bb
Identity : db_1\exch1
Id : db_1\exch1
Name : db_1\exch1
DatabaseName : db_1
Status : Healthy
InstanceStartTime : 14.10.2014 21:03:38
LastStatusTransitionTime : 14.10.2014 21:03:45
MailboxServer : exch1
ActiveDatabaseCopy : exch2
ActiveCopy : False
ActivationPreference : 1
StatusRetrievedTime : 15.10.2014 13:36:52
WorkerProcessId : 2076
ActivationSuspended : False
ActionInitiator : Unknown
ErrorMessage :
ErrorEventId :
ExtendedErrorInfo :
SuspendComment :
RequiredLogsPresent :
SinglePageRestore : 0
ContentIndexState : Failed
ContentIndexErrorMessage : An internal error occurred for the database or its index
ContentIndexVersion :
ContentIndexBacklog :
ContentIndexRetryQueueSize :
ContentIndexMailboxesToCrawl :
ContentIndexSeedingPercent :
ContentIndexSeedingSource :
CopyQueueLength : 0
ReplayQueueLength : 0
ReplaySuspended : False
ResumeBlocked : False
ReseedBlocked : False
MinimumSupportedDatabaseSchemaVersion : 0.121
MaximumSupportedDatabaseSchemaVersion : 0.126
So i read that the Database is OK, but the Index is broken somewhow ?
I`ve read somewhere that i should delete the GUID Folder and restart the Hostcontroller service, can somebody explain HOW to do this ? where can i Find the GUID Folder ? Is it the correct way to solve this problem ?
thx in advance!Hi,
after i removed the suggested Folder, i disabled both "Microsoft Exchange Search service and Microsoft Exchange Search Host Controller service, than i restarted the Exchange Server.
After that i restarted both services.
Sadly nothing has changed, hostcontroller.exe is still crashing:
The Microsoft Exchange Search Host Controller service terminated unexpectedly. It has done this 153 time(s). The following corrective action will be taken in 30 milliseconds: Restart the service.
The sequence is like this:
First the Search controller starts:
Search HostController Starts: Service started successfully.
After that the hostcontroller crashes:
.NET Runtime: Application: hostcontrollerservice.exe
Framework Version: v4.0.30319
Description: The process was terminated due to an unhandled exception.
Exception Info: Microsoft.Ceres.HostController.Controller.HostControllerException
Stack:
at Microsoft.Ceres.HostController.WcfServer.WcfService.StartService()
at System.Threading.ExecutionContext.RunInternal(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object, Boolean)
at System.Threading.ExecutionContext.Run(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object, Boolean)
at System.Threading.ExecutionContext.Run(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object)
at System.Threading.ThreadHelper.ThreadStart()
Than we get this Application Error:
Application Error:
Faulting application name: hostcontrollerservice.exe, version: 16.0.775.0, time stamp: 0x5211bea8
Faulting module name: KERNELBASE.dll, version: 6.2.9200.16864, time stamp: 0x531d34d8
Exception code: 0xe0434352
Fault offset: 0x0000000000047b8c
Faulting process id: 0x2a08
Faulting application start time: 0x01cfe90eb249f511
Faulting application path: C:\Program Files\Microsoft\Exchange Server\V15\Bin\Search\Ceres\HostController\hostcontrollerservice.exe
Faulting module path: C:\Windows\system32\KERNELBASE.dll
Report Id: f2351e08-5501-11e4-940b-00155d203202
Faulting package full name:
Faulting package-relative application ID:
So if anybody can help - feel free! -
XSQL: How to embed the XML document(s) instead of posting?
Dear all.
I'm trying to use XSQL for a self-contained database schema setup. This setup should be able to handle DML (INSERT/UPDATE/DELETE), PL/SQL calls etc and I thought XSQL looks perfect for the job. As such, I wouldn't be using XSQL as a publishing framework but as kind of an ETL tool. The only output I would be interested in would be the xsql-status in order to check that the number of rows processed matches my expectations. I would prefer XSQL to run entirely within the database and not depend on any servlet container.
However, it seems that XSQL's only way of obtaining the canonical XML (ROWSET/ROW) that is used by xsql:insert-request/xsql:update-request/xsql:delete-request is through HTTP POST/GET. It doesn't seem that it's possible to embed the XML directly in the page, nor does it seem possible to handle more than one XML.
I'm trying to achieve something like this:
<?xml version="1.0"?>
<page connection="scott" xmlns:xsql="urn:oracle-xsq">
<xsql:insert-request table="DEPT">
<ROWSET>
<ROW>
<DEPTNO>-10</DEPTNO>
<DNAME>NEW DEPT 1</DNAME>
<LOC>COPENHAGEN</LOC>
</ROW>
<ROW>
<DEPTNO>-20</DEPTNO>
<DNAME>NEW DEPT 2</DNAME>
<LOC>LONDON</LOC>
</ROW>
</ROWSET>
</xsql:insert-request>
<xsql:insert-request table="EMP">
<ROWSET>
<ROW>
<EMPNO>-10</EMPNO>
<ENAME>NEW EMP 1</ENAME>
</ROW>
<ROW>
<EMPNO>-20</EMPNO>
<ENAME>NEW EMP 2</ENAME>
</ROW>
</ROWSET>
</xsql:insert-request>
</page>
or perhaps
<?xml version="1.0"?>
<page connection="scott" xmlns:xsql="urn:oracle-xsq">
<request>
<parameters>
<dept>
<ROWSET>
<ROW>
<DEPTNO>-10</DEPTNO>
<DNAME>NEW DEPT 1</DNAME>
<LOC>COPENHAGEN</LOC>
</ROW>
<ROW>
<DEPTNO>-20</DEPTNO>
<DNAME>NEW DEPT 2</DNAME>
<LOC>LONDON</LOC>
</ROW>
</ROWSET>
</dept>
</parameters>
</request>
<xsql:insert-request table="DEPT" param="dept"/>
<xsql:insert-request table="EMP" param="emp"/>
</page>
I need both INSERT/UPDATE/DELETE so xsql:insert-param isn't enough, would also need an xsql:update-param and xsql:delete-param.
A way of referring to the canonical XML through an URI or XPath expression (referring to a registered XML document in the database) would also be cool.
Perhaps implementing custom action handlers would work but not sure whether they'll be able to refer to any child XML elements within them? Furthermore, the syntax for these would also be slightly inconvenient:
<xsql:action handler=com.ellebaek-consulting.xsql.InsertActionHandler" table="DEPT">
My alternative would be to re-implement an extended version of XSQL (XSQLX :-)?) but I'm trying to avoid that.
Any pointers and ideas are very much appreciated.
Thanks in advance.
Best regards
Finn Ellebaek NielsenHi.
Thanks for your reply but the article only talks about how to query data with XSQL and I need to INSERT/UPDATE/DELETE data embedded in XSQL pages into the database so I'm afraid that the article doesn't apply.
Cheers
Finn -
How to keep the XML document in javadocs
Hi,
I have a class with javadocs containing <?xml....> ... </xml> document in it. I have tried to use <pre> to keep the structure. When javadoc is run it strips all the XML tags. Is it possible to keep these lines as is and not being interpreted?
Thanks,
-AshishHello,
try to use <pre> and </pre> html tag around your XML document, and in your XML document change the < and > by their html special codes
Merc?.
Maybe you are looking for
-
Calling a function inside a symbol?
Hi there, I'm one of those flash-devs that are trying to get Edge Animate to do what I usually do in Flash, so I might be doing this the wrong way, but I've got a symbol with a function "inside" on my stage, and I wanna call that function from the st
-
Presenter not in Acrobat X Pro
One of the reasons I bought Acrobat 9 Pro Extended was to get Adobe Presenter. We use it all the time. I also have the CS 5. Imagine my disappointment that the Adobe marketing people decided to get rid of Pro Extended for version X and require me to
-
OBIEE:Need formula for all characters to the right of the right-most space
Hi: I need to extract the right-most word from a field that could have 2-3 spaces. Example: "Administration Main Boston" = "Boston" Thanks- Charlie Epes Buffalo, NY
-
Can VC 2005 Runtime SP1 patch be installed for Adobe Premiere V4?
I have an HP Media Center PC (2005) running XP-Media Center. Have about 98 GB memory left. I am trying to finish a slide show in Adobe Premiere Elements 4.0. Have run into the same Microsoft Visual C++ Runtime Library error that I see a lot of peopl
-
No headphones audio when plugged in
I have a dv7-6143cl the first day i got it, it worked great with my headphones but next day when I plugged in my headphones I got no sound. Without the headphones the speaker works great but when plugged in I get no audio. How do i fix this problem?