Forum Replies Created
-
AuthorPosts
-
[:^)] It was my understanding that the msmqtlarge.dll on non-biztalk machines to submit messages to the q; and that this functionality was baked into the MSMQ adapter so it comes out-the-box with biztalk.
Thanks.
Yes I have checked all that. The problem that led me to this is as follows:
I have 2 orchs in the same project – the first one outputs a csv file (works fine). The second one consumes the CSV file. The FF receive pipeline on Orch2 uses the same schema as the FF send pipeline on Orch1.
Orch1 outputs a CSV file but when it comes time to conusme the same file into Orch 2’s FF receive pipeline it fails with the following error:There was a failure executing the receive pipeline: “xxxx.Pipelines.yyyy_Invoices_In_CSV” Source: “Flat file disassembler” Receive Location: “C:\temp\xxx\Out\*.csv” Reason: Unexpected data found while looking for:
‘
‘
The current definition being parsed is Document_Header. The stream offset where the error occured is 157. The line number where the error occured is 2. The column where the error occured is 91.TIA
Thanks Russell it worked
I think that to handle this kind of scenario you would need an envelope schema and a document schema with the promoted properties in the document schema. Then you would need to use the XML Receive pipeline to debatch the messages and promote the properties. Is this the kind of setup you are using?
No, you shouldn’t need to write anything custom. The adapter should be able to handle it. In the BizTalk admin console, open up the configuration for your send port, and click the Configure button for the WCF-WSHttp adapter. The settings you need should be under the Security tab. I believe you would set the security mode to Message and the message client credential type to userName. Then, down at the bottom of the screen, click the Edit button to enter the username and password.
So you want to check the fields for null in a map? In that case, maybe you don’t need a decide shape. The mapping approach could work. You can use a string size functoid to get the length of the field you want to check for null. Use a greater than functoid to determine whether the length is greater than 0. Connect the greater than functoid to a value mapping functoid. Now add another parameter to the value mapping functoid. For the parameter, enter the constant value of “1” (true). Connect the value mapping functoid to the boolean field in your destination schema. Now a 1 will be mapped if the field in the source schema is not null. To map a 0 if the field is null, add a logical not functoid connected to the greater than and another value mapping with a “0” parameter. That is the approach that I would try.
Hi I have tried that but I am getting this error.
Uncaught exception (see the ‘inner exception’ below) has suspended an instance of service ‘SCInputSchemas.SCOrches(231f9327-00ca-3b2e-0206-57814632d387)’.
The service instance will remain suspended until administratively resumed or terminated.
If resumed the instance will continue from its last persisted state and may re-throw the same unexpected exception.
InstanceId: 458288e2-95d6-4962-8d8a-103e04d6e3cf
Shape name: Decide_1
ShapeId: 9460a387-ff16-4f99-a6a3-572e8a0b2f3b
Exception thrown from: segment 1, progress 9
Inner exception: The string ‘4300’ is not a valid Boolean value.
Exception type: FormatException
Source: System.Xml
Target Site: Boolean ToBoolean(System.String)
The following is a stack trace that identifies the location where the exception occured
at System.Xml.XmlConvert.ToBoolean(String s)
at Microsoft.XLANGs.RuntimeTypes.XmlHelpers.ParseString(String s, Type targetType, Boolean throwIfNotParsed)
at Microsoft.XLANGs.RuntimeTypes.XmlHelpers.ChangeType(Object val, Type targetType)
at Microsoft.XLANGs.Core.XSDPart.GetDistinguishedField(String dottedPath)
at SCInputSchemas.SCOrches.segment1(StopConditions stopOn)
at Microsoft.XLANGs.Core.SegmentScheduler.RunASegment(Segment s, StopConditions stopCond, Exception& exp)
For more information, see Help and Support Center at
what I want to do is I have to read the value in those elements and then decide if they are not null. I am trying to do this please tell me that my approach is correct or wrong. I have created another message where I will map my request message to it and set these data types to boolean so if there is a value in those elements then I will transform them to a boolean in my own message that I have created, but i am not able to find the exact functoids to use in the transformation and if this is easy way to solve this can you please tell me what all functoids should I use to convert any data type into boolean.
Thanks
Thanks for your comment.
I read the MSDN document. But still not find how to set usernameToken in it.
Doese WCF-WSHttp support UsernameToken as tandard feature, or I need to write some custom map.
First define the 3 elements as distinguished fields. Then here is some code you can use in the decide shape:
System.String.IsNullOrEmpty(MyMessage.Field1)
If the client does NOT supply a value, then this expression would return true.
The SOAP adapter does not support WS-Security. You can use the WCF-WSHttp adapter. Here is a link on configuring a WCF-WSHttp send port: http://msdn.microsoft.com/en-us/library/bb245939.aspx.
Instead of doing an Add -> BizTalk Assemblies, try doing an Add -> Resources. This should allow you to add the DLL as a resource and stop the deploy error.
Were you able to fix this issue?
I seems to get the kind of error while activating my File Recieve port from the local machine (well, its clustered Biztalk Installation). I have given full access on the folder to BizTalk Host User.
Any thoughts?
Have you tried the output to be XML? The default is xml. The imput is native and the output is xml. Also did you set the schema editor extension to flat file extension? I hope that helps.
October 30, 2008 at 12:44 PM in reply to: BizTalk Server WCF Receive Port (WCF-Custom) – usupported operation #21098Thank you Rusel. On the receive location used the wsHttpBinding, proxy was created by adding a service reference in the client. I am going to try your suggestion on using the WCF publishing wizard and as I really do not want to tie any schema will try your suggestion on using ‘BaseTypes.Any’ type. Hopefully, I don’t have any problems there. If there’s some link/resources you can point me it’s much appreciated.
Yes, it can send a changed return log, by using some BADIs to change the return log.
Also, to find more about POSDM on the SAP side, you can find both the links useful..
http://sapknowhow.ning.com/profiles/blog/show?id=2328205%3ABlogPost%3A146
and
http://anupamj74.blogspot.com/2008/10/sap-posdm-technical-guide.html
-
AuthorPosts