c# - BizTalk does not call WCF service -
i have created local wcf service has method insertorupdate(string)
connects database , insert/update data. if run service tutorial code here (8) , test wcf test client vs 2013 works great.
now want call method via biztalk server application have saved wsdl file service , imported biztalk project via consume wcf service wizard. have created small orchestration looks this:
the in port points directory on hard drive , looks kinds of xml files. out port set http transport http://localhost:43250/services/myservice.svc. have signed , deployed biztalk applicationon local machine , if put xml file in port directory disappears after short time service not called. in biztalk management console following error:
the published message not forwarded because no subscribers found. error occurs when subscribed orchestration or subscribed sendeport not registered or necessary check subscription message properties not promoted. resolve error, use biztalk administration console.
i'm sure xml file valid , pipelines set xml receive/transmit too. have ideas why not working? happens on locale win 7 x64 machine.
these first things check in situation:
0. restart host instances , retest. when deploy biztalk project, assemblies go in gac. biztalk needs host instances using these assemblies restarted or keep using old ones. don't need restart all host instances, sake of simplicity, try it.
1. make sure deployed items green go in biztalk administration console, make sure that:
- the orchestration bound receive , send port (right click-> properties -> bindings)
- the orchestration enlisted
- the sendport enlisted
2. make sure input file right when imported wcf service in visual studio, should have created xsd files define schema can use.
right click on xsd file in tfs , click "generate instance". go file generated , use input. if works file, test file has problem.
3. check subscription of send port: open biztalk admin console
- open "biztalk group", click new query , search "subscription" having same "service name" same name send port
- the subscription filter decide whether message go through port or ignored.
- if bound sendport, filter boolean expression uniquely identifying port, using property bts.sptransportid
Comments
Post a Comment