Exforsys

Free Training

soap server application fauleted error...pls sugg

This is a discussion on soap server application fauleted error...pls sugg within the Microsoft CRM forums, part of the ERP category; hi.. i have created a fucntion to attach note ! i can update that particular contact details, so it means ...

Go Back   Exforsys > ERP > Microsoft CRM

Exforsys.com


Microsoft CRM Microsoft CRM Questions and Discussions.

Reply

 

LinkBack Thread Tools Search this Thread
  #1 (permalink)  
Old 01-16-2006, 08:55 PM
importantEmail@gmail.com
Guest
 
Posts: n/a
soap server application fauleted error...pls sugg

hi..


i have created a fucntion to attach note ! i can update that particular

contact details, so it means the contact exists. but some how i am
getting error "SOAP SERVER APPLICATION FAILED"


here is what i am doing
Dim mobjBizUser As New BizUser
Dim mobjNotesManager As New CRMNotesManager
dim strNotesId as string
Dim mobjNetworkCred As New
System.Net.NetworkCredential(gconUserName, gconPwd, gconDomain)


mobjBizUser.Credentials = mobjNetworkCred
mobjBizUser.Url = mstrDir & "BizUser.srf"


mobjNotesManager.Credentials = mobjNetworkCred
mobjNotesManager.Url = mstrDir & "CRMNotesManager.srf"


Dim mstrErrorMsg As String
Dim mstrUserName As String
Dim mstrUserId As String


Try
Dim mobjUserAuth As CUserAuth = mobjBizUser.WhoAmI()
'mstrUserName = "ADVWORKS\tester1"


Dim mUserXml As New
System.Text.StringBuilder("<annotation>")
mUserXml.Append("<subject>Sample note</subject>")
mUserXml.Append("<isdocument>1</isdocument>")
mUserXml.Append("<ownerid>" + strContactID + "</ownerid>")
mUserXml.Append("</annotation>")


strNotesId = mobjNotesManager.Create(mobjUserAuth,
mUserXml.ToString())


Catch ex As Exception
Return ex.Message


Finally
mobjBizUser = Nothing
mobjNetworkCred = Nothing


End Try
Return True

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Sponsored Links
Reply

Bookmarks

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT -4. The time now is 05:08 PM.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.3.0
Copyright 2004 - 2009 Exforsys Inc. All rights reserved.