Forum Replies Created
-
AuthorPosts
-
Hi Abhishek,
Are you using an orchestration in your scenario? If that’s the case, read the following blog for a solution to your problem:
Daniel.
Hi Wolfgang,
Yes, that’s correct: your orchestration will run as many instances as the number of messages it picks up in the receive folder. But you stated that you want the orchestration to wait for one instance to finish before starting another, is that correct? If so, you could look into implementing a singleton pattern for your orchestration.
Daniel.
We nned to know what the property name is, but intellisense should help with this.
M1(PropertyName) = value;
For mapping it’s OK. And the request which goes to SAP – has all elements with data? Or some of them are empty?
Data types are suitable to data types in SAP?
Those are only things I can think of. Are you the “SAP side” by yourself? or it’s other company/guys? maybe ask them – if there’s any way to read logs on SAP side? Do they have logs? Did the request gets to SAP? things like this – I would check.
Did you restart IIS after code changings in WebService?
Did you try to consume the WS from regular code (Console application)?
Do you try to create some test BizTalk project with adding web reference? – Does this work?
Did you try to give different name to Web Service Reference?
A simple method would be to use C# scripting functoids:
One page one have a C# scripting functoid with this code:
string globalVariable = null;
public string SetVariable(string param)
{
globalVariable = param;
return param;
}Then on page 2 add a C# scripting functoid
public string GetVariablePage2()
{
return globalVariable;
}And on page 3
public string GetVariablePage3()
{
return globalVariable;
}August 31, 2010 at 5:25 AM in reply to: Which .Net library is used for reading Bindings file? #25810The class used is Microsoft.BizTalk.Deployment.Binding.BindingInfo in the Microsoft.BizTalk.Deployment.dll library.
But a big gotcha with binding files is they are wrappers for configuration data specified in other assemblies. i.e each pipeline component and adapter has its own configuration classes. These classes serialize their config data into the binding file.
Thanks for your reply Yonathan!
I did what you proposed, but I’m afraid
it didn’t work out. I erased the webreferences from the project, closed
VS and deleted the webreferences folder. As for the artifacts, I don’t
know what you are referring to, so I did nothing with them. Then I added
the webreferences again, only to see the webservices not working. The funny
thing was that prior to this, I had one ws working and one not working.
After this, both webservices were not working, always throwing that exception.I am completely clueless here, I think
I’m doing everything well. I stop the application, build and deploy it,
start it and restart the host instance, and the exception always comes
out. I even checked the GAC for the elements that BT is complaining about,
and they are there. I don’t know what else to do.It’s a shame I can’t just use the .net
webreferences in a practical way as it is supposed to be, without having
to resort to any kind of schema or trick to be able to consume webservices.
It shouldn’t take me over a week to be able to consume webservices with
.net webreferences. What’s even weirder is that I seem to be the only person
facing this kind of problem on the internet.
this could be a solution :
you can realize all you mapping with the BizTalk Mapper, then you right-clic on the map and choose validate to access the generated xsl and extension object.
Then you can modify you xsl to use the result of you some functoid for the other.
I’m not sure you can realize what you want with the Mapper and there may be some tips but i’m not sure it will be keep if you decide to change one thing in the map (because the mapper generatevariable name)
I answer my post:
As usual don’t believe error messages: This was a SoapServerException, but behind it an authentication problerm. I switched IIS and the SOAP adapter to NTLM and everything works !
August 31, 2010 at 1:50 AM in reply to: Retrieving Partial File name from the Full file path in an Orchestration #25804Hi I tried the above approach, but I am still unable to achieve it.
Hi Daniel.
I’m not sure to get you right at the moment. I think a return value is not what I’m looking for. As far as I understand is, if the assembly will return a value and BTS/orchestration has to wait for it, so I will have lots of waiting orchestrations because BTS is starting many orchestrations at the same time (parallel). Am I right?
I thought if there is a subscription for a message and I have lots of these messages BTS will start as many as orchestration he can, is this right?
Thanks.
Wolfgang
August 31, 2010 at 12:22 AM in reply to: Retrieving Partial File name from the Full file path in an Orchestration #25802Hi xman71,
I had, indeed, posted a similar message in an earlier thread. But, you see that my inputs were not accurate owing to which, there was a communication barrier in that i wasn’t getting proper answers.
Anyway, thank you very much for the suggestion/s. They really help.
Hi,
Thanks for the reply.
I wengt through the link and read the documentation. It is mentioned in the documentation that a WIX package must be provided as input so that BTDF will use that. The configuration file of BTDF will have a path where this msi will be there. What is input on this.
Thanks,
SR
August 30, 2010 at 11:42 PM in reply to: No Disassemble stage components can recognize the data #25800I’ve tried using both the default XML Receive pipeline (with and without the document schema specified) as well as a custom pipeline (that is nothing more than an XML dissasemble with the schema specified) neither scenario resolves the problem.
Sean
-
AuthorPosts