HTTP Basic authentication with UDC - Infopath

M

mahesh

Hi

We created a UDC file with authentication information.
our UDC file looks like this

<?xml version="1.0" encoding="UTF-8"?>
<?MicrosoftWindowsSharePointServices
ContentTypeID="0x010100B4CBD48E029A4ad8B62CB0E41868F2B0"?>
<udc:DataSource MajorVersion="2" MinorVersion="0"
xmlns:udc="http://schemas.microsoft.com/office/infopath/2006/udc">
<udc:Name>test</udc:Name>
<udc:Description>Format: UDC V2; Connection Type: XmlQuery; Purpose:
ReadOnly; Generated by Microsoft Office InfoPath 2007 on 2007-09-14 at
10:35:32 by SYNOPSYS\jayram.</udc:Description>
<udc:Type MajorVersion="2" MinorVersion="0" Type="XmlQuery">
<udc:SubType MajorVersion="0" MinorVersion="0" Type=""/>
</udc:Type>
<udc:ConnectionInfo Purpose="ReadOnly" AltDataSource="">
<udc:WsdlUrl/>
<udc:SelectCommand>
<udc:ListId/>
<udc:WebUrl/>
<udc:ConnectionString/>
<udc:ServiceUrl UseFormsServiceProxy="false"/>
<udc:SoapAction/>
<udc:Query>http://wwwin/test.xml</udc:Query>
</udc:SelectCommand>
<udc:UpdateCommand>
<udc:ServiceUrl UseFormsServiceProxy="false"/>
<udc:SoapAction/>
<udc:Submit/>
<udc:FileName>Specify a filename or formula</udc:FileName>
<udc:FolderName AllowOverwrite=""/>
</udc:UpdateCommand>
<udc:Authentication>
<udc:UseExplicit CredentialType="BASIC">
<udc:UserId>username</udc:UserId>
<udc:password>password</udc:password>
</udc:UseExplicit>
</udc:Authentication>
<!--udc:Authentication><udc:SSO AppId='' CredentialType=''
/></udc:Authentication-->
</udc:ConnectionInfo>
</udc:DataSource>

When we deploy this in the moss it does not work. Gives Error while
accessing the data source.

please helps us to debug this situation.
thx
regards
mahesh
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top