Configure HTTPS in IIS hested WCF, in WSCF/WCF

BizTalk Utilities CV ,   Jobs ,   Code library
 
Go to the front page to continue learning about XML or select below:

Contents

Recent WSCF/WCF posts

\r\n problem with SOAP and XmlDocument
WCF Service Validating Soap Header Username/Password
WCF Inbound Message
Username and Password validation in wcf adapter
How to provide custom WSDL from a WCF server
WCF security question
Best Practices - most forward looking
WCF authentication problems
XML attributes
Migration path from WSE 2.0 (SP3) to WCF

 
 

WSCF/WCF

View :   

Latest Topics

Table Of Contents


Post Reply

Configure HTTPS in IIS hested WCF

All posts: microsoft.public.dotnet.framework.webservices
Source: microsoft.public.dotnet.framework.webservices
Sent date: 05/21/2008
From: (email address - cut out)
Message:

Hi, i'm trying to configure a wcf service with https, but when I
generate the wsdl , it contains the schemaLocation pointing to the
service with the local name instead of the DNS (https://
receive.latampayments.com/LPG_Service.svc?wsdl?.
The odd thing is when I generate the wsdl with the http url, it
contains the schemaLocation with DNS (http://receive.latampayments.com/
LPG_Service.svc?wsdl).

The problem is that I can`t make reference to my service with https
url, becuase the svcutil try to get information in the wrong
schemaLocation, so I obtain the following error:

HTTP GET Error
URI: https://receive.latampayments.com/LPG_Service.svc?wsdl

The document was understood, but it could not be processed.
- The WSDL document contains links that could not be resolved.
- There was an error downloading 'https://{localmachiname}/
rvice.svc?xsd=xsd0'.
- The remote name could not be resolved: {localmachiname}

This is the service web.config:
<?xml version="1.0" encoding="utf-8" ?>
<configuration>
<system.serviceModel>
<services>
<service name="LPG_Service.LPG_Service"
behaviorConfiguration="MiBehavior" >
<endpoint address="" binding="basicHttpBinding"
contract="LPG_Service.ILPG_Service" />
</service>
</services>
<behaviors>
<serviceBehaviors>
<behavior name="MiBehavior">
<serviceMetadata httpGetEnabled="true"
httpsGetEnabled="true" />
</behavior>
</serviceBehaviors>
</behaviors>
</system.serviceModel>
</configuration>

Any idea what I might be doing wrong?

Thanks,
Brian



Post Reply

Related Messages

Table Of Contents



Other groups

WCF LOB

WSCF/WCF

BizTalk Rule Engine

BizTalk BPM, process

BizTalk BAM, activity

Biztalk Adapters

BizTalk Orchestration

BizTalk Server

WS WSDL

 

    Email TopXML