Forum Replies Created
-
AuthorPosts
-
Thanks for the answer. I try to avoid using untyped messages.
I use both flat file and XML messages and it will be much work. Does anyone know
how I can use XML serialization to load XML from a file and “convert” it to the messagetype I have from the webservice and then call the webservice?more from my customer
I am not able to map the fields of web service with Remedy form as Remedy is not able to see the fields. In SOAP Sonar when you select an operation then it will directly show the fields of the operation for a normal or you can say simple web service. But when you will open your web service then it looks complex it will show “POHeader” and “POLineItems”. And after expending these two it will show you the field names.
But in normal condition and in case of Remedy, fields are captured directly from the operations. And this is the reason Remedy can not capture the fields as the fields are deep down the sub-branches “POHeader” and “POLineItems”.
How do I do this in BizTalk???
February 12, 2009 at 7:36 AM in reply to: XLang error when I deploy the DLL to staging server #21717And Event Viewer showed following error. I have no clue whats going on.
Uncaught exception (see the ‘inner exception’ below) has suspended an instance of service ‘HP.Image.CaseExchange.Orchestrations.CaseExchProcess(9c43873e-95ff-80fc-0e99-6e21841bf35b)’.
The service instance will remain suspended until administratively terminated.
InstanceId: 1be75a8c-e483-41b9-bf6e-f4e809ddba9b
ShapeId: 6e6e8eea-e77c-4b50-9032-5b73e7e04751
Exception thrown from: segment 1, progress 101
Inner exception: Object reference not set to an instance of an object.
Exception type: NullReferenceException
Source: Microsoft.XLANGs.Engine
Target Site: Void ApplyTransform(System.Type, System.Object[], System.Object[])
Help Link:
The following is a stack trace that identifies the location where the exception occuredat Microsoft.XLANGs.Core.Service.ApplyTransform(Type mapRef, Object[] outParams, Object[] inParams)
at HP.Image.CaseExchange.Orchestrations.CaseExchProcess.segment1(StopConditions stopOn)
at Microsoft.XLANGs.Core.SegmentScheduler.RunASegment(Segment s, StopConditions stopCond, Exception& exp)
Additional error information:For more information, see Help and Support Center at http://go.microsoft.com/fwlink/events.asp.
Greetings,
This appears to be a Code Access Security issue. What credentials are your BT Instance running as? ALso look at the credentials that your IIS Server virtual directory that’s hosting the WCF/SOAP adapter. What are the credentials for the app pool?
Both credentials must match and have permission to use the DNS lookup from CAS.
HTH
February 12, 2009 at 1:24 AM in reply to: "Dynamic Send Port file" and "create folder" are not friend #21711aaaaaah ok I see my error I don’t put the file name in the address field.
Ok thank for your helps
You can push the file data from the you .net application as a stream. On the orchestration use untyped messages and build an XmlDocument assign it to you message
Hi,
Thanks for the response. the following link solved the problem. http://blogs.msdn.com/skaufman/archive/2009/02/01/mapping-a-repeating-source-to-a-delimited-list.aspx.
Thanks you,
didn’t you try this with Scripting functoid in Map
February 11, 2009 at 11:00 PM in reply to: How to convert \0xa; to \n using inline C# in functoid #21705Paste this Xslt into the Inline XSLT Call Template Script functoid:
<xsl:template match=“/“>
<xsl:element name=“ns0:Root“>
<xsl:for-each select=“//field“>
<xsl:variable name=“var:v1“ select=“@name“ />
<xsl:element name=“{$var:v1}“>
<xsl:value-of select=“.“ />
</xsl:element>
</xsl:for-each>
</xsl:element>
</xsl:template>How about getting values from Input Xml AND Assigning into Target Xml Using Custom .net Component instead of custom XSLT.
Anyone have a suggestion?
February 11, 2009 at 8:55 AM in reply to: How to convert \0xa; to \n using inline C# in functoid #21700Try this. Should be work
str= LogText.Replace(
@”\0xa;”, “\n”);
Let me know, if it works.
In Map, Could use “Inline XSLT Call Template” feature of “Script” functiod.
February 11, 2009 at 7:15 AM in reply to: "Dynamic Send Port file" and "create folder" are not friend #21698I use this
port_2(Microsoft.XLANGs.BaseTypes.Address)=@”FILE://” + DirPath + FileName;
So in your case u might try :
=@”FILE://C:\Alten\test\testdynamicFolder\Out”+vDatetime+”\name.xml”;
or
=@”FILE://C:\\Alten\\test\\testdynamicFolder\\Out”+vDatetime+”\\name.xml”;
-
AuthorPosts