Calling helper class that refrence to WCF web service

Hi I have a BizTalk projects that calls a helper class. now the helper class receive the message and a counter and is suppose via the class to create a login to a WCF
web service and then synchronize the message to this WCF web service.<o:p></o:p>
this is class:<o:p></o:p>
public static string SyncConcerto(XLANGMessage msg, int count)
SelectResponse select = (SelectResponse)msg[0].RetrieveAs(typeof(SelectResponse));
ConcertoService.ExternalMappingServiceClient concertoServ = new ConcertoService.ExternalMappingServiceClient();
ConcertoService.ExternalMappingItem extMapItem = new ConcertoService.ExternalMappingItem();
ConcertoService.ExternalMappingServiceResponse extLogonResp = new ConcertoService.ExternalMappingServiceResponse();
ConcertoService.ExternalMappingServiceResponse extSyncResp = new ConcertoService.ExternalMappingServiceResponse();
extLogonResp = concertoServ.Logon("*****", "******", true);
if (extLogonResp.StatusCode == 1)
if (count>0)
for (int i = 0; i < count; i++)
extMapItem.Attribute1 = select.SelectResult[i].CNS_CONCERTO_PROJECTSRECORDSELECT.REGION_NAME;
extMapItem.Attribute2 = select.SelectResult[i].CNS_CONCERTO_PROJECTSRECORDSELECT.PROJECT_NUMBER;
extMapItem.Attribute3 = select.SelectResult[i].CNS_CONCERTO_PROJECTSRECORDSELECT.PRODUCT_NAME;
extMapItem.ProjectName = select.SelectResult[i].CNS_CONCERTO_PROJECTSRECORDSELECT.PROJECT_NAME;
extMapItem.ProjectMgr = select.SelectResult[i].CNS_CONCERTO_PROJECTSRECORDSELECT.PM_NAME;
//extMapItem.ProjectMgr = select.SelectResult.CNS_CONCERTO_PROJECTSRECORDSELECT.PM_NAME;
extMapItem.Division = select.SelectResult[i].CNS_CONCERTO_PROJECTSRECORDSELECT.DIVISION_NAME;
extMapItem.Subject = select.SelectResult[i].CNS_CONCERTO_PROJECTSRECORDSELECT.CUSTOMER_NAME;
extMapItemArr[i] = extMapItem;
extSyncResp = concertoServ.SynchronizeExternalAttributeData(extMapItemArr);
if (extSyncResp.StatusCode == 1)
return "sync success login success";
else
return "success login sync faild";
else if (extLogonResp.StatusCode == 2)
return "TimeOut";
return "Failed";
Now it keeps throwing exception in this line of code: ConcertoService.ExternalMappingServiceClient concertoServ = new ConcertoService.ExternalMappingServiceClient();
saying he needs a valid endpoint. but he has the app.config file already that stats his endpoint.
What am I doing wrong, since I have never done a thing like that before.
And also I can't use the WCF web service in the normal BIZTALK way due to login operation he needs to do. <o:p></o:p>
Any advice on how to continue?<o:p></o:p>

the WCF has a logon operation where I enter a user name and password, it doesn't return a session key meaning I can't send a message to the WCF WS (Biztalk is stateless) that doe's the logon operation and the synchronize operation. so I had to do it with
the helper class. 
and Morten I know this is very bad practice but I don't have choice for now. 
Morten another question since we are using Biztalk 2013 (New Enviroment) our BTSNTSvc.exe.config is empty:
<?xml version="1.0" ?>
<configuration>
<startup useLegacyV2RuntimeActivationPolicy="true">
<supportedRuntime version="v4.0" />
</startup>
<runtime>
<assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1">
<probing privatePath="BizTalk Assemblies;Developer Tools;Tracking;Tracking\interop" />
</assemblyBinding>
</runtime>
<system.runtime.remoting>
<channelSinkProviders>
<serverProviders>
<provider id="sspi" type="Microsoft.BizTalk.XLANGs.BTXEngine.SecurityServerChannelSinkProvider,Microsoft.XLANGs.BizTalk.Engine" securityPackage="ntlm" authenticationLevel="packetPrivacy" />
</serverProviders>
</channelSinkProviders>
<application>
<channels>
<channel ref="tcp" port="0" name="">
<serverProviders>
<provider ref="sspi" />
<formatter ref="binary" typeFilterLevel="Full"/>
</serverProviders>
</channel>
</channels>
</application>
</system.runtime.remoting>
</configuration>
where do I insert my end point and how?

Similar Messages

  • Adding C# Soap Header to a client that calls BT2010 Orchestration published as a WCF Web Service

    I've added code from this reference to my orchestration (that is published as a WCF webservice):
    Accessing SOAP Headers in Orchestrations.
    I have a C# client that I was previously using before I was using any of the SOAP Headers.  I've been looking at dozens of blogs, and find the answers to anything related to SOAP Headers most confusing (and often specific to unique cases). 
    I'm using BT2010.  How can I add username, password, and a custom header called "ApplicationID" to my existing C# program and pass it to the orchestration/web service?
    Thanks,
    Neal

    Neal,
    The BizTalk WCF Service Publishing Wizard does not include custom SOAP header definitions in the generated metadata. To publish metadata for WCF services using custom SOAP headers, you should manually create a Web Services Description Language (WSDL) file.
    You can use the externalMetadataLocation attribute of the
    <serviceMetadata> element in the Web.config file that the wizard generates to specify the location of the WSDL file. The WSDL file is returned to the user in response to WSDL and metadata exchange (MEX) requests instead of the auto-generated WSDL.
    The following XML data shows an example of a part of the WSDL file defining custom SOAP headers:
    <wsdl:operation name="Request">
    <soap12:operation soapAction="http://Microsoft.Samples.BizTalk.NetTcpAdapter/OrderProcess/IOrderProcess/Request" style="document" />
    <wsdl:input name="Order">
    <soap12:header message="i0:Order_Headers" part="SalesAgent" use="literal" />
    <soap12:body use="literal" />
    </wsdl:input>
    <wsdl:output name="OrderConfirmation">
    <soap12:header message="i0:OrderConfirmation_Headers" part="PaymentAgent" use="literal" />
    <soap12:body use="literal" />
    </wsdl:output>
    </wsdl:operation>
    Refer:
    SOAP Headers with Published WCF Services
    Rachit
    Please mark as answer or vote as helpful if my reply does

  • Custom Timer Job to execute WCF web service error - Could not find default endpoint element that references contract

    Hi,
    I am currently creating custom timer job to call WCF web service to perform nighty job to update employee document library metadata. If I update regular list/library items it updates correctly on a specified interval basis. However when I try to integrate
    the WCF client, it throws error shown below :
    Could not find default endpoint element that references contract EmployeeServiceReference.
    EmployeeServiceClient in the ServiceModel client configuration section. This might be because no configuration file was found for your application, or because no endpoint element matching this contract could be found in the client element.
    I followed exact instructions Andrew Connell has provided but included my logic in execute()
    public
    override
    void Execute(Guid
    targetInstanceId)
    var empClient =
    new
    'ServiceReference.EmployeeServiceClient();
    var employee = empClient.EmployeesMethod();
    I have tried all approaches to manually adding app.config settings in sharepoing web.config but still it throws the error mentioned. It seems that application config and sharepoint site config binding issue still exist and cannot be resolved.
    <system.serviceModel>
    <bindings>
    <basicHttpBinding>
    <binding
    name="BasicHttpBinding_EmployeeService"
    />
    </basicHttpBinding>
    <netTcpBinding>
    <binding
    name="CustomBinding_EmployeeService">
    <security>
    <transport
    protectionLevel="None"
    />
    </security>
    </binding>
    </netTcpBinding>
    <wsHttpBinding>
    <binding
    name="WSHttpBinding_EmployeeService">
    <security
    mode="None"
    />
    </binding>
    </wsHttpBinding>
    </bindings>
    <client>
    <endpoint
    address="http://services.mycomp.com/EmployeeService.svc"
    binding="wsHttpBinding"
    bindingConfiguration="WSHttpBinding_EmployeeService"
    contract="EmployeeServiceReference.EmployeeService"
    name="WSHttpBinding_EmployeeService"
    />
    <endpoint
    address="http://services.mycomp.com/EmployeeService.svc/soap"
    binding="basicHttpBinding"
    bindingConfiguration="BasicHttpBinding_EmployeeService"
    contract="EmployeeServiceReference.EmployeeService"
    name="BasicHttpBinding_EmployeeService"
    />
    <endpoint
    address="net.tcp://crmapp.mycomp.com:5050/EmployeeService.svc/tcp"
    binding="netTcpBinding"
    bindingConfiguration="CustomBinding_EmployeeService"
    contract="EmployeeServiceReference.EmployeeService"
    name="CustomBinding_EmployeeService">
    <identity>
    <userPrincipalName
    value="[email protected]"
    />
    </identity>
    </endpoint>
    </client>
    </system.serviceModel>
    Will you please help resolving this issue?

    Hi,
    You can use any of the three approaches:-
    1) Access web application's web.config programmatically in Execute() method.
    http://praveenkasireddy.wordpress.com/2012/12/14/access-web-application-configuration-values-in-timer-job-sharepoint/
    2) Store the configuration in xml and upload it to SharePoint document library then read from there
    http://www.sharepointdynamics.net/2011/08/using-an-xml-settings-file-to-store-values-for-your-sharepoint-projects/
    3) Programmatically configure a WCF endpoint.
    http://msdn.microsoft.com/en-us/library/ff647110.aspx
    Regards, Shruti

  • PI Error calling Microsoft WCF Web Service hosted on IIS

    Hi All,
    I am trying to call a Microsoft WCF web service in PI  (also tried soapUI) but keep getting certificate error.
    I have tested the same service with Microsoft WcfTestClient and everything works..
    WCF Service Setup
    Service URL: https://hostname/servicename.svc
    Security Mode: TransportWithMessageCredential
    PI Setup 1 (Should be correct setup)
    Communication Channel
    Adapter Type: SOAP
    Uses Configure Certificate Authentification
    Uses Security Profile = Web Service Security
    Receiver Agreement
    Uses Security Procedure (Request) = Sign
    Uses Set Timestamp
    Uses Set Expiry Date = 7200
    Error: Unable to resolve the '#wsuid-body-5ad10600-3c4a-11e1-c462-005056960025' URI in the signature to compute the digest.
    In the SOAP message the references match
    <ds:Reference URI="#wsuid-body-5ad10600-3c4a-11e1-c462-005056960025">
    <SOAP:Body xmlns:wsu="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd" wsu:Id="wsuid-body-5ad10600-3c4a-11e1-c462-005056960025">
    Tried the following setups as well
    PI Setup 2
    Communication Channel
    Uses Security Profile = Web Service Security
    Receiver Agreement
    Uses Security Procedure (Request) = Sign
    Uses Set Timestamp
    Uses Set Expiry Date = 7200
    Error: The security protocol cannot verify the incoming message.
    PI Setup 3
    Communication Channel
    Uses Configure Certificate Authentification
    Error: Security processor was unable to find a security header in the message. This might be because the message is an unsecured fault or because there is a binding mismatch between the communicating parties.   This can occur if the service is configured for security and the client is not using security.
    Any help would be greatly appreciated
    Edited by: Christian Vilhelm Henriksen on Jan 26, 2012 10:13 AM

    Found the following on Microsoft which looks similar to my problem.
    http://download.microsoft.com/download/a/2/8/a2807f78-c861-4b66-9b31-9205c3f22252/dotnet35sp1readme.htm
    What it says in short
    To resolve this issue:
    Do not sign the To header.
    How do i do this in PI?

  • How to call a class that extends a frame from a panel ?

    How to call a class that extends a frame from a panel ?
    I am trying to create an application say "Videoshow"
    Videoshow has a panel which in turn consists of 2 components : 1]a textarea( to show the contents of a page) and 2] a mediaclip(to show the video).
    Now I have an application "MediaApplication"(to show the videoclip) which extends Frame (Code from Java 2 Unleashed, Chap 21). I want to show this MediaApplication in Component 2 of the above panel. But when I do this, I only see the MediaApplication frame instead of the whole SlideShow.
    I want to do something likethis.
    VideoShow :
    |---------------------------------|-------------------|
    | |
    | (Comp 1) | (Comp 2)
    | TEXTAREA | Video Clip
    | |(MediaApp entends Frame)
    |---------------------------------|-------------------|
    What is the best way to achieve this ? Also which component can I use to show the videoclip ?

    im not familiar with the code you mention from Java 2 Unleashed, but your best bet is to read up on Swing a bit - so you get an idea of how Swing containers and components work - then im sure you'll find a solution to your problems. Then if you encounter any difficulties whilst your attempting to do that, post your code in the Swing forum and im sure someone will help you.

  • Calling WCF web service from BPEL

    We are getting ‘oracle.fabric.common.FabricInvocationException: Unable to invoke endpoint URI "http://<host>:<port>/services/<servicename>.svc" successfully due to: javax.xml.soap.SOAPException: javax.xml.soap.SOAPException: Bad response: 400 Bad Request’ error while calling a WCF web service from BPEL.
    1.     Is it possible to call a WCF webservice from BPEL.
    2.     The WCF service is having ‘BasicHttpBinding’  and ‘<http:NegotiateAuthentication xmlns:http="http://schemas.microsoft.com/ws/06/2004/policy/http" />’
    3.     Do we need to configure the SOA WS Policy in the composite xml? If yes what properties have to be set?
    Thanks!
    Sandeep

    Anyone has insight on this? Is it possible to call a WCF service with NTLM authentication from SOA.
    Thanks!
    Sandeep

  • Problem making modified WCF web service operation compatible with old client

    Hi,
    I am trying to make a modified version of a a WCF web service work with old clients. The method signature looks like:
    [OperationContract]       
    itemList GetItemList(getItemList param);
    I am adding elements to the "getItemList" class which should be optional. The class is generated from XSD schema with xsd.exe (this means we are using schema-first design). The new element is:
    <element name="itemOwner" type="string" maxOccurs="1" minOccurs="0">      </element>
    and the new generated code in the getItemList class becomes:
    private string itemOwnerField;       
    public string itemOwner
    get {return this.itemOwnerField;}
    set {this.itemOwnerField = value; }
    When I look at the new WSDL it has:
    <xs:element name="itemOwnerField" nillable="true" type="xs:string"/>
    Now I was expecting the old client to still be able to call the new client, since the new field is nillable. The client has a service reference to the old version of the web service so it uses a C# stub. When the old client tries to invoke the new service,
    I get error:
    The formatter threw an exception while trying to deserialize the message: There was an error while trying to deserialize parameter http://tempuri.org/:param. The InnerException message was 'Error in line 1 position 754. 'Element' 'itemIDField' from namespace
    'http://schemas.datacontract.org/2004/07/ServerBaseAPI' is not expected. Expecting element 'itemOwnerField'.'.  Please see InnerException for more details.
    My interpretation is that the server side of the new service cannot deserialize the incoming message since it expects it to contain itemOwnerField. Why it that, when it is nillable according to the WSDL? What can I do to solve or work around the problem?

    Hi gaor.mawell,
    The nillable attribute is a special attribute in the XML Schema instance namespace that provides an interoperable way to explicitly represent a null value. The receiving end can interpret these as
    null, zero, and null, respectively. There is no guarantee that a third-party deserializer can make the correct interpretation, which is why this pattern is not recommended. The
    DataContractSerializer class always selects the correct interpretation for missing values. So have you tried to use the DataMember's
    IsRequired property? this
    DataMember's
    IsRequired property tells the serialization engine whether the value of itemOwnerField must be presented in the underlying XML.
    For more information, please try to refer to the this artcle:
    https://msdn.microsoft.com/en-us/library/aa347792(v=vs.110).aspx .
    Best Regards,
    Amy Peng
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

  • Unable to open connection to MS Access 2013 .accdb file Under WCF Web Service Project Using Windows 8.1 64bit

    I am encountering the following error when trying to connect to an Access 2013 database:
    The 'Microsoft.ACE.OLEDB.12.0' provider is not registered on the local machine.
    I have Visual Studio 2013 SP3 running on Windows 8.1 64bit OS which also has Office 2013 installed (which includes MS Access 2013).  My project is a WCF web service using .NET Framework 4.5.1 using any cpu as target.  I have tried reluctantly
    to install the older drivers as described by in the below article:
    https://social.msdn.microsoft.com/Forums/en-US/1d5c04c7-157f-4955-a14b-41d912d50a64/how-to-fix-error-the-microsoftaceoledb120-provider-is-not-registered-on-the-local-machine?forum=vstsdb
     and also went through the "Add Data Source" wizard in the Project menu to have the connect string automatically built.  Even with the automatically built connect string I can not connect to the .accdb file from within my WCF web service.
    What's odd is if I use the Database Explorer in Visual Studio it has no problem connecting the my Access file.  I inspected the connect string and tried to use it as well but still get the same error. Even stranger is that I have no problem connecting
    to the Access DB in an ASP.NET project on the same PC. I am also able to connect to the Access file using a simple Windows Forms application.  So I'm wondering if it has something to do with trying to connect to the Access file from a WCF web service
    project.
    What I'd like to know is if anyone has been able to get this to work in an environment as I described above as a 64bit WCF web service project?  I tried to switch my project to 32bit but when I do I get a different error which reads:
    System.BadImageFormatException: Could not load file or assembly 'file:
    Almost to the point of trying to get this web service project done with SQL Express but would like to know if it can be done with MS Access 2013.  Any information anyone can provide to help me get past this issue is greatly appreciated. Thanks.

    Have you installed the 64-bit Access driver on your machine? See
    Data Source Names and 64-Bit Operating Systems for the differences in odbcad32. Call %SystemRoot%\system32\odbcad32.exe to check the drivers.
    How do you host your service? Stand-alone or IIS or embedded to another application? Keep in mind that IIS7 runs it in its application pool which is defaullt 64bit. Thus the bad image exception, when compiling your service as 32bit.
    When you need the Access database for your service to store informtation, then I would switch to SQL Server (Express) or XML files depending on your actual needs.
    Also check whether your account under which your service is run has the necessary NTFS file permissions on the access file and the folder. This is getting even more complex when it's a remote folder.

  • Issue with OSI PI WCF Web Service with wshttpbinding

    Hi Experts,
    System Details:
    SAP MII 14 SP4
    OSI PI Web Service: PITimeSeries
    I am having issue when trying to call OSI PI web service using http post. it is returning status 0 when i am using exception handler in BLS.
    Same web service works fine with basichttpbinding (SOAP 1.1)  but with wshttpbinding (SOAP 1.2) it is giving error.
    Following are Web config binding details for web service.
          <wsHttpBinding>
            <binding name="wsBinding_2011" sendTimeout="00:01:00" receiveTimeout="00:10:00" bypassProxyOnLocal="false" transactionFlow="false" hostNameComparisonMode="StrongWildcard" maxBufferPoolSize="524288" maxReceivedMessageSize="65536" messageEncoding="Text" textEncoding="utf-8" useDefaultWebProxy="true" allowCookies="false">
              <reliableSession ordered="true" inactivityTimeout="00:10:00" enabled="false" />
              <security mode="Message">
                <message clientCredentialType="Windows" negotiateServiceCredential="true" algorithmSuite="Default" establishSecurityContext="true" />
              </security>
            </binding>
          </wsHttpBinding>
    I am not sure it could be the issue with passing windows credentials.
    Did anybody consumed WCF web service with wshttpbinding with security mode as Message and clientCredentialType as Windows.
    Also i was trying to pass MYSAPSSO2 SSO token to service in http post but first i am not sure if this is correct windows token and second which header property of service should be mapped and i am not sure that I am going into correct direction or not.
    Please let me know what i am missing.
    I have tried following other options and tools:
    SOAP UI: basichttpbinding works fine for wshttpbinding receiving Internal Server error in log and Response as
                      The security context token is expired or is not valid.
    MII Web Service Action Block: basichttpbinding works fine for wshttpbinding not able to configure url through wizard because as per                                                                              my discussion with other MII experts MII does not support SOAP1.2. that is one reason for using http post.
    WCF Storm: both bindings works fine (There is option to select windows authentication and Impersonation level as delegation)
    WCF Test Client: Both bindings works fine
    Any help is appreciated.
    Thanks & Regards,
    Manoj Bilthare

    Hi Sam,
    The web service is valid following are details of testing on various tools.
    SOAP UI: basichttpbinding works fine for wshttpbinding receiving Internal Server error in log and Response as The security context token is expired or is not valid.
    MII Web Service Action Block: basichttpbinding works fine for wshttpbinding not able to configure url through wizard because as per my discussion with other MII experts MII does not support SOAP1.2. that is one reason for using http post.
    WCF Storm: both bindings works fine (There is option to select windows authentication and Impersonation level as delegation)
    WCF Test Client: Both bindings works fine
    Please let me know if additional details required.
    Thanks & Regards,
    Manoj Bilthare

  • Java class namespace conflict between two Web services

    We have been asked to develop a client that can call two different versions of a live Web service. Unfortunately the people who developed the services that we have to call used overlapping namespaces when they created the new version. We are using the Java 6 JDK Web Services stack. We have generated the classes for our 2 clients using wsimport and include them on our classpath in two separate jars. Of course this should never happen because you should never have two different objects sharing the same namespace. We don't control the service though, so can't change things there. Is there some way for us to remap to objects in a different namespace for one of the services. Any help would be much appreciated, even if it's just to say that this is not possible.
    James

    did you try specifying a different package when you run wsimport?
    also, if you can't find a jaxws solution, you can always load each webservice jar in a separate classloader in your application and run your webservice access code from these separate classloaders.

  • Capturing the response received from the WCF web service method?

    Hi,
    I am trying to call a WCF web service method with input parameters in an xml file and then receive the returned output data by the web service as response into an xml file.
    So far I am able to call the webservice method successfully and not sure how to capture the response data. I am able to see the response data in the tracked message event using the query expression search at the BizTalk group root.
    I may be missing something simple in my orchestration(image at http://social.msdn.microsoft.com/Forums/getfile/535971)  ?
    Steps in my orchestration are,
    1) Receive the xml file with input parameters
    2) Send to webservice using WCF-BasicHttp transport type
    3) Receive response from web service
    4) Send to xml file
    Not sure how I can have 2 receive shapes in series there. I have seen few related posts in the forum but could not resolve.
    Could someone please correct me?

    Hi Rachit,
    Thanks for your quick response. My orchestration is similar to the one in that post. In your post at step 7, how you are able to set 'Activate property' of the receive shape to true? as its the 2nd receive shape in series.
    I am unable to post any images or links at the moment. My orchestration is posted at this link  http://social.msdn.microsoft.com/Forums/getfile/535971
    I am able to access  the above link using chrome.
    Yes,  I did use the Request/Response port to communicate with the web service.  I
    am looking to achieve similar to the one in your post.
    Thanks.

  • Anonymous Custom WCF Web Service

    Can anyone let me know how to allow a WCF web service, rolled out within a feature, to allow anonymous access?
    I'm not much of a WCF guru I'm afraid.   
    I have the web service up and running and working.  But within my test harness I can create a service reference by providing the URL to the web service ending with /MEX. 
    However, I have to provide a NetworkCredentials object to the ClientCredentials of the proxy.  I don't want this web service to require credentials - I want it to allow completely anonymous connections.  I tried allowing 'Anonymous Authentication'
    within IIS but that has had no affect.
    It seems that no matter how hard I try I always end up getting the error message:
    The HTTP request is unauthorized with client authentication scheme 'Anonymous'. The authentication header received from the server was 'NTLM,Basic realm="<myWebSite>"'.
    Any help/pointers greatly appreciated.
    Kind regards,
    Tom.

    one of the problem of custom wcf service hosted in SharePoint is how to disable anonymous access:
    http://social.msdn.microsoft.com/Forums/hu-HU/sharepointdevelopmentprevious/thread/e3283575-1b32-40fb-b093-9545bf378aa4 ;
    However, you just have the opposite problem, have you enabled anonymous access for your web application and site?

  • ANONYMOUS LOGON Web Server to WCF Web Service(Different Server)

    Hi,
           I have facing login credentials lost web server to wcf web service(different server). I got correct data if i open my web site from Web Server but i got "403 forbidden" if i call from client pc or other server.
    I used domain account to run the web application for my own web site. Is it something wrong on my configuration at each server. I have no idea to how to make it to correct. I don't find correct answer on Google or bing.
    Here
    is server information and SPN List. Please let me know if want to know more details.
    1. Domain Server
    2. CRM Server (Web Site is host on this server)
     - Enable Kernel Mode
    -  Windows authentication (1st - Negotiate, 2nd - Ntlm)
    - Impersonate
    - Application Pool (domain\account)
    3. ERP Server (WCF Web Services is host on this server - support kerberos + ntlm).
    - domain\account to run services.
    - constrained delegation to sql server
    4. SQL Server
    Here is SPN on each Server and Service Account
    SQL Server SPN List
    MSSQLSvc/WS08R2SP1-SQL.domain.local:1433
    MSSQLSvc/WS08R2SP1-SQL.domain.local
    WSMAN/WS08R2SP1-SQL
    WSMAN/WS08R2SP1-SQL.domain.local
    RestrictedKrbHost/WS08R2SP1-SQL
    RestrictedKrbHost/WS08R2SP1-SQL.domain.local
    HOST/WS08R2SP1-SQL
    HOST/WS08R2SP1-SQL.domain.local
    CRM Server SPN List
    TERMSRV/WS08R2SP1-CRM
    TERMSRV/WS08R2SP1-CRM.domain.local
    WSMAN/WS08R2SP1-CRM
    WSMAN/WS08R2SP1-CRM.domain.local
    RestrictedKrbHost/WS08R2SP1-CRM
    RestrictedKrbHost/WS08R2SP1-CRM.domain.local
    HOST/WS08R2SP1-CRM
    HOST/WS08R2SP1-CRM.domain.local
    ERP Server SPN List
    TERMSRV/WS08R2SP1-ERP
    TERMSRV/WS08R2SP1-ERP.domain.local
    WSMAN/WS08R2SP1-ERP
    WSMAN/WS08R2SP1-ERP.domain.local
    RestrictedKrbHost/WS08R2SP1-ERP
    RestrictedKrbHost/WS08R2SP1-ERP.domain.local
    HOST/WS08R2SP1-ERP
    HOST/WS08R2SP1-ERP.domain.local
    Domain\NavSvrAdmin (Running Navision Web Service Account) SPN List
    HTTP/WS08R2SP1-ERP.domain.local
    HTTP/WS08R2SP1-ERP
    NAV61-SG_Demo/WS08R2SP1-ERP.domain.local:7046
    NAV61-SG_Demo/WS08R2SP1-ERP:7046
    Here is login fail list on Web Server (CRM Server) using
    WinShark.
    Here is LogIn information on ERP Server. I got this log if i access my web site from client pc.
    ERP Server
    An account was successfully logged on.
    Subject:
        Security ID:        NULL SID
        Account Name:        -
        Account Domain:        -
        Logon ID:        0x0
    Logon Type:            3
    New Logon:
        Security ID:        ANONYMOUS LOGON
        Account Name:        ANONYMOUS LOGON
        Account Domain:        NT AUTHORITY
        Logon ID:        0x45e781
        Logon GUID:        {00000000-0000-0000-0000-000000000000}
    Process Information:
        Process ID:        0x0
        Process Name:        -
    Network Information:
        Workstation Name:    WS08R2SP1-CRM
        Source Network Address:    -
        Source Port:        -
    Detailed Authentication Information:
        Logon Process:        NtLmSsp
        Authentication Package:    NTLM
        Transited Services:    -
        Package Name (NTLM only):    NTLM V1
        Key Length:        128
    This event is generated when a logon session is created. It is generated on the computer that was accessed.
    The subject fields indicate the account on the local system which requested the logon. This is most commonly a service such as the Server service, or a local process such as Winlogon.exe or Services.exe.
    The logon type field indicates the kind of logon that occurred. The most common types are 2 (interactive) and 3 (network).
    The New Logon fields indicate the account for whom the new logon was created, i.e. the account that was logged on.
    The network fields indicate where a remote logon request originated. Workstation name is not always available and may be left blank in some cases.
    The authentication information fields provide detailed information about this specific logon request.
        - Logon GUID is a unique identifier that can be used to correlate this event with a KDC event.
        - Transited services indicate which intermediate services have participated in this logon request.
        - Package name indicates which sub-protocol was used among the NTLM protocols.
        - Key length indicates the length of the generated session key. This will be 0 if no session key was requested.
    SQL Server Properties
    Link 1 Link 2
    ERP Server Properties
    Link
    CRM Server Properties
    Link
        Please ignore my mistake if i post wrong place.
    Best Regards,
    Make Simple & Easy

    Legacy Web services and WCF services are discussed in the Services secition in the ASP.NET forum.
    http://forums.asp.net/

  • WCF web services with LabVIEW

    For more information:
    http://www.dmcinfo.com/blog.aspx/articleType/ArticleView/articleId/322/categoryId/6/WCF-web-services...

    Kyle,
    The biggest issue with the built in LabVIEW method is that it doesn't work for WCF or I would have used it even though I'm not happy with using .NET to replace .NET.  I can give you the overview of what we did and then I can get you more details if it's useful to you.
    On the LabVIEW end, we created a Daemon that receives TCP messages from  external code and puts them into local queues and a send block that formats a message into a format usable by C#.  The format we chose was ini file because, while size inefficient, it is tolerant to missing keys.
    On the C# end, we did basically the same thing by creating a class which has a TCP receive thread which decodes the ini format and waits for TCP messages from LabVIEW.  When a message is received and event is raised which can be handled as needed.  Similar to the LabVIEW side, there is a send method that formats a class into a message that is sent to LabVIEW
    On the LabVIEW side, we just send a cluster into our send block and on the C# side, we have a matching structure/class with matching elements.  This allows us to make the communication between the two transparent and we can focus on the LV and C# code instead of the communication protocol.
    Leon

  • Issue while adding WCF Web Service reference using Oracle APEX

    Hi,
    We have an issue with creating the Web Service Reference for the WCF web service:
    http://dev.virtualearth.net/webservices/v1/metadata/geocodeservice/GeocodeService1.wsdl
    The APEX gives the following error
    “The WSDL document could not be understood by the rendering engine. Click Create Web Service Reference Manually to continue creating a reference for this service.”
    Can you please tell me if creating the Web Service Reference for WCF is supported on the “out of the box“ APEX?
    Environment information:
    APEX 4.0.2.00.07
    Database 11.2.0.3
    Please note that we have tried it in APEX 4.1.1 from apex.oracle.com and the error there is different, it can connect even to ASMX wsdl.
    Thank you.

    I don't think that is it specific to just .NET web services. I have tried with a web service created with TIBCO BusinessWorks (Middleware product) that did not work either. The wsdl validated correctly in soapUI, so I think it just must be the implementation of the parser which is looking for some specific format.
    When in doubt, go with either the manual reference or with pl/sql using one of the api's.

Maybe you are looking for

  • AME Crashing? Running slowly? Acting weird?

    If so, then check what version is running.  Is it 64-bit or 32-bit?  If you're using the AME to encode queued sequences from Premiere Pro, or if you've set up Encore to use the AME for transcoding assets, or if you launch the AME from a Start menu sh

  • CSV Export - Foreign Character Problem

    Hi, We have created a report which queries records from various countries. The problem we are having is with foreign characters (eg: ü, ß, Ö, ä etc). These characters are being displayed correctly in the browser however when we export to Excel (C

  • Attribute EditHide in jsp

    Hello I dont know how to to this :( I have two attributes to one DB table column in VO in EditForm i am showing one like combobox with some values when the form are in insert mode, second need to be hidden , now i need to make that in edit mode this

  • "LaterAgent quit unexpectedly" message appears persistently and I can't open AppStore.. HELP

    Process:               LaterAgent [690] Path:                  /System/Library/PrivateFrameworks/CommerceKit.framework/Versions/A/Resources/La terAgent.app/Contents/MacOS/LaterAgent Identifier:            LaterAgent Version:               ??? Code Ty

  • Any USB Device Installs Cannot Find Drivers - x40 SP3

    I am running Windows XP SP3 on an X40 2371-HU3. I am unable to install new USB devices such as an RF mouse + keyboard and a multifunction printer. Importantly, I *am* able to connect new removable storage devices with no trouble. The error occurs whe