Contents
Introduction . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Building Soap Header Handlers . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Setting Up a Header Handler . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Example: Measuring Elapsed Time with a Consumer Handler . . . . . . . . . . . . . . . . . . . . . . . . . . About SOAP Headers in the Pipeline . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Services for Creating and Registering Header Handlers . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Server Configuration Parameters . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1 1 3 4 5 8 24
Introduction
webMethodsIntegrationServer7.1.2andwebMethodsDeveloper7.1.2provideanew featurethatsimplifiesthetaskofbuildingSOAPheaderhandlersforIntegrationServer basedWebservices.webMethodsIntegrationServer7.1.2alsoprovidesnewserver configurationparametersyoucanspecifyintheserverconfigurationfile. FormoreinformationaboutthefixesandenhancementsincludedinwebMethods IntegrationServer7.1.2andwebMethodsDeveloper7.1.2,seetheEnhancementsand FixesdocumentslocatedonwebMethodsAdvantage.
ISDEV-DS-712-20080926
Formoreinformationaboutthebuiltinservicesforwritingserviceheaderhandlers,see ServicesforCreatingandRegisteringHeaderHandlersonpage 8.
ISDEV-DS-712-20080926
ISDEV-DS-712-20080926
1 Consumer handler 2
handleRequest
3
handleResponse
Thefollowingtabledescribesthesequenceofevents. Step
1 2
Description AconsumerhandlercontainingahandleRequestandhandleResponse implementationisregisteredandassignedtoaConsumerWSD. handleRequestinvokestheservicepub.date:getCurrentDateString togetthetimeat whichtheoutgoingrequestissenttotheWebserviceprovider.handleRequest thenusessoap.handler:setPropertytoinsertthevalueintoadefinedkeynamed Timeintheclientmessagecontext. handleResponseisinvokedwhenthemessageflowreturnstotheclientside. Duringinvocation,theservicepub.date:getCurrentDateStringgetsthepresenttime, andthenusespub.soap.handler:getPropertyagainsttheTimekeytoretrievethe previouslystoredvalueinthemessagecontext. Thedifferencebetweenthetwovaluesindicatestheapproximatetimetakento executetheWebservice.
ISDEV-DS-712-20080926
ThefollowingtabledescribesthecontentsofthesoapHeadersdocumentinthepipeline. soapHeaders DocumentAnIDatacontainingtheSOAPheaders HDRDOC1:local Name Document List Structureofaheaderelement(block) fromtheSOAPmessage.TheHDRDOC1:localName documentlistcontainsonedocumentforeachheader withthesameQName. Note: HDRDOC1representstheprefixofthefirst headerblock.localNameisaplaceholderandwillbe replacedbythelocalnameoftheheaderblock. Note: ThesoapHeadersdocumentcontainsadocument listnamedHDRDOC#:localNameforeachheader element(block)intheSOAPmessageheader. Key Description
ISDEV-DS-712-20080926
ns1:fieldName
StringNameofthefirstfieldinthe headerelement(block) Note: Theprefixns1isaplaceholder andwillbereplacedbytheprefixof thechildelementoftheheader element(block).Likewise,fieldName isaplaceholderandwillbereplaced bythelocalnameofthefirstchild elementcontainedintheheader element(block).
nsDecls
DocumentNamespacesassociated withanynamespaceprefixesthatare usedinthechildelementnamesin HDRDOC1:localName.Eachentryin nsDeclsrepresentsanamespace prefix/URIpair,whereakeyname representsaprefixandthevalueof thekeyspecifiesthenamespaceURI. Key ns1 Description StringNamespace declarationassociated withtheprefixns1,where ns1isaplaceholderand willbereplacedbythe prefixusedwiththefirst childelementofthe headerelement(block).
nsDecls
DocumentNamespacesassociatedwithany namespaceprefixesusedbytheheaderelements (blocks). Note: Thisdocumentwillcontainachildstring namedHDRDOC#foreachnamespaceprefixused withaheaderelement(block). Key HDRDOC1 Description StringNamespacedeclaration associatedwiththeprefix HDRDOC1.
ISDEV-DS-712-20080926
IntegrationServercreatesasoapHeadersdocumentthatlookslikethisandaddsittothe inputpipelineoftheISservice:
ISDEV-DS-712-20080926
ISDEV-DS-712-20080926
Description WmPublic.Registersaheaderhandlerforuse withproviderWebservicedescriptors. WmPublic.Removesaheaderelement(block) fromaSOAPmessage. WmPublic.Removesapropertyfromamessage context. WmPublic.Setsthevalueofaspecificpropertyin amessagecontext. WmPublic.SetstheSOAPmessageinamessage context. WmPublic.Returnsthefullyqualifieddocument typenameforaprovidedexplicituniversal name. WmPublic.Returnsthecontentsofthecurrent universalnameregistry,includingservicesand documenttypes.
pub.universalName:listAll
pub.soap.handler:addHeaderElement
WmPublic.InsertsadocumentintoaSOAPmessageasanewheaderelement(block). Input Parameters messageContext Object MessagecontextcontainingtheSOAPmessagetowhichto addaheaderelement. AmessagecontextcontainspropertiesfortheSOAPmessageand providesaccesstotheSOAPmessage.IntegrationServercreatesthe messagecontextandpassesittotheheaderhandler.Allhandlers invokedbyagiveninstanceofaSOAPrequestorSOAPresponse usethesamemessagecontext,whichenablesyoutousethe messagecontexttopassinformationamonghandlers.
ISDEV-DS-712-20080926
QName
headerDocument
Document Documenttoaddasaheaderelement.IntegrationServer convertsthedocumenttoanXMLnodeandinsertsitasachild elementoftheheaderelementspecifiedinQName. StringOptional.NameoftheISdocumenttypethatspecifiesthe structureandnamespacesofthedocumenttouseasanewheader element.IntegrationServerusestheuniversalnameassignedtothe ISdocumenttypetodeterminethequalifiednametouseforthe newheaderelement.IfyouspecifydocumentType,headerDocument mustbeainstanceofthisdocumenttype. Note: IfyoudonotspecifydocumentType,youmustspecifyQName.
documentType
mustUnderstand
ISDEV-DS-712-20080926
10
actor
String Optional.Targetoftheheaderentry.Thevalueofactor determinesthevalueoftheactororroleattributefortheheader entry.TheactororroleattributespecifiesaURIfortherecipientofa headerentry. Ifyoudonotspecifyavalueforactor,theactororroleattributewill beblankintheSOAPheader.InSOAP1.1,thisindicatesthatthe recipientistheultimatedestinationoftheSOAPmessage.InSOAP 1.2,thisisequivalenttosupplyingthatattributewiththevalue http://www.w3.org/2003/05/soapenvelope/role/ultimateReceiver. Note: InSOAP1.2,theactorattributeisnamedrole;however, IntegrationServerprocessesbothnamesthesameandperformsany necessaryconversions.
IfyouspecifyvaluesforQNameanddocumentType,IntegrationServerusestheQName valueandignoresdocumentType. FormoreinformationaboutthemustUnderstandandactorattributesinSOAP1.1, seetheSimpleObjectAccessProtocol(SOAP)1.1W3CNote08May2000at http://www.w3.org/TR/SOAP/. FormoreinformationaboutthemustUnderstandandroleattributesinSOAP1.2,see theSimpleObjectAccessProtocol(SOAP)1.2specificationat http://www.w3.org/TR/SOAP12/. Example SupposethatmessageContextcontainsaSOAPmessagewithanemptySOAPheader andyouwanttoaddaheaderelementbypassingthepub.soap:handler:addHeaderElement servicethefollowinginputparameters: Input Parameter QName Provided Value namespaceName localName
userHandlerNamespaceName userHandlerLocalName
ISDEV-DS-712-20080926
11
Notprovided.
true soapActor
Executionofthepub.soap.handler:addHeaderElementserviceresultsinthisSOAPheader forSOAP1.1:
<SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/"> <SOAP-ENV:Header xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/"> <HDR:userHandlerLocalName xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" xmlns:HDR="userHandlerNamespaceName" SOAP-ENV:actor="soapActor" SOAP-ENV:mustUnderstand="1"> <myString>Value of myString field.</myString> </HDR:userHandlerLocalName> </SOAP-ENV:Header> <SOAP-ENV:Body> ... </SOAP-ENV:Body> </SOAP-ENV:Envelope>
ISDEV-DS-712-20080926
12
pub.soap.handler:getHeaderElement
WmPublic.RetrievesaheaderelementfromaSOAPmessage. Input Parameters messageContext ObjectMessagecontextcontainingtheSOAPmessagefromwhichto retrieveaheaderelement. AmessagecontextcontainspropertiesfortheSOAPmessageand providesaccesstotheSOAPmessage.IntegrationServercreatesthe messagecontextandpassesittotheheaderhandler.Allhandlers invokedbyagiveninstanceofaSOAPrequestorSOAPresponse usethesamemessagecontext,whichenablesyoutousethemessage contexttopassinformationamonghandlers. QName DocumentOptional.Qualifiedname(namespacenameandlocal name)oftheheaderelementtoretrieve. TheQNamedocumentreferencesthepub.soap.utils:QNamedocument type.Formoreinformationaboutpub.soap.utils:QName,seethe webMethodsIntegrationServerBuiltInServicesReference. IfyoudonotspecifyQName,youmustspecifydocumentType. documentType String Optional. FullyqualifiednameoftheISdocumenttypethat specifiesthestructuretoimposeontheresultingdocument. IntegrationServerusestheexplicituniversalnameassignedtothe documenttypetodeterminewhichheaderelementtoretrievefrom theSOAPmessage. IfyoudonotspecifydocumentType,youmustspecifyQName. Output Parameters outputHeaderDocument Usage Notes QNameanddocumentTypearemutuallyexclusive.Eventhoughtheparametersare optional,youmustspecifyoneortheother.Ifyoudonotspecifyeither,Integration Serverdisplaysthefollowingerror:
[ISS.0088.9422] One of the mutually exclusive parameter QName or documentType is missing or invalid.
IfyouspecifyvaluesforQNameanddocumentType,IntegrationServerusesQName andignoresdocumentType.
ISDEV-DS-712-20080926
13
Example SupposethatmessageContextcontainsaSOAPmessagewiththefollowingheader:
<SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" xmlns:user="userHandlerNamespaceName" xmlns:pfx="pfx1namespace" xmlns:ns1="ns1namespace" xmlns:ns2="ns2namespace"> <SOAP-ENV:Header> <user:userHandlerLocalName> <pfx:myLocalName> <ns1:myField> <ns2:myFieldValue>someValue</ns2:myFieldValue> </ns1:myField> </pfx:myLocalName> </user:userHandlerLocalName> </SOAP-ENV:Header> <SOAP-ENV:Body> ... </SOAP-ENV:Body> </SOAP-ENV:Envelope>
Additionally,supposethatpub.soap:handler:getHeaderElementusesthefollowinginput values,wheremessageContexthasalreadybeenobtained: Input Parameter QName documentType Provided Value namespaceName localName
userHandlerNamespaceName userHandlerLocalName
documentTypes:myHeaderStructure ThestructureofdocumentTypes:myHeaderStructurelookslikethis:
ISDEV-DS-712-20080926
14
Input Parameter
Executionofthepub.soap.handler:getHeaderElementserviceresultsinthefollowingvalue foroutputHeaderDocument:
IntegrationServerusesthefollowingconventionsinoutputHeaderDocument:
outputHeaderDocumentalwayscontainsadocumentlistnamed HDRDOC1:localName.Thedocumentlistcontainstheheaderretrievedbythe pub.soap.handler:getHeaderElement service. IntegrationServerusesHDRDOC1astheprefixfortheheaderelement(block). ThevalueofHDRDOC1isthenamespacenameportionoftheQName.The outputHeaderDocument/nsDeclsdocumentidentifiesthenamespaceassociated withthenamespaceprefixoftherequestedheaderelement(block). TheHDRDOC1:localName[0]documentcontainsannsDeclsdocumentthat identifiesthenamespaceprefixesusedwithintheretrievedheaderelement. IntegrationServerreplacestheprefixesusedintheSOAPenvelopewiththe prefixesthatthedocumenttypespecifiesforthesamenamespaces.
ISDEV-DS-712-20080926
15
pub.soap.handler:getProperty
WmPublic.Getsthevalueofaspecifiedpropertyfromamessagecontext. Input Parameters messageContext ObjectMessagecontextfromwhichtoretrieveapropertyvalue. AmessagecontextcontainspropertiesfortheSOAPmessageand providesaccesstotheSOAPmessage.IntegrationServercreatesthe messagecontextandpassesittotheheaderhandler.Allhandlers invokedbyagiveninstanceofaSOAPrequestorSOAPresponse usethesamemessagecontext,whichenablesyoutousethemessage contexttopassinformationamonghandlers.Forexample,inachain ofrequestheaderhandlers,thefirstrequestheaderhandlercouldset amessagepropertythatthesecondrequestheaderhandlerretrieves. key Output Parameters value See Also pub.soap.handler:removeProperty pub.soap.handler:setProperty ObjectValueofthespecifiedproperty. String Nameoftheselectedpropertywhosevaluetoretrieve.
pub.soap.handler:getSOAPMessage
WmPublic.GetstheSOAPmessagefromagivenmessagecontext. Input Parameters messageContext Object MessagecontextfromwhichtogettheSOAPmessage. AmessagecontextcontainspropertiesfortheSOAPmessage andprovidesaccesstotheSOAPmessage.IntegrationServer createsthemessagecontextandpassesittotheheaderhandler. AllhandlersinvokedbyagiveninstanceofaSOAPrequestor SOAPresponseusethesamemessagecontext,whichenables youtousethemessagecontexttopassinformationamong handlers. Output Parameters SOAPMessage Object Objectoftypejavax.xml.soap.SOAPMessagethat representstheSOAPmessage.
ISDEV-DS-712-20080926
16
pub.soap.handler:handlerSpec
WmPublic.Specificationtouseasthesignatureforaservicethatactsasaheaderhandler. Input Parameters messageContext Object Messagecontexttobeprocessedbytheheaderhandler. AmessagecontextcontainspropertiesfortheSOAPmessageand providesaccesstotheSOAPmessage.IntegrationServercreates themessagecontextandpassesittotheheaderhandler.All handlersinvokedbyagiveninstanceofaSOAPrequestorSOAP responseusethesamemessagecontext,whichenablesyoutouse themessagecontexttopassinformationamonghandlers. Output Parameters statusCode String Indicateswhethertheheaderhandlerserviceexecuted successfullyornot.ThestatusCodeparametermusthaveoneof thefollowingvalues: Value
0 1
faultMessage
ISDEV-DS-712-20080926
17
Usage Notes Servicesthatactasheaderhandlersdonotneedtousethisspecificationtodefinethe signatureoftheservice.However,servicesthatactasheaderhandlersmusttakethe inputparametersandproducetheoutputparametersidentifiedinthisspecification. IfstatusCodedoesnotcontainoneofthespecifiedvalues,IntegrationServerassumes avalueof0. Atruntime,ifstatusCodeissettoavalueof2or3,IntegrationServerinvokesthe serviceyouspecifiedforhandlingfaults(handleFaultService)whenyouregisteredaset ofservicesasaconsumerorproviderheaderhandler.Forinformationabout registeringaconsumerheaderhandler,seepub.soap.handler:registerWmConsumeron page 18.Forinformationaboutregisteringaproviderheaderhandler,see pub.soap.handler:registerWmProvideronpage 19.
pub.soap.handler:registerWmConsumer
WmPublic.RegistersaheaderhandlerforusewithconsumerWebservicedescriptors. Input Parameters descriptiveName QNameList String Nametoassigntotheconsumerheaderhandler.Each consumerheaderhandlermusthaveauniquename. Document ListQualifiednamesoftheheadersonwhichthe handleroperates.Inthedocumentlist,eachdocument referencesthepub.soap.utils:QNamedocumenttype. StringOptional.Fullyqualifiednameoftheservicetouseas therequestheaderhandler. StringOptional.Fullyqualifiednameoftheservicetouseas theresponseheaderhandler. StringOptional.Fullyqualifiednameoftheservicetouseas thefaultheaderhandler.
ISDEV-DS-712-20080926
18
IfaregisteredhandlerwiththesamedescriptiveNamealreadyexists,Integration Serverthrowsthiserror.
ISS.0088.9156 JAX Handler <handlerName> already registered
pub.soap.handler:registerWmProvider
WmPublic.RegistersaheaderhandlerforusewithproviderWebservicedescriptors. Input Parameters descriptiveName QNameList String Nametoassigntotheproviderheaderhandler.Each providerheaderhandlermusthaveauniquename. Document ListQualifiednamesoftheheadersonwhichthe handleroperates.Inthedocumentlist,eachdocument referencesthepub.soap.utils:QNamedocumenttype. StringOptional.Fullyqualifiednameoftheservicetouseas therequestheaderhandler. StringOptional.Fullyqualifiednameoftheservicetouseas theresponseheaderhandler. StringOptional.Fullyqualifiednameoftheservicetouseas thefaultheaderhandler.
Beforeyouregisteraproviderheaderhandler,createtheservicesthatwillactasthe request,response,andfaultheaderhandlers.
ISDEV-DS-712-20080926
19
IntegrationServerstoresinformationaboutregisteredheaderhandlersinmemory. IntegrationServerdoesnotpersistregisteredheaderhandlerinformationacross restarts.Consequently,youneedtoregisterheaderhandlerseachtimeIntegration Serverstarts.Toaccomplishthis,createaservicethatregistersaheaderhandlerand makethatserviceastartupserviceforthepackagethatcontainstheservicesthatact asheaderhandlers. YoucanuseaproviderheaderhandlerwithproviderWebservicedescriptorsonly. Usethepub.soap.handler:registerWmConsumerservicetoregisteraheaderhandlerforuse withconsumerWebservicedescriptors. Tounregisteraproviderheaderhandler,usethepub.soap.handler:unregisterProvider service.Formoreinformationaboutthisservice,seethewebMethodsIntegrationServer BuiltInServicesReference. IfyouspecifyaservicethatdoesnotexistforhandleRequest,handleResponse,or handleFaultService,IntegrationServerthrowsthiserror:
[ISS.0088.9421] The Service <serviceName> does not exist or invalid
IfaregisteredhandlerwiththesamedescriptiveNamealreadyexists,Integration Serverthrowsthiserror.
[ISS.0088.9156] JAX Handler <handlerName> already registered
pub.soap.handler:removeHeaderElement
WmPublic.Removesaheaderelement(block)fromaSOAPmessage. Input Parameters messageContext Object MessagecontextthatcontainstheSOAPmessagefromwhich toremoveaheaderelement(block). AmessagecontextcontainspropertiesfortheSOAPmessageaswell asprovidingaccesstotheSOAPmessage.IntegrationServercreates themessagecontextandpassesittotheheaderhandler.Allhandlers invokedbyagiveninstanceofaSOAPrequestorSOAPresponse usethesamemessagecontext.Thisenablesyoutousethemessage contexttopassinformationbetweenhandlers. QName ObjectQualifiednameoftheheaderelement(block)toremove.The QNamedocumentreferencesthepub.soap.utils:QNamedocumenttype. Formoreinformationaboutpub.soap.utils:QName,seethewebMethods IntegrationServerBuiltInServicesReference.
ISDEV-DS-712-20080926
20
False
pub.soap.handler:removeProperty
WmPublic.Removesapropertyfromamessagecontext. Input Parameters messageContext ObjectMessagecontextfromwhichtoremoveaproperty. AmessagecontextcontainspropertiesfortheSOAPmessageand providesaccesstotheSOAPmessage.IntegrationServercreatesthe messagecontextandpassesittotheheaderhandler.Allhandlers invokedbyagiveninstanceofaSOAPrequestorSOAPresponse usethesamemessagecontext,whichenablesyoutousethemessage contexttopassinformationamonghandlers.Forexample,inachain ofrequestheaderhandlers,thefirstrequestheaderhandlercouldset amessagepropertythatthesecondrequestheaderhandlerretrieves. key Output Parameters None. See Also pub.soap.handler:getProperty pub.soap.handler:setProperty String Nameofthepropertytoremove.
ISDEV-DS-712-20080926
21
pub.soap.handler:setProperty
WmPublic.Setsthevalueofaspecificpropertyinamessagecontext. Input Parameters messageContext Object Messagecontextinwhichtosetaproperty. AmessagecontextcontainspropertiesfortheSOAPmessageand providesaccesstotheSOAPmessage.IntegrationServercreatesthe messagecontextandpassesittotheheaderhandler.Allhandlers invokedbyagiveninstanceofaSOAPrequestorSOAPresponse usethesamemessagecontext,whichenablesyoutousethemessage contexttopassinformationamonghandlers.Forexample,inachain ofrequestheaderhandlers,thefirstrequestheaderhandlercouldset amessagepropertythatthesecondrequestheaderhandlerretrieves. key value Output Parameters None. See Also pub.soap.handler:getProperty pub.soap.handler:removeProperty String Nameofthepropertytoset. ObjectValuetoassigntothespecifiedproperty.
pub.soap.handler:setSOAPMessage
WmPublic.SetstheSOAPmessageinamessagecontext. Input Parameters messageContext Object MessagecontextinwhichtosettheSOAPmessage. AmessagecontextcontainspropertiesfortheSOAPmessage andprovidesaccesstotheSOAPmessage.IntegrationServer createsthemessagecontextandpassesittotheheaderhandler. AllhandlersinvokedbyagiveninstanceofaSOAPrequestor SOAPresponseusethesamemessagecontext,whichenables youtousethemessagecontexttopassinformationamong handlers. SOAPMessage Object Objectoftypejavax.xml.soap.SOAPMessagetouseto overwritetheexistingSOAPmessageinthemessagecontext.
ISDEV-DS-712-20080926
22
Output Parameters None. Usage Notes Usethisservicewithcaution,asitoverwritestheentireSOAPmessage,includingthe SOAPheader,body,andfault. See Also pub.soap.handler:getSOAPMessage
pub.universalName:findDocumentType
WmPublic.Returnsthefullyqualifieddocumenttypenameforaprovidedexplicit universalname. Input Parameters namespaceName localName Output Parameters svcName StringConditional.Fullyqualifiednameofthedocumenttype associatedwiththeuniversalnameinnamespaceNameand localName.Ifthespecifieduniversalnameisnotintheregistry, svcNamewillbenull. StringNamespaceportionoftheuniversalname. StringLocalnameportionoftheuniversalname.
pub.universalName:listAll
WmPublic.Returnsthecontentsofthecurrentuniversalnameregistry,including servicesanddocumenttypes. Input Parameters None.
ISDEV-DS-712-20080926
23
Output Parameters names Document ListEntriesintheuniversalnameregistry.Eachdocument (IDataobject)inthelistrepresentsanentryintheuniversalname registry. Thereisoneentryforeveryexplicituniversalnamethathasbeen definedontheserver.Implicituniversalnamesarenotmaintained intheregistry. Eachdocumentinthelistcontainsthefollowinginformation: Key universalName Description DocumentUniversalnameassociatedwiththeentry. Thisdocumentcontainsthefollowinginformation: Key namespaceName localName svcName Description StringNamespaceportionofthe universalname. StringLocalportionofthe universalname.
ISDEV-DS-712-20080926
24
watt.server.soap.validateResponse EnablesordisablesSOAPresponsevalidation.Whensettotrue,IntegrationServer validatestheSOAPresponsereceivedbyaWebserviceconnector.Whensettofalse, IntegrationServerdoesnotvalidatethereceivedSOAPresponse.Thedefaultistrue. watt.server.SoapRPC.useSecondaryType InstructsIntegrationServertouseasecondtypedefinitionwhencreatingtheSOAP responseforaservicewhoseinputoroutputsignaturescontainidenticallynamed variablesofdifferenttypes.WhencreatingaWSDLfromaproviderWebService Descriptorthatcontainsaservicewithidenticallynamedfieldsofdifferenttypes, IntegrationServerrenamesthesecondinstanceofthefieldtypeintheWSDL.Atrun time,forRPCEncodedSOAPbinding,IntegrationServerencodesthetypesintheSOAP response.Whenthispropertyissettotrue,theSOAPresponsereferstotherenamedtype definition.Whensettofalse,theSOAPresponsereferstotheoriginaltypedefinition insteadoftherenamedone.Thedefaultisfalse.ThispropertyisapplicabletoRPC EncodedSOAPbindingonly. watt.server.trigger.suspendOnAuditErrorWhen SpecifieswhenIntegrationSevershouldsuspendatrigger.Atriggercanbesuspended whenboththefollowingoccur: Thetriggerservicefails. Thetriggerservicecannotwriteauditdatatotheauditdatabasebecauseanaudit exceptionoccurs. WhenIntegrationServersuspendsatrigger,ithaltsdocumentprocessinganddocument retrievalforthetrigger.SuspendingthetriggerpreventsIntegrationServerfrom acknowledgingthedocumentandpreventstheBrokerfromdiscardingthedocument. Aftersuspendingthetrigger,IntegrationServermonitorstheconnectiontotheaudit databaseandresumesthetrigger(documentprocessinganddocumentretrieval)when theconnectiontotheauditdatabaseisreestablished.IntegrationServerretrievesthe unacknowledgeddocumentfromtheBrokerandattemptstoprocessitagain. Setthewatt.server.trigger.suspendOnAuditErrorWhenparametertooneofthefollowing values: Specify...
Never
ISDEV-DS-712-20080926
25
Specify...
Error
To... IndicatethatIntegrationServersuspendsatriggerifthe triggerserviceendsbecauseofanerrorandanaudit exceptionoccurswhenthetriggerserviceattemptstowrite datatotheauditdatabase. IndicatethatIntegrationServersuspendsatriggerifthe triggerserviceendsbecauseofanerror,thetriggerserviceis configuredtoincludetheservicepipelineintheauditlog, andanauditexceptionoccurswhenthetriggerservice attemptstowritedatatotheauditdatabase.Thedefaultis ErrorPipelineEnabled.
ErrorPipelineEnabled
ISDEV-DS-712-20080926
26